Calculus Theorems
Mean Value Theorem
Verify hypotheses and solve the secant-slope derivative equation on the open interval.
mvt(x^2,x,1,3) has secant slope (9-1)/(3-1)=4. The derivative is 2*x, so 2*c=4 gives c=2. Graph shows the secant y=4*x-3 and the parallel tangent y=4*x-4.
The rational example on [1,2] gives c=sqrt(2). The exponential example gives log(E-1), and log(x) on [1,E] gives E-1. Absolute value on [-1,1] is continuous but not differentiable at zero, so MVT does not apply. The smooth piecewise example has matching derivatives at zero and gives c=1/8.
Equation
mvt(x^2,x,1,3)
Hypotheses and parallel tangents
Both the Mean Value Theorem and Rolle's theorem require continuity on the closed interval [a,b] and differentiability on its open interior. Rolle additionally requires equal endpoint values. DGS checks those hypotheses before asserting a theorem guarantee. Endpoints must be finite real constants with a<b; interior solutions never include an endpoint.
The MVT equation sets f'(c) equal to the secant slope (f(b)-f(a))/(b-a). Rolle sets f'(c)=0. All verified interior solutions are reported when symbolic solving is complete. A failed hypothesis does not prove that no derivative-equation solution exists, and an inconclusive symbolic check is identified explicitly. Graph marks endpoints and valid c values and draws the secant and corresponding tangents, using representative points for an infinite solution set.
Reading the input
mvt(x^2,x,1,3)— mvt(x^2,x,1,3) has secant slope (9-1)/(3-1)=4. The derivative is 2*x, so 2*c=4 gives c=2. Graph shows the secant y=4*x-3 and the parallel tangent y=4*x-4.
Other versions of this example
These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.
MVT: quadratic
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt(x^2,x,1,3)
MVT: rational
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt(1/x,x,1,2)
MVT: exponential
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt(exp(x),x,0,1)
MVT: logarithm
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt(log(x),x,1,E)
Absolute-value cusp
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt(abs(x),x,-1,1)
Smooth piecewise boundary
This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
mvt({ x^2 if x<0; 2*x^2 if x>=0 },x,-1,1)
Try a change
- Edit one number in the field, then use Solve Equation. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.