Mean Value Theorem Calculator
Find c where f'(c) equals the secant slope.
About this tool
Enter a function and an interval to find a point c where the tangent slope equals the average slope. For x² on [0, 2], the average slope is 2 and c = 1.
How to use
How it works
If f is continuous on [a, b] and differentiable inside, some c in (a, b) has f′(c) = (f(b) − f(a)) ÷ (b − a). The tool searches 300 equal steps across the interval for a sign change in f′(c) minus that slope.
f′(c) = (f(b) − f(a)) ÷ (b − a)
Worked example
A quadratic
- Input
- x^2 - 2*x on [0, 3]
- Output
- c = 1.5
- Walkthrough
- Average slope = (3 − 0) ÷ 3 = 1. Setting f′(c) = 2c − 2 = 1 gives c = 1.5.
Limitations
- The search uses a grid of 300 steps, so c is accurate to about the interval width ÷ 300.
- Only the first c is reported; some functions have several.
Questions
What is c for x² on [0, 2]?
What is c for x² − 2x on [0, 3]?
Does the theorem always work?
Features
- Average slope shown
- Numerical c
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Rectangle area as product of dimensions
Khan Academy
Foundational area thinking across math tools.
Watch on YouTubeDefinite integrals intro
Khan Academy
Definite integral basics for area-under-curve calculators.
Watch on YouTube
- Introduction to Integration
Math is Fun
Accumulation view that pairs with integral tools.
- Math | Khan Academy
Khan Academy
Practice paths when a tool result needs more drill.