AlgebraQuest · Function Falls · College Algebra
Functions, Transformations and Inverses
A function gives exactly one output for each input. Learn the toolkit shapes, move them with transformations, and undo them with inverses.
After this guide you can
- Decide whether a relation or graph is a function.
- Evaluate functions, including piecewise rules, and find domains from formulas.
- Graph y = a·f(b(x − h)) + k from a toolkit function.
- Form compositions and find their domains.
- Find and verify an inverse of a one-to-one function.
Key terms
- Function
- A rule that assigns exactly one output to each input.
- Domain
- All allowed inputs.
- Range
- All outputs the function produces.
- Vertical line test
- A graph is a function if no vertical line hits it more than once.
- Composition
- (f ∘ g)(x) = f(g(x)): do g first, then f.
- One-to-one
- Each output comes from exactly one input; passes the horizontal line test.
- Inverse function
- f⁻¹ undoes f: f(f⁻¹(x)) = x and f⁻¹(f(x)) = x.
- Average rate of change
- (f(b) − f(a))/(b − a).
The big ideas
- Domain from a formula: no zero denominators and no negative numbers under an even root. √(x + 4) needs x ≥ −4.
- Inside changes move left and right and act opposite to how they look: f(x − 3) shifts right 3. Outside changes act as written: f(x) + 3 shifts up 3.
- −f(x) reflects over the x-axis; f(−x) reflects over the y-axis; a·f(x) with |a| > 1 stretches vertically.
- Order for y = a·f(x − h) + k: shift horizontally, stretch or reflect, then shift vertically.
- To find an inverse: write y = f(x), swap x and y, solve for y. The graphs of f and f⁻¹ are mirror images across y = x.
g(x) = −2(x − 1)² + 3: shift right 1, reflect and stretch by 2, shift up 3. The vertex moves from (0, 0) to (1, 3).
Worth memorizing
| Toolkit function | Shape and key point |
|---|
| f(x) = x | line through the origin |
|---|
| f(x) = x² | U shape, vertex (0, 0) |
|---|
| f(x) = x³ | S shape through (0, 0) |
|---|
| f(x) = |x| | V shape, vertex (0, 0) |
|---|
| f(x) = √x | starts at (0, 0), domain x ≥ 0 |
|---|
| f(x) = 1/x | two branches, asymptotes x = 0 and y = 0 |
|---|
Worked example
Find the inverse of f(x) = (2x − 3)/5 and verify it.
- Write y = (2x − 3)/5.
- Swap: x = (2y − 3)/5.
- Solve: 5x = 2y − 3, so 2y = 5x + 3 and y = (5x + 3)/2.
- Verify: f(f⁻¹(x)) = (2 · (5x + 3)/2 − 3)/5 = (5x + 3 − 3)/5 = x.
Answer: f⁻¹(x) = (5x + 3)/2
Common mistakes
- Shifting f(x + 2) to the right. It moves left 2.
- Reading f⁻¹(x) as 1/f(x).
- Writing (f ∘ g)(x) as f(x) · g(x).
- Forgetting a domain restriction from the inner function in a composition.
- Finding an "inverse" of a function that is not one-to-one, like x² on all reals.
Check yourself
- Is {(1, 2), (2, 2), (3, 5)} a function?
- Find f(−3) for f(x) = x² − 4x.
- Give the domain of f(x) = √(x − 5)/(x − 7).
- Describe y = |x + 4| − 2.
- If f(x) = 2x + 1 and g(x) = x², find f(g(3)).
- Find the average rate of change of f(x) = x² from x = 1 to x = 4.
- Find f⁻¹(x) for f(x) = x³ + 2.
- Does y = x² pass the horizontal line test on all reals?
Answer key
- Yes. Each input has one output; repeated outputs are fine.
- 21. (−3)² − 4(−3) = 9 + 12.
- [5, 7) ∪ (7, ∞). Need x ≥ 5 and x ≠ 7.
- The V shifted left 4 and down 2; vertex (−4, −2). Inside +4 moves left; outside −2 moves down.
- 19. g(3) = 9, then f(9) = 19.
- 5. (16 − 1)/(4 − 1) = 15/3.
- f⁻¹(x) = ³√(x − 2). Swap and solve: x = y³ + 2.
- No. y = 4 hits it at x = 2 and x = −2, so it is not one-to-one.
1 Numbers2 Factoring3 Linear4 Lines6 Quadratics7 Poly and rational8 Exp and log9 Systems10 Sequences11 Full review