Split a composite function into its outer and inner parts, differentiate each, and multiply. Every layer of the chain is shown.
Reads assin(x2+1)
Try:
Answer
dxd[sin(x2+1)]=2xcos(x2+1)
Outer function
f(u)=sin(u)f′(u)=cos(u)
×
Inner function
u=x2+1u′=2x
dxdy=f′(u)⋅u′=(cos(x2+1))⋅(2x)
Rates multiply
Inner changes 1.6× as fast as x. Outer changes -0.06915× as fast as u. So f(g(x)) changes 1.6 × -0.06915 = -0.1106× as fast as x.
Step by step
Sum rule
Differentiate term by term.
dxd[x2+1]=dxd[x2]+dxd[1]
Power rule
d/dx[xⁿ] = n·xⁿ⁻¹.
dxd[x2]=2x
Trig rule + chain rule
Outer function sin(□), inner u = x2+1; multiply the outer derivative by u′.
dxd[sin(x2+1)]=cos(x2+1)⋅dxd[x2+1]
Still stuck? Ask the tutor
An AI tutor reads the problem and steps above and explains them in plain words. It can make mistakes, so check it against the worked steps.
The chain rule in one sentence
Derivative of the outside, evaluated at the inside, times the derivative of the inside: dxdf(g(x))=f′(g(x))g′(x). The slider above shows why: rates of change multiply through each layer, just like gear ratios.
Common mistakes
Forgetting the inner derivative: dxdsin(3x)=3cos(3x), not cos(3x).
Changing the inside: the outer derivative keeps the original inner function, cos(x2) not cos(2x).
Stopping one layer early on nested functions like sin(x2).
The rule for differentiating a function inside another function: dxdf(g(x))=f′(g(x))⋅g′(x). Differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside.
How do I spot the inner function?
Ask "what would I calculate first?" For sin(x2) you would square x first, so g(x)=x2 is inside and sin is outside. The calculator draws this split for you.
What about several layers, like sin(e^(3x))?
Apply the rule repeatedly: each layer contributes one factor. dxdsin(e3x)=cos(e3x)⋅e3x⋅3. The steps list shows every layer.
Why does the chain rule work?
Rates multiply. If u changes 3 times as fast as x, and y changes 2 times as fast as u, then y changes 2×3=6 times as fast as x. In Leibniz notation: dxdy=dudy⋅dxdu.