Derivatives: From Slopes to Rates of Change

⚡ Key Takeaways

The derivative of a function measures its instantaneous rate of change — the slope of the tangent line at a point. Defined as the limit of average rates of change (difference quotients) as the interval shrinks to zero, written f′(x)f'(x) or dydx\frac{dy}{dx}. It applies everywhere a quantity varies: velocity from position, marginal cost from cost, growth rates in biology. Foundational work by Newton and Leibniz, 1660s–1680s.

💡 The Core Insight

The slope of a straight line between two points is easy: rise over run. But a curve has a different steepness at every point. The genius move is to compute the slope between a fixed point and a second point that we slide closer and closer to the first. The secant slopes approach a limiting value — the tangent slope — and that limit IS the derivative. "Rate of change at an instant" and "slope of the tangent" are the same idea wearing two costumes.

Formal Statement

DefinitionThe Difference Quotient

For a function ff and a point xx, the average rate of change over the interval from xx to x+hx+h is the difference quotient:

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

Derivation hint: rise =f(x+h)−f(x)= f(x+h)-f(x) divided by run =(x+h)−x=h= (x+h)-x = h; this is the slope of the secant line through (x,f(x))(x, f(x)) and (x+h,f(x+h))(x+h, f(x+h)). Here h≠0h \neq 0 is the step size (the horizontal gap between the two points), f(x+h)−f(x)f(x+h)-f(x) is the change in output (Δy\Delta y), and h=Δxh = \Delta x is the change in input.

DefinitionThe Derivative

The derivative of ff at xx is the limit of the difference quotient as the step size hh approaches zero, 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 shrink the interval to zero by letting h→0h \to 0; the secant slopes converge to the tangent slope. Symbols: f′(x)f'(x) (Lagrange notation, read "f prime of x") is the derivative; lim⁡h→0\lim_{h\to 0} means "the value approached as hh gets arbitrarily close to 0"; hh is the vanishing step. An equivalent form uses a second point aa approaching xx:

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

Derivation hint: substitute a=x+ha = x + h into [2], so a→xa \to x is the same as h→0h \to 0, and a−x=ha - x = h. Notations for the same object: f′(x)f'(x), dydx\dfrac{dy}{dx} (Leibniz), y˙\dot y (Newton, usually for time derivatives), and DfDf (operator notation).

TheoremDifferentiability Implies Continuity

If ff is differentiable at xx, then ff is continuous at xx.

4
f′(x) exists  ⟹  lim⁡h→0f(x+h)=f(x)\quad f'(x)\ \text{exists} \implies \lim_{h\to 0} f(x+h) = f(x)

Derivation hint: write f(x+h)−f(x)=f(x+h)−f(x)h⋅hf(x+h)-f(x) = \frac{f(x+h)-f(x)}{h}\cdot h; as h→0h\to 0 the first factor tends to f′(x)f'(x) (finite) and the second to 00, so the product tends to 00. The converse is FALSE: continuity does not guarantee differentiability (see the corner of ∣x∣|x|).

Why It Holds / Derivation

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

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

Step 1. Form the difference quotient:

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: substitute f(x+h)=(x+h)2f(x+h)=(x+h)^2 and f(x)=x2f(x)=x^2 into [1].

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

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; what remains contains a factor of hh.

Step 3. Cancel hh (legal because h≠0h \neq 0 before the limit):

7
h(2x+h)h=2x+h\quad \frac{h(2x + h)}{h} = 2x + h

Derivation hint: factor hh from 2xh+h22xh + h^2, then divide.

Step 4. Take the limit:

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

Derivation hint: as h→0h\to 0 the term hh vanishes, leaving 2x2x. The slope of y=x2y = x^2 at any point xx is 2x2x. At x=3x=3 the tangent slope is 66. ∎

∎
IN
Isaac Newton
1643–1727

Newton developed his "method of fluxions" around 1665–1666 during the plague years at Woolsthorpe. He treated variables as fluents flowing in time and their rates as fluxions (denoted x˙\dot x), motivated directly by physics — instantaneous velocity and acceleration in his laws of motion. His Principia (1687) used geometric limiting arguments rather than explicit derivative notation. Newton thought of the derivative dynamically: as the velocity of a generated quantity.

Building Intuition

🧠 Intuition

Imagine zooming in on a smooth curve with a microscope. The more you magnify, the straighter it looks — eventually it is indistinguishable from a straight line. The slope of THAT line is the derivative. This is local linearity: a differentiable function looks linear up close. Now picture driving. Your odometer gives position s(t)s(t); your speedometer gives the derivative s′(t)s'(t) — instantaneous speed. The average speed over a trip is ΔsΔt\frac{\Delta s}{\Delta t} (a difference quotient). The speedometer reading at one instant is the limit as the time interval shrinks to nothing. You can't divide a distance by zero time directly — but you CAN ask what the ratio approaches, and that answer is the derivative.

Figure
Secant lines (slopes 5, 4) collapsing to the tangent line (slope 2) on the curve y=x2y=x^2 at x=1x=1.
x y y=x² (1,1) secant slope 4 secant slope 3 tangent slope 2

Worked Examples

ExampleInstantaneous Velocity of a Falling Ball

Given: A ball dropped from rest has position s(t)=4.9 t2s(t) = 4.9\,t^2 metres after tt seconds. Find its instantaneous velocity at t=2t = 2 s.

Step 1. Velocity is the derivative v(t)=s′(t)v(t)=s'(t). Form the difference quotient at t=2t=2:

9
s(2+h)−s(2)h=4.9(2+h)2−4.9(2)2h\quad \frac{s(2+h)-s(2)}{h} = \frac{4.9(2+h)^2 - 4.9(2)^2}{h}

Derivation hint: substitute t=2t=2 and step hh into definition [2].

Step 2. Expand: 4.9(2+h)2=4.9(4+4h+h2)=19.6+19.6h+4.9h24.9(2+h)^2 = 4.9(4 + 4h + h^2) = 19.6 + 19.6h + 4.9h^2, and 4.9(4)=19.64.9(4)=19.6, so

10
19.6+19.6h+4.9h2−19.6h=19.6h+4.9h2h\quad \frac{19.6 + 19.6h + 4.9h^2 - 19.6}{h} = \frac{19.6h + 4.9h^2}{h}

Derivation hint: the constant 19.619.6 cancels.

Step 3. Cancel hh and take the limit:

11
v(2)=lim⁡h→0(19.6+4.9h)=19.6\quad v(2) = \lim_{h\to 0}(19.6 + 4.9h) = 19.6

Derivation hint: factor and divide by hh, then let h→0h\to 0.

v(2)=19.6 m/s\boxed{v(2) = 19.6\ \text{m/s}}
ExampleSlope of a Tangent and the Tangent-Line Equation

Given: Find the equation of the tangent line to f(x)=x2−4x+3f(x) = x^2 - 4x + 3 at x=1x = 1.

Step 1. Compute the derivative from the limit (or use the power-rule result f′(x)=2x−4f'(x)=2x-4 derived the same way as [8]):

12
f′(x)=lim⁡h→0[(x+h)2−4(x+h)+3]−[x2−4x+3]h=2x−4\quad f'(x) = \lim_{h\to 0}\frac{[(x+h)^2 - 4(x+h)+3]-[x^2-4x+3]}{h} = 2x - 4

Derivation hint: expand, cancel the hh-free terms, factor hh, take limit — exactly the method of the x2x^2 proof plus the linear term contributing −4-4.

Step 2. Evaluate the slope at x=1x=1: f′(1)=2(1)−4=−2f'(1) = 2(1)-4 = -2.

Step 3. Find the point: f(1)=1−4+3=0f(1) = 1 - 4 + 3 = 0, so the tangent passes through (1,0)(1, 0).

Step 4. Use point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1):

13
y−0=−2(x−1)\quad y - 0 = -2(x - 1)

Derivation hint: substitute m=−2m=-2, (x1,y1)=(1,0)(x_1,y_1)=(1,0).

y=−2x+2\boxed{y = -2x + 2}

Common Misconceptions

⚠️ Common mistake

The derivative is NOT f(x+h)−f(x)h\frac{f(x+h)-f(x)}{h} with h=0h=0. You may never set h=0h=0 inside the quotient — that gives the meaningless 00\frac{0}{0}. The derivative is the limit as hh approaches zero, which is a fundamentally different (and well-defined) operation. The cancellation of hh (steps like [7]) is what removes the division-by-zero problem before the limit is taken. Also: dydx\frac{dy}{dx} is a single symbol denoting a limit, NOT a fraction dydy divided by dxdx. It behaves like a fraction in many situations (chain rule, separation of variables), but that convenience is a theorem, not the definition.

CounterexampleContinuity Without Differentiability

The function f(x)=∣x∣f(x) = |x| is continuous everywhere, including at x=0x=0, yet it has NO derivative at x=0x=0.

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

Derivation hint: for h>0h>0, ∣h∣/h=1|h|/h = 1; for h<0h<0, ∣h∣/h=−1|h|/h = -1; the one-sided limits disagree. Because the left-hand and right-hand limits of the difference quotient differ (−1≠+1-1 \neq +1), the two-sided limit does not exist, so f′(0)f'(0) does not exist. Geometrically, the graph has a sharp corner — no single tangent line. This disproves the tempting belief that "smooth-looking and unbroken" implies "differentiable."

Connections

connection

The derivative is one of the two pillars of calculus, intimately tied to its partner through the Fundamental Theorem of Calculus, which states that differentiation and Integration are inverse operations. The mechanics of computing derivatives without going back to the limit each time are packaged into the Differentiation Rules (power, product, quotient, chain). The derivative is built on the machinery of Limits and Continuity, and it generalizes upward to the Second Derivative (rate of change of the rate of change — acceleration, concavity) and outward to Partial Derivatives for functions of several variables. Its application to finding maxima and minima is the subject of Optimization with Derivatives.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 250 BCE: Archimedes uses the "method of exhaustion" and tangent-like constructions to study the spiral, foreshadowing limiting processes.
- 1629: Pierre de Fermat develops adequality, a method for finding maxima/minima and tangents that effectively computes derivatives via a vanishing increment.
- 1637: René Descartes, in La Géométrie, gives an algebraic method of normals and tangents to curves.
- 1665–1666: Isaac Newton invents the method of fluxions during the plague years, treating rates of change of flowing quantities.
- 1675–1684: Gottfried Wilhelm Leibniz independently develops differential calculus, introducing the dy/dxdy/dx and ∫\int notations and publishing in Acta Eruditorum (1684).
- 1690s–1716: The bitter Newton–Leibniz priority dispute divides British and Continental mathematics for over a century.
- 1734: Bishop George Berkeley, in The Analyst, attacks the logical foundations of infinitesimals, calling them "ghosts of departed quantities."
- 1821–1823: Augustin-Louis Cauchy gives the first rigorous definition of the derivative based on limits in his Cours d'analyse.
- 1872: Karl Weierstrass constructs a function that is continuous everywhere but differentiable nowhere, and provides the rigorous ε\varepsilon–δ\delta foundation underpinning the modern definition.

Subtleties & Limits

open-problem

The classical derivative requires a function to be smooth enough to have a tangent — but vast classes of important functions are not. Brownian motion (the random path of a pollen grain in water) is continuous yet nowhere differentiable, like the Weierstrass function. This forced mathematicians to invent broader notions: the weak derivative and distributional derivative (Sobolev, Schwartz, mid-20th century) let us differentiate sharp corners and even the Dirac delta "function." Fractional calculus asks what a "half-derivative" d1/2dx1/2\frac{d^{1/2}}{dx^{1/2}} could mean and finds applications in viscoelasticity and anomalous diffusion. At the boundary of physics and analysis, questions about the regularity (differentiability) of solutions to partial differential equations — most famously the Navier–Stokes existence and smoothness problem, a Clay Millennium Prize problem — remain unsolved: we do not know whether fluid-flow solutions stay smooth or develop infinite derivatives (singularities) in finite time.

See Also

Limits · Continuity · Differentiation Rules · Integration · Fundamental Theorem of Calculus · Optimization with Derivatives · Second Derivative · Partial Derivatives · Slope of a Line