Functions, inverses and composites
Straight lines and their equations, what a function is, domain and range, key features of graphs, composite functions, inverse functions and their graphs, and (HL) odd and even functions, self-inverse functions and restricting domains.
mentorriyaz.in
In 30 seconds
- A function maps every input in its domain to exactly one output; the set of outputs is the range.
- A composite (f ∘ g)(x) = f(g(x)) applies g first, then f. Order matters.
- An inverse f−1 undoes f. It exists only if f is one-to-one; its graph is the reflection of f in y = x, and domain and range swap.
- Lines: gradient m = Δy/Δx; parallel lines have equal gradients, perpendicular lines have m1m2 = −1.
- HL: even functions (f(−x) = f(x)), odd functions (f(−x) = −f(x)), self-inverse functions (f = f−1) and restricting domains so an inverse exists.
By the end you can
- Find gradients and equations of lines, including parallel and perpendicular lines.
- Find the domain and range of a function and identify key features of its graph.
- Form and evaluate composite functions.
- Find inverse functions algebraically and sketch them by reflection in y = x.
- Identify odd, even and self-inverse functions and restrict a domain to make an inverse exist. HL
1Straight lines
Find the line through (2, 3) perpendicular to y = 2x + 1, in the form ax + by + d = 0.
- perpendicular gradient = −½ A1
- y − 3 = −½(x − 2) M1
- x + 2y − 8 = 0 A1
2Functions, domain and range
- Domain problems: you cannot divide by zero, take the square root of a negative, or take the log of zero or a negative.
| f(x) | Domain | Range |
|---|---|---|
| √(x − 2) | x ≥ 2 | f(x) ≥ 0 |
| 1x − 3 | x ≠ 3 | f(x) ≠ 0 |
| ln(x + 1) | x > −1 | f(x) ∈ ℝ |
| x2 + 4 | x ∈ ℝ | f(x) ≥ 4 |
- Key features (SL 2.3–2.4): intercepts, maximum and minimum points, symmetry, vertical and horizontal asymptotes. Sketch them, label them with coordinates or equations.
3Composite functions
f(x) = 2x + 1 and g(x) = x2. Find (f ∘ g)(x), (g ∘ f)(x) and (f ∘ g)(3).
- (f ∘ g)(x) = f(x2) = 2x2 + 1 A1
- (g ∘ f)(x) = (2x + 1)2 A1
- (f ∘ g)(3) = 2(9) + 1 = 19 A1
4Inverse functions
- Method: write y = f(x), swap x and y (or rearrange for x), make y the subject, write f−1(x) = …
Find f−1(x) for f(x) = 2x + 3x − 1, x ≠ 1.
- y(x − 1) = 2x + 3 ⇒ xy − 2x = y + 3 M1
- x = y + 3y − 2 A1
- f−1(x) = x + 3x − 2, x ≠ 2 A1
- f(f−1(x)) = f−1(f(x)) = x. The domain of f−1 is the range of f, and its range is the domain of f.
5Odd, even and self-inverse functions HL
Is f(x) = x3 − 4x odd, even or neither?
- f(−x) = −x3 + 4x = −(x3 − 4x) = −f(x) M1
- odd A1
- Self-inverse: f(f(x)) = x, so the graph is symmetric in y = x. Examples: f(x) = 1/x, f(x) = −x + c, f(x) = x + 3x − 1.
- Restricting the domain: f(x) = x2 has no inverse on ℝ, but on x ≥ 0 it is one-to-one and f−1(x) = √x.
f(x) = (x − 2)2 + 1. Find the largest domain of the form x ≥ a for which f−1 exists, and find f−1.
- the vertex is at x = 2, so x ≥ 2 A1
- y − 1 = (x − 2)2 ⇒ x = 2 + √(y − 1) (positive root because x ≥ 2) M1
- f−1(x) = 2 + √(x − 1), x ≥ 1 A1
Test yourself — cover the answers first
Quick check
- Find the gradient of the line through (1, 5) and (4, −1).
- Give the domain of f(x) = 1/(x + 4).
- If f(x) = x + 3 and g(x) = 2x, find g(f(1)).
- Find f−1(x) for f(x) = 5x − 2.
- Which line is f−1 a reflection in?
- HL Is cos x odd or even?
Exam-style
- f(x) = 3x − 1 and g(x) = x + 13. Show that g = f−1 and find (f ∘ g)(x).
- HL f(x) = e2x − 1. Find f−1(x) and state its domain.
Show answers
- −2
- x ≠ −4
- 8
- (x + 2)/5
- y = x
- even
- f(g(x)) = 3(x + 13) − 1 = x
and g(f(x)) = x, so g is the inverse
(f ∘ g)(x) = x - y + 1 = e2x ⇒ x = ½ ln(y + 1)
f−1(x) = ½ ln(x + 1)
domain x > −1 (the range of f)
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →