Domains, inverses and composition
Introduit| English | Sens |
|---|---|
| composite function/ˈkɒmpəzɪt ˈfʌŋkʃn/ | A function formed by applying one function to the output of another. |
| domain/dəˈmeɪn/ | domaine |
| inverse function/ɪnˈvɜːs ˈfʌŋkʃn/ | A function that reverses another function's mapping on a domain where that mapping is one-to-one. |
The Gimli Glider, 1983
- On 23 July 1983 an Air Canada Boeing 767 ran out of fuel at 41,000 feet over Manitoba. The crew had converted the fuel's volume to mass using 1.77 — the factor for pounds per litre — when the new aircraft's systems worked in kilograms (about 0.8 kg per litre). The plane carried less than half the fuel needed. The pilots glided it safely onto a disused runway at Gimli.
- The fuel calculation was a chain of functions, and one link was the wrong function. Composite functions 复合函数 apply one function after another; each has a domain 定义域 of allowed inputs, and an inverse function 反函数 undoes it.
What went wrong in the Gimli Glider's fuel calculation?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
One link in the chain was the wrong function.
Domain and range
- The domain is the set of allowed inputs; the range is the set of outputs.
- Restrictions: no division by zero, no square root of a negative, no logarithm of a non-positive number.
What is the domain of f(x) = 1/(x − 3)?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
No division by zero.
Composition
- $(f \circ g)(x) = f(g(x))$: apply $g$ first, then $f$. Usually $f \circ g \ne g \circ f$.
- The output of $g$ must lie in the domain of $f$.
Domains, inverses and composition
State the domain and range
Compare the model with the worked case and explain one change.
f(x) = 2x + 1 and g(x) = x². Find f(g(3)).
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
g(3) = 9, f(9) = 19.
With the same functions, find g(f(3)).
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
f(3) = 7, g(7) = 49.
Inverse functions
- $f^{-1}$ undoes $f$: $f^{-1}(f(x)) = x$. Only a one-to-one function has an inverse; restrict the domain if needed.
- To find it, swap $x$ and $y$ and solve for $y$. The graph of $f^{-1}$ is the reflection of $f$ in $y = x$; domain and range swap.
Find the inverse of f(x) = (x − 4)/3.
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Swap and solve.
The graph of f⁻¹ is the reflection of f in y = x.
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Domain and range swap.
Worked example: a chain and its inverse
$f(x) = \sqrt{x - 2}$, $g(x) = x^2 + 1$.
- Domain of $f$: $x \ge 2$; range $f(x) \ge 0$.
- $f(g(x)) = \sqrt{x^2 - 1}$, defined for $|x| \ge 1$. $g(f(x)) = (x - 2) + 1 = x - 1$, but only for $x \ge 2$ — the domain of $f$ still applies.
- Inverse of $f$: $y = \sqrt{x - 2} \Rightarrow x = y^2 + 2$, so $f^{-1}(x) = x^2 + 2$ with domain $x \ge 0$ (the range of $f$).
Order matters
- Converting litres to kilograms, then kilograms to "fuel needed", is a composition; reversing or swapping a link changes the answer.
- State domains in context: time $t \ge 0$, number of items a positive integer.
An inverse's domain is the original's range. $f^{-1}(x) = x^2 + 2$ without "$x \ge 0$" would include negative inputs that $f$ never produces. Always state it.
The inverse of f(x) = √(x − 2) is x² + 2 for all real x.
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Its domain is x ≥ 0.
A function maps each input in its domain to one output. In $f \circ g$, apply $g$ first and keep both domains. An inverse exists for a one-to-one function: swap $x$ and $y$, solve, and give it the original range as its domain.
For f(x) = ln(x + 1) and g(x) = 2x − 5, find f(g(x)) with its domain, and the inverse of f with its domain.
Compose, restrict, invert.