1 - Functions and Modeling

A progressive guide to evaluating, representing, transforming, composing, and inverting functions while interpreting their domains, ranges, and behavior in mathematical models.

Notation and Evaluation

A describes a dependable input-output relationship: every permitted input has exactly one output. The input is often called the independent variable, and the output is often called the dependent variable.

If f(x)=3x2−2x+1f(x)=3x^2-2x+1, evaluate the by substituting the input everywhere the variable appears:

f(4)=3(4)2−2(4)+1=41.f(4)=3(4)^2-2(4)+1=41.

notation does not mean multiplication; f(x)f(x) means the output of ff at input xx. A relation such as

{(1,4),(2,5),(3,5),(4,8)}\{(1,4),(2,5),(3,5),(4,8)\}

is a because no input is paired with two different outputs. By contrast,

{(1,4),(1,7),(2,5)}\{(1,4),(1,7),(2,5)\}

is not a because the input 11 has two outputs.

Takeaway: Check the input-output rule first, then use substitution to evaluate a .

and

The records which inputs are allowed, while the records which outputs actually occur. Both mathematical rules and real-world context can restrict the possible values.

For a formula, inspect common sources of undefined expressions:

  • A denominator cannot be zero. For f(x)=x+2x−3f(x)=\frac{x+2}{x-3}, exclude x=3x=3, giving the (−∞,3)∪(3,∞)(-\infty,3)\cup(3,\infty).

  • The radicand of an even-index radical must be nonnegative. For g(x)=x−5g(x)=\sqrt{x-5}, require x−5≥0x-5\ge 0, so the is [5,∞)[5,\infty).

  • The argument of a logarithm must be positive. For h(x)=log⁡(x+1)h(x)=\log(x+1), require x+1>0x+1>0, so the is (−1,∞)(-1,\infty).

Context may add restrictions. Time may require t≥0t\ge 0, and a number of manufactured items may need to be a nonnegative integer. To find a , inspect the formula, graph, table, or context. For f(x)=(x−2)2+3f(x)=(x-2)^2+3, the square is never negative, so the is [3,∞)[3,\infty).

Takeaway: State both mathematical and contextual restrictions instead of assuming every real input is allowed.

Representations and Graph Behavior

A relationship can be expressed verbally, numerically, graphically, or algebraically. Moving between these forms helps reveal patterns and supports reasonable interpretation.

A table with inputs 0,1,2,30,1,2,3 and outputs 2,5,8,112,5,8,11 has a constant output increase of 33 for every input increase of 11. This supports the linear rule

f(x)=3x+2.f(x)=3x+2.

A table alone may not determine a unique formula for inputs that were not observed, so predictions beyond the table require a justified model.

For graphs, the horizontal axis shows inputs and the vertical axis shows outputs. Use the to decide whether the graph represents a . The is the set of horizontal coordinates reached, and the is the set of vertical coordinates reached. Intercepts, increasing or decreasing intervals, maximums, minimums, and asymptotes describe behavior.

Takeaway: Use the representation that makes the question easiest, then check that all representations tell a consistent story.

Transformations of Functions

Transformations modify a parent graph without requiring a completely new graph from scratch. In

g(x)=af(b(x−h))+k,g(x)=a f\bigl(b(x-h)\bigr)+k,

the changes can be read from the constants, but horizontal changes occur inside the and therefore require careful attention to signs.

  • f(x)+kf(x)+k shifts the graph up when k>0k>0 and down when k<0k<0.

  • f(x−h)f(x-h) shifts the graph right by hh when h>0h>0.

  • −f(x)-f(x) reflects the graph across the horizontal axis.

  • f(−x)f(-x) reflects the graph across the vertical axis.

  • Multiplication by aa stretches vertically when ∣a∣>1|a|>1 and compresses vertically when 0<∣a∣<10<|a|<1.

  • Replacing xx by bxbx compresses horizontally when ∣b∣>1|b|>1 and stretches horizontally when 0<∣b∣<10<|b|<1.

For example,

g(x)=(x−4)2+2g(x)=(x-4)^2+2

is the graph of f(x)=x2f(x)=x^2 shifted right 44 units and up 22 units, so its vertex is (4,2)(4,2).

For a periodic model,

y=Asin⁡(B(x−h))+D,y=A\sin(B(x-h))+D,

∣A∣|A| is the amplitude, hh is the horizontal shift, DD gives the midline, and the period is 2π∣B∣\frac{2\pi}{|B|} when angles are measured in radians.

Takeaway: Identify outside changes, inside changes, reflections, and scale factors separately before sketching the result.

connects two processes by feeding the output of one into another. In

(f∘g)(x)=f(g(x)),(f\circ g)(x)=f(g(x)),

the on the right, gg, is evaluated first.

Let f(x)=2x+1f(x)=2x+1 and g(x)=x2g(x)=x^2. Then

(f∘g)(x)=f(x2)=2x2+1,(f\circ g)(x)=f(x^2)=2x^2+1,

while

(g∘f)(x)=g(2x+1)=(2x+1)2.(g\circ f)(x)=g(2x+1)=(2x+1)^2.

The results differ, so composition is generally not commutative.

The of a composition must satisfy both stages: the input must be in the of the inner , and the inner output must be in the of the outer . If f(x)=xf(x)=\sqrt{x} and g(x)=x−3g(x)=x-3, then

(f∘g)(x)=x−3,(f\circ g)(x)=\sqrt{x-3},

which requires x−3≥0x-3\ge 0. Therefore, the is [3,∞)[3,\infty).

Takeaway: Read a composition from the inside out and verify restrictions at both stages.

Inverse Functions

An reverses the original input-output process, so the original must be one-to-one on the stated . The horizontal line test checks this graphically.

To find the inverse of f(x)=3x−5f(x)=3x-5, write

y=3x−5.y=3x-5.

Interchange the variables and solve for the new output:

x=3y−5,y=x+53.x=3y-5, \qquad y=\frac{x+5}{3}.

Thus,

f−1(x)=x+53.f^{-1}(x)=\frac{x+5}{3}.

A check confirms the reversal:

f−1(f(x))=(3x−5)+53=x.f^{-1}(f(x))=\frac{(3x-5)+5}{3}=x.

The and switch:

Dom⁡(f−1)=Ran⁡(f),Ran⁡(f−1)=Dom⁡(f).\operatorname{Dom}(f^{-1})=\operatorname{Ran}(f), \qquad \operatorname{Ran}(f^{-1})=\operatorname{Dom}(f).

The graph of the inverse is the reflection of the original graph across y=xy=x. For example, f(x)=x2f(x)=x^2 is not one-to-one over all real numbers because inputs 22 and −2-2 both produce 44. Restricting its to [0,∞)[0,\infty) makes an possible.

Takeaway: Check one-to-one behavior, exchange the variables, solve carefully, and verify by composition.

Modeling and Interpretation

Modeling begins by identifying what the variables mean and selecting a representation that captures the situation. A useful process is:

  1. Identify the input and output variables.

  2. State the , including contextual restrictions.

  3. Choose a table, graph, formula, or verbal description.

  4. Look for structure such as constant differences, ratios, turning points, asymptotes, or repeating cycles.

  5. Interpret important features in context.

  6. Check the model against known values and decide whether its predictions are reasonable.

For a cost model such as

C(n)=12n+150,C(n)=12n+150,

C(20)=390C(20)=390. The coefficient 1212 represents the change in cost per unit, while 150150 is the initial value when n=0n=0, provided that interpretation fits the context.

For repeating data such as ocean height, a sinusoidal model can describe recurring increases and decreases. Its midline represents the average level, its amplitude represents the maximum deviation from that level, and its period represents the time between corresponding points in successive cycles.

Takeaway: A model is useful when its algebraic behavior, graph, , and interpretation agree with the situation.