πŸš€ 50 free questions/month

Functions - Composite and inverse functions (HL)

Grade 12IB_AI

πŸ”‘Concepts

β€’

A composite function (f∘g)(x)(f \circ g)(x) is formed when the output of one function g(x)g(x) becomes the input for another function f(x)f(x). The domain of the composite function is restricted to values of xx in the domain of gg such that g(x)g(x) is in the domain of ff.

β€’

The inverse function fβˆ’1(x)f^{-1}(x) 'reverses' the action of f(x)f(x). A function has an inverse if and only if it is a one-to-one (injective) function. Graphically, the graph of y=fβˆ’1(x)y = f^{-1}(x) is a reflection of y=f(x)y = f(x) in the line y=xy = x.

Graph showing f(x) and its inverse reflected across the line y=x.
β€’

The domain of ff is equal to the range of fβˆ’1f^{-1}, and the range of ff is equal to the domain of fβˆ’1f^{-1}. This relationship is fundamental for identifying the valid inputs and outputs for inverse operations.

β€’

To find fβˆ’1(x)f^{-1}(x) algebraically, swap the variables xx and yy in the equation y=f(x)y = f(x) and solve for yy.

πŸ“Formulae

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

f(fβˆ’1(x))=xf(f^{-1}(x)) = x

fβˆ’1(f(x))=xf^{-1}(f(x)) = x

y=f(x)β€…β€ŠβŸΊβ€…β€Šx=fβˆ’1(y)y = f(x) \iff x = f^{-1}(y)

πŸ’‘Examples

Problem 1:

Given f(x)=2x+5f(x) = 2x + 5 and g(x)=x2βˆ’3g(x) = x^2 - 3, find the composite function (g∘f)(x)(g \circ f)(x) and evaluate (g∘f)(1)(g \circ f)(1).

Solution:

(g∘f)(x)=g(f(x))=g(2x+5)(g \circ f)(x) = g(f(x)) = g(2x + 5) (g∘f)(x)=(2x+5)2βˆ’3(g \circ f)(x) = (2x + 5)^2 - 3 (g∘f)(x)=4x2+20x+25βˆ’3=4x2+20x+22(g \circ f)(x) = 4x^2 + 20x + 25 - 3 = 4x^2 + 20x + 22 To evaluate at x=1x = 1: (g∘f)(1)=4(1)2+20(1)+22=4+20+22=46(g \circ f)(1) = 4(1)^2 + 20(1) + 22 = 4 + 20 + 22 = 46

Explanation:

To find the composite function g(f(x))g(f(x)), substitute the entire expression for f(x)f(x) into every xx in the function g(x)g(x). Then simplify the resulting expression.

Problem 2:

Find the inverse function fβˆ’1(x)f^{-1}(x) for the function f(x)=3xβˆ’1x+2f(x) = \frac{3x - 1}{x + 2}, where xβ‰ βˆ’2x \neq -2.

Solution:

  1. Let y=3xβˆ’1x+2y = \frac{3x - 1}{x + 2}
  2. Swap xx and yy: x=3yβˆ’1y+2x = \frac{3y - 1}{y + 2}
  3. Multiply by (y+2)(y + 2): x(y+2)=3yβˆ’1x(y + 2) = 3y - 1 xy+2x=3yβˆ’1xy + 2x = 3y - 1
  4. Rearrange to isolate yy: xyβˆ’3y=βˆ’2xβˆ’1xy - 3y = -2x - 1 y(xβˆ’3)=βˆ’(2x+1)y(x - 3) = -(2x + 1) y=βˆ’(2x+1)xβˆ’3=2x+13βˆ’xy = \frac{-(2x + 1)}{x - 3} = \frac{2x + 1}{3 - x}
  5. Therefore, fβˆ’1(x)=2x+13βˆ’xf^{-1}(x) = \frac{2x + 1}{3 - x}, xβ‰ 3x \neq 3.

Explanation:

To find the inverse algebraically, replace f(x)f(x) with yy, interchange xx and yy, and then solve the resulting equation for yy in terms of xx.

Problem 3:

A function h(x)h(x) has a domain D={x∈R:xβ‰₯0}D = \{x \in \mathbb{R} : x \geq 0\} and range R={y∈R:yβ‰₯5}R = \{y \in \mathbb{R} : y \geq 5\}. State the domain and range of hβˆ’1(x)h^{-1}(x).

Solution:

Domain of hβˆ’1=RangeΒ ofΒ h={x∈R:xβ‰₯5}h^{-1} = \text{Range of } h = \{x \in \mathbb{R} : x \geq 5\} Range of hβˆ’1=DomainΒ ofΒ h={y∈R:yβ‰₯0}h^{-1} = \text{Domain of } h = \{y \in \mathbb{R} : y \geq 0\}

Explanation:

Because the inverse function reflects the original function over y=xy=x, the sets for the domain and range are swapped.

Problem 4:

Given the functions f(x)=exf(x) = e^x and g(x)=2x+1g(x) = 2x + 1, find the expression for (f∘g)(x)(f \circ g)(x) and determine the value of xx for which (f∘g)(x)=5(f \circ g)(x) = 5.

Graph showing the intersection of the composite function y = e^(2x+1) and the horizontal line y = 5.

Solution:

  1. Find the composite expression: (f∘g)(x)=f(g(x))=f(2x+1)=e2x+1(f \circ g)(x) = f(g(x)) = f(2x + 1) = e^{2x + 1}
  2. Set the expression equal to 5: e2x+1=5e^{2x + 1} = 5
  3. Take the natural logarithm of both sides: ln⁑(e2x+1)=ln⁑(5)\ln(e^{2x + 1}) = \ln(5) 2x+1=ln⁑(5)2x + 1 = \ln(5)
  4. Solve for xx: 2x=ln⁑(5)βˆ’12x = \ln(5) - 1 x=ln⁑(5)βˆ’12β‰ˆ0.305x = \frac{\ln(5) - 1}{2} \approx 0.305

Explanation:

The composition involves substituting the linear function g(x)g(x) into the exponent of the natural exponential function f(x)f(x). The resulting equation is solved using logarithms.

Problem 5:

Consider the function f(x)=xβˆ’3f(x) = \sqrt{x - 3} for xβ‰₯3x \geq 3. Find the inverse function fβˆ’1(x)f^{-1}(x) and state its domain.

Graph of the square root function starting at (3,0) and its inverse, the right side of a parabola starting at (0,3).

Solution:

  1. Write the function as yy: y=xβˆ’3y = \sqrt{x - 3}
  2. Swap xx and yy: x=yβˆ’3x = \sqrt{y - 3}
  3. Solve for yy: Square both sides: x2=yβˆ’3x^2 = y - 3 y=x2+3y = x^2 + 3 So, fβˆ’1(x)=x2+3f^{-1}(x) = x^2 + 3.
  4. Determine the domain: The range of f(x)=xβˆ’3f(x) = \sqrt{x - 3} is yβ‰₯0y \geq 0. Therefore, the domain of fβˆ’1(x)f^{-1}(x) is xβ‰₯0x \geq 0.

Explanation:

To find the inverse, we isolate the variable that was originally the input. Because the original function's output is always non-negative (square root), the inverse function is only defined for xβ‰₯0x \geq 0.

Finished reading?

Practice Composite and inverse functions (HL) with a worksheet. Answers included.