What Is The General Leibniz Rule?
The general Leibniz rule is the formula for the nth derivative of a product of two functions: it adds up every way of sharing differentiations between the two factors, weighting each share by a binomial coefficient. It is the product rule extended from one derivative to , and many textbooks call it Leibnitz theorem or the Leibniz formula.
Statement. Let and be functions that are times differentiable at , where is a positive whole number. Then is times differentiable at , and
Symbol | Meaning |
|---|---|
The mth derivative of , with | |
The kth derivative of , with | |
Add the terms for (see summation notation) | |
The binomial coefficient, read "n choose k" |
The binomial coefficient counts the ways to choose items from . It can be computed without factorials as
so , and . Because the sum is symmetric, you may also write it as : same terms, listed in the opposite order.
Why Does The Leibniz Rule Look Like The Binomial Theorem?
The general Leibniz rule looks like the binomial theorem because both count the same thing: the ways to share identical steps between two places. Expanding gives ; the Leibniz rule has the same coefficients, with powers replaced by orders of derivatives.
Write out the first few orders and the pattern is plain:
The coefficients then then are rows of Pascal's triangle. The reason is the same as in algebra. Each time you differentiate, every term splits into two: one where the new derivative lands on , one where it lands on . After rounds, the number of paths that put exactly derivatives on is .
How Do You Prove The General Leibniz Rule?
The standard proof uses mathematical induction on , and its key step is Pascal's rule for binomial coefficients. A Quora thread asks for exactly this, the proof of the Leibnitz rule for finding an nth derivative, so here is the sketch in three moves.
Base case, . The formula reads , which is the product rule.
Inductive hypothesis. Assume the formula holds for some : .
Inductive step. Differentiate both sides once more, applying the product rule to every term:
In the second group, rename as , then collect the terms that carry the same pair of derivative orders. The term now has coefficient , and Pascal's rule says
The two end terms, and , have coefficient , which matches and . So
which is the formula for . By induction, it holds for every positive whole number .
Can You Prove It Without Induction?
Another Quora thread asks how to prove the Leibniz theorem without mathematical induction, and the counting argument from the previous section is one way. Think of acting on as the sum of two operators, one that differentiates only and one that differentiates only . These two commute, so the binomial theorem applies to their sum raised to the power , and the coefficients come out as directly. Making "the operators commute" fully rigorous takes some care, which is why most courses teach the induction proof.
How Do You Use The General Leibniz Rule Step By Step?
You use the general Leibniz rule by choosing which factor to differentiate many times, listing the derivatives of each factor, and keeping only the terms that do not vanish. In practice the method is four steps.
Choose the factors. Let be the factor whose derivatives eventually become (a polynomial), and the factor with a clean nth-derivative pattern (, , ).
List the derivatives. Write , , , and so on until they reach ; write the general formula for .
Write only the surviving terms. If is a polynomial of degree , only terms survive, however large is.
Insert the binomial coefficients and simplify. Pull out common factors last.
For step 2 you will reuse a few standard patterns, from the derivatives of exponential functions and their logarithmic and trigonometric cousins:
(for ) | |
, a whole number | once |
The sine and cosine rows hold with in radians. The row gives , , , for to , and the derivatives of logarithmic functions page shows where the first one comes from.
Examples Of The General Leibniz Rule
These six examples move from a single order to a recurrence used in series work.
Example 1
Find the third derivative of , then the nth derivative.
Take , so , and ; take , so every . With placed as the factor that receives derivatives:
For general , the same three terms survive:
With this gives , the result quoted at the top.
Final answer: and .
Example 2
Find the fourth derivative of .
The tempting version of the rule copies the Pascal-free pattern, adding each split of the derivatives once without coefficients:
Test that version on a product with a known answer. For and , it gives , but . The version without coefficients fails, because the middle term appears in two ways and must be counted twice.
With the coefficients, only and survive since :
At the correct value is , while the coefficient-free version gives .
Final answer: .
Example 3
Find the fourth derivative of , for .
Let the polynomial take derivatives: , , , then . The logarithm takes the rest, using , , , .
The usual first instinct is to give all four derivatives and stop; the result looks tidy but drops every term that actually survives.
Final answer: .
Example 4
Find the nth derivative of .
This is the function in a Quora question on using Leibniz's rule for the nth derivative. Here , and gives three surviving terms:
Factor out :
Check with : , which matches the product rule.
Final answer: .
Example 5
Find the fifth derivative of , for .
A Brainly question asks for the general nth derivative of , and the fifth is a good way to see its shape. The derivatives of needed are , and .
Final answer: .
Example 6
For , show that , where is the nth derivative, and use it to find .
First derivatives, for , from the derivatives of inverse trigonometric functions:
Differentiate, then divide by :
Apply the general Leibniz rule times. In , the factor has derivatives , , then , so three terms survive; in , two survive:
At the recurrence reduces to . Starting from :
Final answer: the recurrence holds for every , and .
Where Is The General Leibniz Rule Used?
The general Leibniz rule is used whenever a high-order derivative of a product is needed and repeated product-rule work would be impractical:
Series coefficients. The Taylor and Maclaurin series need for every . Recurrences like the one in Example 6 produce all of them at once, which is how the series for is usually built.
Differential equations. Differentiating an equation such as times gives a recurrence for the coefficients of a power-series solution, and the Leibniz rule supplies the coefficients.
Special functions. Rodrigues' formula writes each Legendre polynomial using the nth derivative of , a product the Leibniz rule expands term by term.
Exam problems. Questions of the form "find " or "prove that " are a standard final step in differential calculus courses.
Why Did Calculus Need A Rule For The Nth Derivative?
The rule exists because "differentiating a product again and again doubles the work every time". One product rule turns one term into two; doing it twice gives four, then eight. Without a way to collect the matching terms, the 10th derivative of would mean tracking 1,024 pieces of algebra.
The bookkeeping is the problem. Most of those 1,024 pieces are equal or zero. The Leibniz rule groups the equal ones (that is what counts) and drops the zero ones before they are ever written.
Notation made it visible. Gottfried Leibniz's 1684 paper in Acta Eruditorum set out the product rule with his notation. Wikipedia's product rule article notes that the discovery is credited to Leibniz, while one translator of his papers, J. M. Child, argued that it is due to Isaac Barrow.
Series needed every derivative. Once mathematicians wanted to write functions as power series, they needed every derivative at a point, not just the first two.
What Are The Most Common Mistakes With The General Leibniz Rule?
Most errors with the Leibniz rule happen before any differentiation: the wrong factor is chosen, a coefficient is dropped, or a sign is lost in the logarithm.
Mistake 1: Giving The Many Derivatives To The Wrong Factor
Where it slips in:
Products of a polynomial with , or .
Don't do this:
Choosing the order of the sum so that the polynomial ends up as a high-order factor in every term you write, then trying to evaluate for all up to .
The correct way:
Give the polynomial the low orders and stop when its derivative hits . A quadratic leaves three terms, a cubic four. The rusher who starts writing all terms before checking which ones vanish usually runs out of time.
Mistake 2: Dropping Or Miscounting The Binomial Coefficients
Where it slips in:
Any order above 1, especially the middle terms.
Don't do this:
Writing , or using .
The correct way:
Read the coefficients from Pascal's triangle or compute . A Physics Forums thread on a "tricky" Leibniz question turns on exactly this: one binomial coefficient worked out as instead of . The memorizer who learned for the second derivative but never saw why tends to reuse those coefficients at every order.
Mistake 3: Losing The Sign In Logarithm Derivatives
Where it slips in:
Products such as and .
Don't do this:
Writing .
The correct way:
Use : the signs run starting from . Students who check one value numerically (the sign of must be negative, because bends downward) stop flipping these signs.
Mistake 4: Applying The Rule To A Sum Or A Composition
Where it slips in:
Functions like or that look like products at a glance but are compositions.
Don't do this:
Using the Leibniz rule on as if it were a product.
The correct way:
The rule is for products only. A composition needs the chain rule (or a recurrence), and a sum is differentiated term by term. The silent understander can run the formula correctly but has never asked what kind of expression it needs; identifying "product of two factors" first prevents this.
Practice Problems On The General Leibniz Rule
Work each problem, then compare with the answers below. Every answer has been recomputed.
Find the fourth derivative of .
Find the nth derivative of .
Find the nth derivative of .
Find the fifth derivative of .
Find the third derivative of , for .
Find the tenth derivative of .
Answer to Question 1: .
Answer to Question 2: .
Answer to Question 3: .
Answer to Question 4: .
Answer to Question 5: .
Answer to Question 6: .
Bottom Line
The general Leibniz rule writes the nth derivative of a product as .
Its coefficients are the rows of Pascal's triangle, for the same counting reason as the binomial theorem.
Induction proves it, with Pascal's rule doing the work in the inductive step.
Give the polynomial factor the low orders so most terms vanish before you write them.
Test any expansion on to catch a missing coefficient.
Your Next Move
Work through Practice Problems 1 to 6; if Problem 3 or Problem 6 trips you up, return to the four-step method, and if a sign goes wrong in Problem 5, reread Mistake 3 on the derivatives of .
Book a free demo class with Bhanzu:
Read More
Second derivative: the order-2 case of repeated differentiation, with its meaning for graphs.
uv differentiation formula: the first-order product rule written in u and v.
Binomial expansion formula: the algebra whose coefficients the Leibniz rule reuses.
Table of derivatives: the base derivatives every Leibniz expansion needs.
Chain rule: the rule for compositions, which the Leibniz rule does not cover.
Was this article helpful?
Your feedback helps us write better content
