Skip to main content

Section 9.4 Taylor Series (PS4)

Subsection 9.4.1 Activities

Activity 9.4.1.

The following tasks will help us find a mechanism to produce a power series given information about its derivatives.
(a)
Find the 2nd derivative of x2.
  1. 2x
  2. 2
  3. 4x
  4. 4
(b)
Find the 3rd derivative of x3.
  1. 2
  2. 3x
  3. 6
  4. 12x
(c)
Find the 4th derivative of x4.
  1. 18
  2. 24
  3. 32
  4. 64
(d)
Based on these results, which of the following should always equal the nth derivative of xn with respect to x?
  1. n
  2. n2
  3. n!
  4. nn

Activity 9.4.2.

Let’s use derivatives to rediscover the sequence an which gives a power series representation for ex.
(a)
Let’s say that
ex=n=0anxn=a0+a1x+a2x2+a3x3+a4x4.
What must a0 be to satisfy e0=1?
(b)
Then,
ddx[ex]=ex=a1+2a2x+3a3x2+4a4x3.
What must a1 be to also satisfy e0=1?
(c)
Then,
d2dx2[ex]=ex=2a2+6a3x+12a4x2+.
What must a2 be to also satisfy e0=1?
(d)
Then,
d3dx3[ex]=ex=6a3+24a4x+.
What must a3 be to also satisfy e0=1?
(e)
So this 6a3 term was obtained from the fact that the 3rd derivative of x3 is 3!=6.
So finally, we may skip ahead to the nth derivative:
dndxn[ex]=ex=n!an+(n+1)!an+1x+.
What must an be to also satisfy e0=1?
(f)
This reveals the power series we previously found for ex:
ex=n=0anxn=n=01n!xn.
So in general, if f(x)=a0+a1x+a2x2+, then
dndxn[f(x)]=f(n)(x)=n!an+(n+1)!an+1x+.
What must an be to produce the correct value for f(n)(0)?

Definition 9.4.4.

The Taylor series generated by f(x) and centered at x=c is given by
f(x)=n=0f(n)(c)n!(xc)n=f(c)+f(c)(xc)+f(c)2!(xc)2+f(3)(c)3!(xc)3+
with an interval of convergence determinable by series convergence rules.
When c=0,
f(x)=n=0f(n)(0)n!xn=f(0)+f(0)x+f(0)2!x2+f(3)(0)3!x3+
is called the Maclaurin series generated by f.

Activity 9.4.5.

Observe that f(x)=sin(x) is a function such that:
f(0)f(0)f(0)f(3)(0)f(4)(0)f(5)(0)f(6)(0)f(7)(0)sin(0)cos(0)sin(0)cos(0)sin(0)cos(0)sin(0)cos(0)01010101
(a)
Given the zeros appearing for every even derivative above, which of these is a valid simplification of the Maclarin series n=0f(n)(0)n!xn for sin(x)?
  1. n=1f(n)(0)n!xn
  2. 2n=0f(n)(0)n!xn
  3. n=0f(2n)(0)(2n)!x2n
  4. n=0f(2n+1)(0)(2n+1)!x2n+1
(b)
Now consider the following consolidated chart:
f(1)(0)f(3)(0)f(5)(0)f(7)(0)cos(0)cos(0)cos(0)cos(0)1111
Which formula yields these alternating 1s and 1s appearing for f(2n+1)(0)?
  1. f(2n+1)(0)=(1)n
  2. f(2n+1)(0)=(1)n+1
  3. f(2n+1)(0)=(1)2n
  4. f(2n+1)(0)=(1)2n+1

Definition 9.4.7.

For a function f(x) with a Taylor series centered at x=c,
f(x)Tk(x)=n=0kf(n)(c)n!(xc)n=f(c)+f(c)(xc)+f(c)2!(xc)2++f(k)(c)k!(xc)k
where Tk(x) is called the kth degree Taylor polynomial generated by f and centered at x=c.
The kth degree Taylor polynomial can be seen as the “best” polynomial of degree k or less for approximating f(x) for values close to x=c. Note that the 1st degree Taylor polynomial is also known as the linearization of f.

Activity 9.4.8.

Let f(x) be a function such that:
f(4)f(4)f(4)f(4)f(4)(4)f(5)(4)f(6)(4)0123456
(a)
Find a Taylor polynomial for f(x) centered at x=4 of degree 3.
(b)
Using the table above, find a general closed form for f(n)(4).
(c)
Use (b) to find a Taylor series for f(x) centered at x=4.

Activity 9.4.9.

Let f(x) be a function such that:
f(2)f(2)f(2)f(2)f(4)(2)f(5)(2)f(6)(2)021654128250432
(a)
Find a Taylor polynomial for f(x) centered at x=2 of degree 3.
(b)
Using the table above, find a general closed form for f(n)(2).
(c)
Use (b) to find a Taylor series for f(x) centered at x=2.

Remark 9.4.10.

You might have seen 1 written as i, and know that z is a complex number if z=a+bi for some real numbers a and b. Note that i2=1, i3=(i2)i=i, i4=(i2)2=1, i5=(i4)i=i, and so on. This gives rise to the following notion.

Definition 9.4.11. Euler’s Identity.

For any real number θ,
eiθ=1+iθ1!+(iθ)22!+(iθ)33!+(iθ)44!+(iθ)55!+(iθ)66!+(iθ)77!+(iθ)88!+=1+iθθ22!iθ33!+θ44!+iθ55!θ66!iθ77!+θ88!+=(1θ22!+θ44!θ66!+)+i(θθ33!+θ55!θ77!+)=cos(θ)+isin(θ).

Activity 9.4.12.

Use Euler’s identity to evaluate eiπ.

Subsection 9.4.2 Videos

Figure 190. Video: Determine a Taylor or Maclaurin series for a function