Leibnitz's Theorem (Edexcel A Level Further Maths: Further Pure 1): Revision Note

Exam code: 9FM0

Mark Curtis

Written by: Mark Curtis

Updated on

Leibnitz's theorem

What is Leibnitz's theorem?

  • Leibnitz's theorem states that the nth derivative of a product of functions, y=f(x)g(x), is given by

    • dnydxn=(n0)f(0)(x)g(n)(x)+(n1)f(1)(x)g(n1)(x)+(n2)f(2)(x)g(n2)(x)+...+(nr)f(nr)(x)g(r)(x)+......+(nn1)f(n1)(x)g(1)(x)+(nn)f(n)(x)g(0)(x)

    • where

      • f(0)(x)=f(x)

      • f(r)(x) means the rth derivative of f(x)

      • and (nr) is the binomial coefficient n!r!(nr)!

  • It allows you to find dnydxn from y=f(x)g(x) directly

    • without having to differentiate n times!

  • In the case when n=1you get the product rule

    • i.e. if y=f(x)g(x) then

      • dydx=(10)f(0)(x)g(1)(x)+(11)f(1)(x)g(0)(x)=f(x)g'(x)+f'(x)g(x)

Examiner Tips and Tricks

You need to learn Leibnitz's theorem as it is not given in the formulae booklet!

How do I use Leibnitz's theorem?

  • To use Leibnitz's theorem, it helps to write a table of derivatives then match opposite ends

    • e.g. if y=e2xsinxfind d4ydx4

    • Calculate the derivatives

      r

      f(r)(x)

      g(r)(x)

      0

      e2x

      sinx

      1

      2e2x

      cosx

      2

      4e2x

      sinx

      3

      8e2x

      cosx

      4

      16e2x

      sinx

    • Match opposite ends (the first f with the last g, second f with second-to-last g, etc)

      r

      f(r)(x)

      g(r)(x)

      0

      e2x

      sinx

      1

      2e2x

      cosx

      2

      4e2x

      sinx

      3

      8e2x

      cosx

      4

      16e2x

      sinx

    • Find the relevant binomial coefficients (40), (41), (42), (43) and (44)

      • 1, 4, 6, 4, 1

    • Substitute into Leibnitz's theorem

      • d4ydx4=1×e2xsinx+4×2e2x(cosx)+6×4e2x(sinx)+4×8e2xcosx+1×16e2xsinx

    • Simplify and collect like terms

      • d4ydx4=e2xsinx8e2xcosx24e2xsinx+32e2xcosx+16e2xsinx=7e2xsinx+24e2xcosx

Examiner Tips and Tricks

A useful check, before simplifying, is that the nth derivative should have n+1 terms (e.g. d4ydx4 should have 5 terms).

How do I prove general results using Leibnitz's theorem?

  • You can use Leibnitz's theorem to prove general results like the following:

    • If y=x2e2x, prove that dnydxn=2n2e2x(4x2+4nx+n2n) for n

  • You need to know the following properties of the binomial coefficients

    • (n0)=1, (n1)=n and by symmetry (nn)=1, (nn1)=n

    • Higher-order coefficients can be simplified

      • (n2)=n!2!(n2)!=n(n1)(n2)!2×1×(n2)!=12n(n1)

      • (n3)=n!3!(n3)!=n(n1)(n2)(n3)!3×2×1×(n3)!=16n(n1)(n2)

      • etc.

  • You need to be able to spot patterns in the derivatives

    • See the worked example below

Worked Example

Using Leibnitz's theorem,

(a) find a and b such that d6ydx6=a+blnx where y=x6lnx.

(b) prove that if y=x2e2x then dnydxn=2n2e2x(4x2+4nx+n2n) for n.

Answer:

(a)

Let f(x)=x6 and g(x)=lnx

Work out a table of derivatives

r

f(r)(x)

g(r)(x)

0

x6

lnx

1

6x5

x1

2

30x4

x2

3

120x3

2x3

4

360x2

6x4

5

720x

24x5

6

720

120x6

Match opposite ends (the first f with the last g, second f with second-to-last g, etc)

r

f(r)(x)

g(r)(x)

0

x6

lnx

1

6x5

x1

2

30x4

x2

3

120x3

2x3

4

360x2

6x4

5

720x

24x5

6

720

120x6

Find the binomial coefficients (60), (61), (62), ..., (66)

1, 6, 15, 20, 15, 6, 1

Leibnitz's theorem for n=6 is

d6ydx6=(60)f(0)(x)g(6)(x)+(61)f(1)(x)g(5)(x)+(62)f(2)(x)g(4)(x)+......+(65)f(5)(x)g(1)(x)+(66)f(6)(x)g(0)(x)

Substitute the above into Leibnitz's theorem

d6ydx6=1×x6×(120x6)+6×6x5×24x5+15×30x4×(6x4)+...20×120x3×2x3+15×360x2×(x2)+6×720x×x1+1×720×lnx

Simplify each term

d6ydx6=120+8642700+48005400+4320+720lnx

Collect like terms

d6ydx6=1764+720lnx

This is now in the form given in the question, d6ydx6=a+blnx, so state a and b

a=1764 and b=720

(b)

Start by writing a table of derivatives for f(x)=x2 and g(x)=e2x

  • Notice that x2 eventually differentiates to zero

  • Add in a few rows at the bottom for n-2, n-1, n

r

f(r)(x)

g(r)(x)

0

x2

e2x

1

2x

2e2x

2

2

4e2x

3

0

8e2x

4

0

16e2x

...

...

...

n-2

0

n-1

0

n

0

Spot a general rule / pattern in the g derivatives to find g(n)(x)

  • The coefficients of e2x are powers of 2

g(n)(x)=2ne2x

Use this rule to backfill g(n1)(x) and g(n2)(x)

r

f(r)(x)

g(r)(x)

0

x2

e2x

1

2x

2e2x

2

2

4e2x

3

0

8e2x

4

0

16e2x

...

...

...

n-2

0

2n2e2x

n-1

0

2n1e2x

n

0

2ne2x

Match opposite ends (the first f with the last g, second f with second-to-last g, etc)

  • This makes all terms after the third term equal to zero

r

f(r)(x)

g(r)(x)

0

x2

e2x

1

2x

2e2x

2

2

4e2x

3

0

8e2x

4

0

16e2x

...

...

...

n-2

0

2n2e2x

n-1

0

2n1e2x

n

0

2ne2x

Find and simplify the first three binomial coefficients in terms of n

(n0)=1(n1)=n(n2)=n2!(n2)!=n(n1)(n2)!2×1×(n2)!=12n(n1)

Write down Leibnitz's theorem in terms of n

dnydxn=(n0)f(0)(x)g(n)(x)+(n1)f(1)(x)g(n1)(x)+(n2)f(2)(x)g(n2)(x)+......+(nn1)f(n1)(x)g(1)(x)+(nn)f(n)(x)g(0)(x)

Substitute the above working into Leibnitz's theorem

dnydxn=1×x2×2ne2x+n×2x×2n1e2x+12n(n1)×2×2n2e2x+0+0+0+...

Simplify each term

dnydxn=2ne2xx2+2ne2xnx+2n2e2x(n2n)

By comparing to the answer given, factorise out a 2n2 and an e2x

dnydxn=2n2e2x(22x2+22nx+n2n)

This simplifies to the correct answer

dnydxn=2n2e2x(4x2+4nx+n2n)  for n

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Mark Curtis

Author: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.