Higher Order Derivatives — Question 4

PDF ↗

Question 4

Let f(x)=excos⁡(x)f(x) = e^x \cos(x).

  • (a) Compute the first three derivatives: f′(x)f'(x), f″(x)f''(x), and f(3)(x)f^{(3)}(x).

  • (b) Find the value of f″(0)f''(0).

  • (c) Determine the third-degree Taylor polynomial of f(x)f(x) centered at x=0x = 0.

Original worksheet page 1: question and worked solution for 3-12-004
Show solutionHide solution

Question 4 - Solution

We are given: f(x)=excos⁡(x)f(x) = e^x \cos(x)

(a) First three derivatives:

Use product rule: f(x)=u(x)v(x)f(x) = u(x) v(x), where u=exu = e^x, v=cos⁡(x)v = \cos(x)

First derivative: f′(x)=u′v+uv′=excos⁡(x)−exsin⁡(x)=ex(cos⁡(x)−sin⁡(x))f'(x) = u'v + uv' = e^x \cos(x) - e^x \sin(x) = e^x(\cos(x) - \sin(x))

Second derivative: f″(x)=ddx[ex(cos⁡(x)−sin⁡(x))]=ex(cos⁡(x)−sin⁡(x))+ex(−sin⁡(x)−cos⁡(x))f''(x) = \frac{d}{dx}[e^x(\cos(x) - \sin(x))] = e^x(\cos(x) - \sin(x)) + e^x(-\sin(x) - \cos(x)) =ex[(cos⁡(x)−sin⁡(x))+(−sin⁡(x)−cos⁡(x))]=ex(−2sin⁡(x))= e^x[(\cos(x) - \sin(x)) + (-\sin(x) - \cos(x))] = e^x(-2\sin(x))

Third derivative: f(3)(x)=ddx[ex(−2sin⁡(x))]=ex(−2sin⁡(x))+ex(−2cos⁡(x))=−2ex(sin⁡(x)+cos⁡(x))f^{(3)}(x) = \frac{d}{dx}[e^x(-2\sin(x))] = e^x(-2\sin(x)) + e^x(-2\cos(x)) = -2e^x(\sin(x) + \cos(x))

(b) Evaluate f″(0)f''(0): f″(0)=e0(−2sin⁡(0))=1⋅0=0f''(0) = e^0(-2\sin(0)) = 1 \cdot 0 = \boxed{0}

(c) Taylor polynomial of degree 3 at x=0x = 0:

T3(x)=f(0)+f′(0)x+f″(0)2x2+f(3)(0)6x3T_3(x) = f(0) + f'(0)x + \frac{f''(0)}{2}x^2 + \frac{f^{(3)}(0)}{6}x^3

Compute values: f(0)=e0cos⁡(0)=1,f′(0)=e0(cos⁡(0)−sin⁡(0))=1,f″(0)=0f(0) = e^0 \cos(0) = 1, \quad f'(0) = e^0(\cos(0) - \sin(0)) = 1, \quad f''(0) = 0 f(3)(0)=−2e0(sin⁡(0)+cos⁡(0))=−2(0+1)=−2f^{(3)}(0) = -2e^0(\sin(0) + \cos(0)) = -2(0 + 1) = -2

So: T3(x)=1+x+0+−26x3=1+x−13x3T_3(x) = 1 + x + 0 + \frac{-2}{6}x^3 = 1 + x - \frac{1}{3}x^3

T3(x)=1+x−13x3\boxed{T_3(x) = 1 + x - \frac{1}{3}x^3}

Original worksheet page 2: question and worked solution for 3-12-004

Original worksheet layout. Use Enlarge or open the PDF for a closer view.