← Back to learning objective

Derivative of a product involving sqrt(x) and cos(x)

Let f(x)=xcos⁡(x)f(x) = \sqrt{x} \cos(x). Find f′(x)f'(x).

Hint

Write x=x1/2\sqrt{x} = x^{1/2} and use the product rule together with the power rule and the derivative of cos⁡(x)\cos(x).

Step-by-step solution

Rewrite f(x)=x1/2cos⁡(x)f(x) = x^{1/2}\cos(x), a product of u(x)=x1/2u(x) = x^{1/2} and v(x)=cos⁡(x)v(x) = \cos(x). By the power rule, u′(x)=12x−1/2u'(x) = \frac{1}{2}x^{-1/2}, and by the trigonometric derivative rule, v′(x)=−sin⁡(x)v'(x) = -\sin(x).

Apply the product rule f′(x)=u′(x)v(x)+u(x)v′(x)f'(x) = u'(x)v(x) + u(x)v'(x) to get f′(x)=12x−1/2cos⁡(x)−x1/2sin⁡(x)f'(x) = \frac{1}{2}x^{-1/2}\cos(x) - x^{1/2}\sin(x). This can also be written as f′(x)=cos⁡(x)2x−xsin⁡(x)f'(x) = \dfrac{\cos(x)}{2\sqrt{x}} - \sqrt{x}\sin(x).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap