MGU Mathematics Series — Trigonometry & Precalculus
Part I: Function Foundations for Precalculus
Transformations · Composition · Inverse Functions · Symmetry
Chapter 2 of 14
MGU Mathematics Series  ·  Trigonometry and Precalculus  ·  Library Textbook Edition

Chapter 2:
Transformations, Inverses,
and Function Operations

Parent functions, shifts, reflections, stretches, even and odd symmetry, function arithmetic, composition, decomposition, one-to-one functions, and inverse functions — the complete toolkit for manipulating and reversing any function family

■ Math Level: Precalculus ■

■ 14 Sections  •  Part I of 5 ■

Follows Chapter 1: Functions, Graphs, and Models  ·  Prepares students for Trigonometric Functions in Chapters 3–7

Purpose and Overview

Chapter 1 established the function as the central object of precalculus. You learned how to read functions as equations, tables, graphs, and real-world models. You practiced finding domain and range, interpreting intercepts and zeros, analyzing increasing and decreasing behavior, and computing average rates of change.

Chapter 2 deepens that foundation. Instead of simply reading functions, you will learn to transform them, combine them, compose them, and reverse them. This chapter has three interlocking goals. The first is to understand transformations — how shifting, reflecting, stretching, and compressing a parent function changes its graph in predictable, algebraic ways. The second is to understand function operations — how two functions can be added, subtracted, multiplied, divided, or composed into new functions. The third is to understand inverse functions — how some functions can be reversed so that their outputs become inputs and their inputs become outputs.

All three ideas will return throughout this book. In Chapters 4 and 5, you will apply transformations directly to sine, cosine, and tangent graphs. In Chapter 9, you will study exponential and logarithmic functions as inverses of each other. In Chapter 13, you will see how inverse relationships connect to rates of change in calculus. Master the ideas in this chapter, and every function family that follows will be easier to understand, graph, and apply.

Opening Question

A sound engineer is adjusting an audio signal. The original signal is described by a function. She shifts the signal forward in time, doubles its volume, and inverts its phase. Each of those operations corresponds to a mathematical transformation. Later, she wants to reverse a filtering process — to recover the original signal from a processed version. That reversal corresponds to an inverse function. After studying Chapter 2, you will understand exactly what is happening at each step.

14Sections
13Objectives
13Key Terms
15+Worked Examples

Learning Objectives

  1. 1Identify the common parent functions and describe their graphs, domains, and ranges.
  2. 2Apply vertical and horizontal shifts to a parent function algebraically and graphically.
  3. 3Apply reflections across the x-axis and y-axis.
  4. 4Apply vertical and horizontal stretches and compressions.
  5. 5Combine multiple transformations and apply them in the correct order.
  6. 6Identify even and odd functions algebraically and graphically.
  7. 7Add, subtract, multiply, and divide two functions and determine the domain of each result.
  8. 8Compose two functions and find the domain of the composition.
  9. 9Decompose a composite function into its inner and outer components.
  10. 10Determine whether a function is one-to-one using the horizontal line test.
  11. 11Find the inverse of a function algebraically and verify the result using composition.
  12. 12Graph inverse functions by reflecting across the line y = x.
  13. 13Identify and avoid the most common transformation and inverse mistakes.

Sections at a Glance

Sections 2.1 – 2.3
Parent Functions and the Language of Shifts
Parent Functions · Vertical Shifts · Horizontal Shifts

Parent Functions

Every function family has a parent — a simple, unmodified version of the function that carries the essential behavior of the whole family. When you study transformations, you are studying how to build new functions by modifying parent functions in systematic ways. Recognizing parent functions lets you read any transformed graph or equation quickly. Instead of treating each function as something entirely new, you learn to see it as a familiar parent that has been shifted, stretched, reflected, or compressed.

NameFormulaDomainRangeKey Feature
Constantf(x) = cAll reals{c}Horizontal line at height c
Identityf(x) = xAll realsAll realsDiagonal line through origin, slope 1
Absolute Valuef(x) = |x|All reals[0, ∞)V-shape, vertex at origin
Quadraticf(x) = x²All reals[0, ∞)Upward parabola, vertex at origin
Cubicf(x) = x³All realsAll realsS-shaped curve through origin
Square Rootf(x) = √x[0, ∞)[0, ∞)Starts at origin, bends right
Cube Rootf(x) = ³√xAll realsAll realsS-curve through origin, symmetric
Reciprocalf(x) = 1/xx ≠ 0y ≠ 0Two-branch hyperbola; asymptotes at axes
Exponentialf(x) = bˣ, b > 1All reals(0, ∞)Through (0,1); x-axis is asymptote
Logarithmicf(x) = log_b(x)(0, ∞)All realsThrough (1,0); y-axis is asymptote
Sinef(x) = sin(x)All reals[−1, 1]Periodic wave; period 2π
Cosinef(x) = cos(x)All reals[−1, 1]Periodic wave; period 2π; starts at 1
Student Note

You do not need to memorize every detail of every parent right now. What matters is the general shape, the domain, the range, and the location of any critical points or asymptotes. Each parent will be reinforced again and again as you encounter its transformed versions throughout this book.

Practice 2.1Parent Function Identification

For each description, name the parent function, write its formula, and state its domain and range.

  1. V-shaped graph, vertex at origin, symmetric about the y-axis
  2. Upward-opening parabola with vertex at the origin
  3. Two-branch curve with asymptotes along both axes
  4. Graph starts at the origin and bends upward to the right only
  5. Oscillating wave with maximum value 1 and minimum value −1
  6. S-shaped curve defined for all real inputs and outputs

Vertical Shifts

When you add a constant to the output of a function, you shift its entire graph up or down. The shape of the graph does not change. Only the height of every point changes. If f(x) is a parent function and k is a real number, then g(x) = f(x) + k shifts the graph of f vertically. If k > 0, the graph shifts upward by k units. If k < 0, the graph shifts downward by |k| units.

The reason is direct: adding k to f(x) adds k to every output value. Every point (x, y) on the original graph moves to (x, y + k) on the shifted graph. The x-coordinates are completely unchanged.

Example 2.2.1
Vertical Shift of an Absolute Value Function
  • ProblemDescribe the transformation from f(x) = |x| to g(x) = |x| − 3, and describe the graph of g.
  • ThinkThe formula g(x) = |x| − 3 is the same as g(x) = f(x) − 3. Since 3 is subtracted outside the absolute value, this is a vertical shift downward by 3 units.
  • RepresentParent: f(x) = |x|, vertex at (0, 0). Every point on f will shift down by 3.
  • SolveThe vertex (0, 0) becomes (0, −3). The point (1, 1) becomes (1, −2). The point (−2, 2) becomes (−2, −1).
  • Checkg(0) = |0| − 3 = −3. This matches the shifted vertex at (0, −3). ✓
Answer: g(x) = |x| − 3 is a V-shape with vertex at (0, −3). Domain: all reals. Range: [−3, ∞).
Graph Instruction

Draw the parent V-shape y = |x| with vertex at (0, 0) in a lighter style. Then draw the shifted V-shape y = |x| − 3 with vertex at (0, −3) in a heavier style. Label the vertex of each curve and mark the y-axis intercept of the shifted graph at (0, −3).

Student Warning

When a constant is added inside the function's argument — directly to the variable — it is a horizontal shift, not a vertical shift. For example, |x + 3| is a horizontal shift, while |x| + 3 is a vertical shift. This distinction is covered next and is one of the most important in the chapter.

Practice 2.2Vertical Shifts

For each, identify the parent function, describe the vertical shift, and state the new range.

  1. g(x) = x² + 4
  2. g(x) = √x − 2
  3. g(x) = |x| + 7
  4. g(x) = x³ − 5
  5. g(x) = (1/x) + 1
  6. g(x) = √x + 0.5

Horizontal Shifts

When you add a constant inside the argument of a function — directly to the input variable — you shift the graph left or right. The shape does not change, but the horizontal position of every point does. If f(x) is a parent function and h is a real number, then g(x) = f(x − h) shifts the graph of f horizontally. If h > 0, the graph shifts to the right by h units. If h < 0, the graph shifts to the left by |h| units.

Many students expect f(x − h) with h > 0 to shift the graph left, because they see a subtraction. The reason it shifts right is this: to get the same output that f produces at input x = 0, the shifted version g(x) = f(x − h) needs input x = h. The graph reaches its original value later — shifted to the right.

Horizontal Shift Rule

g(x) = f(x − h) shifts the graph of f right by h units (when h > 0).

g(x) = f(x + h) shifts the graph of f left by h units (when h > 0).

Memory key: the shift direction is opposite the sign seen inside the argument. Write it in the form (x − h) to read h as the rightward shift directly.

Example 2.3.1
Horizontal Shift of a Quadratic Function
  • ProblemDescribe the transformation from f(x) = x² to g(x) = (x + 2)² and describe the resulting graph.
  • ThinkWrite (x + 2)² as (x − (−2))². Here h = −2. Since h is negative, the shift is 2 units to the left.
  • RepresentParent: f(x) = x², vertex at (0, 0). Every point shifts 2 units left.
  • SolveThe vertex (0, 0) moves to (−2, 0). The point (1, 1) becomes (−1, 1). The point (2, 4) becomes (0, 4).
  • Checkg(−2) = (−2 + 2)² = 0² = 0. Vertex at (−2, 0) confirmed. ✓
Answer: g(x) = (x + 2)² is a parabola opening upward with vertex at (−2, 0). Domain: all reals. Range: [0, ∞).
Graph Instruction

Draw the parent parabola y = x² with vertex at (0, 0) in a lighter style. Draw the shifted parabola y = (x + 2)² with vertex at (−2, 0) in a heavier style. Label both vertices and show that the curves have identical shapes, differing only in horizontal position.

Practice 2.3Horizontal Shifts

For each function, identify the parent, describe the direction and amount of horizontal shift, and state the new location of the key point (vertex, starting point, or intersection with axes).

  1. g(x) = (x − 5)²
  2. g(x) = |x + 4|
  3. g(x) = √(x − 3)
  4. g(x) = (x + 1)³
  5. g(x) = 1/(x − 2)
  6. g(x) = √(x + 6)
Sections 2.4 – 2.7
Reflections, Stretches, and Symmetry
Reflections · Stretches and Compressions · Combining Transformations · Even and Odd Functions

Reflections

A reflection flips a graph across an axis. There are two types of reflections that appear most often in precalculus.

Reflection Rules

g(x) = −f(x) reflects the graph across the x-axis. Every (x, y) becomes (x, −y). Points above move below; points below move above.

g(x) = f(−x) reflects the graph across the y-axis. Every (x, y) becomes (−x, y). Points to the right move to the left.

Example 2.4.1
Reflection Across the x-axis
  • ProblemDescribe the transformation from f(x) = √x to g(x) = −√x.
  • ThinkNegating the output reflects the graph across the x-axis. The original graph lives above the x-axis; the reflected graph will live below it.
  • SolveEvery point (x, y) becomes (x, −y). The origin stays at (0, 0). The point (1, 1) becomes (1, −1). The point (4, 2) becomes (4, −2).
  • Checkg(4) = −√4 = −2. Matches (4, −2). ✓
Answer: g(x) = −√x curves below the x-axis. Domain: [0, ∞). Range: (−∞, 0].
Example 2.4.2
Reflection Across the y-axis
  • ProblemDescribe the transformation from f(x) = √x to g(x) = √(−x).
  • ThinkNegating the input reflects the graph across the y-axis. Since the square root requires a non-negative argument, the new function is defined only for x ≤ 0.
  • SolveThe point (1, 1) on f corresponds to (−1, 1) on g. The point (4, 2) on f corresponds to (−4, 2) on g.
  • Checkg(−4) = √(−(−4)) = √4 = 2. Matches (−4, 2). ✓
Answer: g(x) = √(−x) is a square root curve opening to the left. Domain: (−∞, 0]. Range: [0, ∞).
Graph Instruction

Draw y = √x starting at the origin and curving up-right. Draw y = −√x starting at the origin and curving down-right. Draw y = √(−x) starting at the origin and curving up-left. Label all three curves. Show the x-axis and y-axis as mirror lines for each reflection.

Practice 2.4Reflections
  1. g(x) = −x²
  2. g(x) = −|x|
  3. g(x) = (−x)³
  4. g(x) = −√x
  5. g(x) = √(−x)
  6. g(x) = −(1/x)

For each: state whether the reflection is across the x-axis or y-axis, describe the resulting graph, and state the domain and range.

Stretches and Compressions

Vertical Stretches and Compressions

g(x) = a · f(x)

If a > 1: vertical stretch by factor a. Each y-value is multiplied by a, pulling the graph away from the x-axis.

If 0 < a < 1: vertical compression by factor a. Each y-value is multiplied by a, pushing the graph toward the x-axis.

Horizontal Stretches and Compressions

g(x) = f(bx)

If b > 1: horizontal compression by factor 1/b. Features are closer together.

If 0 < b < 1: horizontal stretch by factor 1/b. Features are farther apart.

Why Horizontal Effects Are Reversed

Multiplying the input by something larger than 1 compresses the graph horizontally, not stretches it. Think of it this way: a larger multiplier on the input means the graph reaches its values faster — the features are compressed closer together horizontally. The direction is always opposite to vertical effects.

Example 2.5.1
Vertical Stretch of a Parabola
  • ProblemDescribe the transformation from f(x) = x² to g(x) = 3x².
  • ThinkThe output is multiplied by 3. This is a vertical stretch by factor 3. The graph becomes narrower-looking (taller).
  • SolveThe vertex (0, 0) stays at (0, 0). The point (1, 1) becomes (1, 3). The point (2, 4) becomes (2, 12).
  • Checkg(2) = 3(2)² = 12. ✓
Answer: g(x) = 3x² is a narrower parabola, vertically stretched by factor 3. Vertex at origin. Range: [0, ∞).
Example 2.5.2
Horizontal Compression of an Absolute Value Function
  • ProblemDescribe the transformation from f(x) = |x| to g(x) = |2x|.
  • ThinkThe input is multiplied by 2. This compresses the graph horizontally by factor 1/2. The V-shape will be narrower.
  • SolveThe point (2, 2) on f maps to (1, 2) on g. The point (4, 4) on f maps to (2, 4) on g.
  • Checkg(1) = |2(1)| = 2. Confirms (1, 2). ✓
Answer: g(x) = |2x| is a narrower V-shape, horizontally compressed by factor 1/2. Vertex still at origin.
Practice 2.5Stretches and Compressions

Identify the parent, type of stretch or compression, and factor. Describe how the graph changes.

  1. g(x) = 4x²
  2. g(x) = (1/3)x²
  3. g(x) = |3x|
  4. g(x) = √(x/2)
  5. g(x) = 2√x
  6. g(x) = (1/2)|x|

Combining Transformations

Real functions often involve multiple transformations applied together. To read or graph a transformed function correctly, you must apply the transformations in the right order. Given a function of the general form:

General Transformed Form

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

Apply transformations in this order, reading from inside out:

1. Horizontal shift right by h (factor out b first to find h clearly)

2. Horizontal compression/stretch by factor 1/|b|

3. Reflection across y-axis if b < 0

4. Vertical stretch/compression by factor |a|

5. Reflection across x-axis if a < 0

6. Vertical shift by k (always last)

Example 2.6.1
All Four Transformations on a Parabola
  • ProblemDescribe all transformations from f(x) = x² to g(x) = −2(x − 3)² + 1.
  • ThinkIdentify each piece: (x − 3) inside → horizontal shift right 3; coefficient 2 → vertical stretch by 2; negative on 2 → reflection across x-axis; +1 outside → vertical shift up 1.
  • RepresentParent: f(x) = x², upward parabola, vertex (0, 0).
  • Solve Step 1 — Shift right 3: vertex moves to (3, 0) Step 2 — Stretch by 2: parabola becomes narrower Step 3 — Reflect x-axis: parabola opens downward, vertex still at (3, 0) Step 4 — Shift up 1: vertex moves to (3, 1)
  • Checkg(3) = −2(0)² + 1 = 1. Vertex at (3, 1) confirmed. ✓ Also: g(4) = −2(1)² + 1 = −1. Point (4, −1) lies on the graph. ✓
Answer: Downward parabola with vertex (3, 1), narrower than x² due to stretch by 2. Domain: all reals. Range: (−∞, 1].
Graph Instruction

Draw the parent parabola y = x² opening upward at the origin. Then draw g(x) = −2(x − 3)² + 1 as a narrower, downward-opening parabola with vertex at (3, 1). Label the vertex, axis of symmetry x = 3, and mark the point (4, −1) on the curve.

Student Warning — Factor Before Reading the Shift

When you see g(x) = f(2x − 6), do not read the horizontal shift as 6. Factor first: g(x) = f(2(x − 3)). Now you can see the horizontal shift is 3 units right, and there is a horizontal compression by 1/2. Reading the shift without factoring is one of the most common errors in this chapter.

Practice 2.6Combining Transformations

For each function, identify the parent, list all transformations in order, state the new location of the key point, and describe the graph.

  1. g(x) = (x + 4)² − 3
  2. g(x) = −|x − 1| + 2
  3. g(x) = 2√(x + 3)
  4. g(x) = −3(x − 2)² + 5
  5. g(x) = (1/2)|x + 1| − 4
  6. g(x) = −√(x − 5) + 1

Even and Odd Functions

Some functions have a special property: their graphs are symmetric. For functions, there are two important types of symmetry. Symmetry about the y-axis occurs when the left half of the graph mirrors the right half — this is associated with even functions. Symmetry about the origin occurs when rotating the graph 180 degrees about the origin produces the same graph — this is associated with odd functions.

TypeAlgebraic ConditionGraph SymmetryExamples
Evenf(−x) = f(x)y-axisx², |x|, cos(x), x⁴
Oddf(−x) = −f(x)Originx, x³, 1/x, sin(x)
NeitherNeither condition holdsNonex² + x, √x, 2ˣ
How to Test

Substitute −x for x and simplify. Then compare f(−x) to f(x) and to −f(x). If f(−x) = f(x): even. If f(−x) = −f(x): odd. If neither: neither. Always simplify completely before comparing.

Example 2.7.1
Testing Even or Odd
  • ProblemDetermine whether f(x) = x³ − x is even, odd, or neither.
  • ThinkSubstitute −x and simplify. Then compare to f(x) and to −f(x).
  • Solve f(−x) = (−x)³ − (−x) = −x³ + x Compare to f(x) = x³ − x: f(−x) = −x³ + x ≠ x³ − x = f(x) → not even Compare to −f(x) = −(x³ − x) = −x³ + x: f(−x) = −x³ + x = −f(x) → odd ✓
Answer: f(x) = x³ − x is an odd function. Its graph is symmetric about the origin.
Note on Both-Even-and-Odd

A function that is both even and odd must satisfy f(x) = 0 for all x. Only the zero function f(x) = 0 qualifies. Most functions are neither. Do not confuse "neither" with an error — most real functions are simply neither even nor odd.

Practice 2.7Even and Odd Functions

Determine whether each function is even, odd, or neither. Show your work by computing f(−x).

  1. f(x) = x⁴ − 3x²
  2. f(x) = x³ + x
  3. f(x) = x³ + x²
  4. f(x) = x/(x² + 1)
  5. f(x) = |x| − 4
  6. f(x) = x² − x
  7. f(x) = 2x⁵ − x³ + x
  8. f(x) = x² + 3
Sections 2.8 – 2.10
Function Operations and Composition
Arithmetic on Functions · Composition · Decomposition

Adding, Subtracting, Multiplying, and Dividing Functions

Two functions can be combined using the standard arithmetic operations to create new functions. Given functions f and g with domains D_f and D_g, the resulting functions and their domains are defined as follows.

Function Arithmetic Definitions

Sum: (f + g)(x) = f(x) + g(x), domain: D_f ∩ D_g

Difference: (f − g)(x) = f(x) − g(x), domain: D_f ∩ D_g

Product: (f · g)(x) = f(x) · g(x), domain: D_f ∩ D_g

Quotient: (f/g)(x) = f(x)/g(x), domain: D_f ∩ D_g, g(x) ≠ 0

Example 2.8.1
Sum and Quotient of Functions with Domain Analysis
  • ProblemLet f(x) = √x and g(x) = x − 4. Find (f + g)(x) and (f/g)(x), and state the domain of each.
  • ThinkDomain of f: [0, ∞). Domain of g: all reals. Intersection: [0, ∞). For the quotient, also exclude x = 4 since g(4) = 0.
  • Solve Sum: (f + g)(x) = √x + (x − 4) = √x + x − 4 Domain: [0, ∞) Quotient: (f/g)(x) = √x / (x − 4) Domain: [0, 4) ∪ (4, ∞)
  • CheckAt x = 9: (f + g)(9) = 3 + 9 − 4 = 8. And (f/g)(9) = 3/(9−4) = 3/5. Both reasonable. ✓
Answer: (f + g)(x) = √x + x − 4, domain [0, ∞). (f/g)(x) = √x/(x − 4), domain [0, 4) ∪ (4, ∞).
Practice 2.8Function Arithmetic

Let f(x) = x² − 1 and g(x) = x + 3. Find each and state its domain.

  1. (f + g)(x)
  2. (f − g)(x)
  3. (f · g)(x)
  4. (f/g)(x)
  5. Evaluate (f + g)(2)
  6. Evaluate (f · g)(0)
  7. Evaluate (f/g)(5)
  8. Evaluate (f − g)(−3) — is (f/g)(−3) defined? Why?

Composition of Functions

Function composition is the process of applying one function to the output of another. Instead of combining outputs arithmetically, composition feeds the output of one function into the input of another. The composition of f and g, written (f ∘ g)(x), means: first apply g to x, then apply f to the result.

Definition of Composition

(f ∘ g)(x) = f(g(x))

Read as "f composed with g" or "f of g of x." Apply the inner function g first, then the outer function f. The order matters. In general, f ∘ g ≠ g ∘ f.

Domain of (f ∘ g): all x in the domain of g such that g(x) is in the domain of f.

Example 2.9.1
Computing Both Compositions
  • ProblemLet f(x) = x² + 1 and g(x) = 2x − 3. Find (f ∘ g)(x) and (g ∘ f)(x).
  • ThinkFor f ∘ g: substitute g(x) into f. For g ∘ f: substitute f(x) into g. Work carefully inside out.
  • Solve (f ∘ g)(x) = f(g(x)) = f(2x − 3) = (2x − 3)² + 1 = 4x² − 12x + 9 + 1 = 4x² − 12x + 10 (g ∘ f)(x) = g(f(x)) = g(x² + 1) = 2(x² + 1) − 3 = 2x² + 2 − 3 = 2x² − 1
  • CheckAt x = 2: (f ∘ g)(2) = f(g(2)) = f(1) = 2. Formula: 4(4) − 24 + 10 = 2. ✓ (g ∘ f)(2) = g(5) = 7. Formula: 2(4) − 1 = 7. ✓
Answer: (f ∘ g)(x) = 4x² − 12x + 10. (g ∘ f)(x) = 2x² − 1. The two compositions are not equal.
Example 2.9.2
Composition with Domain Restriction
  • ProblemLet f(x) = √x and g(x) = x − 5. Find (f ∘ g)(x) and state its domain.
  • Solve(f ∘ g)(x) = f(g(x)) = √(x − 5) Domain: need x − 5 ≥ 0, so x ≥ 5. Domain: [5, ∞)
  • CheckAt x = 9: (f ∘ g)(9) = √(4) = 2. Reasonable. ✓ At x = 4: g(4) = −1, but √(−1) is not real — correctly excluded. ✓
Answer: (f ∘ g)(x) = √(x − 5), domain [5, ∞).
Composition Is Not Multiplication

(f ∘ g)(x) = f(g(x)) means one function is applied after the other. (f · g)(x) = f(x) · g(x) means the outputs are multiplied. These are fundamentally different operations. The symbol ∘ denotes sequential application, not multiplication.

Practice 2.9Composition of Functions

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

  1. Find (f ∘ g)(x)
  2. Find (g ∘ f)(x)
  3. Evaluate (f ∘ g)(2)
  4. Evaluate (g ∘ f)(−1)
  5. Are the two compositions equal? Explain.
  6. Let f(x) = √x and g(x) = 4 − x. Find (f ∘ g)(x) and its domain.
  7. Let f(x) = 1/x and g(x) = x − 2. Find (f ∘ g)(x) and its domain.
  8. Let h(x) = 3x and k(x) = x + 7. Find (h ∘ k)(0) and (k ∘ h)(0).

Decomposing Functions

Composition builds a new function from two simpler ones. Decomposition reverses this: you start with a complex function and identify what simpler functions could have been composed to produce it. There is usually one decomposition that is most natural. The goal is to identify an outer function f and an inner function g such that h(x) = f(g(x)).

A useful strategy: identify the last operation that would be performed when computing h(x). That last operation is the outer function f. Everything fed into it is the inner function g.

Example 2.10.1
Decomposing a Power Function
  • ProblemWrite h(x) = (3x + 7)⁵ as a composition f(g(x)).
  • ThinkThe last operation is raising to the fifth power. The expression computed first is 3x + 7. So: inner = 3x + 7, outer = raising to the 5th.
  • Solve Let g(x) = 3x + 7 (inner function) Let f(x) = x⁵ (outer function) Then f(g(x)) = (3x + 7)⁵ = h(x) ✓
  • Checkf(g(1)) = f(10) = 10⁵ = 100000. h(1) = (3 + 7)⁵ = 100000. ✓
Answer: g(x) = 3x + 7, f(x) = x⁵.
Example 2.10.2
Decomposing a Radical Expression
  • ProblemWrite h(x) = √(x² − 4) as a composition.
  • ThinkThe last operation is taking the square root. The expression inside is x² − 4.
  • SolveLet g(x) = x² − 4 and f(x) = √x f(g(x)) = √(x² − 4) = h(x) ✓
Answer: g(x) = x² − 4, f(x) = √x.
MGU Library Connection
  • Decomposition becomes essential in Calculus I when computing derivatives using the Chain Rule: differentiate the outer function, multiply by the derivative of the inner function.
  • Recognizing which function is outer and which is inner is the foundational step in applying the Chain Rule correctly.
  • See MGU Calculus I, Chapter 3: Differentiation Rules — The Chain Rule.
Practice 2.10Decomposing Composite Functions

Decompose each function into the form f(g(x)) by identifying an inner function g and outer function f.

  1. h(x) = (x + 5)⁴
  2. h(x) = √(3x − 2)
  3. h(x) = 1/(x² + 1)
  4. h(x) = |2x − 7|
  5. h(x) = (x³ − 4)²
  6. h(x) = √(x + 9)
  7. h(x) = (4x − 1)³
  8. h(x) = 1/√(x − 3)
Sections 2.11 – 2.14
One-to-One Functions, Inverses, and Common Mistakes
One-to-One Functions · Inverse Functions · Graphs of Inverses · Common Mistakes

One-to-One Functions

Not every function can be reversed. To reverse a function reliably — to know that every output came from exactly one input — the function must be one-to-one. A function is one-to-one if no two different inputs produce the same output. Formally: f is one-to-one if f(a) = f(b) implies a = b.

The Horizontal Line Test

A function is one-to-one if and only if no horizontal line intersects its graph more than once.

Compare to the vertical line test, which tests whether a relation is a function at all (each input has at most one output). The horizontal line test tests whether the function is one-to-one (each output has at most one input).

FunctionOne-to-One?Reason
f(x) = x³YesEvery horizontal line hits the cubic curve at most once.
f(x) = x²Noy = 4 is produced by both x = 2 and x = −2.
f(x) = sin(x)NoMany horizontal lines intersect the sine curve infinitely often.
f(x) = 3x − 5YesA non-horizontal line is hit at most once by any horizontal line.
f(x) = |x|Noy = 3 is produced by both x = 3 and x = −3.
Restricting the Domain

Non-one-to-one functions can still have inverses if their domain is restricted appropriately. For example, f(x) = x² restricted to [0, ∞) is one-to-one, and its inverse is f⁻¹(x) = √x. This strategy is used in Chapters 4 and 6 to define inverse trigonometric functions: arcsine, arccosine, and arctangent.

Practice 2.11One-to-One Functions

For each function, determine whether it is one-to-one. Justify your answer using either the definition or the horizontal line test. For non-one-to-one functions, suggest a domain restriction that would make it one-to-one.

  1. f(x) = 2x + 7
  2. f(x) = x² − 4
  3. f(x) = x³ + 1
  4. f(x) = |x − 3|
  5. f(x) = 1/x
  6. f(x) = √x

Inverse Functions

If f is a one-to-one function, then its inverse function f⁻¹ reverses the input-output relationship of f. If f takes x to y, then f⁻¹ takes y back to x: f(x) = y ⟺ f⁻¹(y) = x. The domain of f⁻¹ is the range of f, and the range of f⁻¹ is the domain of f.

Two functions f and g are inverse functions of each other if and only if composing them in either order returns the original input: f(g(x)) = x for all x in the domain of g, and g(f(x)) = x for all x in the domain of f.

Procedure for Finding an Inverse Algebraically

1. Write y = f(x).

2. Swap x and y.

3. Solve the resulting equation for y.

4. Write y = f⁻¹(x).

5. Verify: confirm that f(f⁻¹(x)) = x and f⁻¹(f(x)) = x.

Example 2.12.1
Finding the Inverse of a Linear Function
  • ProblemFind the inverse of f(x) = 3x − 7.
  • ThinkThe function multiplies by 3 and subtracts 7. The inverse should undo those in reverse: add 7 first, then divide by 3.
  • Solve Step 1: y = 3x − 7 Step 2: Swap: x = 3y − 7 Step 3: Solve: x + 7 = 3y y = (x + 7)/3 Step 4: f⁻¹(x) = (x + 7)/3
  • Check f(f⁻¹(x)) = f((x+7)/3) = 3·(x+7)/3 − 7 = (x+7) − 7 = x ✓ f⁻¹(f(x)) = f⁻¹(3x−7) = (3x−7+7)/3 = 3x/3 = x ✓
Answer: f⁻¹(x) = (x + 7)/3
Example 2.12.2
Finding the Inverse of a Cube Root Function
  • ProblemFind the inverse of f(x) = ³√(x − 2).
  • Solve Step 1: y = ³√(x − 2) Step 2: Swap: x = ³√(y − 2) Step 3: Cube both sides: x³ = y − 2 Solve: y = x³ + 2 Step 4: f⁻¹(x) = x³ + 2
  • Checkf(f⁻¹(x)) = ³√((x³+2) − 2) = ³√(x³) = x ✓
Answer: f⁻¹(x) = x³ + 2
Example 2.12.3
Finding the Inverse of a Rational Function
  • ProblemFind the inverse of f(x) = (x − 4)/(x + 2) and state its domain.
  • Solve Step 1: y = (x − 4)/(x + 2) Step 2: x = (y − 4)/(y + 2) Step 3: x(y + 2) = y − 4 xy + 2x = y − 4 xy − y = −4 − 2x y(x − 1) = −4 − 2x y = (−4 − 2x)/(x − 1) = −2(x + 2)/(x − 1) Step 4: f⁻¹(x) = −2(x + 2)/(x − 1)
  • CheckDomain of f⁻¹: all reals except x = 1 (makes denominator zero). The range of f excludes y = 1 (the horizontal asymptote of f), which confirms the domain of f⁻¹ correctly excludes x = 1. ✓
Answer: f⁻¹(x) = −2(x + 2)/(x − 1), domain: all reals except x = 1.
Critical Warning — Inverse vs. Reciprocal

f⁻¹(x) is the inverse function. It is not 1/f(x). The superscript −1 on a function name means "inverse," not "raise to the power −1." The reciprocal of f(x) is written [f(x)]⁻¹ or 1/f(x). These are entirely different. A student who computes f⁻¹(x) = 1/f(x) is making a fundamental error — every time.

Practice 2.12Inverse Functions

Determine whether each function is one-to-one. If yes, find the inverse algebraically and verify using composition.

  1. f(x) = 5x − 2
  2. f(x) = x³ + 4
  3. f(x) = 2/(x + 1)
  4. f(x) = x² + 3 (all real numbers — is this one-to-one? What domain restriction makes it so?)
  5. f(x) = x² + 3 restricted to [0, ∞) — now find the inverse.
  6. f(x) = √(x − 3)
  7. A function f has these values: (1, 3), (2, 5), (4, 9), (7, 0). Build the table of values for f⁻¹.

Graphs of Inverse Functions

If (a, b) is a point on the graph of f, then (b, a) is a point on the graph of f⁻¹. Swapping x and y in every point is exactly the geometric transformation of reflecting across the line y = x. This means: the graph of f⁻¹ is the reflection of the graph of f across the line y = x.

To graph an inverse from the graph of the original function, fold the coordinate plane along the diagonal line y = x. The reflected curve is the graph of the inverse. No formula is required — you only need to mirror the points.

Example 2.13.1
Graphing the Inverse of a Cubic Function
  • ProblemThe graph of f(x) = x³ passes through (−2,−8), (−1,−1), (0,0), (1,1), (2,8). Describe the graph of f⁻¹.
  • ThinkReflect each point across y = x by swapping its coordinates.
  • Solve (−2, −8) → (−8, −2) (−1, −1) → (−1, −1) (0, 0) → (0, 0) (1, 1) → (1, 1) (2, 8) → (8, 2)
Answer: f⁻¹(x) = ³√x passes through (−8,−2), (−1,−1), (0,0), (1,1), (8,2). It is the cube root function, the mirror image of y = x³ across the diagonal y = x.
Graph Instruction

Draw y = x³ as an S-shaped curve through the labeled points. Draw the dashed line y = x as a reference. Draw y = ³√x as the reflection of the cubic through the same key points (with coordinates swapped). Label both curves and show that the dashed line acts as the mirror axis between them.

Example 2.13.2
Reading Domain and Range from Inverse Relationship
  • ProblemA function f has domain [−2, 5] and range [0, 9]. What are the domain and range of f⁻¹?
  • ThinkThe domain of f⁻¹ is the range of f. The range of f⁻¹ is the domain of f.
  • SolveDomain of f⁻¹ = Range of f = [0, 9] Range of f⁻¹ = Domain of f = [−2, 5]
Answer: Domain of f⁻¹: [0, 9]. Range of f⁻¹: [−2, 5].
Practice 2.13Graphs of Inverse Functions
  1. The graph of f passes through (0, 1), (1, 3), and (2, 7). What three points are on the graph of f⁻¹? Sketch both graphs on the same axes, including the line y = x.
  2. A one-to-one function f has domain [1, 6] and range [−3, 4]. State the domain and range of f⁻¹.
  3. Why does the graph of f⁻¹ lie on the opposite side of y = x from the graph of f? Explain using the definition of inverse functions.
  4. True or False: If the graph of f passes through (a, b) and (b, a), then either f is its own inverse, or (a, b) lies on the line y = x. Explain.

Common Transformation and Inverse Mistakes

Mistake 1 — Confusing Inside Changes with Outside Changes
f(x − 3) shifts the graph downward 3 units

Correction: Changes outside the function (e.g., f(x) − 3) affect the output and shift the graph vertically. Changes inside the argument (e.g., f(x − 3)) affect the input and shift the graph horizontally — in the opposite direction of the sign. Ask yourself: where is the change? Outside = vertical. Inside = horizontal (opposite sign).

Mistake 2 — Forgetting to Factor Before Reading the Horizontal Shift
g(x) = (2x − 6)² has a horizontal shift of 6

Correction: Factor first: g(x) = (2(x − 3))². The horizontal shift is 3 units right, and there is a horizontal compression by 1/2. Always factor out the coefficient from the argument before identifying the shift.

Mistake 3 — Applying Vertical Shift Before Stretching
For g(x) = 2f(x) + 3: stretch by 2, then shift up 3 → wrong order in some problems

Correction: Work from inside out. Horizontal transformations (inside the argument) come before vertical ones (outside). Within each group, apply stretch/compression before shift for accuracy. When listing transformations on the vertex: apply them in the correct inside-out sequence.

Mistake 4 — Assuming Every Function Has an Inverse
Finding the "inverse" of f(x) = x² on all reals by writing f⁻¹(x) = √x

Correction: f(x) = x² on all reals is not one-to-one — both x = 2 and x = −2 produce y = 4. Before finding an inverse, verify the function is one-to-one with the horizontal line test. If it fails, restrict the domain. f⁻¹(x) = √x is only valid when f is restricted to [0, ∞).

Mistake 5 — Reading f⁻¹(x) as a Reciprocal
f⁻¹(x) = 1/f(x)

Correction: f⁻¹(x) is the inverse function, found by swapping inputs and outputs. It is NOT 1/f(x). The notation is a naming convention, not an exponent. The reciprocal is written [f(x)]⁻¹ or 1/f(x). Confusing these is a fundamental error.

Mistake 6 — Skipping the Composition Verification
Finding f⁻¹(x) algebraically but not verifying f(f⁻¹(x)) = x and f⁻¹(f(x)) = x

Correction: Always verify both compositions. A small algebraic error in swapping or solving is easy to make but hard to spot — and the composition check catches it immediately. Make this check a mandatory final step, not optional.

Mistake 7 — Ignoring Domain Restrictions in Compositions
Writing the domain of (f ∘ g)(x) as the domain of f alone

Correction: Start with the domain of g. Then further restrict to exclude any x-values where g(x) falls outside the domain of f. The domain of the composition is always a subset of the domain of g — never the domain of f alone.

Mistake 8 — Confusing Composition with Multiplication
(f ∘ g)(x) = f(x) · g(x)

Correction: The composition symbol ∘ means "apply one after the other": (f ∘ g)(x) = f(g(x)). Multiplication of functions uses a dot or juxtaposition: (f · g)(x) = f(x) · g(x). These produce entirely different results for most function pairs.

Chapter Summary

Key Terms Review

parent function
A basic, untransformed function that serves as a template for a function family; all transformations in the family are built from it.
vertical shift
A transformation that moves a graph up or down by adding a constant outside the function: g(x) = f(x) + k.
horizontal shift
A transformation that moves a graph left or right by adding a constant inside the argument: g(x) = f(x − h). The direction is opposite the sign of the constant.
reflection
A transformation that flips a graph across an axis by negating the output (x-axis) or the input (y-axis).
vertical stretch
A transformation that pulls a graph away from the x-axis by multiplying the output by a constant greater than 1.
vertical compression
A transformation that pushes a graph toward the x-axis by multiplying the output by a constant between 0 and 1.
even function
A function satisfying f(−x) = f(x) for all x in its domain; its graph is symmetric about the y-axis.
odd function
A function satisfying f(−x) = −f(x) for all x in its domain; its graph is symmetric about the origin.
function arithmetic
Combining two functions using sum, difference, product, or quotient to produce a new function.
composition
Applying one function to the output of another: (f ∘ g)(x) = f(g(x)). Order matters.
decomposition
Identifying the inner and outer functions inside a composite function; the reverse of composition.
one-to-one function
A function in which every output value is produced by exactly one input value; passes the horizontal line test.
inverse function
A function f⁻¹ that reverses the input-output relationship of a one-to-one function f. If f(a) = b, then f⁻¹(b) = a.

Concept Review Questions

Answer in complete sentences. No computation required unless noted.

  1. What is a parent function, and why is it useful to recognize parent functions before studying transformations?
  2. Explain the difference between a vertical shift and a horizontal shift. Which is caused by a change inside the function's argument?
  3. Why does f(x − h) with h > 0 shift the graph to the right rather than to the left? Explain using the idea of what input is needed to get the same output.
  4. What is the difference between −f(x) and f(−x)? How do the resulting graphs differ from the parent?
  5. Explain the difference between a vertical stretch by factor 3 and a vertical compression by factor 1/3. What does each transformation do to the y-values?
  6. What does it mean for a function to be even? Odd? What does the graph look like in each case?
  7. What is the domain of (f + g)(x)? What additional restriction applies to (f/g)(x) and why?
  8. Explain what the composition (f ∘ g)(x) means in words. How is it different from (f · g)(x)?
  9. Why does the order of composition matter? Give a brief example where f ∘ g ≠ g ∘ f.
  10. What does it mean for a function to be one-to-one? What graphical test determines this?
  11. Why must a function be one-to-one to have an inverse function?
  12. What is the geometric relationship between the graph of f and the graph of f⁻¹?
  13. What is the critical difference between f⁻¹(x) and 1/f(x)?
  14. If the domain of f is [1, 10] and the range is [0, 5], what are the domain and range of f⁻¹?

Transformation Practice

For each function, identify the parent, list all transformations, and describe the resulting graph.

  1. g(x) = x² + 5
  2. g(x) = (x − 4)²
  3. g(x) = −|x|
  4. g(x) = |x + 3| − 2
  5. g(x) = √x + 1
  6. g(x) = √(−x)
  7. g(x) = −√(x − 1)
  8. g(x) = 4x²
  9. g(x) = (x/2)²
  10. g(x) = −3(x + 2)² + 7
  11. g(x) = 1/(x − 3)
  12. g(x) = 1/x + 4
  13. g(x) = 2|x − 1| − 3
  14. g(x) = −³√(x + 5)

Function Operation Practice

Let f(x) = x² − 1 and g(x) = x + 3.

  1. Find (f + g)(x) and its domain.
  2. Find (f − g)(x) and its domain.
  3. Find (f · g)(x) and its domain.
  4. Find (f/g)(x) and its domain.
  5. Evaluate (f + g)(2).
  6. Evaluate (f · g)(0).
  7. Evaluate (f/g)(5).
  8. Let h(x) = √(x + 4) and k(x) = x − 1. Find (h + k)(x) and (h/k)(x) with their domains. Evaluate (h + k)(5).

Composition Practice

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

  1. Find (f ∘ g)(x).
  2. Find (g ∘ f)(x).
  3. Are (f ∘ g) and (g ∘ f) equal? Explain.
  4. Evaluate (f ∘ g)(2).
  5. Evaluate (g ∘ f)(−1).
  6. Let f(x) = √x and g(x) = 4 − x. Find (f ∘ g)(x) and its domain.
  7. Let f(x) = √x and g(x) = 4 − x. Find (g ∘ f)(x) and its domain.

Decompose each into f(g(x)).

  1. h(x) = (x + 5)⁴
  2. h(x) = √(3x − 2)
  3. h(x) = 1/(x² + 1)
  4. h(x) = |2x − 7|
  5. h(x) = (x³ − 4)²

Inverse Function Practice

For each, determine if it is one-to-one. If yes, find the inverse and verify using composition.

  1. f(x) = 5x − 2
  2. f(x) = x³ + 4
  3. f(x) = 2/(x + 1)
  4. f(x) = x² + 3 (all reals)
  5. f(x) = x² + 3 on [0, ∞)
  6. f(x) = √(x − 3)
  7. f(x) = (x − 4)/(x + 2)

Error Analysis

Each problem shows a student's work containing an error. Identify the mistake and write the correct solution.

Problem A
A student claims that g(x) = (x + 4)² is the parent parabola shifted right 4 units.

What is the error? What is the correct transformation?

Problem B
(f ∘ g)(x) = f(x) · g(x) = (x+2)(x²) = x³ + 2x²

For f(x) = x + 2 and g(x) = x². What is the error? What is the correct answer?

Problem C
Inverse of f(x) = 2x + 6 is f⁻¹(x) = 1/(2x + 6)

What is the error? Find the correct inverse and verify it.

Problem D
For f(x) = x³ + 2: f(−x) = −x³ + 2. Since f(−x) ≠ −(x³ − 2) = −x³ + 2... wait, those are equal, so f is odd.

The student tested f(−x) = −x³ + 2 against −f(x). What is −f(x) for this function? Is the student's conclusion correct? Explain carefully.

Problem E
The domain of (f ∘ g)(x) = √(x² − 9) is all real numbers, since g(x) = x² − 9 has domain all reals.

What is the error? What is the correct domain?

Chapter 2 Checkpoint

Chapter 2 Checkpoint
Complete without assistance — assesses all key skills and concepts from Chapter 2
Part A — Transformations
  1. Let f(x) = √x. Write the formula for the function obtained by shifting f right 5 units, reflecting across the x-axis, and shifting up 2 units.
  2. Let g(x) = −2(x − 1)² + 5. Identify the parent function, list all transformations in order, and state the vertex.
  3. True or False: The graph of y = f(2x) is a horizontal stretch of y = f(x) by factor 2. Explain your answer.
  4. Describe how the graph of g(x) = 3|x + 4| − 1 differs from the parent f(x) = |x|.
Part B — Even and Odd
  1. Determine whether f(x) = 3x⁴ − 5x² + 1 is even, odd, or neither. Justify algebraically.
  2. A function f is odd and passes through (3, −7). What other point must be on the graph? Explain why.
Part C — Function Operations
  1. Let f(x) = x + 2 and g(x) = x² − 4. Find (f/g)(x) and state its domain completely.
Part D — Composition
  1. Let f(x) = 3x − 1 and g(x) = x² + 2. Compute (f ∘ g)(x) and (g ∘ f)(x).
  2. Decompose h(x) = (1/(x + 3))² into the form f(g(x)).
  3. Let f(x) = √x and g(x) = x − 6. State the domain of (f ∘ g)(x) and explain why.
Part E — Inverse Functions
  1. Find the inverse of f(x) = (x + 4)/(2x − 1). Verify using composition.
  2. A one-to-one function f has domain [2, 8] and range [−3, 5]. State the domain and range of f⁻¹.
  3. The graph of f passes through (0, 0), (1, 2), and (3, 6). What three points are on the graph of f⁻¹? Describe how you would sketch it.
  4. Is f(x) = x² − 2x one-to-one on all real numbers? How do you know? What restriction would make it one-to-one?
Part F — Synthesis
  1. A function f is even. Explain why f cannot have an inverse function on its full natural domain. What must be true about f for an inverse to exist, and how can you achieve it?
  2. Let f(x) = ³√(x + 1) and g(x) = x³ − 1. Show that f and g are inverse functions by computing both compositions.
Bridge Note — Looking Ahead to Part II
Chapter 3: Angles, Circles, and Radian Measure

Chapter 2 ends Part I of this book. You have built a complete toolkit for working with functions: transformations, symmetry, operations, composition, and inverses. These are not isolated precalculus skills — they are the language of everything that follows.

In Part II — Trigonometric Foundations — each of these tools returns immediately and repeatedly. When you encounter y = 3 sin(2x − π) + 1 in Chapter 5, you will recognize it as a sine parent that has been vertically stretched, horizontally compressed, horizontally shifted, and vertically shifted — exactly the skills from Sections 2.5 and 2.6. The inverse trigonometric functions (arcsine, arccosine, arctangent) introduced in later chapters require the domain-restriction strategy from Section 2.11: restricting a non-one-to-one function to a domain where it becomes one-to-one. The even and odd function facts from Section 2.7 apply directly: cosine is even (cos(−x) = cos(x)) and sine is odd (sin(−x) = −sin(x)). Function composition appears throughout trigonometric identities, and decomposition instinct helps you choose which substitution to make.

The habits you built in this chapter — reading inside-to-outside, factoring before interpreting, always verifying — are the habits of a precise mathematical thinker. They will serve you in every chapter of this book and into calculus.

MGU Library Connection
  • Function Parent Graphs Reference — Appendix C of this textbook
  • Transformation Rules Reference — Appendix D of this textbook
  • Domain and Range Reference — Appendix E of this textbook
  • Trigonometry and Precalculus, Chapter 9: Exponential and Logarithmic Functions — the most important application of inverse functions in the book
  • MGU Calculus I, Chapter 3: Differentiation Rules — Chain Rule (requires composition and decomposition from Section 2.10)
  • MGU Dictionary entries: parent function, transformation, composition, inverse function, one-to-one