You are on page 1of 22

TAYLOR SERIES

CHALLENGE!
Construct a polynomial P( x) = a0 + a1 x + a2 x 2 + a3 x3 + a4 x 4
with the following behavior at x = 0:
P(0) = 1
P′(0) = 2
P′′(0) = 3
P′′′(0) = 4
P (4) (0) = 5

Sounds hard right? But luckily, the predictability of the differentiation of


polynomials helps out here!
SEE ANY PATTERNS?
Hopefully you notice that there is a pattern to the coefficients of the xn term…..

(n)
P (0)
n!

This will come in VERY HANDY in a little bit.


POLYNOMIAL APPROXIMATION
ln(1 + x)
Construct a 4th degree polynomial P ( x ) = a0 + a1 x + a2 x 2 + a3 x 3 + a4 x 4
that matches the behavior of ln(1 + x ) at x = 0 through its first 4 derivatives.
POLYNOMIAL APPROXIMATION
ln(1 + x)

What did we just do?

• We constructed the 4th order Taylor


Polynomial for f ( x) = ln(1 + x) @ x = 0
• If we kept going, we would improve the
approximation near x = 0
• The series is called a Taylor Series.
SERIES FOR SIN(X) AND COS(X)
Construct the 7th order Taylor polynomial and the Taylor series for sin (x) at x = 0.
Recall: The coefficients should be P ( n ) (0)
n!

How do we come up with the explicit form to represent the series?



x3 x5 x 7 x9
x − + − + + ... = ∑ ???
3! 5! 7! 9! n =0

It’s purely coincidental that the 7th order Taylor polynomial also happens to be of 7th degree!
SERIES FOR SIN(X) AND COS(X)
How do we come up with the explicit form to represent the series?

x3 x5 x 7 x9
x − + − + + ... = ∑ ???
3! 5! 7! 9! n =0

Let’s start by noticing the alternating signs…


Next, let’s try to find a pattern in those exponents in terms of n.
Can you find an expression in terms of n that explains that pattern?
nth
term Degree
0 1
1 3
∞ 2 n +1
x

2 5
( −1) n

n =0 (2n + 1)! 3 7

Note: 3 terms is sufficient to establish a pattern.


GROUP IT UP!!!
Construct the 6th order Taylor polynomial and the Taylor series for
cos(x) at x = 0.

Compare your method with that of the other groups. Is there a shortcut?

nth
term Degree
0
1
2
3
MACLAURIN & TAYLOR SERIES
DEFINED
If we generalize the steps we followed to construct the coefficients of the
power series discussed thus far, we arrive at this definition:

Let f be a function with derivatives of all orders throughout some open


interval containing 0. Then the Taylor series generated by f at x = 0 is

f (0) (0) f ′(0) f ′′(0) f ( n ) (0) ∞


f ( k ) (0) k
( x − 0) +
0
( x − 0) +
1
( x − 0) + ... +
2
( x − 0) + ... = ∑
n
x
0! 1! 2! n! k =0 k !

This series is also called the Maclaurin series generated by f.


APPROXIMATING A FUNCTION
NEAR ZERO
Find the 4th order Taylor polynomial that approximates y = cos 2 x near x = 0.

There are really two ways we can handle this…

Using the definition Intuitively


P(n) xn
n!

How good is this approximation?


TAYLOR SERIES
GENERATED AT X = A
We can match a power series with f in the same way at ANY value x = a,
provided we can take the derivatives. Actually, this is where we apply all
those “horizontal transformations”!

Let f be a function with derivatives of all orders throughout some open


interval containing a. Then the Taylor series generated by f at x = a is

f ′′(a ) f ( n ) (a) ∞
f ( k ) (a)
f (a ) + f ′(a )( x − a ) + ( x − a ) + ... +
2
( x − a ) + ... = ∑
n
( x − a)k
2! n! k =0 k!

The partial sum shown here, is n


f ( k ) (a)
called the Taylor polynomial of Pn ( x) = ∑ ( x − a)k
order n for f at x = a. k =0 k!
FOR EXAMPLE…
Find Taylor series generated by f ( x) = e x @ x = 2

Note: We can verify this using either ∞


⎛ e2 ⎞
differentiation or integration! ∑ ⎜ ⎟
k =0 ⎝ k ! ⎠
( x − 2) k
OR, FOR EXAMPLE…
Find the third order Taylor polynomial for f ( x) = 2 x3 − 3x 2 + 4 x − 5

(a) At x = 0 (b) At x = 1
COMBINING TAYLOR SERIES
On the intersection of their interval of convergence, Taylor series may
be added, subtracted, and multiplied by constants and powers of x,
and the results are once again Taylor series. The Taylor series for f(x) +
g(x) is the sum of the Taylor series for f(x) and the Taylor series for g(x)
because the nth derivative of f + g is f(n) + g(n), and so on.

We can obtain the Maclaurin series for (1 + cos 2 x ) by


2
substituting 2x in the Maclaurin series for cos x, adding 1, and
dividing the result by 2. The Maclaurin series for sinx + cos x is the
term-by-term sum of the series for sin x and cos x. We obtain the
Maclaurin series for xsinx by multiplying all the terms of the
Maclaurin series for sin x by x.
SERIES YOU MUST MEMORIZE!

1
= 1 + x + x + ... + x + ... = ∑ x n
2 n
( x < 1)
1− x n =0

1
= 1 − x + x 2 − ... + (− x) n + ... = ∑ (−1) n x n ( x < 1)
1+ x n =0

x2 xn xn
e = 1 + x + + ... + + ... = ∑
x
(all real x)
2! n! n =0 n !

x3 x5 x 2 n +1 ∞
x 2 n +1
sin x = x − + − ... + (−1) n
+ ... = ∑ (−1) n
(all real x)
3! 5! (2n + 1)! n =0 (2n + 1)!

x2 x4 n x
2n
n x
2n
cos x = 1 − + − ... + (−1) + ... = ∑ (−1) (all real x)
2! 4! (2n)! n =0 (2n)!
Series you might
want to know
(not as vital though!)


x 2 x3 n −1 x
n
n −1 x
n
ln(1 + x) = x − + − ... + (−1) + ... = ∑ (−1) (−1 ≤ x ≤ 1)
2 3 n n =1 n

3 5 2 n +1 ∞ 2 n +1
x x x x
tan −1 x = x − + − ... + (−1) n + ... = ∑ (−1) n ( x ≤ 1)
3 5 2n + 1 n =0 2n + 1
2004 FORM B
BC2(Parts a, b, and c only)
2004 FORM B
BC2 ANSWERS
2005 FORM B
BC3(Parts a and b only)
2005 FORM B
BC3 ANSWERS
2006 FORM B
BC6(Parts a, b, and c only)
2006 FORM B
BC6 ANSWERS

You might also like