Loading...
Find the value of c guaranteed by the Mean Value Theorem. Enter any function and interval to get step-by-step solutions with a visual graph showing the secant line, tangent line, and point c.
The essential formulas and conditions you need to know for MVT problems.
If f is continuous on [a, b] and differentiable on (a, b), then there exists c in (a, b) such that:
If f is continuous on [a, b], differentiable on (a, b), and f(a) = f(b), then there exists c in (a, b) such that:
The secant line connecting (a, f(a)) and (b, f(b)) has a certain slope. MVT guarantees at least one point c where the tangent line to f has the same slope. The tangent at c is parallel to the secant line.
Solve any MVT problem step by step.
Type f(x) using standard math notation. For example: x^2, sin(x), e^x, ln(x), x^3 - 3x. You can also click an example problem to load a preset with a known solution.
Enter the left endpoint a and the right endpoint b. Make sure a is less than b. The calculator checks that the function is defined at both endpoints before proceeding.
The calculator shows f(a), f(b), the average rate of change, and all values of c where f'(c) equals the secant slope. The graph displays the function curve in yellow, secant line in orange, and tangent at c in green.
Expand the solution panel to see every step: verifying conditions, evaluating endpoints, computing the average slope, and finding c. This matches the format expected in calculus courses and textbooks.
Every calculation shows the complete solution process matching textbook format. Verify conditions, evaluate endpoints, compute slope, find c.
See the function, secant line, and tangent line at c on a coordinate plane. The geometric interpretation becomes immediately clear.
Results appear in real time as you type or change values. No submit button, no waiting. Adjust the function or interval and see updates instantly.
The calculator automatically detects when f(a) = f(b) and highlights that Rolle's Theorem applies. No need to check this condition manually.
Finds all values of c in the interval, not just one. Higher-degree polynomials and trig functions often have multiple valid c values.
Load preset problems covering quadratics, cubics, trig, exponential, logarithmic, and Rolle's Theorem cases. Great for studying.
The Mean Value Theorem is one of the most important results in all of calculus. At its core, it says something intuitive: if you drive 150 miles in 2 hours, your average speed is 75 mph. At some point during that drive, your speedometer must have read exactly 75 mph. You might have been going faster at times and slower at others, but the theorem guarantees that at least once your instantaneous speed matched the average.
In mathematical terms, the average speed is the average rate of change, which is the slope of the secant line connecting the start and end points. The speedometer reading at a specific moment is the instantaneous rate of change, which is the derivative at that point. MVT says these two must be equal somewhere in the interval.
Before applying MVT, you need to check two things. First, the function must be continuous on the closed interval [a, b]. This means no jumps, no gaps, and no vertical asymptotes between a and b (including at the endpoints). Most common functions like polynomials, trig functions, and exponentials are continuous everywhere on their domains.
Second, the function must be differentiable on the open interval (a, b). Differentiable means the derivative exists at every point between a and b (not including the endpoints). A function can be continuous but not differentiable at a point. The classic example is f(x) = |x| at x = 0 - it is continuous there but has a sharp corner where the derivative does not exist.
On exams, always state that you have verified both conditions before finding c. Professors typically award points for this verification step even if the rest of the solution is correct without it.
The standard process for solving an MVT problem by hand has four steps. First, verify the conditions. Second, compute f(a) and f(b). Third, calculate the average rate of change using the formula [f(b) - f(a)] / (b - a). Fourth, set f'(x) equal to that average rate and solve for x. The solutions that fall within (a, b) are your c values.
For example, with f(x) = x^2 on [1, 3]: f(1) = 1, f(3) = 9, average rate = (9-1)/(3-1) = 4. The derivative is f'(x) = 2x. Setting 2x = 4 gives x = 2. Since 2 is in (1, 3), c = 2. At x = 2, the tangent line has the same slope as the secant line connecting (1, 1) and (3, 9).
Rolle's Theorem predates MVT and is actually used in the proof of MVT. It adds one extra condition: f(a) = f(b). When the function values at both endpoints are equal, the secant line is horizontal (slope = 0), so MVT guarantees a c where f'(c) = 0. This means there is a local maximum or minimum (or a horizontal inflection point) somewhere between a and b.
A classic Rolle's example is f(x) = x^2 - 4x + 3 on [1, 3]. Both f(1) = 0 and f(3) = 0. The derivative is f'(x) = 2x - 4. Setting it to zero gives x = 2. So c = 2, and indeed the parabola has its vertex (minimum) at x = 2 between the two roots at x = 1 and x = 3.
The Mean Value Theorem is not just an abstract result. It is the foundation for several major calculus theorems. The First Derivative Test (for finding local max/min) relies on MVT. L'Hopital's Rule uses a generalized version of MVT (Cauchy's Mean Value Theorem). The Fundamental Theorem of Calculus has deep connections to MVT as well.
MVT also provides practical bounds on function values. If you know the derivative is always between -3 and 5 on an interval, MVT tells you exactly how much the function value can change over that interval. This kind of reasoning appears in numerical analysis, physics (bounding position from velocity), and engineering (bounding system outputs from rate constraints).
The most common mistake is forgetting to verify conditions. On an exam, if you skip stating that f is continuous and differentiable, you lose points even if you find the right c. The second common mistake is accepting c values that fall outside the open interval (a, b). If your solution gives c = a or c = b, it does not count.
Another frequent error is confusing the average rate of change formula. Remember it is [f(b) - f(a)] / (b - a), not [b - a] / [f(b) - f(a)]. The function values go in the numerator and the x-values go in the denominator. Getting this backwards is surprisingly common under exam pressure.
Finally, some students forget that there can be multiple c values. If you are solving a cubic or higher-degree polynomial, check all solutions of f'(x) = slope, not just the first one you find. Any solution in (a, b) is valid and should be reported.
Common questions about the Mean Value Theorem and how to use this calculator.
Disclaimer: This Mean Value Theorem Calculator is for educational purposes. It uses numerical methods which may have small precision limitations. Always verify your solutions algebraically for graded assignments. This tool is not a substitute for understanding the underlying mathematical concepts.