**S**uppose be a function satisfying three conditions:

1) f(x) is continuous in the closed interval a ≤ x ≤ b

2) f(x) is differentiable in the open interval a < x < b

Then according to Lagrange’s Theorem, there exists **at least one** point ‘c’ in the open interval (a, b) such that:

We can visualize Lagrange’s Theorem by the following figure

In simple words, Lagrange’s theorem says that if there is a path between two points A(a, f(a)) and B(b, f(a)) in a 2-D plain then there will be at least one point ‘c’ on the path such that the slope of the tangent at point ‘c’, i.e., **(f ‘ (c))** is equal to the average slope of the path, i.e.,

**Example:** Verify mean value theorm for f(x) = x^{2} in interval [2,4].

**Solution:** First check if the function is continuous in the given closed interval, the answer is Yes. Then check for differentiability in the open interval (2,4), Yes it is differentiable.

f(2) = 4

and f(4) = 16

Mean value theorm states that there is a point c ∈ (2, 4) such that But which implies c = 3. Thus at c = 3 ∈ (2, 4), we have

This article has been contributed by Saurabh Sharma.

If you would like to contribute, please email us your interest at contribute@geeksforgeeks.org

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the **DSA Self Paced Course** at a student-friendly price and become industry ready.

## Recommended Posts:

- Mathematics | Rolle's Mean Value Theorem
- Cauchy's Mean Value Theorem
- Corollaries of Binomial Theorem
- Kleene's Theorem in TOC | Part-1
- Quotient Remainder Theorem
- Arden's Theorem and Challenging Applications | Set 2
- Consensus Theorem in Digital Logic
- Bayes's Theorem for Conditional Probability
- Arden's Theorem in Theory of Computation
- Advanced master theorem for divide and conquer recurrences
- Mathematics | Generalized PnC Set 1
- Mathematics | Generalized PnC Set 2
- Mathematics | Probability
- Mathematics | Matrix Introduction
- Mathematics | Introduction to Proofs
- Mathematics | Set Operations (Set theory)
- Mathematics | The Pigeonhole Principle
- Mathematics | Algebraic Structure
- Mathematics | Indefinite Integrals
- Mathematics | Predicates and Quantifiers | Set 2