Fiveable

๐Ÿ“˜Intermediate Algebra Unit 10 Review

QR code for Intermediate Algebra practice questions

10.1 Finding Composite and Inverse Functions

10.1 Finding Composite and Inverse Functions

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿ“˜Intermediate Algebra
Unit & Topic Study Guides

Composite Functions

Construction of composite functions

A composite function is what you get when you feed the output of one function directly into another. The notation (fโˆ˜g)(x)(f \circ g)(x) means "apply gg first, then apply ff to the result." This order trips people up constantly, so pay close attention: the function closest to xx goes first.

To build a composite function algebraically:

  1. Start with the inner function g(x)g(x) and the outer function f(x)f(x).
  2. Wherever you see xx in the formula for ff, replace it with the entire expression for g(x)g(x).
  3. Simplify the result.

Example 1: If f(x)=x2f(x) = x^2 and g(x)=x+1g(x) = x + 1, then:

(fโˆ˜g)(x)=f(g(x))=f(x+1)=(x+1)2=x2+2x+1(f \circ g)(x) = f(g(x)) = f(x + 1) = (x + 1)^2 = x^2 + 2x + 1

Example 2: If f(x)=2xโˆ’1f(x) = 2x - 1 and g(x)=3x+2g(x) = 3x + 2, then:

(fโˆ˜g)(x)=f(g(x))=2(3x+2)โˆ’1=6x+4โˆ’1=6x+3(f \circ g)(x) = f(g(x)) = 2(3x + 2) - 1 = 6x + 4 - 1 = 6x + 3

Notice that (fโˆ˜g)(x)(f \circ g)(x) and (gโˆ˜f)(x)(g \circ f)(x) are usually not the same thing. Using Example 2, (gโˆ˜f)(x)=g(f(x))=3(2xโˆ’1)+2=6xโˆ’1(g \circ f)(x) = g(f(x)) = 3(2x - 1) + 2 = 6x - 1. Different result. Order matters.

You can also evaluate composites graphically by tracing values through two graphs:

  1. Start at xx on the horizontal axis and read up to the graph of gg to find g(x)g(x).
  2. Take that g(x)g(x) value and use it as the input on the horizontal axis for ff.
  3. Read up to the graph of ff to find f(g(x))f(g(x)).

This is useful for reading composite values off a graph when you don't have formulas.

Inverse Functions

Construction of composite functions, Evaluate composite functions | College Algebra

Identification of one-to-one functions

Before a function can have an inverse, it must be one-to-one: every output comes from exactly one input. If two different inputs ever produce the same output, the function isn't one-to-one, and you can't reverse it unambiguously.

The quick visual check is the horizontal line test. Draw (or imagine) horizontal lines across the graph. If every horizontal line hits the graph at most once, the function is one-to-one.

  • f(x)=x3f(x) = x^3 passes the horizontal line test, so it's one-to-one.
  • f(x)=x2f(x) = x^2 fails because, for example, both x=3x = 3 and x=โˆ’3x = -3 give the output 9.

Only one-to-one functions have inverses. When a function isn't one-to-one, you can sometimes restrict its domain to make it one-to-one (this is exactly what's done with f(x)=x2f(x) = x^2 when we restrict to xโ‰ฅ0x \geq 0).

Determination of inverse functions

An inverse function fโˆ’1(x)f^{-1}(x) reverses what the original function does. If f(a)=bf(a) = b, then fโˆ’1(b)=af^{-1}(b) = a. The notation fโˆ’1f^{-1} does not mean 1f\frac{1}{f}; it means the function that undoes ff.

Algebraic method for finding an inverse:

  1. Replace f(x)f(x) with yy: write y=f(x)y = f(x).
  2. Swap xx and yy in the equation.
  3. Solve the new equation for yy.
  4. Replace yy with fโˆ’1(x)f^{-1}(x).

Example: Find the inverse of f(x)=2x+1f(x) = 2x + 1.

  1. y=2x+1y = 2x + 1

  2. x=2y+1x = 2y + 1

  3. xโˆ’1=2yx - 1 = 2y, so y=xโˆ’12y = \frac{x - 1}{2}

  4. fโˆ’1(x)=xโˆ’12f^{-1}(x) = \frac{x - 1}{2}

You can verify by checking that f(fโˆ’1(x))=xf(f^{-1}(x)) = x and fโˆ’1(f(x))=xf^{-1}(f(x)) = x. This composition check is the definitive test for whether two functions are truly inverses.

Graphical method: The graph of fโˆ’1f^{-1} is the reflection of the graph of ff across the line y=xy = x. Every point (a,b)(a, b) on the graph of ff becomes (b,a)(b, a) on the graph of fโˆ’1f^{-1}.

Construction of composite functions, Compositions of Functions | College Algebra

Domain and range of inverse functions

The domain and range swap between a function and its inverse:

  • The domain of fโˆ’1f^{-1} equals the range of ff.
  • The range of fโˆ’1f^{-1} equals the domain of ff.

Example: f(x)=xf(x) = \sqrt{x} has domain xโ‰ฅ0x \geq 0 and range yโ‰ฅ0y \geq 0. Its inverse is fโˆ’1(x)=x2f^{-1}(x) = x^2, but only for xโ‰ฅ0x \geq 0 (the domain of fโˆ’1f^{-1} is restricted to match the range of ff). Without that restriction, x2x^2 isn't one-to-one and wouldn't truly be an inverse.

Function Notation and Transformations

Function notation like f(x)=expressionf(x) = \text{expression} gives you a compact way to name a function and communicate exactly what it does to an input. When you see f(3)f(3), it means "plug 3 in for xx."

This notation also makes it easy to describe transformations of graphs:

  • Vertical shift: f(x)+kf(x) + k shifts the graph up by kk units (down if kk is negative).
  • Horizontal shift: f(xโˆ’h)f(x - h) shifts the graph right by hh units (left if hh is negative).
  • Vertical stretch/compression: aโ‹…f(x)a \cdot f(x) stretches the graph vertically by a factor of aa (compresses if 0<a<10 < a < 1).
  • Reflection: โˆ’f(x)-f(x) reflects across the xx-axis; f(โˆ’x)f(-x) reflects across the yy-axis.

These transformations connect directly to composites and inverses. For instance, reflecting f(x)f(x) across the line y=xy = x is exactly how you graph fโˆ’1(x)f^{-1}(x).