Find the derivative of f(x) = x³sin(x²) + ln(x)cos(eˣ). Show all steps with detailed chain rule applications.

Mathematics

ScanSolve AI Answer

Step-by-step solution

3 steps

Let's find the derivative of the given function f(x)=x3sin⁡(x2)+ln⁡(x)cos⁡(ex)f(x) = x^3\sin(x^2) + \ln(x)\cos(e^x).

We will use the sum rule, product rule, and chain rule for differentiation.
The sum rule states that ddx[g(x)+h(x)]=ddx[g(x)]+ddx[h(x)]\frac{d}{dx}[g(x) + h(x)] = \frac{d}{dx}[g(x)] + \frac{d}{dx}[h(x)].
The product rule states that ddx[u(x)v(x)]=u′(x)v(x)+u(x)v′(x)\frac{d}{dx}[u(x)v(x)] = u'(x)v(x) + u(x)v'(x).
The chain rule states that ddx[f(g(x))]=f′(g(x))g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x))g'(x).

  1. Differentiate the first term, x3sin⁡(x2)x^3\sin(x^2).

    Let u(x)=x3u(x) = x^3 and v(x)=sin⁡(x2)v(x) = \sin(x^2).
    Then u′(x)=ddx[x3]=3x2u'(x) = \frac{d}{dx}[x^3] = 3x^2.
    To find v′(x)v'(x), we apply the chain rule. Let w=x2w = x^2, so v(x)=sin⁡(w)v(x) = \sin(w).
    Then dvdw=cos⁡(w)\frac{dv}{dw} = \cos(w) and dwdx=2x\frac{dw}{dx} = 2x.
    So, v′(x)=ddx[sin⁡(x2)]=cos⁡(x2)⋅(2x)=2xcos⁡(x2)v'(x) = \frac{d}{dx}[\sin(x^2)] = \cos(x^2) \cdot (2x) = 2x\cos(x^2).
    Using the product rule for the first term:

    ddx[x3sin⁡(x2)]=u′(x)v(x)+u(x)v′(x)\frac{d}{dx}[x^3\sin(x^2)] = u'(x)v(x) + u(x)v'(x) =(3x2)sin⁡(x2)+(x3)(2xcos⁡(x2))= (3x^2)\sin(x^2) + (x^3)(2x\cos(x^2)) =3x2sin⁡(x2)+2x4cos⁡(x2)= 3x^2\sin(x^2) + 2x^4\cos(x^2)
  2. Differentiate the second term, ln⁡(x)cos⁡(ex)\ln(x)\cos(e^x).

    Let p(x)=ln⁡(x)p(x) = \ln(x) and q(x)=cos⁡(ex)q(x) = \cos(e^x).
    Then p′(x)=ddx[ln⁡(x)]=1xp'(x) = \frac{d}{dx}[\ln(x)] = \frac{1}{x}.
    To find q′(x)q'(x), we apply the chain rule. Let z=exz = e^x, so q(x)=cos⁡(z)q(x) = \cos(z).
    Then dqdz=−sin⁡(z)\frac{dq}{dz} = -\sin(z) and dzdx=ex\frac{dz}{dx} = e^x.
    So, q′(x)=ddx[cos⁡(ex)]=−sin⁡(ex)⋅(ex)=−exsin⁡(ex)q'(x) = \frac{d}{dx}[\cos(e^x)] = -\sin(e^x) \cdot (e^x) = -e^x\sin(e^x).
    Using the product rule for the second term:

    ddx[ln⁡(x)cos⁡(ex)]=p′(x)q(x)+p(x)q′(x)\frac{d}{dx}[\ln(x)\cos(e^x)] = p'(x)q(x) + p(x)q'(x) =(1x)cos⁡(ex)+(ln⁡(x))(−exsin⁡(ex))= \left(\frac{1}{x}\right)\cos(e^x) + (\ln(x))(-e^x\sin(e^x)) =cos⁡(ex)x−exln⁡(x)sin⁡(ex)= \frac{\cos(e^x)}{x} - e^x\ln(x)\sin(e^x)
  3. Combine the derivatives of both terms.

    f′(x)=ddx[x3sin⁡(x2)]+ddx[ln⁡(x)cos⁡(ex)]f'(x) = \frac{d}{dx}[x^3\sin(x^2)] + \frac{d}{dx}[\ln(x)\cos(e^x)] f′(x)=(3x2sin⁡(x2)+2x4cos⁡(x2))+(cos⁡(ex)x−exln⁡(x)sin⁡(ex))f'(x) = (3x^2\sin(x^2) + 2x^4\cos(x^2)) + \left(\frac{\cos(e^x)}{x} - e^x\ln(x)\sin(e^x)\right) f′(x)=3x2sin⁡(x2)+2x4cos⁡(x2)+cos⁡(ex)x−exln⁡(x)sin⁡(ex)f'(x) = 3x^2\sin(x^2) + 2x^4\cos(x^2) + \frac{\cos(e^x)}{x} - e^x\ln(x)\sin(e^x)

    The final answer is f′(x)=3x2sin⁡(x2)+2x4cos⁡(x2)+cos⁡(ex)x−exln⁡(x)sin⁡(ex)\boxed{f'(x) = 3x^2\sin(x^2) + 2x^4\cos(x^2) + \frac{\cos(e^x)}{x} - e^x\ln(x)\sin(e^x)}.

Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question