Functions
A function is a rule that describes how one quantity depends on another. This chapter develops functions and their graphs — how to evaluate them, read information from their graphs, measure their rate of change, model with linear functions, transform and combine functions, and invert one-to-one functions.
2.1Functions
Definition of a Function · Evaluating Functions · Domain · Piecewise Defined Functions · Net Change · Difference Quotient · Four Representations
Definition of a Function
A function \(f\) is a rule that assigns to each element \(x\) in a set \(A\) exactly one element, called \(f(x)\), in a set \(B\). The set \(A\) is the domain; the range is the set of all output values \(f(x)\) as \(x\) varies over the domain. We call \(x\) the independent variable and \(y=f(x)\) the dependent variable.
It helps to picture a function as a machine: an input \(x\) enters, the rule is applied, and the output \(f(x)\) emerges. An arrow diagram is also useful — but a diagram only represents a function when each input maps to exactly one output.
Evaluating Functions & the Difference Quotient
To evaluate \(f\) at a quantity, substitute that quantity for the placeholder variable everywhere it appears.
Piecewise Defined Functions
Piecewise Defined Function
A piecewise defined function uses different formulas on different parts of its domain. To evaluate it, first check which interval the input falls in, then apply the matching formula.
The Domain of a Function
When the domain isn't stated, it is taken to be all real numbers for which the formula yields a real value — excluding values that make a denominator zero or put a negative number under an even root.
Reserved for instructor notes on Section 2.1. (Add your guidance here.)
2.2Graphs of Functions
Graphing by Plotting Points · Graphing Calculators · Piecewise Defined Graphs · Greatest Integer Function · The Vertical Line Test · Which Equations Define Functions
The Graph of a Function
If \(f\) has domain \(A\), the graph of \(f\) is the set of ordered pairs \(\{(x,f(x))\mid x\in A\}\) plotted in the coordinate plane. Equivalently, it is the graph of the equation \(y=f(x)\). The value \(f(x)\) is the height of the graph above the point \(x\).
| Family | Form | Graph |
|---|---|---|
| Constant | \(f(x)=b\) | Horizontal line \(y=b\) |
| Linear | \(f(x)=mx+b\) | Line, slope \(m\), intercept \(b\) |
| Power | \(f(x)=x^n\) | Parabola-like (even \(n\)) or cubic-like (odd \(n\)) |
| Root | \(f(x)=\sqrt[n]{x}\) | Half-parabola shape |
The Greatest Integer (Step) Function
For example \([\![2.3]\!]=2\), \([\![-0.5]\!]=-1\). Its graph is a series of horizontal steps — the prototype of a step function, used to model costs that jump at thresholds.
The Vertical Line Test
The Vertical Line Test
A curve in the coordinate plane is the graph of a function if and only if no vertical line intersects the curve more than once. If a vertical line met the curve twice, that input would have two outputs — which a function cannot have.
Reserved for instructor notes on Section 2.2. (Add your guidance here.)
2.3Getting Information from the Graph of a Function
Reading Values · Domain & Range from a Graph · Solving Equations & Inequalities Graphically · Increasing & Decreasing Functions · Local Maxima & Minima
Reading a Graph
A complete graph carries all the information about a function: the height of the graph above \(x\) is the value \(f(x)\). The domain is the set of \(x\)-values the graph covers (read horizontally) and the range is the set of \(y\)-values it covers (read vertically).
Increasing and Decreasing Functions
Graphically, a function increases where its graph rises (left to right) and decreases where its graph falls.
Local Maxima and Minima
Reserved for instructor notes on Section 2.3. (Add your guidance here.)
2.4Average Rate of Change of a Function
Average Rate of Change · The Secant Line · Linear Functions Have Constant Rate of Change
Average Rate of Change
The average rate of change of a function measures how fast its output changes relative to its input over an interval. Geometrically, it is the slope of the secant line joining the two points on the graph.
The numerator \(f(b)-f(a)\) is the net change in the output; the denominator \(b-a\) is the change in the input.
Linear Functions Have Constant Rate of Change
A linear function changes by the same amount for each unit increase in \(x\). Its average rate of change is the same between any two points and equals the slope of its graph. Conversely, a function with constant rate of change must be linear.
Reserved for instructor notes on Section 2.4. (Add your guidance here.)
2.5Linear Functions and Models
Linear Functions · Slope and Rate of Change · Linear Models · Making Linear Models from Verbal Descriptions
The graph of a linear function is a line with slope \(a\) and \(y\)-intercept \(b\).
Slope vs. Rate of Change
"Slope" and "rate of change" describe the same number from two viewpoints. Slope emphasizes the geometric steepness of the line; rate of change emphasizes how fast the modeled quantity grows per unit of input. For a linear function they are equal and constant.
Reserved for instructor notes on Section 2.5. (Add your guidance here.)
2.6Transformations of Functions
Vertical Shifting · Horizontal Shifting · Reflecting Graphs · Vertical Stretching & Shrinking · Horizontal Stretching & Shrinking · Even & Odd Functions
Transformations
Starting from the graph of a known function \(y=f(x)\), we can produce related graphs by shifting (translating), reflecting, and stretching or shrinking. Recognizing these transformations lets us graph many functions quickly without plotting points.
Even and Odd Functions
Reserved for instructor notes on Section 2.6. (Add your guidance here.)
2.7Combining Functions
Sums, Differences, Products & Quotients · Composition of Functions · Applications of Composition
Algebra of Functions
Two functions \(f\) and \(g\) (with domains \(A\) and \(B\)) combine arithmetically, with domain \(A\cap B\) in each case — and, for the quotient, excluding points where \(g(x)=0\).
Composition of Functions
The domain of \(f\circ g\) is the set of all \(x\) in the domain of \(g\) for which \(g(x)\) lies in the domain of \(f\). In general \(f\circ g\neq g\circ f\) — order matters.
Reserved for instructor notes on Section 2.7. (Add your guidance here.)
2.8One-to-One Functions and Their Inverses
One-to-One Functions · The Inverse of a Function · Finding the Inverse · Graphing the Inverse · Applications
One-to-One Function
A function \(f\) is one-to-one if it never takes the same value twice: \(f(x_1)\neq f(x_2)\) whenever \(x_1\neq x_2\). Equivalently, if \(f(x_1)=f(x_2)\) then \(x_1=x_2\). Only one-to-one functions have inverses.
Every increasing function and every decreasing function is one-to-one. For example, \(f(x)=x^3\) passes the test, while \(g(x)=x^2\) fails it (since \(g(-1)=g(1)\)).
How to Find an Inverse
1. Write \(y=f(x)\). 2. Solve for \(x\) in terms of \(y\). 3. Interchange \(x\) and \(y\); the result is \(y=f^{-1}(x)\).
Graphing the Inverse
Reserved for instructor notes on Section 2.8. (Add your guidance here.)