No scary formulas to start. Just pictures, sliders, and one big idea: how fast something is changing. Drag everything. Break nothing.
Before derivatives, we need functions. A function is just a rule: you put a number in, it gives a number out. Same input → always the same output.
Here's the machine for the rule f(x) = x² ("square the input"). Slide the input and watch:
Now the cool part: every input/output pair is a point we can draw. Collect all of them and you get a graph — a picture of the function. The slider below drops the point onto the graph.
A function = an input → output rule. Its graph is the picture of that rule.
Speed is how your position changes. Your bank balance grows or shrinks. A hill gets steeper, then flatter. Temperature rises and falls.
Math has one tool whose entire job is to answer: "how fast is this changing, right now?" That tool is the derivative. Keep that sentence in your head — it's the whole course.
A derivative tells you the rate of change of a function at a single instant — in pictures, it's the steepness (slope) of the graph at a point.
You already know slope! It's "rise over run" — how much you go up for every step you take across.
Steeper line = bigger slope. Drag the slider to tilt the line and watch the slope number. Going downhill? Slope is negative. Flat? Slope is zero.
For a straight line the slope is the same everywhere. Easy. Curves are where it gets interesting…
Walk along a curvy hill. Sometimes you climb steeply, sometimes gently, sometimes you go down. A curve doesn't have one slope — it has a different slope at every point.
So how do we measure steepness at a single spot on a curve? Here's the trick that started all of calculus…
This is the secret. Pick a point on a curve. Now zoom in… and keep zooming. The bend disappears. Up close, the curve looks like a straight line — and straight lines, we can handle!
That straight line the curve "becomes" when you zoom in is called the tangent line. And its slope is the derivative at that point. That's it. That's the definition, in a picture.
Derivative at a point = slope of the tangent line (the line the curve becomes when you zoom in).
The green line below "kisses" the curve at the dot and matches its steepness there. Drag the dot along the curve and watch the slope number change.
Slope > 0 → curve is going uphill (function increasing).
Slope = 0 → curve is flat — the very top of a hill or bottom of a valley.
Slope < 0 → curve is going downhill (function decreasing).
Bigger number (like +5) → steeper. Small number (like +0.2) → gentle.
To find slope you need two points. But a tangent touches only one spot! The fix: take a second point nearby, draw the line between them (a secant line), then slide that second point closer and closer.
As the gap (we call it h) shrinks toward zero, the secant line lines up perfectly with the tangent. Slide h down and watch the secant snap onto the green tangent — and the slope settle on its final value.
In symbols this idea is written:
f '(x) = limit, as h → 0, of [ f(x+h) − f(x) ] / h
Don't panic — it's just rise over run ( the top is the rise, h is the run ) with the run squeezed to almost nothing. Same slope idea you've always known.
Here's the beautiful part. At every point the curve has a slope — so the slopes themselves form a brand-new function, written f '(x) ("f prime").
Drag the dot on the top graph (the function f). The bottom graph plots that slope. The height of the bottom dot = the steepness of the top curve. Watch them dance together.
f tells you the value. f ′ tells you how fast f is changing. Two graphs, one story.
A car's position over time is a function. Its speed is the slope of that position graph — i.e. the derivative. Steep graph = moving fast. Flat graph = stopped.
Your speedometer is literally computing a derivative every moment. So is acceleration (the derivative of speed).
Want the maximum profit, the highest point, the cheapest cost? At the very top of a hill (or bottom of a valley) the graph is momentarily flat — the slope is zero.
That's the superpower: to find the best outcome, find where the derivative equals 0. Slide to hunt for the peak — the dot turns gold when you've found the flat spot on top.
Slope = 0 marks the tops, bottoms, and turning points. Derivatives = the math of "what's the best?"
| You see… | It means… |
|---|---|
| graph going up | derivative is positive (+) |
| graph going down | derivative is negative (−) |
| graph is flat | derivative is zero — a peak/valley |
| graph is steep | derivative is large |
| graph is gentle | derivative is small |
And one rule you'll use constantly (the "power rule"): the derivative of x² is 2x, of x³ is 3x² — bring the power down front, drop it by one. But that's a formula for later. The picture is what matters: derivative = slope = rate of change.