Functions and Mathematical Models
A function assigns exactly one output to each input and can be presented four ways: verbally, numerically, graphically, or by a formula. The elementary families — linear, polynomial, power, rational, trigonometric, exponential — model most elementary phenomena, and transformation, combination, and composition build every other function from them.
╌╌╌╌
Calculus studies how one quantity changes with another, so its basic object is a rule that ties the two together. That rule is a function. Before differentiating or integrating anything, we need a precise account of what a function is, which functions occur often enough to name, and how to assemble complicated functions from simple parts.
Definition of a function
The one-output-per-input requirement is the whole content of the definition. A symbol standing for an arbitrary element of the domain is the independent variable; a symbol standing for a value in the range is the dependent variable. When a function is given by a formula with no stated domain, the convention is that the domain is the set of all inputs for which the formula produces a real number. For that forces , so the domain is ; for the excluded inputs are the roots of the denominator, giving domain .
A function admits four representations, and switching among them is routine:
- Verbal — a description in words (
the cost of mailing an envelope of weight
). - Numerical — a table of input-output pairs, as from an experiment.
- Visual — a graph, the set of points in the plane.
- Algebraic — an explicit formula.
The graph is the most common picture, and it carries the domain and range directly: the domain is the shadow of the graph on the -axis, the range its shadow on the -axis. Reading a value off a graph amounts to measuring the height of the curve above a point .
Two vertical intersections at would be two outputs assigned to the same input, which the definition forbids. The parabola fails the test; it splits into the two functions and , its upper and lower halves.
A function need not be given by a single formula. A piecewise defined function uses different formulas on different parts of its domain. The absolute value is the standard case,
and step functions such as postage cost jump from one constant value to the next.
The difference quotient
One combination built from a single function is common enough to name. For and a nonzero increment , the difference quotient
is the average rate of change of between and . For a direct expansion gives
Letting shrink toward turns this average rate into an instantaneous one; that passage to the limit defines the derivative.
A catalog of essential functions
A few function families model most elementary phenomena, and their graphs form a useful reference set.
The families divide by the algebra used to build them:
- Linear: . The graph is a line; the defining feature is a constant rate of change , so equal steps in produce equal steps in .
- Polynomial: with of degree . Domain . Degree is linear, degree quadratic (a parabola), degree cubic.
- Power: . Integer gives the monomials; gives root functions ; gives the reciprocal , whose graph is a hyperbola.
- Rational: a ratio of polynomials, defined wherever .
- Trigonometric: , , , and their reciprocals; periodic, with and bounded in .
- Exponential and logarithmic: with base , and its inverse . Exponentials model growth and decay and are examined in their own module.
| Family | Form | Domain | Distinguishing trait |
|---|---|---|---|
| Linear | constant rate of change | ||
| Polynomial | finitely many turning points | ||
| Power | depends on | roots, reciprocals as special cases | |
| Rational | vertical asymptotes at zeros of | ||
| Trigonometric | (some restricted) | periodic | |
| Exponential | constant ratio per unit step |
The distinction between polynomial and exponential growth is worth stating precisely. A linear function adds a fixed amount per unit step; an exponential multiplies by a fixed ratio per unit step. The multiplicative rule wins in the long run: an exponential eventually overtakes every polynomial, a fact made quantitative by l'Hospital's Rule.
Fitting a model to data
A mathematical model is a function chosen to describe a real phenomenon. Given a scatter of data points, one selects a family whose shape matches the trend and then fits its parameters. Points falling near a line call for a linear model; a parabolic arc calls for a quadratic. For carbon-dioxide concentration measured yearly, the points lie close to a line, and the least-squares fit (with the year) reproduces the record: it returns ppm for , against a measured . Reading a model inside the observed range is interpolation and is reliable; reading it outside is extrapolation and is not, since nothing guarantees the trend continues.
New functions from old
Three operations generate the endless variety of functions in calculus from the catalog above: transforming one function, combining two arithmetically, and composing one inside another.
Transformations
Adding or multiplying constants shifts, stretches, or reflects a graph in predictable ways. Take a base function and a constant .
The rules split cleanly by whether the constant touches the output or the input:
| Operation | Effect on the graph |
|---|---|
| shift up by | |
| shift down by | |
| shift right by | |
| shift left by | |
| , | stretch vertically by |
| , | compress horizontally by |
| reflect across the -axis | |
| reflect across the -axis |
Constants applied to the output act as expected; constants applied to the input act in reverse, because reaches a given height only once has advanced to the point where had it. A factor inside the argument compresses the graph horizontally by : runs through a full cycle in half the span of .
Completing the square rewrites any quadratic as a shifted parabola, exposing the transformations directly.
A related operation reflects part of a graph rather than the whole. Taking the absolute value of a function leaves the part above the -axis fixed and flips the part below it upward, since where and where .
Combinations
Two functions and combine pointwise under the arithmetic operations, on the intersection of their domains (and away from zeros of the denominator for the quotient):
Composition
The operation with no counterpart in ordinary arithmetic feeds the output of one function into the input of another.
Read right to left: apply first, then . The order matters, since and are generally different functions.
For and ,
with domains and respectively. Composition is the structure the Chain Rule differentiates.
The domain of a composite is not the whole real line by default; each stage imposes its own restriction, and both must hold.
Recognizing a function as a composite runs the machine backward: given a formula, name the stages applied in order.
Symmetry
Two symmetry conditions simplify graphing and, later, integration.
The power functions supply the archetypes and the naming: is even exactly when is even and odd exactly when is odd. Most functions are neither; satisfies neither identity. Knowing a function is even or odd halves the work of graphing it, since one side determines the other.
Footnotes
- Stewart, §1.1 — the rule-based definition of a function, its domain, range, and the four representations (verbal, numerical, visual, algebraic). ↩
- Stewart, §1.3 — shifts, stretches, and reflections; completing the square to graph a quadratic; the absolute value of a function; and composition with its domain. ↩
╌╌ END ╌╌