PracticeVideosBlogFlashcards

6.4 Function Composition, Invertibility & Inverse Functions

Key Takeaways

  • Function composition (f o g)(x) = f(g(x)) evaluates the inner function g(x) first and passes the output to the outer function f; composition is generally non-commutative (f o g != g o f).

  • The domain of a composite function (f o g)(x) is the restricted set of all x in the domain of g such that g(x) belongs to the domain of f: Dom(f o g) = {x in Dom(g) | g(x) in Dom(f)}.

  • A function f possesses an inverse function f^(-1) if and only if f is bijective (one-to-one and onto), which can be verified graphically via the horizontal line test.

  • Non-injective functions can be rendered invertible by restricting their domain to a monotonic interval, such as restricting quadratic functions to one side of their vertex axis of symmetry.

  • The graphs of f and f^(-1) are reflections of each other across the identity line y = x, with domain and range swapped: Dom(f^(-1)) = Ran(f) and Ran(f^(-1)) = Dom(f).

Last updated: September 2026

6.4 Function Composition, Invertibility & Inverse Functions

1. The Algebra of Function Composition

Function composition is the operational process of combining two functions by using the output of one function as the input of another. Formally, given two functions g:X→Yg: X \to Y and f:Y→Zf: Y \to Z, the composite function f∘gf \circ g (read "ff composed with gg" or "ff of gg") is defined by:

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

In this operational pipeline, the independent variable xx is processed first by the inner function gg, generating an intermediate value g(x)g(x). This intermediate output is then processed by the outer function ff to produce the final output f(g(x))f(g(x)).

Function composition possesses distinct algebraic properties that secondary educators must emphasize:

  1. Non-Commutativity: Function composition is generally not commutative: (f∘g)(x)≠(g∘f)(x)(f \circ g)(x) \neq (g \circ f)(x) For example, let f(x)=2x+5f(x) = 2x + 5 and g(x)=x2g(x) = x^2. Then: (f∘g)(x)=f(g(x))=f(x2)=2x2+5(f \circ g)(x) = f(g(x)) = f(x^2) = 2x^2 + 5 (g∘f)(x)=g(f(x))=g(2x+5)=(2x+5)2=4x2+20x+25(g \circ f)(x) = g(f(x)) = g(2x + 5) = (2x + 5)^2 = 4x^2 + 20x + 25 The two resulting expressions are manifestly unequal for almost all real numbers xx.
  2. Associativity: Function composition is associative whenever the respective compositions are defined: [f∘(g∘h)](x)=[(f∘g)∘h](x)[f \circ (g \circ h)](x) = [(f \circ g) \circ h](x)
  3. Identity Element: The identity function I(x)=xI(x) = x serves as the identity element under composition: (f∘I)(x)=(I∘f)(x)=f(x)(f \circ I)(x) = (I \circ f)(x) = f(x).

2. Rigorous Determination of Composite Function Domains

The domain of a composite function is one of the most frequently miscalculated concepts on the FTCE examination. A common student error is simplifying the composite algebraic expression first and determining the domain solely from the resulting formula. This practice frequently overlooks hidden domain restrictions imposed by the inner function.

Formally, the domain of (f∘g)(x)(f \circ g)(x) is the set of all inputs xx in the domain of gg whose corresponding outputs g(x)g(x) belong to the domain of ff:

dom⁡(f∘g)={x∈dom⁡(g)∣g(x)∈dom⁡(f)}\operatorname{dom}(f \circ g) = \{x \in \operatorname{dom}(g) \mid g(x) \in \operatorname{dom}(f)\}

Systematic Two-Tiered Domain Protocol

To determine dom⁡(f∘g)\operatorname{dom}(f \circ g):

  • Condition 1 (Inner Domain): Find the natural domain of g(x)g(x). The input xx must satisfy x∈dom⁡(g)x \in \operatorname{dom}(g).
  • Condition 2 (Outer Compatibility): Determine what inputs are permissible for ff. If u∈dom⁡(f)u \in \operatorname{dom}(f) requires u∈Su \in S, then enforce the inequality or restriction g(x)∈Sg(x) \in S. Solve this constraint for xx.
  • Condition 3 (Set Intersection): The final domain is the intersection of the solutions from Condition 1 and Condition 2: dom⁡(f∘g)=Condition 1∩Condition 2\operatorname{dom}(f \circ g) = \text{Condition 1} \cap \text{Condition 2}

Worked Composite Domain Exemplar

Let f(x)=3x−5f(x) = \frac{3}{x - 5} and g(x)=2x+1x−2g(x) = \frac{2x + 1}{x - 2}. Find the natural domain of (f∘g)(x)(f \circ g)(x).

Step 1: Inner function restriction. The inner function is g(x)=2x+1x−2g(x) = \frac{2x + 1}{x - 2}. The denominator cannot equal zero:

x−2≠0  ⟹  x≠2x - 2 \neq 0 \implies x \neq 2

Thus, dom⁡(g)={x∈R∣x≠2}\operatorname{dom}(g) = \{x \in \mathbb{R} \mid x \neq 2\}.

Step 2: Outer function restriction on the inner output. The outer function is f(u)=3u−5f(u) = \frac{3}{u - 5}. The outer domain requires that its input cannot equal 55: u≠5u \neq 5. Therefore, the output of g(x)g(x) cannot equal 55:

g(x)≠5  ⟹  2x+1x−2≠5g(x) \neq 5 \implies \frac{2x + 1}{x - 2} \neq 5

Solve the boundary equation 2x+1x−2=5\frac{2x + 1}{x - 2} = 5:

2x+1=5(x−2)  ⟹  2x+1=5x−10  ⟹  11=3x  ⟹  x=1132x + 1 = 5(x - 2) \implies 2x + 1 = 5x - 10 \implies 11 = 3x \implies x = \frac{11}{3}

Thus, x≠113x \neq \frac{11}{3}.

Step 3: Intersect the domain conditions. Combining both conditions, xx must not equal 22 and xx must not equal 113\frac{11}{3}:

dom⁡(f∘g)=(−∞,2)∪(2,113)∪(113,∞)\operatorname{dom}(f \circ g) = \left(-\infty, 2\right) \cup \left(2, \frac{11}{3}\right) \cup \left(\frac{11}{3}, \infty\right)

Caution

If a candidate simplifies (f∘g)(x)(f \circ g)(x) algebraically before finding the domain: (f∘g)(x)=32x+1x−2−5=3(x−2)(2x+1)−5(x−2)=3x−6−3x+11(f \circ g)(x) = \frac{3}{\frac{2x + 1}{x - 2} - 5} = \frac{3(x - 2)}{(2x + 1) - 5(x - 2)} = \frac{3x - 6}{-3x + 11} Looking only at the simplified denominator −3x+11≠0  ⟹  x≠11/3-3x + 11 \neq 0 \implies x \neq 11/3, the candidate would completely fail to exclude x=2x = 2. At x=2x = 2, g(2)g(2) is undefined, so the pipeline breaks at the very first step!


3. Invertibility, Injectivity & Domain Restrictions

An inverse function reverses the action of the original function. If ff maps an input xx to an output yy, then its inverse f−1f^{-1} maps yy back to xx.

The Bijectivity Requirement & Horizontal Line Test (HLT)

A function f:X→Yf: X \to Y possesses an inverse function f−1:Y→Xf^{-1}: Y \to X if and only if ff is a bijection:

  1. Injective (One-to-One): Every distinct input produces a distinct output: x1≠x2  ⟹  f(x1)≠f(x2),or equivalentlyf(x1)=f(x2)  ⟹  x1=x2x_1 \neq x_2 \implies f(x_1) \neq f(x_2), \quad \text{or equivalently} \quad f(x_1) = f(x_2) \implies x_1 = x_2
  2. Surjective (Onto): Every element in the codomain YY is realized as an output for some x∈Xx \in X: ran⁡(f)=Y\operatorname{ran}(f) = Y.

Geometrically, a function graphed on the Cartesian plane is one-to-one if and only if it passes the Horizontal Line Test (HLT): every horizontal line y=cy = c intersects the graph at most once. If any horizontal line intersects the graph at two or more points, multiple domain inputs produce the identical output value cc, which means reversing the mapping would yield multiple outputs for a single input, violating the vertical line test for f−1f^{-1}.

Restricting Domains to Create Invertible Branches

Many fundamental parent functions (such as quadratics, even polynomials, absolute value, and trigonometric functions) fail the Horizontal Line Test over their full natural domains. To define an inverse function, secondary mathematicians restrict the domain to a subset where the function is strictly monotonic (strictly increasing or strictly decreasing), thereby making it one-to-one while preserving the entire range.

  • The Quadratic Parent f(x)=x2f(x) = x^2: Fails HLT on (−∞,∞)(-\infty, \infty) because f(−2)=f(2)=4f(-2) = f(2) = 4. By restricting the domain to [0,∞)[0, \infty), the function becomes strictly increasing and one-to-one, yielding the well-known inverse f−1(x)=xf^{-1}(x) = \sqrt{x} on [0,∞)[0, \infty). Alternatively, restricting the domain to (−∞,0](-\infty, 0] yields the negative branch inverse f−1(x)=−xf^{-1}(x) = -\sqrt{x}.
  • General Quadratic Vertex Rule: For any parabola f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, the axis of symmetry is x=hx = h. Restricting the domain to [h,∞)[h, \infty) or (−∞,h](-\infty, h] isolates a one-to-one branch that admits an inverse.

4. Algebraic Construction and Properties of Inverse Functions

The inverse function is denoted by f−1(x)f^{-1}(x).

Warning

Secondary teachers must explicitly warn students that the superscript −1-1 in f−1(x)f^{-1}(x) denotes functional inverse, NOT a numerical exponent: f−1(x)≠1f(x)=[f(x)]−1f^{-1}(x) \neq \frac{1}{f(x)} = [f(x)]^{-1} The expression 1f(x)\frac{1}{f(x)} is the multiplicative reciprocal, whereas f−1(x)f^{-1}(x) undoes the operation of ff.

Fundamental Cancellation Properties

A function ff and its inverse f−1f^{-1} satisfy the Inverse Function Composition Identities:

f(f−1(x))=xfor all x∈dom⁡(f−1)=ran⁡(f)f(f^{-1}(x)) = x \quad \text{for all } x \in \operatorname{dom}(f^{-1}) = \operatorname{ran}(f) f−1(f(x))=xfor all x∈dom⁡(f)f^{-1}(f(x)) = x \quad \text{for all } x \in \operatorname{dom}(f)

To prove algebraically that two candidate functions ff and gg are inverses of each other, one must verify that both (f∘g)(x)=x(f \circ g)(x) = x and (g∘f)(x)=x(g \circ f)(x) = x.

Domain-Range Duality & Geometric Reflection across y=xy = x

Because the inverse function interchanges the roles of independent and dependent variables:

dom⁡(f−1)=ran⁡(f)andran⁡(f−1)=dom⁡(f)\operatorname{dom}(f^{-1}) = \operatorname{ran}(f) \quad \text{and} \quad \operatorname{ran}(f^{-1}) = \operatorname{dom}(f)

If (a,b)(a, b) is a point on the graph of y=f(x)y = f(x), then (b,a)(b, a) is the corresponding point on the graph of y=f−1(x)y = f^{-1}(x). Geometrically, the graph of f−1f^{-1} is the reflection of the graph of ff across the diagonal identity line y=xy = x.

Systematic Algebraic Inversion Algorithm

To derive the algebraic formula for f−1(x)f^{-1}(x):

  1. Set y=f(x)y = f(x).
  2. Interchange the variable symbols xx and yy (reflecting the coordinates across y=xy = x).
  3. Solve the resulting equation explicitly for yy in terms of xx.
  4. Replace yy with f−1(x)f^{-1}(x) and state any domain restrictions inherited from ran⁡(f)\operatorname{ran}(f).

Worked Linear Fractional (Möbius) Inversion

Find the inverse function of f(x)=4x−32x+5f(x) = \frac{4x - 3}{2x + 5}. State its domain and range.

Step 1: Determine domain and range of ff.

  • Domain of ff: 2x+5≠0  ⟹  x≠−5/22x + 5 \neq 0 \implies x \neq -5/2.
  • Range of ff: The horizontal asymptote is the ratio of leading coefficients: y=42=2y = \frac{4}{2} = 2. Thus, ran⁡(f)={y∈R∣y≠2}\operatorname{ran}(f) = \{y \in \mathbb{R} \mid y \neq 2\}.

Step 2: Swap variables and solve for yy.

x=4y−32y+5x = \frac{4y - 3}{2y + 5}

Multiply both sides by (2y+5)(2y + 5):

x(2y+5)=4y−3  ⟹  2xy+5x=4y−3x(2y + 5) = 4y - 3 \implies 2xy + 5x = 4y - 3

Collect all terms containing yy on one side and terms without yy on the opposite side:

2xy−4y=−5x−32xy - 4y = -5x - 3

Factor out yy:

y(2x−4)=−(5x+3)y(2x - 4) = -(5x + 3)

Divide by (2x−4)(2x - 4):

y=−5x−32x−4=5x+34−2xy = \frac{-5x - 3}{2x - 4} = \frac{5x + 3}{4 - 2x}

Step 3: State the inverse function and verify duality.

f−1(x)=5x+34−2x,x≠2f^{-1}(x) = \frac{5x + 3}{4 - 2x}, \quad x \neq 2

Notice that dom⁡(f−1)={x∈R∣x≠2}\operatorname{dom}(f^{-1}) = \{x \in \mathbb{R} \mid x \neq 2\}, which matches ran⁡(f)\operatorname{ran}(f) perfectly! Furthermore, the horizontal asymptote of f−1(x)f^{-1}(x) is 5−2=−52\frac{5}{-2} = -\frac{5}{2}, meaning ran⁡(f−1)={y∈R∣y≠−5/2}\operatorname{ran}(f^{-1}) = \{y \in \mathbb{R} \mid y \neq -5/2\}, which matches dom⁡(f)\operatorname{dom}(f)!

Test Your Knowledge

Given the functions f(x) = 4 / (x - 3) and g(x) = 2x / (x + 5), what is the natural domain of the composite function (f o g)(x)?

A

(-inf, 3) U (3, inf)

B

(-inf, -5) U (-5, inf)

C

(-inf, -5) U (-5, 3) U (3, inf)

D

(-inf, -15) U (-15, -5) U (-5, inf)

Test Your Knowledge

What is the inverse function f^(-1)(x) of the rational function f(x) = (3x + 2) / (5x - 4), where x != 4/5, and what is the domain of f^(-1)(x)?

A

f^(-1)(x) = (5x - 4) / (3x + 2) with domain {x in R | x != -2/3}

B

f^(-1)(x) = (4x + 2) / (5x - 3) with domain {x in R | x != 3/5}

C

f^(-1)(x) = (4x - 2) / (5x + 3) with domain {x in R | x != -3/5}

D

f^(-1)(x) = (3x - 2) / (5x + 4) with domain {x in R | x != -4/5}

Test Your Knowledge

The quadratic function f(x) = 2(x - 4)^2 + 3 is not one-to-one over the entire set of real numbers. Which restricted domain creates an invertible function, and what is the corresponding formula for f^(-1)(x)?

A

Restricted domain (-inf, inf); inverse f^(-1)(x) = +-sqrt((x - 3)/2) + 4

B

Restricted domain [3, inf); inverse f^(-1)(x) = sqrt((x - 4)/2) + 3

C

Restricted domain [4, inf); inverse f^(-1)(x) = sqrt((x - 3)/2) + 4

D

Restricted domain [0, inf); inverse f^(-1)(x) = 0.5*sqrt(x - 3) + 4

Test Your Knowledge

Which of the following statements rigorously characterizes the relationship between an invertible function f and its inverse f^(-1)?

A

The composite identities f(f^(-1)(x)) = x and f^(-1)(f(x)) = x hold for all x in their respective domains, and the graph of f^(-1) is the reflection of the graph of f across the identity line y = x

B

The graph of f^(-1) is the reflection of the graph of f across the x-axis, and the product f(x) * f^(-1)(x) = 1 for all non-zero values of x

C

An inverse function exists if and only if f passes the vertical line test, with Dom(f^(-1)) = Dom(f) and Ran(f^(-1)) = Ran(f)

D

If a function f is strictly decreasing on its entire domain, it fails the horizontal line test and cannot possess an inverse function

Sections you finish are checked off in the contents.