For y=u(x)v(x), the nth derivative is:
dxndny=∑k=0n(kn)dxn−kdn−kudxkdkv
This generalises the product rule to higher derivatives.
Example: If y=x2ex, find dx3d3y.
Let u=x2 and v=ex. Then:
- u′=2x, u′′=2, u′′′=0
- v′=v′′=v′′′=ex
y′′′=u′′′v+3u′′v′+3u′v′′+uv′′′=0+6ex+6xex+x2ex=(x2+6x+6)ex
Curve Sketching
Key techniques for sketching curves y=f(x):
- Intercepts: Where does f(x)=0? Where does y=0?
- Asymptotes:
- Horizontal: limx→±∞f(x)
- Vertical: Where f(x)→∞
- Oblique: Divide polynomials for rational functions
- Stationary points: Where f′(x)=0
- Local maximum: f′′<0
- Local minimum: f′′>0
- Point of inflection: f′′=0 but derivative doesn’t change sign
- Symmetry: Even (f(−x)=f(x)) or odd (f(−x)=−f(x))?
- Behaviour at special points: Near asymptotes, near the origin
Newton-Raphson Method
To find roots of f(x)=0, iterate:
xn+1=xn−f′(xn)f(xn)

Geometric interpretation: Follow the tangent line to the x-axis.
Convergence: Quadratic (very fast) near a root. But can fail if:
- f′(xn)=0 (horizontal tangent)
- Starting point is poorly chosen (cycle or divergence)
Example: Estimate 2 by solving f(x)=x2−2=0.
xn+1=xn−2xnxn2−2=xn−2xn+xn1=2xn+xn1
Starting with x0=1: x1=1.5, x2≈1.417, x3≈1.414.
Implicit Differentiation
For functions defined implicitly by F(x,y)=0:
dxdy=−∂F/∂y∂F/∂x
Or differentiate both sides with respect to x, treating y as a function of x.
Example: Find dxdy for x2+y2=a2.
Differentiating: 2x+2ydxdy=0, so dxdy=−yx.
Parametric Differentiation
If x=x(t) and y=y(t):
dxdy=dx/dtdy/dt
For the second derivative:
dx2d2y=dtd(dxdy)⋅dxdt=dtd(x′y′)⋅x′1
Example: For x=cost, y=sint:
dxdy=−sintcost=−cott
Logarithmic Differentiation
For products/quotients/powers, take logarithms first:
If y=wcua⋅vb, then lny=alnu+blnv−clnw
Differentiate:
yy′=uau′+vbv′−wcw′
Example: Find dxd(xx).
y=xx, so lny=xlnx. Then:
yy′=lnx+1⇒y′=xx(lnx+1)
Higher Derivatives and Patterns
Some functions have recognisable derivative patterns:
| f(x) | f′(x) | f′′(x) | f(n)(x) |
|---|
| ex | ex | ex | ex |
| sinx | cosx | −sinx | sin(x+nπ/2) |
| cosx | −sinx | −cosx | cos(x+nπ/2) |
| lnx | 1/x | −1/x2 | (−1)n−1(n−1)!/xn |