Mean Value Theorem Calculator

Find c where f'(c) equals the secant slope.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

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

1
Step 1
Type f(x).
2
Step 2
Enter a and b.
3
Step 3
Press Calculate to see the average slope and c.

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]?
c = 1, where f′(1) = 2 matches the average slope 2.
What is c for x² − 2x on [0, 3]?
c = 1.5.
Does the theorem always work?
Only if f is continuous on [a, b] and differentiable on (a, b).

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 YouTube
  • Definite integrals intro

    Khan Academy

    Definite integral basics for area-under-curve calculators.

    Watch on YouTube