Step by step
The question
Question: find dy/dx for y = sin(x² + 1).
1 The inside
There is something inside: x² + 1.
Call it u.
Then y is just sin u.
2 The outside
The derivative of sin x is cos x.
First the outside.
The rule on sin u gives cos u.
3 The inside's slope
Now the inside.
The power rule on x² + 1 gives 2x.
4 Multiply
The chain rule: multiply the two.
dy/du times du/dx.
Put the inside back in place of u.
Careful!
Do not stop here!
We must multiply by the inside's slope, 2x.
Write the numbers in front.
So dy/dx = 2x cos(x² + 1).
5 Check
Let's check: the derivative is the slope.
At x = 1, the rule gives −0.8323, with a calculator in radians.
Now the slope between two very close points: x = 1 and x = 1.001.
A calculator gives about −0.83.
Very close to −0.8323.
Right!
Let's look back.
First: the inside.
Then: the outside.
Then: the inside's slope.
Then: multiply.
Last: check.