Distance and Speed = Height and Slope
0.1 Distance and Speed = = Height and Slope
🧭 Overview
🧠 One-sentence thesis
Calculus is fundamentally about pairs of functions—an original function (height or distance) and its growth rate (slope or speed)—and the first step is understanding how to compute that growth rate.
📌 Key points (3–5)
- Calculus studies pairs of functions: Function (1) is the original (e.g., height, distance), and Function (2) is its growth rate (e.g., slope, speed).
- Three fundamental examples: linear (y = 2x), quadratic (y = x²), and exponential (y = 2ˣ) functions grow at different rates—exponential eventually wins.
- Two methods to find growth rates: Method 1 uses limits (change in y / change in x as Δx → 0); Method 2 uses rules to build new rates from known ones.
- Common confusion: average slope vs. instantaneous slope—average slope is Δy/Δx over an interval; calculus aims to find the slope at a single point by taking the limit.
- Why it matters: the growth rate (dy/dx) tells you how fast a function is changing, which applies to real-world problems like speed (rate of distance change).
📊 Three core functions and their growth rates
📈 Linear function: y = 2x
- Formula: y(x) = 2x
- Growth rate: dy/dx = 2 (constant)
- The graph is a straight line with constant slope.
- Ratio of "up" to "across" is always 2, no matter which two points you pick.
- Example: between x₁ = 1 and x₂ = 2, Δy = 4 − 2 = 2 and Δx = 1, so Δy/Δx = 2.
📈 Squaring function: y = x²
- Formula: y(x) = x²
- Growth rate: dy/dx = 2x (linear, not constant)
- The graph is a parabola with increasing slope.
- Example: between x₁ = 1 and x₂ = 2, Δy = 4 − 1 = 3 and Δx = 1, so average slope = 3; between x₁ = 0 and x₂ = 2, average slope is different.
- Don't confuse: the average slope over an interval is not the same as the instantaneous slope at a point.
📈 Exponential function: y = 2ˣ
- Formula: y(x) = 2ˣ
- Growth rate: dy/dx = 2ˣ · (ln 2)
- The graph is an exponential curve with exponentially increasing growth rate.
- At first (near x = 0), the linear function grows fastest, but the exponential eventually overtakes both others.
- Example: at x = 10, y = 2¹⁰ = 1024, far exceeding y = 10² = 100 for the quadratic.
- The exponential "wins" in the long run.
🔍 What is a function?
🔍 Definition and notation
A function has inputs x and outputs y(x). To each x it assigns one y.
- Domain: the set of allowed inputs x.
- Range: the set of resulting outputs y.
- Example: for y = 2x with x ≥ 0, the range is y ≥ 0; for y = 2ˣ with x ≥ 0, the range is y ≥ 1.
🔍 Three ways to describe a function
- Formula: y(x) = 2x
- Graph: shows x (horizontal) and y (vertical)
- Input-output pairs: the set of all (x, y) pairs
- The high-level definition: a function is the set of all input-output pairs, or the rule that assigns an output to every input.
- Practically, we learn by examples first, then refine the definition.
🧮 Two methods to compute growth rates
🧮 Method 1: Limits
- Write the ratio: (change in y) / (change in x) = Δy / Δx.
- Take the limit as Δx → 0.
- This gives the instantaneous rate of change (the slope at a single point).
- Example: for y = x², the average slope between x₁ and x₂ is Δy/Δx; the limit as Δx → 0 gives dy/dx = 2x.
🧮 Method 2: Rules
- Use known growth rates and combine them with rules.
- Constant factor rule: if y = C · f(x), then dy/dx = C · (df/dx).
- Example: y = 5x² has growth rate 5 · (2x) = 10x.
- Sum rule: if y = y₁ + y₂, then dy/dx = dy₁/dx + dy₂/dx.
- Example: y = 5x² + 2x has growth rate 10x + 2.
- Linear combination: the growth rate of C₁y₁ + C₂y₂ is C₁(dy₁/dx) + C₂(dy₂/dx).
- Don't confuse: these rules only work when you already know the growth rates of the building-block functions.
📐 Slope of a graph
📐 Average slope
Average slope = (change in y) / (change in x) = (y₂ − y₁) / (x₂ − x₁) = Δy / Δx
- Δ (delta) is the symbol for "change."
- The average slope is the ratio of "distance up" to "distance across" between two points.
- Example: for y = x² between x₁ = 1 and x₂ = 2, average slope = (4 − 1) / (2 − 1) = 3.
📐 Constant vs. changing slope
| Function | Slope behavior | Example |
|---|---|---|
| y = 2x | Constant slope = 2 | Δy/Δx = 2 for any interval |
| y = x² | Changing slope | Average slope = 3 between x = 1 and x = 2; different elsewhere |
- For y = 2x, the ratio Δy/Δx = (2x₂ − 2x₁) / (x₂ − x₁) = 2 always.
- For y = x², the slope increases as x increases (the graph gets steeper).
📐 Function (1) and Function (2)
- Function (1): height of the graph (or distance traveled).
- Function (2): slope of the graph (or speed of the car).
- Example: if Function (1) is distance traveled y = C·t, then Function (2) is speed dy/dt = C (constant).
- The core task of differential calculus: given Function (1), find Function (2).
🚗 Distance and speed analogy
🚗 Real-world interpretation
- Function (1): distance traveled = C·t (linear function of time).
- Function (2): speed of the car = C (constant).
- The growth rate of distance with respect to time is speed.
- Example: if you drive at constant speed C, your distance increases linearly, and the slope of the distance-time graph is C.
🚗 Why calculus matters
- When speed is not constant (e.g., accelerating car), the distance function is not linear (e.g., y = t²).
- Calculus finds the instantaneous speed (slope) at any moment by taking the limit Δy/Δx as Δx → 0.
- This generalizes to any rate of change: growth rate, slope, speed, etc.