Differentiate sin⁡2x\sin ^2 x w.r.t. ecos⁡xe^{\cos x}.

Answer: −2cos⁡xecos⁡x-\frac{2 \cos x}{e^{\cos x}}

Step-by-step solution

Step 1: Define functions

To differentiate one function with respect to another, we first define each function separately. Let u=sin⁡2xu = \sin^2 x and v=ecos⁡xv = e^{\cos x}. We need to find dudv\frac{du}{dv}.

Step 2: Differentiate u with respect to x

Now, we differentiate uu with respect to xx. Using the chain rule, the derivative of sin⁡2x\sin^2 x is 2sin⁡x⋅ddx(sin⁡x)=2sin⁡xcos⁡x2 \sin x \cdot \frac{d}{dx}(\sin x) = 2 \sin x \cos x.

Step 3: Differentiate v with respect to x

Next, we differentiate vv with respect to xx. Using the chain rule, the derivative of ecos⁡xe^{\cos x} is ecos⁡x⋅ddx(cos⁡x)=ecos⁡x(−sin⁡x)=−ecos⁡xsin⁡xe^{\cos x} \cdot \frac{d}{dx}(\cos x) = e^{\cos x} (-\sin x) = -e^{\cos x} \sin x.

Step 4: Find du/dv

To find dudv\frac{du}{dv}, we use the formula dudv=du/dxdv/dx\frac{du}{dv} = \frac{du/dx}{dv/dx}. We substitute the expressions we found for dudx\frac{du}{dx} and dvdx\frac{dv}{dx}.

Step 5: Simplify the expression

We can simplify the expression by canceling out sin⁡x\sin x from the numerator and the denominator, assuming sin⁡x≠0\sin x \neq 0. This gives us the final derivative.

More from this chapter

All Continuity and Differentiability solutions →

Solve your own maths question free →