AP Calculus AB and BC

Derivative of sin 2x: Answer, Chain Rule, Mistakes

The derivative of sin 2x with respect to x is 2 cos 2x. The chain rule differentiates the outer sine to get cos 2x, then multiplies by the derivative of the inner function 2x, which is 2. The general pattern is that sin kx differentiates to k cos kx.

ddx[sin2x]=2cos2x\frac{d}{dx}\left[\sin 2x\right] = 2\cos 2x

How to differentiate sin 2x

The inner function is 2x2x and the outer is sine. Differentiate the outer, keep the inner unchanged, then multiply by the inner derivative.

ddxsin(2x)=cos(2x)2=2cos2x\frac{d}{dx}\sin(2x) = \cos(2x)\cdot 2 = 2\cos 2x

The general rule follows the same way, and it is worth carrying as one fact rather than rederiving each time.

ddxsin(kx)=kcos(kx)\frac{d}{dx}\sin(kx) = k\cos(kx)

Why the 2 appears

Doubling the input doubles how fast the argument moves, so the output oscillates twice as fast and its slopes are twice as steep. The factor is not bookkeeping, it is the actual rate.

Reversed, the same factor explains the division in the antiderivative: sin2xdx=cos2x2+C\int \sin 2x\,dx = -\frac{\cos 2x}{2} + C.

Where the derivative of sin 2x shows up on the AP exam

The chain rule is Topic 3.1, on both AB and BC, and a trigonometric function with a linear inner function is the most common first example of it.

Do not confuse it with the product ddx(2sinx)=2cosx\frac{d}{dx}\left(2\sin x\right) = 2\cos x. Those look similar written quickly and are different functions.

Common mistakes with the derivative of sin 2x

  • Answering cos2x\cos 2x and dropping the chain rule factor. This is the single most common chain rule error.
  • Answering 2cosx2\cos x, which differentiates the inner function into the wrong place.
  • Using the double angle identity first. Rewriting as 2sinxcosx2\sin x\cos x and applying the product rule is legal and gives 2cos2x2\cos 2x after simplification, but it is slower and invites algebra errors.

Check yourself, not just the answer

Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.

Frequently asked questions

What is the derivative of sin 2x?

It is 2cos2x2\cos 2x.

Why is there a 2 in front?

The chain rule multiplies by the derivative of the inner function 2x2x, which is 22.

What is the derivative of sin(kx)?

It is kcos(kx)k\cos(kx) for any constant kk, by exactly the same chain rule step.

What is the antiderivative of sin 2x?

It is cos2x2+C-\frac{\cos 2x}{2} + C. The same factor of 22 that multiplies here divides there.