Title: Math 104 - Calculus I
1Math 104 - Calculus I
- Part 8
- Power series, Taylor series
2Series
- First .. a review of what we have done so far
- 1. We examined series of constants and learned
that we can say everything there is to say about
geometric and telescoping series. - 2. We developed tests for convergence of series
of constants. - 3. We considered power series, derived formulas
and other tricks for finding them, and know them
for a few functions. - 4. We used the ratio tests to determine
intervals on which power series converge, and use
the other tests to check convergence at the
endpoints of the intervals.
3Geometric series
- a/(1-r) a ar ar2 ar3 ...
- provided rlt 1.
- We often use partial fractions to detect
telescoping series, for which we can calculate
explicitly the partial sums sn
4Tests for convergence for series of constants
- Fundamental divergence test (nth term must go to
zero for convergence to be possible) - Integral test
- Comparison and limit comparison tests
- Ratio test
- Root test
- Alternating series test
5Power series
- f(x) a0 a1 x a2 x2 a3 x3 ...
- where an f(n)(0)/n!
- We know the series for ex, sin(x), cos(x),
- 1/(1-x), and a few related functions.
6Convergence of power series
- Before we get too excited about finding series,
let's make sure that, at the very least, the
series converge. - Next week, we'll deal with the question of
whether they converge to the function we expect.
But for now, we'll assume that if they converge,
they converge to the function they "came from". - (Strictly speaking, this is not always true --
but it is true for a large class of functions,
which includes nearly all the ones encountered in
basic science and mathematics. This fact was not
fully appreciated until the early part of the
twentieth century.) - Fortunately, most of the question of whether
power series converge is answered fairly directly
by the ratio test.
7Recall that...
- for a series of constants , we have that
the series converges (absolutely) if the the
limit of the absolute value of is less than one,
diverges if - the limit is greater than one, and the test is
indeterminate if the limit equals one. - To use the ratio test on power series, just leave
the x there and calculate the limit for each
value of x. This will give an inequality that x
must satisfy in order for the series to converge.
8For the series for the exponential function...
9Your turn...
- Calculate the series for the function sin(x) and
determine for which x the series converges.
10Heres a more interesting example
11What remains...
12Final Conclusion
13OK, your turn...
A. -1 lt x lt 1 B. -2 lt x lt 2 C. 1/2 lt x lt 1/2
D. -2 lt x lt 2 E. -1/2 lt x lt 1/2
14One more...
A. -1 lt x lt 1 B. -1 lt x lt 1 C. 1 lt x lt 1 D. -1
lt x lt 1 E. 0 lt x lt 1
15From these examples,
- ...it should be apparent that power series
converge for values of x in an interval that is
centered at zero, i.e., an interval of the form
-a, a , (-a, a, -a, a) or (-a, a) (where a
might be either zero or infinity). The interval
is called the interval of convergence and the
number a is called the radius of convergence .
16Lets go back
To finding series of functions
17The other way
18Try this...
- Take the derivative of the series for sin(x) to
get
19Integrate both sides of the geometric series from
0 to x to get
20Negate both sides and replace x by (-x)
everywhere to get
21Start from the geometric series again...
2
And substitute x for x everywhere it appears to
get
22A challenge to think about...
- How to get the other one from previously
23Application of Series
- 1. Limits Series give a good idea of the
behavior of functions in the neighborhood of 0 - We know for other reasons that
- We could do this by series
24This can be used on complicated limits...
- Calculate the limitA. 0
- B. 1/6
- C. 1
- D. 1/12
- E. does not exist
25Application of series (continued)
- 2. Approximate evaluation of integrals Many
integrals that cannot be evaluated in closed form
(i.e., for which no elementary anti-derivative
exists) can be approximated using series (and we
can even estimate how far off the approximations
are). - Example Calculate to the nearest 0.001.
26We begin by...
27According to Maple...
- The last series is an alternating series with
decreasing terms. We need to find the first one
that is less than 0.0005 to ensure that the error
will be less than 0.001. According to Maple - evalf(1/(7factorial(3))), evalf(1/(9factorial(4)
)),evalf( 1/(11factorial(5))) - evalf(1/(13factorial(6)))
.02380952381, .004629629630, .0007575757576
.0001068376068
28Keep going...
- So it's enough to go out to the 5! term. We do
this as follows - Sum((-1)n/((2n1)factorial(n)),n0..5)
sum((-1)n/((2n1) factorial(n)),n0..5) - evalf()
.7467291967.7467291967
29and finally...
- So we get that to the nearest
thousandth. - Again, according to Maple, the actual answer (to
10 places) is - evalf(int(exp(-x2),x0..1))
.74669241330
30Try this...
- Sum the first four nonzero terms to approximate
- A. 0.7635
- B. 0.5637
- C. 0.3567
- D. 0.6357
- E. 0.6735
31Application of series (cont.)
- 3. Differential equations Another important
application of series is to find "solutions" to
differential equations (when other methods fail).
- Earlier, we found the series for based on
the differential equation it satisfies (y ' y
), together with the initial condition y(0)1.
32Airy functions
- The equation y '' xy 0 has no "elementary"
solution (the solutions of this equation are
called "Airy functions", named after a famous
British Royal Astronomer). But we can find series
for the solution that satisfies y(0)1, y '(0)0,
as follows - From the initial conditions, we can assume that
the series for y(x) begins
33Airy (continued)
- Then the series for series
34So...
We work our way from left to right -- since y
xy is supposed to be zero, every coefficient must
be zero. Therefore
35So the series for y(x) begins as follows...
36What is the denominator of the x term of this
series?
9
- A. 720
- B. 1080
- C. 1440
- D. 4440
- E. 12960
37Application of series (cont.)
- 4. Algebraic equations depending on a parameter
("regular perturbations"). - Consider the equation . We could calculate
the solutions of this equation using the
quadratic formula, but it will be instructive to
think of the two solutions (x) as functions of
the parameter a . - We will find the power series of one of these
functions. - Keep in mind that we are thinking of x as a
function of a (and not the other way around)! - Write x f(a).
- First, if a0, there are two roots, x 2 and x
-2. We'll calculate the series for the larger
root, so f(0)2.
38Work it out...
39Right to left
40Graph
- To see how good the approximation is, we plot the
"actual" solution (in blue) and our approximation
(in red) on the same graph
41And.
- What is the beginning of the series for the other
root?
42A max/min problem
- During World War II, the blood of thousands of
recruits had to be tested for various diseases.
The incidence of the diseases was quite low (less
than one per hundred). Assume that the
probability that a random person has the disease
is p (for some p between 0 and 1, but much closer
to 0 than to 1). Let q 1 - p be the probability
that the person does not have the disease. - Because the tests were costly, someone had the
bright idea to pool several (x) samples at a
time. If the pooled sample tested negative, then
all x samples were negative. But if the pooled
sample tested positive, then each individual
sample must be tested again.
43max/min
44max/min
45Rewrite
46Undaunted...
we try expanding the terms in powers of p. We
know that ln(1-p) -p ... and If we
substitute this much into the equation, we get
The solution of this is (which is at
least consistent with the limit!). What we have
here is an example of an asymptotic series , or,
a series of powers other than whole numbers. We
can calculate more coefficients by expanding the
equation in higher powers of p.