ติดตรงนี้? แก้มันด้วย AI
Calculus · real student question

Find the derivative of y = sin^2(x).

Question

Find the derivative of

y=sin⁡2xy=\sin^2 x

Step-by-step solution

  1. Decode the notation first. sin⁡2x\sin^2 x means (sin⁡x)2\left(\sin x\right)^2, not sin⁡(x2)\sin\left(x^2\right). The outer function is the squaring and the inner function is the sine; getting this backwards produces 2xcos⁡(x2)2x\cos(x^2), an entirely different answer.

  2. Set up the chain rule with an explicit substitution. Let

    u=sin⁡x ⟹ y=u2u=\sin x\ \Longrightarrow\ y=u^2

    The chain rule then says

    dydx=dydu⋅dudx=2u⋅dudx\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}=2u\cdot\frac{du}{dx}

  3. Differentiate the inner function.

    dudx=ddxsin⁡x=cos⁡x\frac{du}{dx}=\frac{d}{dx}\sin x=\cos x

    (This is where radians matter: ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x=\cos x holds only for radian measure.)

  4. Substitute back.

    dydx=2sin⁡xcos⁡x\frac{dy}{dx}=2\sin x\cos x

    Note that uu must be replaced by sin⁡x\sin x — leaving the answer as 2ucos⁡x2u\cos x would be incomplete.

  5. Rewrite with the double-angle identity. Since sin⁡2x=2sin⁡xcos⁡x\sin 2x=2\sin x\cos x,

    dydx=sin⁡2x\frac{dy}{dx}=\sin 2x

    Both forms are correct; the compact one makes the zeros obvious, at x=kπ2x=\tfrac{k\pi}{2}.

  6. Check numerically. At x=0.7x=0.7 a central difference gives 0.985449730.98544973, and sin⁡(1.4)=0.98544973\sin(1.4)=0.98544973 ✓. As a structural check, y=sin⁡2xy=\sin^2x has minima at x=0,πx=0,\pi and a maximum at x=π2x=\tfrac\pi2, and sin⁡2x\sin 2x vanishes at exactly those points.

Answer

dydx=2sin⁡xcos⁡x=sin⁡2x\frac{dy}{dx}=2\sin x\cos x=\sin 2x

Need to solve a different problem like this? Open the solver →