Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →
A colleague sent you $30 off Fiveable. Get the annual plan for $99 →

10.1 Finding Composite and Inverse Functions

Updated March 2026Fiveable Content Team
Fiveable

📘Intermediate Algebra Unit 10 Review

QR code for Intermediate Algebra practice questions

10.1 Finding Composite and Inverse Functions

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).

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google