Lesson 7 of 18
Mean Value Theorem
Mean Value Theorem
The Mean Value Theorem (MVT) is one of the most important theorems in calculus:
If is continuous on and differentiable on , then there exists at least one point such that:
In plain English: at some point, the instantaneous rate of change equals the average rate of change over the interval.
Geometric Interpretation
Draw the secant line through and . The MVT says there is at least one point where the tangent line is parallel to that secant line.
Finding the MVT Point Numerically
We want where . This is a root-finding problem on , solved by bisection.
Example
For on :
- Average slope:
- → ✓ (which is the midpoint — always true for parabolas)
Applications
- Speed enforcement: if your average speed between two cameras was 80 mph, at some moment you were going exactly 80 mph
- Proof of L'Hôpital's rule
- Error estimation in numerical integration
- Rolle's Theorem: special case where , implying
Your Task
Implement double mvt_point(double (*f)(double), double a, double b, int n, double h) that finds the MVT point using bisection on .
TCC compiler loading...
Loading...
Click "Run" to execute your code.