Form and use composite functions
Introduced
7:09
Topic 1: Functions
A function gives exactly one output for each input. The domain is the set of inputs you are allowed to use, and the range is the set of outputs you get. When a…
English narration · English and 中文 subtitles you can switch
In this lesson
| English |
|---|
| composite/ˈkɒmpəzɪt/ |
| simplify |
| output/ˈaʊtpʊt/ |
| equal/ˈiːkwl/ |
Most functions questions use a composite
- You form a composite, simplify 化简 it, then solve an equation with it.
- The skill is putting one whole expression inside another.
Forming a composite
- $fg(x) = f(g(x))$: put the whole of $g(x)$, in brackets, in place of every $x$ in $f$.
$f(x) = 3x - 1$, $g(x) = x^2 + 2$. $fg(x) = 3(x^2 + 2) - 1 = 3x^2 + 5$. $gf(x) = (3x - 1)^2 + 2 = 9x^2 - 6x + 3$. The order matters.
$f(x) = 3x - 1$ and $g(x) = x^2 + 2$. What is $gf(x)$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$(3x - 1)^2 + 2 = 9x^2 - 6x + 1 + 2$.
Solving with a composite
- Form the composite 复合函数 first, then solve as usual.
- $fg(x) = 17$: $3x^2 + 5 = 17$, so $x = \pm 2$.
With the same functions, solve $fg(x) = 17$ for $x > 0$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$3x^2 + 5 = 17$, so $x^2 = 4$.
$e^x$ and $\ln x$ cancel
- $e^{\ln a} = a$ and $\ln(e^a) = a$.
- $e^{\ln(2x + 1)} = 2x + 1$. And $\ln(2e^x + 1) = \ln 7$ gives $2e^x + 1 = 7$, so $x = \ln 3$.
$f(x) = e^x$ and $g(x) = \ln(2x + 1)$. What is $fg(x)$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$e^{\ln(2x + 1)} = 2x + 1$.
With the same functions, solve $gf(x) = \ln 7$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$2e^x + 1 = 7$, so $e^x = 3$.
An inverse inside a composite
- $f^{-1}(a) = b$ means $a = f(b)$; you need not find $f^{-1}(x)$.
- $f^{-1}(g(x)) = 3$ gives $g(x) = f(3) = 9$, so $x^2 = 9$.
$f(x) = 2x + 3$ and $g(x) = x^2$. Solve $f^{-1}g(x) = 3$ for $x > 0$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$g(x) = f(3) = 9$, so $x^2 = 9$.
When does a composite exist?

- Every output 输出值 of $f$ must be an allowed input of $g$. To explain why $gf$ does not exist, name an output of $f$ that $g$ cannot take.
Finding $g$ from $f$ and $fg$
- Write $f(g(x))$ in terms of $g(x)$ and set it equal 相等 to $fg(x)$.
- $2g(x) + 3 = 2x^2 + 7$, so $g(x) = x^2 + 2$.
$f(x) = 2x + 3$ and $fg(x) = 2x^2 + 7$. Find $g(x)$ and explain your method.
Treat $g(x)$ as the unknown.
Square the whole bracket. $(3x - 1)^2 = 9x^2 - 6x + 1$, not $9x^2 + 1$.
In $fg(x)$, replace each $x$ in $f$ by $(g(x))$. Form the composite 复合函数, then solve. Use $e^{\ln a} = a$. A composite exists only if the first function's outputs are allowed inputs of the second.
What went wrong? Only the site team sees this.