Before you begin
- Algebraic manipulation, graphs of elementary functions, and the coordinate plane.
Learning objectives
- Determine domains before manipulating a formula.
- Calculate and interpret a difference quotient with units.
- Distinguish average speed, average velocity, and an instantaneous rate.
A position sensor records where a cart is at successive times. It can tell us how far the cart moved between two readings. A speedometer appears to answer a more demanding question: how fast the cart is moving at one instant. Dividing distance by elapsed time seems to require two instants. Calculus will make that tension precise rather than disguise it with a sufficiently small number.
For a deliberately simple model, let the cart’s position be metres, where is measured in seconds and . The coefficient of therefore has units metres per second squared. The formula is a model, not a claim about every cart. Between and , the displacement is metres and the elapsed time is seconds. The average velocity is metres per second. It does not follow that the cart moved at that velocity throughout the interval.
Functions include their domains
A real-valued function assigns exactly one real output to each allowed input. Its domain is part of its specification. The formulas on and on use the same algebra but represent different functions when domains matter.
Three restrictions recur throughout this book. A denominator cannot be zero. The argument of a real square root must be nonnegative. The argument of a real logarithm must be positive. For example,
Writing requires ; division requires . Both restrictions apply. A graphing program that silently omits the forbidden point has not removed the restriction.
Composition also carries restrictions. If and , then requires and . We must check the input to each operation, in the order in which it is performed.
The difference quotient
For distinct inputs and , the average rate of change is
The numerator is the output change and the denominator the input change. On a graph, this is the slope of the line through and , called a secant line. If the output is position and the input is time, its units are distance per time. If output is cost and input is production, the units are currency per item. A slope without its variable definitions can be mathematically correct and practically useless.
For , expand before simplifying:
At , intervals of length , , and give average velocities , , and . Backward intervals use negative : compares times and , giving . Both directions suggest . The original quotient remains undefined at , however. The simplified expression describes its behavior where the quotient is defined; it does not authorize division by zero.
Direction matters
Average velocity is displacement divided by elapsed time. Average speed is total distance travelled divided by elapsed time. A person who walks three metres east and three metres west in four seconds has zero average velocity and average speed metres per second. The endpoint positions alone determine displacement; they do not determine total distance.
For a graph that is a straight line , every secant slope is . For a curved graph the interval matters. Calculus asks whether there is a well-defined local rate as the interval contracts. It does not begin by assuming that every curve has one.
Algebraic preparation
The identity explains the cancellation above. Factoring and conjugates provide two more tools. Since , a quotient can simplify away from . Since , multiplying by a conjugate can expose a hidden factor. In either case, preserve the original domain while manipulating the expression.
A useful check is to calculate the quotient at one ordinary permitted input before and after simplifying. Agreement at one input is not proof of an identity, but disagreement immediately exposes an error.
Exercises
- Determine the real domain of .
- For metres, calculate average velocity from to seconds.
- Simplify and state its restriction.
- A tank contains litres for minutes. Interpret its average rate over any nonzero interval in this domain.
- Explain why cancelling in does not define the original function at .
- A car returns to its starting position after an hour. What can be concluded about its average velocity and average speed?
Worked solutions
- The square root requires and the denominator excludes , giving .
- and , so the average is metres per second.
- Expansion gives , valid for and permitted times. The terms cancel, leaving .
- The rate is litres per minute. The negative sign indicates loss of volume. The model stops when the tank empties; extrapolating to negative volume is outside its domain.
- The two expressions agree for . The expression has a value at that the original quotient lacks. Extending a function is a separate definition.
- Average velocity is zero. Average speed is nonnegative and positive if any nonzero distance was travelled. Its value requires the total distance.