High school · Differentiation
From a secant to a tangent
Bring two points together and compare an average rate with the exact derivative.
Predict what will happen, press Play, then pause and explain what changed. Every control also works without playback.
Watch the relationship
PausedHD animation studio
From experiment to screen.
Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.
Understand what you are seeing
The idea behind the motion.
A secant compares the change in function value between two distinct points. For f(x) = x²/2, its slope between x and x + h is x + h/2. As the positive gap h approaches zero, these slopes approach the tangent slope x. A finite drawing illustrates a limit; it does not reach h = 0.
A relationship to keep
[f(x + h) − f(x)]/h = x + h/2 → f′(x) = x
Read the symbols alongside the explanation. A diagram shows the relationship; the assumptions tell you when it applies.
- STEP 1
Fix the first point
The teal point stays on f(x) = x²/2 at your chosen x. The amber point is at x + h. Their joining amber line measures average change over that interval.
- STEP 2
Shrink a nonzero interval
Playback reduces h to 0.04, keeping the denominator nonzero. The displayed secant slope is calculated from the current gap, so it remains slightly different from the exact tangent slope.
- STEP 3
Compare with the limit
The dashed navy tangent has slope x for every frame. The secant slope error is exactly h/2, which explains both the direction of the difference and why the two lines approach each other.
Your turn to explain
Make a prediction. Test your reasoning.
At x = 1 with h = 0.2, what are the secant slope, tangent slope, and error?
Use the values specified in the question. Reset restores the initial values for this investigation.
Compare your explanation
The secant slope is 1.1, the tangent slope is 1, and the difference is 0.1. A small gap gives an approximation, not equality.
Work through a full lesson
Connect the animation to a worked example and practice questions.