Product and Quotient Rule — Question 5

PDF ↗

Question 5

Let f(x)=x2excos⁡xf(x) = x^2 e^x \cos x

  • (a) Compute f′(x)f'(x) using appropriate differentiation rules.

  • (b) Factor the result where possible.

Original worksheet page 1: question and worked solution for 3-4-005
Show solutionHide solution

Question 5 - Solution

We are given: f(x)=x2excos⁡xf(x) = x^2 e^x \cos x

This is a product of three functions: - u(x)=x2u(x) = x^2 - v(x)=exv(x) = e^x - w(x)=cos⁡xw(x) = \cos x

Use the **product rule** for three functions: f′(x)=u′(x)v(x)w(x)+u(x)v′(x)w(x)+u(x)v(x)w′(x)f'(x) = u'(x) v(x) w(x) + u(x) v'(x) w(x) + u(x) v(x) w'(x)

Compute derivatives: - u′(x)=2xu'(x) = 2x - v′(x)=exv'(x) = e^x - w′(x)=−sin⁡xw'(x) = -\sin x

Now substitute: f′(x)=2xexcos⁡x+x2excos⁡x−x2exsin⁡xf'(x) = 2x e^x \cos x + x^2 e^x \cos x - x^2 e^x \sin x

Factor where possible: f′(x)=ex(cosx(2x+x2)−x2sinx)f'(x) = e^x \left( \cos x (2x + x^2) - x^2 \sin x \right)

Final Answer: f′(x)=ex[cosx(x2+2x)−x2sinx]\boxed{ f'(x) = e^x \left[ \cos x (x^2 + 2x) - x^2 \sin x \right] }

Original worksheet page 2: question and worked solution for 3-4-005

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