Derivative — The Slope at a Point
PlayWhat happens to the slope of a tangent line as you slide it along a curve?
This concept builds on Slope — Rise Over Run: Finding the Slope of a Line, Limits — When Numbers Get Infinitely Close. Consider exploring them first for the best experience.
From straight-line slope to curves
Slope is rise over run. On a straight line it never changes, but on a curve it changes from point to point. Watch the red dot slide along the blue curve on the left: the red tangent line touching it tilts as the curve climbs, levels off and falls. The sweep keeps looping until you take over.
The tangent line at one point
Zoom in far enough on a smooth curve and it looks straight. The red tangent line captures that local slope. Move the ‘Point x’ slider (or drag the red dot) to pin the point, then read the ‘slope f′(x)’ card: it is positive while the curve rises, zero at a peak or valley, and negative while it falls.
Plotting every slope builds f′(x)
Press ‘Trace slopes’ to run the red dot once across the curve while the right panel records the slope at every x as a green trace. That trace is a brand-new function, the derivative f′(x). For sin(x) it lands exactly on cos(x): wherever sine peaks, the green curve crosses zero, and wherever sine rises fastest, it reaches its maximum.
Limit View: shrink h toward zero
Press ‘Limit View’ to draw two secant lines through the red dot: a gold one reaching forward to x + h and a purple one reaching back to x − h. Slide ‘Step size h’ toward 0.01 and watch both secant slopes close in on the tangent slope. That limit, f′(x) = lim [f(x+h) − f(x)]/h as h → 0, is the derivative.
What if the curve has a corner?
Choose ‘|x| (corner)’ in the function menu, set ‘Point x’ to 0 and open Limit View. The forward secant slope stays at 1 and the backward one stays at −1 no matter how small you make h. The two sides never agree, so there is no tangent line and f′(0) does not exist; the green trace jumps with a gap.
Worked Example: slope of x² at x = 1
Pick x² in the function menu, set ‘Point x’ to 1, open Limit View and set ‘Step size h’ to 0.5. The gold forward secant gives (2.25 − 1)/0.5 = 2.5 and the purple backward one gives (1 − 0.25)/0.5 = 1.5. At h = 0.01 they read 2.01 and 1.99. Both squeeze toward 2, matching f′(1) = 2 × 1 = 2.
How It Works — Step by Step
-
1
From straight-line slope to curves
Slope is rise over run. On a straight line it never changes, but on a curve it changes from point to point. Watch the red dot slide along the blue curve on the left: the red tangent line touching it tilts as the curve climbs, levels off and falls. The sweep keeps looping until you take over.
-
2
The tangent line at one point
Zoom in far enough on a smooth curve and it looks straight. The red tangent line captures that local slope. Move the ‘Point x’ slider (or drag the red dot) to pin the point, then read the ‘slope f′(x)’ card: it is positive while the curve rises, zero at a peak or valley, and negative while it falls.
-
3
Plotting every slope builds f′(x)
Press ‘Trace slopes’ to run the red dot once across the curve while the right panel records the slope at every x as a green trace. That trace is a brand-new function, the derivative f′(x). For sin(x) it lands exactly on cos(x): wherever sine peaks, the green curve crosses zero, and wherever sine rises fastest, it reaches its maximum.
-
4
Limit View: shrink h toward zero
Press ‘Limit View’ to draw two secant lines through the red dot: a gold one reaching forward to x + h and a purple one reaching back to x − h. Slide ‘Step size h’ toward 0.01 and watch both secant slopes close in on the tangent slope. That limit, f′(x) = lim [f(x+h) − f(x)]/h as h → 0, is the derivative.
-
5
What if the curve has a corner?
Choose ‘|x| (corner)’ in the function menu, set ‘Point x’ to 0 and open Limit View. The forward secant slope stays at 1 and the backward one stays at −1 no matter how small you make h. The two sides never agree, so there is no tangent line and f′(0) does not exist; the green trace jumps with a gap.
-
6
Worked Example: slope of x² at x = 1
Pick x² in the function menu, set ‘Point x’ to 1, open Limit View and set ‘Step size h’ to 0.5. The gold forward secant gives (2.25 − 1)/0.5 = 2.5 and the purple backward one gives (1 − 0.25)/0.5 = 1.5. At h = 0.01 they read 2.01 and 1.99. Both squeeze toward 2, matching f′(1) = 2 × 1 = 2.
Key Takeaways
Derivative = instantaneous slope
Not average slope over an interval — the slope at exactly one point.
sin and cos are linked
d/dx sin(x) = cos(x). See this live: pause sine at any point, read its slope — it matches the cosine value.
Everywhere continuous ≠ everywhere differentiable
Sharp corners have no tangent line — the derivative doesn’t exist there.
Connected Concepts
Limits
The derivative is defined as a limit of slopes.
Sine
The derivative of sin(x) is cos(x) — watch it appear.
Unit Circle
Rates of change live on the circle too.
Product & Quotient Rules
Differentiate products and quotients — a rectangle f·g grows by two strips.
Marginal Analysis
Derivatives of cost and revenue — profit peaks where MR = MC.
Curve Sketching
The signs of f′ and f″ reveal where a graph rises, falls, peaks and bends.
Chain Rule
Differentiate a function inside a function by multiplying the rates of change.
Integration
The reverse question: given the slope everywhere, recover the original curve.
Solids of Revolution
Spin a curve about an axis and stack thin slices to find a volume; the derivative of that volume with respect to x is the area of one slice.
Updated
- — New connection to Solids of Revolution, where stacked slices build a volume.
- — Steps now wait for you: pin the point, press Trace slopes, and work the slope of x² at x = 1.