With x in radians, the gradient of y=sinx at every point is cosx, and the gradient of y=cosx is −sinx. The board below shows it: the gradient graph of sinx is exactly the curve cosx.
The gradient of a curveSlide P along the curve
(0.5, 0.48)P0.88gradient of tangent
x is in radians. The derivative is dy/dx = cos x, so at x = 0.5 the tangent's gradient is 0.88: the curve is going up. The grey dashed curve plots the gradient at every x: it is the graph of y = cos x, and it crosses zero where the tangent is flat.dxdsinxdxdcosx=cosx=−sinx
The cycleEach differentiation moves one step round: sin → cos → −sin → −cos → sin
The chain rule
For a function inside another function, such as (3x+1)5 or sin(4x), differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside:
dxdy=dudy×dxdu
where u is the inside.
y = (3x + 1)5
dy/dx = 5(3x + 1)4 × 3
differentiate the outside, leaving the inside alone, then × the inside’s derivative
The chain ruleOutside first, then times the derivative of the inside
The product rule
For a product of two functions, y=uv:
dxdy=u′v+uv′
Differentiate one factor at a time, keeping the other as it is, and add. The picture shows why: when u and v both grow a little, the area uv grows by two strips.
The product ruleThe rectangle's area uv grows by v·δu + u·δv
The quotient rule
For y=vu:
dxdy=v2vu′−uv′
The order matters because of the minus sign: bottom times the top’s derivative first.
d/dx (u ⁄ v) = (v·u′ − u·v′) ⁄ v²
bottom × derivative of top, minus top × derivative of bottom, all over bottom squared
The quotient ruleBottom × top′ − top × bottom′, over bottom squared
Try it
Chain, product and quotient rulesPress Next
y = (5x − 2)³
dy/dx = (derivative of the outside) × (derivative of the inside)
The parts……
Differentiate each……
Multiply……
dy/dx = …
Chain rulerule0 of 4step
y = (5x − 2)³ needs the chain rule: dy/dx = (derivative of the outside) × (derivative of the inside). Press Next.
Step through each example. Watch how the two coloured parts move through the rule.
The second derivative
Differentiating dxdy again gives the second derivative, dx2d2y. It is used in the next lesson to tell maximum points from minimum points.