sin3(4x) means (sin4x)3. The cube applies to the whole sine, not to the angle 4x.
y=(sin(4x))3
2
Count the layers
Work it out for x=1: first 4x=4, then sin4, then the cube of that. Three operations mean three layers: 4x is the innermost, the sine is the middle and the cube is the outermost. Give each inner layer its own letter.
v=4x,u=sinv,y=u3
3
Differentiate each layer
Differentiate each layer with respect to the layer just inside it.
dudy=3u2,dvdu=cosv,dxdv=4
dudy=3u2dvdu=cosvdxdv=4
4
Multiply all three rates
A chain of three layers multiplies three rates.
dxdy=dudy⋅dvdu⋅dxdv=3u2⋅cosv⋅4
dxdy=dudy⋅dvdu⋅dxdv=3u2⋅cosv⋅4
5
Put the layers back
Work back toward x: replace u with sin(4x), and v with 4x.
dxdy=3sin2(4x)⋅cos(4x)⋅4
6
Simplify
Multiply the constants: 3⋅4=12.
dxdy=12sin2(4x)cos(4x)
7
The fast way
Once you can see the layers, skip the letters. Write one factor per layer, from the outside in, copying everything inside each layer unchanged. The cube gives 3sin2(4x), the sine gives cos(4x), and 4xgives 4.
Result
dy/dx=12sin2(4x)cos(4x).
dxdy=12sin2(4x)cos(4x)
Your turn
1. One like the example
Differentiate y=cos2(3x).
Show the answer and explanation
dy/dx=−6cos(3x)sin(3x).
cos2(3x) means (cos3x)2, which has three layers, the square, the cosine and 3x. The square gives 2cos(3x), the cosine gives −sin(3x) and 3xgives 3. Their product is −6cos(3x)sin(3x). With the double-angle identity this is also −3sin(6x).
Differentiate y=ecos2x. Count the layers before you start.
Show the answer and explanation
dy/dx=−2ecos2xsinxcosx.
There are three layers. The exponential is outermost, the square is in the middle and cosx is innermost. They give ecos2x,2cosxand −sinx. Their product is −2ecos2xsinxcosx, which is also −ecos2xsin(2x).
Open the steps in Math: the Checker marks the derivative ✓. Remove the factor 4 and its mark turns to ✗, because the innermost layer’s factor is missing.