Calculus: Function Pairs, Derivatives, and the Distance-Speed Relationship

Big Picture: Calculus as the relation between two functions

  • Calculus is about the relation between two functions. A concrete example pair: distance traveled and speed.

    • Function one: distance traveled. A good example is the distance shown by a trip meter in a car.

    • Function two: speed. The speed tells you how fast you’re traveling.

  • Another pair to illustrate the idea:

    • Function one: height as you climb (how high the graph goes above the axis).

    • Function two: slope (how quickly you’re climbing at each point).

    • Intuition: height measures how far up you go; slope measures how quickly you go up at each moment.

  • Summary of the two primary pairings:

    • Pair 1: distance (function of time) and speed (the rate of change of distance).

    • Pair 2: height (function of horizontal position) and slope (the rate of change of height with respect to horizontal position).

  • Common notational choices:

    • Distance as a function of time: f(t)f(t) where input is time tt and output is distance.

    • Height as a function of horizontal distance: y(x)y(x) where input is horizontal distance xx and output is height yy.

    • Speed is the derivative of distance with respect to time: dfdt\frac{df}{dt}.

    • Slope (of the height vs horizontal distance graph) is the derivative of height with respect to position: dydx\frac{dy}{dx}.

    • Pronunciations: dfdt\frac{df}{dt} is read “dee ef dee tee” (Leibniz notation); dydx\frac{dy}{dx} is read “dee why dee eks”.

  • Purpose of the notes: to connect the two functions via calculus, showing how one determines the other and how they change together.

Notation and Connections between the two functions

  • For the distance-speed pair:

    • Distance: f(t)f(t) with time input tt and distance output.

    • Speed: dfdt\frac{df}{dt}, the rate of change of distance with respect to time.

  • For the height-slope pair:

    • Height: y(x)y(x) with horizontal distance input xx and height output yy.

    • Slope: dydx\frac{dy}{dx}, the rate of change of height with respect to horizontal position.

  • Key idea: differentiate to go from the first function to the second (differential calculus); integrate to go from the second back to the first (integral calculus).

  • Terminology:

    • Changing from function one (distance vs time) to function two (speed) is called differential calculus.

    • Changing from function two (speed) back to function one (distance) is called integral calculus (the step of integration).

The simplest and most important example: constant speed

  • Scenario: constant speed along time axis; speed remains the same at all times.

  • Graphical setup: a distance-time graph where time runs along the horizontal axis and distance grows linearly with time.

    • If the speed is constant at, say, 40  (units: miles/hour, kilometers/hour, etc.)40\;\text{(units: miles/hour, kilometers/hour, etc.)}, then the distance increases linearly.

  • If we start with the trip meter at zero and speed 4040, then:

    • After 1 hour: distance = 40

    • After 2 hours: distance = 80

    • After 0.5 hours: distance = 20

    • These points lie on a straight line on the distance-vs-time graph.

  • Connecting distance and speed:

    • The slope of the distance-vs-time graph equals the speed: for a constant speed, the slope is constant.

    • Computation of slope examples:

    • Slope = rise/run = 401=40\frac{40}{1} = 40 over the first hour.

    • Same slope if you use the second point: 802=40\frac{80}{2} = 40.

    • Also, 200.5=40\frac{20}{0.5} = 40.

  • Algebraic expression of constant speed:

    • Distance as a function of time: f(t)=s  tf(t) = s \; t where ss is the constant speed.

    • Equivalently, distance vs time can be written as: f(t)=story=sxf(t) = s t\quad\text{or}\quad y = s x depending on the notation.

    • If the speed is known (e.g., s=40s = 40), the distance is linear in time with slope ss.

  • Generalization about starting point:

    • You can start counting distance from any initial value, not necessarily zero, e.g., starting at f<em>0f<em>0: after time interval Δt\Delta t, distance is f=f</em>0+sΔtf = f</em>0 + s\Delta t.

    • The slope over any interval is still ΔfΔt=s\frac{\Delta f}{\Delta t} = s, showing that the rate is constant regardless of where you start.

    • The change in the trip meter (rather than the absolute value) expresses the distance traveled over that interval.

  • Important takeaway: a constant-speed scenario yields a straight-line distance-vs-time graph and a constant-slope relationship with speed.

Delta notation and the idea of change

  • Change notation:

    • The change in distance: Δf=f(t<em>2)−f(t</em>1)\Delta f = f(t<em>2) - f(t</em>1).

    • The change in time: Δt=t<em>2−t</em>1\Delta t = t<em>2 - t</em>1.

    • The average rate over that interval: ΔfΔt=f(t<em>2)−f(t</em>1)t<em>2−t</em>1\frac{\Delta f}{\Delta t} = \frac{f(t<em>2) - f(t</em>1)}{t<em>2 - t</em>1}.

  • For constant speed, this average rate equals the instantaneous speed at any moment, i.e., the slope of the line.

  • Another key point about initial values:

    • The intercept (starting value) can be anything, but the slope over the interval determines the rate of change; distance traveled over the interval is the product of the rate and the interval length: (distance change)=s  Δt(\text{distance change}) = s \; \Delta t.

  • In short: slope = rate of change, and for constant speed, slope is constant and equals the speed.

When speed is not constant: changing slope (variable speed)

  • Move from constant speed to a varying speed scenario by altering the slope over time.

  • Conceptual picture (distance vs time):

    • Start with a relatively steep slope (fast speed), then the slope decreases toward zero (slowing down).

    • At some time, the slope becomes zero, indicating the car stops (speed = 0).

    • The red light marks that moment where speed is zero; before and after, the speed can be different (including potentially negative if moving backward).

  • How to interpret the speed at a given moment:

    • The instantaneous speed at that moment is the slope of the distance-vs-time graph at that time.

    • If the distance is still increasing, speed is positive; if the distance is decreasing (moving backward), speed is negative.

  • If we imagine the car slows down to a stop and then reverses, the distance graph could still be increasing overall while the speed becomes negative during reverse motion; the speed curve would go below zero in that portion.

  • Thematic connection: the same information can be viewed in two ways—either as distance changing with time (function one) or as speed (the rate) changing with time (function two).

  • Anecdotal illustration mentioned: Ferris Bueller’s Day Off (movie reference) to emphasize how meters would behave if calculus ideas were embedded in car meters, illustrating the intuitive idea of rate and cumulative distance.

Two major directions of calculus (summary of the two-way relationship)

  • From function one to function two (distance to speed): differential calculus (finding the rate of change).

  • From function two to function one (speed to distance): integral calculus (recovering the accumulated quantity from rate).

  • The core steps described:

    • Differentiate the distance function with respect to time to obtain the speed: dfdt\frac{df}{dt}.

    • Integrate the speed (as a function of time) over a time interval to recover the distance traveled over that interval (the accumulation process). This is the basic idea of integration.

  • Intuition check: when the speed is constant, differentiation gives a constant speed, and integration over a time interval yields the distance traveled over that interval: Δf=∫<em>t</em>1t<em>2dfdt dt=∫</em>t<em>1t</em>2s dt=s (t<em>2−t</em>1)=sΔt.\Delta f = \int<em>{t</em>1}^{t<em>2} \frac{df}{dt} \, dt = \int</em>{t<em>1}^{t</em>2} s \, dt = s \,(t<em>2 - t</em>1) = s\Delta t.

  • Final takeaway from this section: differential calculus connects a function to its rate (slope), while integral calculus connects a rate to its accumulated effect (distance from speed).

Negative speed and reverse motion (an important nuance)

  • If the distance is decreasing (car moving backward), the slope is negative.

    • In the distance-vs-time graph, a portion with distance decreasing corresponds to negative speed.

    • The corresponding speed-vs-time graph would lie below the time axis (negative values).

  • This reflects that the same physical situation can be represented with two functions where the sign indicates direction of motion.

Real-world relevance and quick reflections

  • The dual view of distance and speed is a foundational intuition for understanding derivatives and integrals.

  • The notation and concepts introduced are the building blocks for later, more formula-driven calculus work.

Looking ahead

  • The plan mentioned: move toward cases where you have explicit formulas and calculations (i.e., introduce formulas and computations for the derivative and integral; connect constant-speed examples to non-constant-speed cases).

  • The overall theme: given one function (distance over time), determine the other (speed); or given the speed function, determine the distance covered; and how these ideas tie into the broader notions of differential and integral calculus.