Grade by GradeEssential student suppliesSign in
C. Content · Pre-calculus 12: Transformations, Exponents and Logarithms, Series, Polynomials, Rational Functions and Trigonometry

Inverses and Combining Functions

BC PREC 12: transformationsAbout 75 minutes
Learning goals
  • I can find the equation of an inverse by switching x and y.
  • I can sketch an inverse as a reflection in the line y = x.
  • I can restrict a domain so that an inverse is a function.
  • I can add, subtract, multiply, divide and compose functions.

Words to know

inverse
The relation that undoes a function. It swaps the x- and y-coordinates of every point.
f^-1(x)
Notation for the inverse of f. The -1 is not an exponent: f^-1(x) is not 1/f(x).
horizontal line test
If a horizontal line can cross a graph more than once, the inverse of that graph is not a function.
composite function
A function made by putting one function inside another: f(g(x)) means do g first, then f.
restricted domain
A smaller set of x-values chosen so that a function passes the horizontal line test.

Undoing a function

One of the Big Ideas of Pre-calculus 12 is that inverses undo operations. If f takes 3 to 10, its inverse takes 10 back to 3. So every point (x, y) on f becomes (y, x) on the inverse.

To find an inverse equation:

  1. Write y = f(x).
  2. Switch x and y.
  3. Solve for y.

On a graph, switching x and y is a reflection in the line y = x.

Worked example

Example 1: A linear inverse

Find the inverse of f(x) = 3x - 6 and check it.

  1. y = 3x - 6. Switch: x = 3y - 6.
  2. x + 6 = 3y, so y = (x + 6)/3.
  3. Check: f(4) = 6, and f^-1(6) = (6 + 6)/3 = 4 ✓

f^-1(x) = (x + 6)/3

Worked example

Example 2: Restricting the domain

f(x) = (x - 2)^2 + 1 with x ≥ 2. Find f^-1(x) with its domain and range.

  1. Without the restriction, a horizontal line such as y = 5 would cross the parabola twice (at x = 0 and x = 4), so its inverse would not be a function. With x ≥ 2 we keep only the right half.
  2. Switch: x = (y - 2)^2 + 1, so (y - 2)^2 = x - 1 and y - 2 = ±√(x - 1).
  3. The inverse's range must be the original domain, y ≥ 2, so take the + sign: y = 2 + √(x - 1).
  4. Check: f(5) = 9 + 1 = 10 and f^-1(10) = 2 + √9 = 5 ✓

f^-1(x) = 2 + √(x - 1), domain x ≥ 1, range y ≥ 2

xy1234567812345678y = f(x)inversey = x
f(x) = (x - 2)^2 + 1 for x ≥ 2 (solid) and its inverse y = 2 + √(x - 1) (dashed) are mirror images in the line y = x. Each filled dot (2, 1), (3, 2), (4, 5) matches an open dot (1, 2), (2, 3), (5, 4).
On fOn f^-1Why
(2, 1)(1, 2)coordinates switched
domain x ≥ 2range y ≥ 2domain and range swap
range y ≥ 1domain x ≥ 1domain and range swap
passes horizontal line testinverse is a functionno y-value used twice
What an inverse switches.

Combining functions (an extension)

The curriculum also lets you go further and build new functions from old ones:

  • (f + g)(x) = f(x) + g(x) and (f - g)(x) = f(x) - g(x)
  • (fg)(x) = f(x) · g(x)
  • (f/g)(x) = f(x)/g(x), with g(x) ≠ 0
  • f(g(x)), the composite: work out g first, then put the result into f.

f and its inverse undo each other: f(f^-1(x)) = x. This is a clean way to prove two functions are inverses.

Worked example

Example 3: Operations and composition

f(x) = x^2 - 1 and g(x) = x + 3. Find (f + g)(x), (fg)(x), f(g(x)) and g(f(x)), then f(g(2)).

  1. (f + g)(x) = x^2 - 1 + x + 3 = x^2 + x + 2.
  2. (fg)(x) = (x^2 - 1)(x + 3) = x^3 + 3x^2 - x - 3.
  3. f(g(x)) = (x + 3)^2 - 1 = x^2 + 6x + 8.
  4. g(f(x)) = (x^2 - 1) + 3 = x^2 + 2. Order matters!
  5. f(g(2)) = f(5) = 25 - 1 = 24. Check with the formula: 4 + 12 + 8 = 24 ✓

x^2 + x + 2; x^3 + 3x^2 - x - 3; x^2 + 6x + 8; x^2 + 2; f(g(2)) = 24

Read f(g(x)) from the inside out

In f(g(x)), g acts first. Think of a travel day from Prince George to Victoria: drive to the airport (g), then fly (f). Swapping the order does not give the same trip, and f(g(x)) is usually not g(f(x)).

Hands-on activity

Tracing-paper inverses

Sketch any function on grid paper and draw the line y = x. Trace your graph and the line on tracing paper, then flip the paper over so the traced y = x lands back on the original y = x. The traced curve now shows the inverse. Use the horizontal line test on your original: is the inverse a function?

Just for fun

Puzzle: y = x is its own inverse, and so is y = 1/x (switch x and y and you get the same equation). Can you find a straight line, other than y = x, that is its own inverse? (One answer: y = -x + 5. Every line of the form y = -x + c works.)

Your turn

1

Find the inverse of f(x) = 2x + 5.

2

Find the inverse of f(x) = (x - 4)/3.

3

(-3, 7) is on the graph of f. Which point must be on the graph of f^-1?

4

Is the inverse of y = x^2 a function? Explain.

5

Find the inverse of y = x^3 + 1.

6

f(x) = 2x and g(x) = x - 5. Find f(g(x)) and g(f(x)).

More practice

1

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

2

f(x) = √x and g(x) = x - 4. Find f(g(x)) and its domain.

3

Write h(x) = (2x - 1)^2 as a composite f(g(x)).

4

Show that f(x) = (x + 6)/3 and g(x) = 3x - 6 are inverses.

5

What is the inverse of f(x) = 1/x?

Check your understanding

Quiz

1.

What is the inverse of f(x) = 4x - 8?

2.

The graph of an inverse is a reflection of the original in which line?

3.

f(x) = x + 2 and g(x) = x^2. What is f(g(3))?

4.

Which domain restriction lets y = (x + 1)^2 have an inverse that is a function?

5.

If f(6) = 2, what is f^-1(2)?

For parents and teachers

How to help: Ask your teen to check every inverse with one number: put a number into f, then put the answer into f^-1, and see if the original number comes back.

Common mistakes:

  • Reading f^-1(x) as 1/f(x).
  • Forgetting to restrict the domain of a quadratic before finding its inverse, or choosing the wrong sign of the square root.
  • Doing f(g(x)) in the wrong order (g goes first).
  • Forgetting the restriction g(x) ≠ 0 for (f/g)(x).