---
title: "Derivatives"
description: "A derivative is a local rate of change. Watch the ratios for x² approach 6 at x = 3, derive 2x from the limit, and use it to estimate small changes."
canonical_url: "https://fanout.sh/ai/lessons/math-fundamentals-derivatives"
md_url: "https://fanout.sh/ai/lessons/math-fundamentals-derivatives.md"
last_updated: "2026-12-01"
access: "public"
---

# Derivatives

A derivative is a local rate of change. Watch the ratios for x² approach 6 at x = 3, derive 2x from the limit, and use it to estimate small changes.

Take the rule f(x) = 2x + 1: double the input, then add 1. Increasing x from 3 to 4 changes the output from 7 to 9. Wherever we start, adding 1 to the input adds 2 to the output.

For g(x) = x², the rate depends on where you start. Around x = 3, a small change in x produces roughly six times that change in the output. Let's inspect the numbers.

| Input change | Output change | Output change ÷ input change |
| --- | --- | --- |
| 3 → 3.1 | 9 → 9.61, a change of 0.61 | 6.1 |
| 3 → 3.01 | 9 → 9.0601, a change of 0.0601 | 6.01 |
| 3 → 3.001 | 9 → 9.006001, a change of 0.006001 | 6.001 |

These ratios approach 6. That limiting local rate is the derivative at x = 3. We write it as g′(3) = 6. The prime mark means “derivative.”

## Use the rate before memorizing rules

If x moves from 3 to 3.02, the derivative predicts an output change of approximately 6 × 0.02 = 0.12. The exact change is 3.02² − 3² = 0.1204. Close, but not identical: the curve's slope changes as we move.

$$g(x + h) - g(x) \approx g'(x)\,h$$

Here h is a small input change. The derivative is the rate; multiplying by h estimates the output change. This approximation applies where the function is differentiable, and becomes useful over a sufficiently small step.

Try predicting: At x = −2, the derivative of x² is −4. If x increases to −1.99, should the output increase or decrease? Estimate the change.

## Where the 6 came from

For x², compare the outputs at x and x + h, then divide by the nonzero input change:

$$\frac{(x+h)^2-x^2}{h} =\frac{2xh+h^2}{h} =2x+h$$

As h approaches zero, this tends to 2x. So g′(x) = 2x, which gives 6 at x = 3 and −4 at x = −2. The numbers in the table were approaching this exact result.

See the local line: In Desmos, enter y=x^2 and y=9+6(x-3). Zoom near (3, 9), then zoom out. The line follows the curve nearby, but drifts away farther from 3. This is why a local rate cannot promise the effect of a large change.

- A derivative is a local rate of change. It is not the output change itself.
- For g(x) = x², g′(x) = 2x. At x = 3 the rate is 6.
- For a small input change h, estimate the output change with g′(x) × h.
- A negative derivative means the output locally decreases as the input increases.
- A local rate does not guarantee an accurate prediction for a large step.

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
