Maths › Further Pure 1 › Leibnitz's theorem and the Weierstrass substitution
Leibnitz's theorem and the Weierstrass substitution
Leibnitz's theorem gives the nth derivative of a product in one line, using binomial coefficients. The Weierstrass substitution t = tan(x/2) converts an integral of a rational function of sin x and cos x into the integral of a rational function of t.
Builds on The t-formulae and The binomial expansion.
IN THIS TOPIC
- Apply Leibnitz's theorem to find high derivatives of products directly.
- Convert trig integrands to rational functions of t = tan(x/2).
- Transform the limits of a definite integral along with the variable.
COMMON MISCONCEPTION
To find the fifth derivative of a product you have no choice but to differentiate five times.
The binomial theorem for derivatives
Differentiating a product n times scatters the derivatives across both factors in every possible split, weighted by how many routes reach each split. Leibnitz's theorem collects them.
It is not in the booklet, so learn the shape. The coefficients are binomial because each differentiation chooses which factor to hit, exactly as each bracket in (a + b)n chooses a term. When one factor is a low-degree polynomial most terms vanish, and the sum reduces to a few terms.
WORKED EXAMPLE
A fifth derivative in one line
Find the fifth derivative of y = x²ex.
Take f = x², so only f, f' = 2x and f'' = 2 are non-zero.
Leibnitz: the fifth derivative is x²ex + ⁵C₁(2x)ex + ⁵C₂(2)ex.
= ex(x² + 10x + 20). Differentiating five times by hand gives the same polynomial, in five times the ink.
The substitution that rationalises trig
With t = tan(x/2), the t-formulae convert sin x and cos x into rational functions of t, and dx = 2 dt/(1 + t²) completes the substitution. An integral built from rational combinations of the trig ratios becomes an integral of a rational function, where partial fractions take over. For a definite integral, transform the limits at the same moment and never go back to x. One check first: t = tan(x/2) is undefined at odd multiples of π, so if the interval crosses one, split the integral there and treat each piece as a limit before substituting.
WORKED EXAMPLE
An integral with no elementary look
Evaluate ∫ 1/(1 + sin x − cos x) dx from π/3 to π/2.
Substituting the t-formulae, the denominator becomes 2t(t + 1)/(1 + t²), so the integrand times dx is dt/(t(t + 1)).
Partial fractions give 1/t − 1/(t + 1), which integrates to ln(t/(t + 1)).
Limits: x = π/3 gives t = 1/√3, and x = π/2 gives t = 1. The value is ln(1/2) − ln(1/(1 + √3)) = ln((1 + √3)/2) ≈ 0.312.
INDEPENDENT PRACTICE
The cosec integral
Use t = tan(x/2) to find ∫ cosec x dx.
Show the working
cosec x dx = (1 + t²)/(2t) × 2 dt/(1 + t²) = dt/t.
So the integral is ln|t| + c = ln|tan(x/2)| + c.
The standard result quoted from the booklet is this substitution carried out once and then memorised.
ASSESSMENT FOCUS
- In Leibnitz's theorem put the polynomial factor first, because its higher derivatives vanish and remove most of the sum.
- Write the binomial coefficients out explicitly before evaluating them; that line shows the method.
- Under t = tan(x/2), replace dx by 2 dt/(1 + t²) at the same moment as the trig ratios.
- Transform the limits with the variable in a definite integral. Converting back to x wastes time and invites slips.
CHECK YOURSELF
Using Leibnitz's theorem, write down the third derivative of y = xe2x.
Show a hint
Only x and its first derivative are non-zero.
Show the answer
y''' = x(8e2x) + ³C₁(1)(4e2x) = e2x(8x + 12). Two terms only, since the second and third derivatives of x vanish.
Leibnitz: the nth derivative of fg is the binomial-weighted sum of split derivatives.
t = tan(x/2) with dx = 2dt/(1 + t²) turns a rational trig integrand into a rational function of t; transform the limits too.
WORKBOOK
Printable practice for this topic: original exam-style questions with room to work, and a fully worked answer book. Free to use; please do not redistribute or sell.
Or read them with their worked answers on the leibnitz's theorem and the weierstrass substitution questions page.
CHECK YOUR PROGRESS
Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device, unless you sign in.
- Apply Leibnitz's theorem to find high derivatives of products directly.
- Convert trig integrands to rational functions of t = tan(x/2).
- Transform the limits of a definite integral along with the variable.
Open the full revision checklist to see every objective in the course in one place.