Percentage Calculator X
What are you solving?

Mean Value Theorem Calculator

Enter a function and an interval from a to b. The calculator first checks that the function is continuous on the closed interval and differentiable on the open one, a step students often skip. It then finds the slope of the secant line and solves for every c in the interval where the derivative equals that slope.

How to use the mean value theorem calculator

Type your numbers. The answer and the working update as you type.

Use x, + - * / ^, brackets, and sqrt, sin, cos, tan, exp, ln (or log), abs, atan.

pi is allowed, for example pi/2.

Result

Enter your numbers above to see the answer and every step.

Worked example

Take f of x equal to x squared on the interval from 1 to 3. The function is continuous and differentiable everywhere, and the secant slope is 4. Setting the derivative equal to that slope gives c equal to 2, which lies inside the interval.

Checking the conditions

The steps of the worked example appear here.

Method and limits

The theorem needs f continuous on the closed interval from a to b and differentiable on the open interval. If it is not, the page reports that the hypotheses fail and the theorem does not apply. Otherwise the secant slope is f of b minus f of a, over b minus a, and the page solves for the points c where the derivative equals it. Corners and vertical tangents, such as those of the absolute value or the cube root, are flagged when they sit inside the open interval.

What it does not cover

  • Solving for c needs symbolic algebra, so the page covers polynomials and simple functions.

Rules and calculation checked on 11 Oct 2026.

How we check our answers · Official sources

Related calculators

Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.