Derivative of sin x², sin² x and sin 2x: three look-alikes, three answers
· 6 min read · updated 20 November 2026
Short answer The derivative of sin2x is 2sinxcosx, which is
sin2x. The derivative of sin2x is 2cos2x, and the derivative of
sinx2 is 2xcos(x2). All three come from the chain rule.
On paper they differ only in where one small symbol sits:
sinx2sin2xsin2x
Yet they are three different functions, and their derivatives have little in
common:
(sinx2)′=2xcos(x2)(sin2x)′=sin2x(sin2x)′=2cos2x
All three come from the same rule, the chain rule. What changes from one to
the next is which function sits on the outside. Once you can see that, each
derivative takes two lines.
Is sin x² the same as sin² x?
No. Each of the three is a function of a function: two operations, done one
after the other. To tell them apart, ask what a calculator would do last for
a given x. That last operation is the outer function; whatever happens
before it is the inner one.
Function
Means
Inner u
Outer
sinx2
sin(x2)
x2
sinu
sin2x
(sinx)2
sinx
u2
sin2x
sin(2x)
2x
sinu
Each look-alike is two steps in a row. The green box runs first (the inner function), the blue one last (the outer function).
The notation behind the table: an exponent written on the name of the
function, as in sin2x, squares the value of the sine. An exponent on the
x, as in sinx2, squares the angle before the sine is taken.
Their graphs leave no doubt that these are different functions:
On 0 ≤ x ≤ π: sin x² starts flat and then waves faster and faster, sin² x never drops below 0, and sin 2x completes a whole wave.
The chain rule in one line
For a function of a function, y=f(g(x)):
(f(g(x)))′=f′(g(x))⋅g′(x)
In words: differentiate the outer function and leave the inside untouched in
it, then multiply by the derivative of the inside. Only two lines of the
derivative table are needed below:
(sinu)′=cosu(u2)′=2u
1. sin2x: the sine is outside
The calculator doubles x first and takes the sine last, so the outer function
is the sine and the inside is 2x.
(sin2x)′=cos2x⋅(2x)′=cos2x⋅2=2cos2x
That factor 2 has a plain meaning. sin2x runs through its wave twice as
fast as sinx, so all its slopes are twice as steep:
Graphs of sin x and sin 2x.
2. sinx2: the sine is outside again
The calculator squares x first and takes the sine last. The outer function is
again the sine, and the inside is now x2.
(sinx2)′=cos(x2)⋅(x2)′=cos(x2)⋅2x=2xcos(x2)
A quick check against the graphs above: the derivative is zero where
cos(x2)=0, first at x2=2π, that is at
x=π/2≈1.25. That is exactly where sinx2 has its first
peak.
3. sin2x: now the square is outside
Here the calculator takes the sine first and squares the result last. The outer
function is the square, u2, and the inside is sinx.
(sin2x)′=2sinx⋅(sinx)′=2sinxcosx=sin2x
The graph shows why that
is right: wherever sin2x climbs, sin2x is positive; at its peak,
sin2x is zero; and where it climbs fastest, at x=4π,
sin2x reaches its largest value, 1.
Graphs of sin² x and its derivative, sin 2x.
The pattern
Function
Outer
Inner
Derivative
sin2x
sine
2x
2cos2x
sinx2
sine
x2
2xcos(x2)
sin2x
square
sinx
2sinxcosx=sin2x
Every answer is a product of two pieces: the derivative of the outer function,
with the inside left alone, and the derivative of the inside. An answer with
only one piece has skipped a layer.
The same question, what would the calculator do last?, works for chains of
any length. In sin23x there are three layers: the square outside, then the
sine, then 3x. The chain rule simply runs once per layer:
Every trigonometry formula on nine printable pages: exact values, the reduction rules, every identity, and a full-page unit circle chart. No sign-up, just the PDF.
May I use Google Analytics cookies to see which pages and guides are useful? They help me decide what to write next. No ads, and nothing is sold. Privacy