Derivative Foundations

⚡ Key Takeaways

One line: The derivative measures the instantaneous rate of change of a function — the slope of its graph at a single point. Key result: f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h}, the limit of average rates of change as the interval shrinks to zero. Where it applies: velocity from position, marginal cost, optimisation, tangent lines, slopes of curves — anywhere "how fast is it changing?" is asked. Who/when: Developed independently by Isaac Newton (c. 1666) and Gottfried Leibniz (c. 1675); placed on rigorous limit foundations by Cauchy and Weierstrass in the 1800s.

💡 The Core Insight

You cannot directly measure a rate at an instant because rate normally needs two points (rise over run), and an instant is one point. The derivative resolves this by computing the average rate over an interval of width hh, then letting hh approach zero. The average rates "home in" on a single limiting value — the instantaneous rate. The slope between two nearby points becomes the slope of the tangent at one point.

Formal Statement

DefinitionAverage Rate of Change

For a function ff over the interval from xx to x+hx+h (with h≠0h\neq 0), the average rate of change is the slope of the secant line through the two points (x,f(x))(x, f(x)) and (x+h,f(x+h))(x+h, f(x+h)):

1
ΔyΔx=f(x+h)−f(x)h\quad \frac{\Delta y}{\Delta x} = \frac{f(x+h)-f(x)}{h}

Derivation hint: This is simply "rise over run" — the change in output f(x+h)−f(x)f(x+h)-f(x) divided by the change in input (x+h)−x=h(x+h)-x = h. Symbols: ff is the function; xx the base point; hh the interval width (a small nonzero number); Δy=f(x+h)−f(x)\Delta y = f(x+h)-f(x) the output change; Δx=h\Delta x = h the input change.

DefinitionThe Derivative

The derivative of ff at xx, written f′(x)f'(x) or dfdx\dfrac{df}{dx}, is the limit of the average rate of change as h→0h\to 0, provided this limit exists:

2
f′(x)=lim⁡h→0f(x+h)−f(x)h\quad f'(x) = \lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

Derivation hint: Take equation [1] and let the interval width hh shrink toward zero; the secant slopes approach the tangent slope. When this limit exists, ff is said to be differentiable at xx. An equivalent form fixing a point aa:

3
f′(a)=lim⁡x→af(x)−f(a)x−a\quad f'(a) = \lim_{x\to a}\frac{f(x)-f(a)}{x-a}

Derivation hint: Substitute x=a+hx = a+h into [2], so h=x−ah = x-a and h→0h\to 0 becomes x→ax\to a. Symbols: f′(x)f'(x) the derivative (a new function of xx); lim⁡h→0\lim_{h\to 0} the limit operation; aa a fixed point of evaluation.

TheoremDifferentiability Implies Continuity

If ff is differentiable at x=ax = a, then ff is continuous at aa. The converse is false: continuity does not guarantee differentiability.

4
f′(a) exists ⟹ lim⁡x→af(x)=f(a)\quad f'(a)\ \text{exists}\ \Longrightarrow\ \lim_{x\to a} f(x) = f(a)

Derivation hint: Write f(x)−f(a)=f(x)−f(a)x−a⋅(x−a)f(x)-f(a) = \frac{f(x)-f(a)}{x-a}\cdot(x-a); as x→ax\to a the first factor tends to f′(a)f'(a) and the second to 00, so the product tends to 00.

Why It Holds / Derivation

ProofDeriving the Derivative of f(x)=x2f(x)=x^2 from First Principles

We compute f′(x)f'(x) for f(x)=x2f(x) = x^2 directly from definition [2].

Step 1 — Form the difference quotient. Substitute into [1]:

5
f(x+h)−f(x)h=(x+h)2−x2h\quad \frac{f(x+h)-f(x)}{h} = \frac{(x+h)^2 - x^2}{h}

Derivation hint: Replace ff by the squaring rule at x+hx+h and at xx.

Step 2 — Expand the numerator. Since (x+h)2=x2+2xh+h2(x+h)^2 = x^2 + 2xh + h^2:

6
x2+2xh+h2−x2h=2xh+h2h\quad \frac{x^2 + 2xh + h^2 - x^2}{h} = \frac{2xh + h^2}{h}

Derivation hint: The x2x^2 terms cancel, leaving only terms containing hh.

Step 3 — Simplify by cancelling hh (valid because h≠0h\neq 0 inside the limit):

7
2xh+h2h=2x+h\quad \frac{2xh + h^2}{h} = 2x + h

Derivation hint: Factor hh from the numerator, then divide top and bottom by hh.

Step 4 — Take the limit. As h→0h\to 0, the term hh vanishes:

8
f′(x)=lim⁡h→0(2x+h)=2x\quad f'(x) = \lim_{h\to 0}(2x + h) = 2x

Derivation hint: 2x2x is constant with respect to hh, and h→0h\to 0, so the sum tends to 2x2x. Thus ddx(x2)=2x\dfrac{d}{dx}(x^2) = 2x. The indeterminate 0/00/0 never actually occurred because we simplified before taking the limit. ■\blacksquare

∎
mathematician · Gottfried Wilhelm Leibniz | 1646–1716

A German polymath — philosopher, logician, and mathematician — Leibniz developed calculus independently of Newton in the mid-1670s. His genius lay in notation: he introduced dydx\dfrac{dy}{dx} for the derivative and ∫\int for the integral, symbols so well-designed they remain in universal use today. Leibniz thought of dxdx and dydy as "infinitesimal" (infinitely small) differences, and his fraction-like notation makes rules such as the chain rule look almost self-evident. A bitter priority dispute with Newton's supporters clouded his later years, but mathematics ultimately adopted Leibniz's symbolic language.

Building Intuition

🧠 Intuition

Imagine zooming a microscope into the graph of a smooth curve at one point. The more you magnify, the straighter the curve looks — eventually indistinguishable from a straight line. That line is the tangent, and its slope is the derivative. This is local linearity: differentiable functions look linear when viewed closely enough. Another picture: a car's speedometer. Average speed needs two odometer readings and a clock interval. But the speedometer shows speed right now — the derivative of position. It works by effectively measuring change over a tiny time interval and reporting the limiting rate.

Figure
Secant lines (grey) approaching the tangent line (gold) as h→0h\to 0 on the curve y=x2y=x^2
x y P (x, f(x)) large h tangent: slope = f'(x) As h→0 secants → tangent

Worked Examples

ExampleInstantaneous Velocity of a Falling Stone

Given: A stone's height (in metres) after tt seconds is s(t)=20−5t2s(t) = 20 - 5t^2. Find its instantaneous velocity at t=2 st = 2\,\text{s}.

Step 1 — Set up the difference quotient using definition [2] with f=sf = s:

9
s(2+h)−s(2)h=(20−5(2+h)2)−(20−5(2)2)h\quad \frac{s(2+h)-s(2)}{h} = \frac{\bigl(20 - 5(2+h)^2\bigr) - \bigl(20 - 5(2)^2\bigr)}{h}

Derivation hint: Substitute t=2t=2 and t=2+ht=2+h into the height formula.

Step 2 — Expand: (2+h)2=4+4h+h2(2+h)^2 = 4 + 4h + h^2, so 20−5(4+4h+h2)=−20h−5h220 - 5(4+4h+h^2) = -20h - 5h^2 after subtracting 20−20=020-20=0:

10
−20h−5h2h=−20−5h\quad \frac{-20h - 5h^2}{h} = -20 - 5h

Derivation hint: s(2)=20−20=0s(2) = 20-20 = 0; cancel hh from the numerator.

Step 3 — Take the limit as h→0h\to 0:

11
v(2)=lim⁡h→0(−20−5h)=−20\quad v(2) = \lim_{h\to 0}(-20 - 5h) = -20

Derivation hint: The −5h-5h term vanishes as h→0h\to0.

Answer: v(2)=−20 m/s\boxed{v(2) = -20\ \text{m/s}} — the stone moves downward (negative) at 2020 metres per second.

ExampleSlope of the Tangent to a Cubic

Given: f(x)=x3f(x) = x^3. Find the slope of the tangent at x=2x = 2.

Step 1 — Difference quotient:

12
(2+h)3−23h\quad \frac{(2+h)^3 - 2^3}{h}

Derivation hint: Apply definition [2] at the point a=2a=2.

Step 2 — Expand (2+h)3=8+12h+6h2+h3(2+h)^3 = 8 + 12h + 6h^2 + h^3, subtract 88:

13
12h+6h2+h3h=12+6h+h2\quad \frac{12h + 6h^2 + h^3}{h} = 12 + 6h + h^2

Derivation hint: Use (a+b)3=a3+3a2b+3ab2+b3(a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 with a=2, b=ha=2,\ b=h; then cancel hh.

Step 3 — Limit as h→0h\to 0:

14
f′(2)=lim⁡h→0(12+6h+h2)=12\quad f'(2) = \lim_{h\to 0}(12 + 6h + h^2) = 12

Derivation hint: Both 6h6h and h2h^2 tend to 00.

Answer: f′(2)=12\boxed{f'(2) = 12} — the tangent line at (2,8)(2,8) has slope 1212 (dimensionless slope). This matches the general rule ddxx3=3x2\frac{d}{dx}x^3 = 3x^2, since 3(2)2=123(2)^2 = 12.

Common Misconceptions

⚠️ Common mistake

"The derivative is the fraction 0/00/0." It is not a fraction at the instant; it is the limit of fractions. We never divide by zero — within the limit h≠0h\neq 0, allowing legitimate cancellation of hh. Only after simplifying do we let h→0h\to 0.

"dy/dxdy/dx is a ratio you can split." The Leibniz symbol dydx\frac{dy}{dx} is a single symbol meaning "the derivative," not literally dydy divided by dxdx. (In some later contexts the pieces gain meaning, but at this level treat it as one indivisible notation.)

"Every continuous function is differentiable." False — continuity is necessary but not sufficient (see [4] and the counterexample below).

CounterexampleA Continuous Function That Is Not Differentiable

Consider f(x)=∣x∣f(x) = |x| (absolute value) at x=0x = 0. It is continuous everywhere, but the difference quotient gives different limits from each side:

15
lim⁡h→0+∣h∣−0h=+1,lim⁡h→0−∣h∣−0h=−1\quad \lim_{h\to 0^+}\frac{|h|-0}{h} = +1,\qquad \lim_{h\to 0^-}\frac{|h|-0}{h} = -1

Derivation hint: For h>0h>0, ∣h∣=h|h|=h so the quotient is +1+1; for h<0h<0, ∣h∣=−h|h|=-h so the quotient is −1-1. Since the left and right limits disagree, the two-sided limit [2] does not exist: the graph has a sharp corner at 00, and no single tangent slope exists. Continuity alone is not enough.

Connections

connection

The derivative sits at the heart of a web of ideas. It is defined using Limits and Continuity — without limits, the "shrinking interval" is meaningless. Geometrically it produces the Tangent Line and connects to Slope of a Line generalised to curves. The mechanical task of computing derivatives without first principles is governed by Differentiation Rules (power, product, quotient, chain). Its inverse operation is studied in Antiderivatives and Integration, and the deep link between the two is the Fundamental Theorem of Calculus. In physics, the derivative of position is Velocity and Acceleration.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 250 BCE — Archimedes uses tangent and area methods (the "method of exhaustion"), foreshadowing limits without formalising them.
- 1629 — Pierre de Fermat develops adequality, a method for finding maxima/minima and tangents that anticipates the derivative.
- c. 1666 — Isaac Newton formulates "fluxions" (rates of change of "fluents") during his plague-year work at Woolsthorpe.
- c. 1675 — Gottfried Leibniz independently develops differential calculus with the notation dy/dxdy/dx and ∫\int.
- 1684 — Leibniz publishes the first calculus paper, Nova Methodus, introducing differentials publicly.
- 1687 — Newton's Principia Mathematica applies fluxional ideas to physics, though stated geometrically.
- 1696 — L'Hôpital publishes the first calculus textbook, spreading Leibniz's methods across Europe.
- 1734 — Bishop Berkeley attacks infinitesimals as "ghosts of departed quantities," exposing the lack of rigour.
- 1821 — Augustin-Louis Cauchy defines the derivative rigorously via limits, and Karl Weierstrass (1860s) supplies the precise ε\varepsilon–δ\delta foundation, ending centuries of ambiguity.

Subtleties & Limits

open-problem

The notion of "instantaneous rate" raised genuine philosophical alarm. Berkeley's critique — that infinitesimals are treated as nonzero (to divide) yet zero (to discard) — was not fully answered for over a century, until limits replaced infinitesimals. Remarkably, the infinitesimal viewpoint was later rehabilitated rigorously by Abraham Robinson's non-standard analysis (1960s), which constructs a logically sound number system containing genuine infinitesimals — vindicating Leibniz's intuition. A further subtlety: functions can be continuous everywhere yet differentiable nowhere (Weierstrass's 1872 function), a "fractal" curve with corners at every scale — showing how strong the smoothness demanded by differentiability really is.

See Also

Limits and Continuity · Tangent Line · Differentiation Rules · Velocity and Acceleration · Fundamental Theorem of Calculus · Higher-Order Derivatives · Applications of Derivatives