Differentiation measures how fast a quantity changes. Once the rules are automatic, the interesting work is choosing which rule a given expression needs — and often you need two of them together.
The basic rules
dxd(xn)=nxn−1
Bring the power down and reduce it by one. This holds for every real n — negative and fractional included.
dxd(3x4−5x2+7)=12x3−10x
The constant 7 differentiates to 0: a constant does not change, so its rate of change is zero.
Two structural rules:
dxd(f±g)=f′±g′dxd(kf)=kf′
Rewrite awkward terms as powers before differentiating:
Informally: differentiate the outside, leave the inside alone, then multiply by the derivative of the inside.
Trigonometric derivatives
dxd(sinx)=cosxdxd(cosx)=−sinxdxd(tanx)=sec2x
These follow from first principles using the limits θsinθ→1 and θ1−cosθ→0 — which is why they require radians.
Combined with the chain rule:
dxdsin(3x)=3cos(3x)dxdcos(x2)=−2xsin(x2)
Tangents and normals
dxdy evaluated at a point is the gradient of the tangent there.
Find the tangent and normal to y=x3−2x at x=2.
The point: y=8−4=4, so (2,4).
The gradient: dxdy=3x2−2, which at x=2 gives 10.
Tangent:
y−4=10(x−2)⇒y=10x−16
The normal is perpendicular to the tangent, so its gradient is −101:
y−4=−101(x−2)⇒y=−101x+4.2
Stationary points
A stationary point is where dxdy=0: the tangent is horizontal.
Classify it with the second derivative:
dx2d2y at the point
Nature
negative
maximum
positive
minimum
zero
inconclusive — test the gradient either side
Find and classify the stationary points of y=x3−3x2+4.
dxdy=3x2−6x=3x(x−2)=0⇒x=0 or x=2
dx2d2y=6x−6
At x=0: dx2d2y=−6<0, a maximum. Then y=4, giving (0,4).
At x=2: dx2d2y=6>0, a minimum. Then y=8−12+4=0, giving (2,0).
A function is increasing where dxdy>0 and decreasing where dxdy<0. For the cubic above: increasing for x<0, decreasing for 0<x<2, increasing again for x>2 — consistent with a maximum then a minimum.
Rates of change
Connected rates use the chain rule in the form
dtdV=drdV×dtdr
The radius of a sphere increases at 0.2 cm s−1. Find the rate of increase of the volume when r=5 cm.