Rolle’s Theorem
Rolle's Theorem:
Let be continuous on and differentiable on . If then there exists at least one such that
How to use the applet
- Drag the green point along the -axis to choose the left endpoint.
- The red point is computed automatically so that (here ), so the main hypothesis of Rolle’s theorem is always satisfied.
- The dashed vertical segments indicate the values and .
- The purple points mark the critical points of the chosen function , and a purple tangent is drawn there when .
- As you move , the interval changes.
- Whenever at least one of the marked points lies strictly between and , the tangent at that point is horizontal, illustrating .
- For this function, the critical points are (since ), and the applet shows exactly which of them fall inside .
Loading graph…
- Hold Shift + scroll to zoom
- Hold Shift + drag to move
- Points shaped like <> act as sliders
Description
Reference: Lecture Notes Calculus 1 ( May22,2022 ) Theorem6.9 page 104
The applet is an attempt to visualize the Rolle’s theorem interactively. The student drag points and , to change the interval.
When the theorem conditions are met ():
const eps = 0.1;
function rolleConditionHolds() {
return Math.abs(f(pointA.X()) - f(pointB.X())) < eps;
}
The student can see horizontal tangent lines for each critical point inside the interval. Using a symmetric function helps the student create this condition.
Morover the chosen function is simple to deal with for calculting its critical points.
Indeed with . Therefore for and .
const xis = [-1, 0, 1];
xis.forEach((xi) => {
const pointXiX = createPoint(
board,
[xi, 0],
{
name: `ξ`,
visible: () => xiVisible(xi),
},
COLORS.purple
);
const pointXi = createPoint(
board,
[xi, f(xi)],
{
name: "f(ξ)",
visible: () => xiVisible(xi),
},
COLORS.purple
);
...