Derivative — The Slope at a Point

Play

What happens to the slope of a tangent line as you slide it along a curve?

Mathematics Calculus intermediate 7 min

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.

Step 1 of 6

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.

Play Slope Rider A game about Derivative — The Slope at a Point

How It Works — Step by Step

Step 1 of 6
  1. 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. 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. 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. 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. 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. 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.

Added
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.