Fundamentholfundamenthol

Differentiation Under the Integral Sign

MathsIntegralsFor JEE aspirants

Differentiation Under the Integral Sign (DUIS), also called Leibnitz's Rule, lets you differentiate a definite integral whose limits are functions of : if , then . This rule is a JEE Advanced favourite because it turns "find the derivative of this integral" problems into direct one-line substitutions, and it also handles integrals with a parameter inside the integrand (the "modified" Leibnitz rule). Mastering both variants covers every DUIS question likely to appear in the exam.

Key Formulas - Quick Reference
  1. Leibnitz's rule (variable limits):
  2. Simple form (upper limit variable):
  3. Modified Leibnitz rule (parameter in integrand):
  4. Full Leibnitz (both limits and integrand depend on ):
  5. L'Hôpital combined with Leibnitz: use Leibnitz to differentiate integrals with variable upper limits in or limits

1. Leibnitz's Rule (Variable Limits)

Statement: If is continuous on and , are differentiable functions whose values lie in , then

Why the rule works (intuition and proof)

Let be an antiderivative of , so . By the Fundamental Theorem:

Differentiate both sides using the chain rule:

Notice that depends only on the endpoint values of and the derivatives of the limits, never on the antiderivative itself. This is what makes the rule so powerful.

Simple Cases

  1. Upper limit is , lower is a constant:
  2. Lower limit is , upper is a constant:
  3. Upper limit is , lower is a constant:
Leibnitz rule with variable upper and lower limits A curve y equals f of t with two vertical lines at t equals g of x and t equals h of x marking the variable limits. The shaded region between the curve and the t-axis represents the integral F of x. As x changes, both limits shift and the derivative F prime equals f evaluated at h times h prime minus f evaluated at g times g prime. t g(x) h(x) F(x) y = f(t) lower limit moves upper limit moves
Figure 1: The integral is the shaded area whose derivative comes from the endpoints, not the interior.

2. Solved Examples: Variable Limits

Solved Example 1
If , find .
Solution:

By Leibnitz's rule with , , :

Solved Example 2
If , show that .
Solution:

Rewrite: .

Differentiate using the product rule and Leibnitz:

Differentiate again:

Therefore , as required.

Solved Example 3
If , find the first and second derivatives of with respect to at .
Solution:

Apply Leibnitz's rule:

Now .

Second derivative:

Evaluate at (so ):

  • First derivative
  • Second derivative
Solved Example 4
Evaluate .
Solution:

This is a form. Apply L'Hôpital using Leibnitz to differentiate the integrals:

Still . Apply L'Hôpital again:

Solved Example 5
If , find .
Solution:

This is the same setup as Solved Example 2 with in place of . The identical calculation gives:

Solved Example 6
Determine a positive integer such that .
Solution:

Let . Integrate by parts with , :

Compute base case:

Recurrence:

  • ✓

Hence .

3. Modified Leibnitz Rule (Parameter in Integrand)

If the integrand depends on a parameter but the limits do not, then This is the "modified Leibnitz rule" or Feynman's trick: differentiate under the integral sign to introduce a new variable, solve the resulting ODE for the parametrised integral, and back-substitute.
Solved Example 7
Evaluate , where is a parameter.
Solution:

Differentiate with respect to using the modified Leibnitz rule:

Integrate w.r.t. : .

At : , so .

Therefore .

Solved Example 8
Evaluate , where is a parameter.
Solution:

Differentiate with respect to :

Substitute , . Limits: ; .

Divide numerator and denominator by :

Let . This gives .

Integrate: .

At : , so . Hence .

Solved Example 9
Evaluate .
Solution:

This is a form. Apply L'Hôpital, using Leibnitz on the numerator:

Numerator derivative:

Denominator derivative:

Solved Example 10
If , find .
Solution:

Both the limits AND the integrand depend on . Use the full Leibnitz rule (both effects sum):

The parameter integral: , so

Total:

Common Mistakes to Avoid

Watch out
  • Forgetting to multiply by or . Writing is wrong; the correct answer is .
  • Dropping the minus sign for the lower limit. If the lower limit is , its contribution is , not .
  • Using Leibnitz on an integral where the integrand also depends on but treating the integrand as a constant. If , you must add the parameter term .
  • Applying the rule when the integrand is discontinuous inside the interval. Leibnitz requires continuity of on the range spanned by the limits.
  • In the modified rule, forgetting to fix the constant of integration using a known value of the parametrised integral (like ).
  • Confusing with . These are the two halves of the Fundamental Theorem, not the same statement.

Frequently Asked Questions

Q1. What is Leibnitz's rule in one sentence?

Leibnitz's rule says the derivative of with respect to equals : the integrand evaluated at each limit, times the derivative of that limit, with the lower one carrying a minus sign.

Q2. When do I need Leibnitz's rule instead of Newton-Leibnitz?

Newton-Leibnitz evaluates a definite integral to a number using an antiderivative. Leibnitz's rule differentiates a definite integral (whose limits are functions of ) with respect to . Use it whenever you're asked for where is defined as an integral, or when the integrand has no closed-form antiderivative but you can still find by the rule.

Q3. What is the modified Leibnitz rule and when is it useful?

If the limits are fixed but the integrand depends on a parameter , then . This "Feynman trick" is used to evaluate integrals that resist standard techniques: differentiate with respect to a parameter, evaluate the simpler derivative, then integrate the result back.

Q4. How do I combine Leibnitz's rule with L'Hôpital's rule?

When a limit involves an integral with a variable upper limit in a or form, use L'Hôpital and differentiate the integral using Leibnitz. This is a standard JEE trick for limits like , which equals by one application.

Q5. Does Leibnitz's rule work if has discontinuities?

The standard statement requires to be continuous on the range spanned by the limits. If has a jump inside, split the integral at the discontinuity first, then apply Leibnitz to each piece. For an unbounded discontinuity, the integral becomes improper and needs its own analysis.

Q6. What if both limits and the integrand depend on the variable?

Use the full form: differentiate the limits (Leibnitz variable-limit part) AND add the integral of the partial derivative of the integrand (modified Leibnitz part). The total is .

Q7. Can I use Leibnitz's rule when the upper limit is ?

Yes, provided the integral converges and appropriate convergence conditions hold (uniform convergence for the modified rule). For JEE problems with as a limit, verify convergence first; usually the rule applies straightforwardly.

Q8. How does Leibnitz's rule prove the second Fundamental Theorem of Calculus?

The second FTC states , which is the special case of Leibnitz's rule with (constant, so ) and (so ): the rule reduces to .

Q9. What's a good sanity check when applying Leibnitz's rule?

Verify units and boundary behaviour. If the integral is , then at the integral is zero, and its derivative should equal at . Also check that a constant upper limit yields derivative zero (as it should).

Previous year questions on Differentiation Under the Integral Sign

4 questions from past papers, each with a step-by-step solution.

Ready to master Integrals?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.