Derivatives, the mastery sheet

October 8, 2026 · mathllms

Everything about derivatives on one page: the one idea, four derivations from scratch, the secant that becomes a tangent, the power-rule shortcut, and where derivatives break.

Illustration: a magnifying lens zooms into one point of a red curve, where the segment looks straight with a tangent line drawn through the point
The lens zooms in on one point of the curve: the segment looks straight, and the slope of that line is the derivative.

1. The one idea

A derivative is the slope of a curve at a single point. Not between two points, that is just an average. At one point, exactly, right now. Speedometers, hill steepness under your feet, how fast a rumor is spreading this minute: all derivatives.

The definition

$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$$

Read it as: take the slope between two points $h$ apart, then crush $h$ to zero. Whatever the slope settles on is the derivative. The whole sheet is this one sentence, unpacked.

2. The core set, from scratch

Four derivations, no shortcuts yet. Each one runs the definition and watches the leftover $h$ terms die. Tap each card for the full working and a sparkline of the function with its tangent.

3. Shrink the gap

This is the moment the definition stops being symbols. Take $y = x^2$ at $x = 2$. The slope between two points is easy. Now drag the second point closer and watch the average slope settle. Step through it, then play with it:

The secant becomes the tangent

y = x squaredsecant (your guess)tangent (the truth)
$$\frac{(2+1)^2 - 2^2}{1} = 5$$
h = 1: secant from (2, 4) to (3, 9)
h1
average slope = 4 + h5.000

The algebra behind the readout: $\frac{(2+h)^2 - 4}{h} = \frac{4h + h^2}{h} = 4 + h$. Every term except the 4 carries an $h$, so as $h \to 0$ the slope has nowhere to go but 4. That limit is the derivative: $f'(2) = 4$.

4. The shortcut: the power rule

After the third derivation you stop doing limits by hand. The pattern is always the same, so it gets a name:

Bring down the power, subtract one

$$\frac{d}{dx}[x^n] = nx^{n-1}$$

Why it works in one line: $(x+h)^n$ expands to $x^n + n \cdot x^{n-1} \cdot h +$ terms with $h^2$ or more. The $x^n$ cancels, dividing by $h$ leaves $n \cdot x^{n-1}$ plus terms still holding an $h$, and those vanish as $h \to 0$. Sections 2 and 3 were this sentence, four times, with numbers.

d/dx of x to the 7th7x to the 6th
d/dx of x to the 100th100x to the 99th
d/dx of 1/xminus 1 over x squared

That last one: $1/x = x^{-1}$, so the rule gives $-1 \cdot x^{-2}$. The rule does not care that the power is negative.

5. When to use it

Three jobs. Speedometers, hilltops, and the entire Taylor sheet run on this one idea.

Motion: velocity is the slope of position

If your position over time is $p(t) = t^2$ meters, your speedometer reads the derivative: $v(t) = 2t$. Drag time and watch the tangent's slope match your speed.

position p(t) = t squaredtangent (your velocity)
position6.25 m
velocity5.0 m/s

Optimization: the flat tangent finds the peak

Throw a ball: height $h(x) = -(x-2)^2 + 4$. Where is it highest? Exactly where the tangent goes flat, slope zero. Drag x and find it.

height h(x)tangent
tangent slope2.00

The move has a name: set the derivative to zero and solve. $h'(x) = -2(x-2) = 0$ gives $x = 2$. Every "find the best" problem in ML, economics, and engineering is this move wearing a costume.

Understanding: Taylor series run on derivatives

A Taylor series is derivatives repackaged: each term matches one more derivative at a single point. No derivatives, no series. The mastery sheet is the prequel to this one, or this one is the prequel to that one. Either way, they connect.

Open the Taylor mastery sheet

6. Where it breaks

Derivatives need the curve to be smooth at the point. Three ways a curve can refuse. Tap each card: the plot shows the secant never settling on one slope.

Illustration of the three ways a curve refuses a derivative: a corner where two slopes meet, a cusp spike with a vertical tangent, and a step that teleports across a gap
The three failure modes at a glance: the corner, the cusp, and the jump.

Takeaways

The whole sheet is one idea, unpacked: the derivative is the slope of a curve at a single point, found by taking an average slope and shrinking the gap to zero. Four derivations, one shortcut, three jobs, three failure modes. That machinery runs motion, optimization, and Taylor series.

A derivative is a microscope for change. Zoom in far enough and every smooth curve looks straight. The slope of that straight line is the derivative.

Keep exploring