Professional Documents
Culture Documents
Power Series and Taylor Series: D. Deturck
Power Series and Taylor Series: D. Deturck
D. DeTurck
University of Pennsylvania
f (n) (0)
f (x) = a0 + a1 x + a2 x 2 + a3 x 3 + · · · where an =
n!
or
∞
X f (n) (0)
f (x) = xn
n!
n=0
1
and we know the series for e x , sin x and .
1−x
Before we get too excited about finding series, let’s make sure
that, at the very least, the series converge.
Later, 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”.
∞
X
Recall that for a series of constants bn , we have that the series
n=0
converges (absolutely) if
bn+1
lim
n→∞ bn
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.
Therefore
n+1
= lim |x| = 0.
bn+1 x n!
lim = lim
n
n→∞ bn n→∞ (n + 1)! x
n→∞ n + 1
∞
X (2x)n
For which values of x does the series converge?
n2
n=1
1 1
A. −1 < x < 1 B. −2 < x < 2 C. − ≤ x <
2 2
1 1
D. −2 ≤ x ≤ 2 E. − ≤ x ≤
2 2
∞
X
For which values of x does the series nx n converge?
n=1
A. −1 < x < 1 B. −1 ≤ x < 1 C. −1 < x ≤ 1
D. −1 ≤ x ≤ 1 E. 0 ≤ x < 1
and
∞
x3 x5 x7 X (−1)n x 2n+1
sin x = x − + − + ··· =
3! 5! 7! (2n + 1)!
n=0
Magic tricks: Start from known series and use algebraic and/or
analytic manipulation to get others:
2 [x 2 ]2 [x 2 ]3 [x 2 ]4
e x = 1 + [x 2 ] + + + + ···
2! 3! 4!
x4 x6 x8
= 1 + x2 + + + + ···
2! 3! 4!
∞
X x 2n
=
n!
n=0
x3 x5 x7
d d
cos x = sin x = x− + − + ···
dx dx 3! 5! 7!
3x 2 5x 4 7x 6
=1− + − + ···
3! 5! 7!
x2 x4 x6
=1− + − + ···
2! 4! 6!
∞
X (−1)n x 2n
=
(2n)!
n=0
Put x = 1 to show that the first series from before sums to π/4.
∞
X 1 π2
We still have the challenge of showing that = .
n2 6
n=1
So far we have
ˆ 1
2 1 1 1
e −x dx = 1 − + − + ···
0 3 5 · 2! 7 · 3!
f (x) − f (0)
f 0 (somewhere between 0 and x) =
x
Rearrange this to get
Start from
f (x) = f (0) + f 0 (somewhere)x.
Conclude that if you know that the absolute value of the derivative
of f is always less than M, then you know that
x3 x5 x7
sin x = x − + − + ···
3! 5! 7!
If we use the first two (nonzero) terms, we have
x3
sin x = x − + R4 (x)
3!
because the x 4 term of the series is zero anyhow.
For f (x) = sin x, the fifth derivative is f 00000 (x) = cos x. And we
know that | cos t| < 1 for all t between 0 and x. We can conclude
from this that:
|x|5
|R4 (x)| < .
5!
So for instance, we can conclude that the approximation
1 5
sin(1) = 1 − =
6 6
is accurate to within 1/5! = 1/120 — i.e., to two decimal places.
D. DeTurck Math 104 002 2018A: Series 25 / 42
Your turn
√ 0.52 0.53
e = e 0.5 ≈ 1 + 0.5 + + = 1.645833 . . . ?
2! 3!
and for any fixed value of x, this quantity will approach zero as
n → ∞. Thus, the remainder becomes arbitrarily small – and zero
in the limit.
∞
X (−1)n x 2n+1
So we are now justified in writing sin x =
(2n + 1)!
n=0
Series expansions around points other than zero are useful when
trying to approximate function values for x far from zero, but close
to a different point where much is known about the function.
But note that by defining a new function g (x) = f (x + a), you can
use Maclaurin expansions for g instead of general Taylor
expansions for f .
where p p!
=
k k!(p − k)!
are the binomial coefficients (the numbers in Pascal’s triangle).
How could we find the series for arcsin x without resorting to the
general formula?
Well,
d 1
arcsin x = √ and arcsin(0) = 0
dx 1 − x2
so we have ˆ x
1
arcsin x = √ dt
0 1 − t2
1
and √ = (1 + u)−1/2 , where u = −t 2 .
1 − t2
ˆ x
1
arcsin x = √ dt
0 1 − t2
ˆ x ∞
!
X 1 · 3 · 5 · · · (2n − 1) 2n
= 1+ t dt
0 2 · 4 · 6 · · · (2n)
n=1
∞
X 1 · 3 · 5 · · · (2n − 1) x 2n+1
=x+
2 · 4 · 6 · · · (2n) (2n + 1)
n=1
F (x) = f0 + f1 x + f2 x 2 + f3 x 3 + · · · = 1 + x + 2x 2 + 3x 3 + 5x 4 + · · ·
F (x) = f0 + f1 x + f2 x 2 + f3 x 3 + f4 x 4 + · · ·
xF (x) = f0 x + f1 x 2 + f2 x 3 + f3 x 4 + f4 x 5 + · · ·
x 2 F (x) = f0 x 2 + f1 x 3 + f2 x 4 + f3 x 5 + f4 x 5 + · · ·
Now, subtract the second two from the first – almost everything
will cancel because of the recurrence relation!
The result is (1 − x − x 2 )F (x) = f0 + (f1 − f0 )x. But f0 = f1 = 1,
so we have deduced that
1
F (x) = !
1 − x − x2
What good does this do?
1 1
So if we can get the series for and we’ll be (almost)
α−x β+x
done!
D. DeTurck Math 104 002 2018A: Series 39 / 42
Two geometric series
First,
x2 x3
1 1 1 x
= x = α 1 + + 2 + 3 + ··· .
α−x α 1− α α α
α
And
x2 x3
1 1 1 x
= = 1 − + 2 − 3 + ··· .
β+x x β β β β
β 1+
β
√ √
5−1 5+1
Now recall that α = and β = Two important
2 2
facts about α and β are:
√ 1
α + β = 5 and α = .
β
D. DeTurck Math 104 002 2018A: Series 40 / 42
Therefore,
1 1
α+β α+β
F (x) = +
α−x β+x
x2 x2
1 1 x 1 x
=√ 1 + + 2 + ··· + 1 − + 2 + ···
5 α α α β β β
1
= √ (β + β 2 x + β 3 x 2 + · · · ) + (α − α2 x + α3 x 2 + · · · )
5
1
= √ (β + α) + (β 2 − α2 )x + (β 3 + α3 )x 2 + (β 4 − β 4 )x 3 + · · ·
5
And in general
1
fn = √ β n+1 + (−1)n αn+1
5
√ √
!n+1 !n+1
1 5+1 5−1
=√ + (−1)n ,
5 2 2