mindstair

Home / Courses / Precalculus / Unit 4

Precalculus Unit 4: Transformations & function modeling

New functions come from transforming, combining and inverting known ones. Choosing the right model for data is the applied side of the same skill.

Covers: Shifts/dilations, composition, inverse, choosing a model from data

Study guide

Transformations change a function's graph predictably. Additive changes shift: f(x) + k moves the graph up k, and f(x − h) moves it right h. Multiplicative changes dilate: a·f(x) stretches vertically by |a| (and reflects over the x-axis if a < 0), while f(bx) compresses horizontally by a factor of 1/|b| (and reflects over the y-axis if b < 0). For example, f(2x) squeezes the graph toward the y-axis by half.

Composition combines functions: (f ∘ g)(x) = f(g(x)) feeds the output of g into f. Order matters, and the domain of the composition includes only inputs where g is defined and g(x) is in the domain of f. Decomposing a complicated function into simpler pieces is also a useful skill.

An inverse function reverses inputs and outputs. To find it, swap x and y and solve for y; its graph is the reflection of the original across y = x. Only one-to-one functions have inverse functions, though you can restrict a domain to make one.

Function modeling means choosing a function type that fits data or a context. Constant differences in outputs suggest a linear model, constant second differences a quadratic, and constant ratios an exponential. Check a model by examining residuals (actual minus predicted): a good model has residuals that are small and show no pattern.

A function is even if f(−x) = f(x), so its graph is symmetric about the y-axis. It is odd if f(−x) = −f(x), so it is symmetric about the origin. To test, substitute −x and simplify. To fit y = ax² + bx + c through three given points, substitute each point to get three linear equations in a, b and c, then solve the system (by elimination or with a calculator). For a model with two unknowns, two points are enough.

A model's domain should be limited to inputs that make sense, for example ending when the quantity reaches zero or a maximum. Predictions far outside the range of the data used to build the model are less reliable, because the real pattern may change.

Key ideas

Formulas and rules

g(x) = a·f(b(x − h)) + k
Residual = actual − predicted

Common mistakes

Words to know

Effect of f(2x)
Horizontal compression by a factor of 1/2.
Exponential model
Fits outputs that change by a constant ratio.
Residual
Actual value minus predicted value.
Effect of f(x + 3)
Shift left 3.
Graph of an inverse function
Reflection of the original across y = x.
Vertical shift
f(x) + k moves the graph up k.
Horizontal shift
f(x − h) moves the graph right h.
Vertical dilation
a·f(x) stretches vertically by |a|.
Horizontal dilation
f(bx) compresses horizontally by a factor of 1/|b|.
Composition
(f ∘ g)(x) = f(g(x)).
One-to-one function
Each output comes from exactly one input; it has an inverse.
Function model
Choosing linear, quadratic or exponential from patterns in the data.

Sample practice questions

23 more questions like these, from level 1 to 5, are in the practice set.

Question 1 (level 1)

g(x) = f(x) + 5 does what to the graph?

  1. Shifts down 5
  2. Shifts up 5
  3. Shifts left 5
  4. Shifts right 5
Show the answer and steps

Answer: B) Shifts up 5

  1. Adding a constant outside the function moves every output up.
  2. +5 → shift up 5.
Question 2 (level 2)

g(x) = f(3x) does what to the graph?

  1. Compresses it vertically
  2. Compresses it horizontally by 1/3
  3. Stretches it horizontally by 3
  4. Stretches it vertically by 3
Show the answer and steps

Answer: B) Compresses it horizontally by 1/3

  1. Multiplying x by 3 inside makes the graph reach each x-value 3 times sooner.
  2. That's a horizontal compression by a factor of 1/3.
Question 3 (level 3)

f(x) = 2x + 1 and g(x) = x − 3. Find f(g(x)).

  1. 2x − 5
  2. 2x − 2
  3. 2x + 7
  4. 2x − 3
Show the answer and steps

Answer: A) 2x − 5

  1. Plug g into f: f(g(x)) = 2(x − 3) + 1.
  2. = 2x − 6 + 1 = 2x − 5.