Skip to content

Composite and Inverse Functions

Combining functions through composition and finding inverse functions

Written and reviewed by the Study Mondo Education TeamLast updated
🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

Learn step-by-step with practice exercises built right in.

Start Interactive Lesson →

Composite and Inverse Functions

Function Composition

Definition: (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

This means "apply gg first, then apply ff to the result."

Key Points

  • Order matters! (f∘g)(x)≠(g∘f)(x)(f \circ g)(x) \neq (g \circ f)(x) in general
  • Domain of f∘gf \circ g: all xx in domain of gg where g(x)g(x) is in domain of ff
  • Read right to left: f∘gf \circ g means "g then f"

Example

If f(x)=2x+1f(x) = 2x + 1 and g(x)=x2g(x) = x^2:

  • (f∘g)(x)=f(g(x))=f(x2)=2x2+1(f \circ g)(x) = f(g(x)) = f(x^2) = 2x^2 + 1
  • (g∘f)(x)=g(f(x))=g(2x+1)=(2x+1)2=4x2+4x+1(g \circ f)(x) = g(f(x)) = g(2x + 1) = (2x + 1)^2 = 4x^2 + 4x + 1

Inverse Functions

Definition: f−1f^{-1} is the inverse of ff if:

  • f(f−1(x))=xf(f^{-1}(x)) = x for all xx in domain of f−1f^{-1}
  • f−1(f(x))=xf^{-1}(f(x)) = x for all xx in domain of ff

One-to-One Requirement

A function must be one-to-one (injective) to have an inverse.

Horizontal Line Test: A function is one-to-one if no horizontal line intersects the graph more than once.

Finding Inverse Functions

  1. Replace f(x)f(x) with yy
  2. Swap xx and yy
  3. Solve for yy
  4. Replace yy with f−1(x)f^{-1}(x)
  5. Verify: Check that f(f−1(x))=xf(f^{-1}(x)) = x and f−1(f(x))=xf^{-1}(f(x)) = x

Properties of Inverse Functions

  • Domain of ff = Range of f−1f^{-1}
  • Range of ff = Domain of f−1f^{-1}
  • Graphs of ff and f−1f^{-1} are reflections across the line y=xy = x
  • If (a,b)(a, b) is on the graph of ff, then (b,a)(b, a) is on the graph of f−1f^{-1}

📚 Practice Problems

1Problem 1easy

❓ Question:

If f(x)=2x−3f(x) = 2x - 3 and g(x)=x2+1g(x) = x^2 + 1, find (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x).

💡 Show Solution

Find (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)):

Start with g(x)=x2+1g(x) = x^2 + 1

Then apply ff: f(g(x))=f(x2+1)f(g(x)) = f(x^2 + 1) =2(x2+1)−3= 2(x^2 + 1) - 3 =2x2+2−3= 2x^2 + 2 - 3 =2x2−1= 2x^2 - 1

Find (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)):

Start with f(x)=2x−3f(x) = 2x - 3

Then apply gg: g(f(x))=g(2x−3)g(f(x)) = g(2x - 3) =(2x−3)2+1= (2x - 3)^2 + 1 =4x2−12x+9+1= 4x^2 - 12x + 9 + 1 =4x2−12x+10= 4x^2 - 12x + 10

Answer:

  • (f∘g)(x)=2x2−1(f \circ g)(x) = 2x^2 - 1
  • (g∘f)(x)=4x2−12x+10(g \circ f)(x) = 4x^2 - 12x + 10

Note: They are different! Composition is not commutative.

2Problem 2medium

❓ Question:

Given f(x)=2x+3f(x) = 2x + 3 and g(x)=x2−1g(x) = x^2 - 1:

a) Find (f∘g)(x)(f \circ g)(x) b) Find (g∘f)(x)(g \circ f)(x) c) Find (f∘g)(2)(f \circ g)(2)

💡 Show Solution

Solution:

Part (a): (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Substitute g(x)g(x) into ff:

f(g(x))=f(x2−1)=2(x2−1)+3=2x2−2+3=2x2+1f(g(x)) = f(x^2 - 1) = 2(x^2 - 1) + 3 = 2x^2 - 2 + 3 = 2x^2 + 1

Part (b): (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x))

Substitute f(x)f(x) into gg:

g(f(x))=g(2x+3)=(2x+3)2−1g(f(x)) = g(2x + 3) = (2x + 3)^2 - 1

=4x2+12x+9−1=4x2+12x+8= 4x^2 + 12x + 9 - 1 = 4x^2 + 12x + 8

Part (c): (f∘g)(2)=2(2)2+1=2(4)+1=9(f \circ g)(2) = 2(2)^2 + 1 = 2(4) + 1 = 9

Alternatively: g(2)=22−1=3g(2) = 2^2 - 1 = 3, then f(3)=2(3)+3=9f(3) = 2(3) + 3 = 9 ✓

3Problem 3medium

❓ Question:

Find the inverse function of f(x)=2x+1x−3f(x) = \frac{2x + 1}{x - 3}. State the domain and range of both ff and f−1f^{-1}.

💡 Show Solution

Find the inverse:

Step 1: Replace f(x)f(x) with yy: y=2x+1x−3y = \frac{2x + 1}{x - 3}

Step 2: Swap xx and yy: x=2y+1y−3x = \frac{2y + 1}{y - 3}

Step 3: Solve for yy: x(y−3)=2y+1x(y - 3) = 2y + 1 xy−3x=2y+1xy - 3x = 2y + 1 xy−2y=3x+1xy - 2y = 3x + 1 y(x−2)=3x+1y(x - 2) = 3x + 1 y=3x+1x−2y = \frac{3x + 1}{x - 2}

Step 4: Write as f−1(x)f^{-1}(x): f−1(x)=3x+1x−2f^{-1}(x) = \frac{3x + 1}{x - 2}

Domains and Ranges:

For f(x)=2x+1x−3f(x) = \frac{2x + 1}{x - 3}:

  • Domain: x≠3x \neq 3, or (−∞,3)∪(3,∞)(-\infty, 3) \cup (3, \infty)
  • Range: y≠2y \neq 2 (horizontal asymptote), or (−∞,2)∪(2,∞)(-\infty, 2) \cup (2, \infty)

For f−1(x)=3x+1x−2f^{-1}(x) = \frac{3x + 1}{x - 2}:

  • Domain: x≠2x \neq 2 (which equals the range of ff) ✓
  • Range: y≠3y \neq 3 (which equals the domain of ff) ✓

4Problem 4medium

❓ Question:

Find the inverse function of f(x)=3x−2x+1f(x) = \frac{3x - 2}{x + 1}.

Verify that f(f−1(x))=xf(f^{-1}(x)) = x.

💡 Show Solution

Solution:

Let y=f(x)=3x−2x+1y = f(x) = \frac{3x - 2}{x + 1}

To find the inverse, swap xx and yy, then solve for yy:

x=3y−2y+1x = \frac{3y - 2}{y + 1}

x(y+1)=3y−2x(y + 1) = 3y - 2

xy+x=3y−2xy + x = 3y - 2

xy−3y=−x−2xy - 3y = -x - 2

y(x−3)=−x−2y(x - 3) = -x - 2

y=−x−2x−3=−(x+2)x−3y = \frac{-x - 2}{x - 3} = \frac{-(x + 2)}{x - 3}

Therefore: f−1(x)=−x−2x−3f^{-1}(x) = \frac{-x - 2}{x - 3} or −(x+2)x−3\frac{-(x+2)}{x-3}

Verification: f(f−1(x))=f(−x−2x−3)f(f^{-1}(x)) = f\left(\frac{-x-2}{x-3}\right)

=3(−x−2x−3)−2−x−2x−3+1= \frac{3\left(\frac{-x-2}{x-3}\right) - 2}{\frac{-x-2}{x-3} + 1}

=−3x−6x−3−2−x−2x−3+1= \frac{\frac{-3x-6}{x-3} - 2}{\frac{-x-2}{x-3} + 1}

=−3x−6−2(x−3)x−3−x−2+(x−3)x−3= \frac{\frac{-3x-6-2(x-3)}{x-3}}{\frac{-x-2+(x-3)}{x-3}}

=−3x−6−2x+6−x−2+x−3= \frac{-3x-6-2x+6}{-x-2+x-3}

=−5x−5=x= \frac{-5x}{-5} = x ✓

5Problem 5hard

❓ Question:

Given f(x)=x2−4x+3f(x) = x^2 - 4x + 3 for x≥2x \geq 2, find f−1(x)f^{-1}(x) and determine f−1(8)f^{-1}(8).

💡 Show Solution

Note: The domain restriction x≥2x \geq 2 makes ff one-to-one (right half of parabola).

Complete the square first: f(x)=x2−4x+3=(x−2)2−4+3=(x−2)2−1f(x) = x^2 - 4x + 3 = (x - 2)^2 - 4 + 3 = (x - 2)^2 - 1

With domain x≥2x \geq 2, the range is y≥−1y \geq -1.

Find the inverse:

Start with y=(x−2)2−1y = (x - 2)^2 - 1

Swap variables: x=(y−2)2−1x = (y - 2)^2 - 1

Solve for yy: x+1=(y−2)2x + 1 = (y - 2)^2 ±x+1=y−2\pm\sqrt{x + 1} = y - 2 y=2±x+1y = 2 \pm \sqrt{x + 1}

Since original domain is x≥2x \geq 2, the range is y≥2y \geq 2, so we need the positive square root: f−1(x)=2+x+1f^{-1}(x) = 2 + \sqrt{x + 1}

Domain of f−1f^{-1}: x≥−1x \geq -1 (the range of ff)

Find f−1(8)f^{-1}(8): f−1(8)=2+8+1=2+9=2+3=5f^{-1}(8) = 2 + \sqrt{8 + 1} = 2 + \sqrt{9} = 2 + 3 = 5

Verify: f(5)=52−4(5)+3=25−20+3=8f(5) = 5^2 - 4(5) + 3 = 25 - 20 + 3 = 8 ✓

Answer: f−1(x)=2+x+1f^{-1}(x) = 2 + \sqrt{x + 1} for x≥−1x \geq -1, and f−1(8)=5f^{-1}(8) = 5

Explain using:

⚠️ Common Mistakes: Composite and Inverse Functions

Avoid these 4 frequent errors

🌍 Real-World Applications: Composite and Inverse Functions

See how this math is used in the real world

📝 Worked Example: Related Rates — Expanding Circle

Problem:

A stone is dropped into a still pond, creating a circular ripple. The radius of the ripple is increasing at a rate of 22 cm/s. How fast is the area of the circle increasing when the radius is 1010 cm?

2Write the relationship between variables
3Differentiate both sides with respect to time
4Substitute known values

📌 Related Topics in Function Fundamentals

❓ Frequently Asked Questions

What is Composite and Inverse Functions?▾
Combining functions through composition and finding inverse functions
How can I study Composite and Inverse Functions effectively?▾
Start by reading the study notes and working through the examples on this page. Then use the flashcards to test your recall. Practice with the 5 problems provided, checking solutions as you go. Regular review and active practice are key to retention.
Is this Composite and Inverse Functions study guide free?▾
Yes — all study notes, flashcards, and practice problems for Composite and Inverse Functions on Study Mondo are free to access. No account is needed.
What course covers Composite and Inverse Functions?▾
Composite and Inverse Functions is part of the AP Precalculus course on Study Mondo, specifically in the Function Fundamentals section. You can explore the full course for more related topics and practice resources.
Are there practice problems for Composite and Inverse Functions?▾
Yes, this page includes 5 practice problems with detailed solutions. Each problem includes a step-by-step explanation to help you understand the approach.