Composites, transformations and linearising data
HL functions for Maths AI: composite functions, inverses with restricted domains, translations, stretches and reflections of graphs, and linearising data with semi-log and log-log graphs to decide between exponential and power models and find their parameters.
mentorriyaz.in
In 30 seconds
- Composite: (f ∘ g)(x) = f(g(x)) means "do g first, then f". Order matters.
- Inverse: f−1 exists only if f is one-to-one. If it isn't, restrict the domain (for example to x ≥ the vertex).
- Transformations: y = af(b(x − c)) + d stretches vertically by a, horizontally by 1b, moves c right and d up.
- Linearising data: if ln y against x is a straight line, the model is exponential y = kax. If log y against log x is a straight line, the model is a power y = axn.
- This note is HL only and unchanged for 2029.
By the end you can
- Form composite functions and use them in context. HL
- Find inverse functions, restricting the domain where necessary. HL
- Apply and describe translations, stretches and reflections, including combinations. HL
- Use logarithms to linearise data, choose between exponential and power models, and find their parameters. HL
1Composite functions HL
- Context: a shop converts a price in dollars to euros with g(x) = 0.92x, then adds a 5% fee with f(x) = 1.05x. The final price is (f ∘ g)(x) = 1.05(0.92x) = 0.966x.
f(x) = 2x + 1 and g(x) = x2. Find (f ∘ g)(x), (g ∘ f)(x) and (f ∘ g)(3).
- (f ∘ g)(x) = 2x2 + 1 A1
- (g ∘ f)(x) = (2x + 1)2 A1
- (f ∘ g)(3) = 2(9) + 1 = 19 A1
2Inverse functions and restricted domains HL
- (f ∘ f−1)(x) = (f−1 ∘ f)(x) = x. The domain of f−1 is the range of f.
f(x) = (x − 1)2 + 2. Find the largest domain of the form x ≥ k for which f−1 exists, and find f−1(x).
- the vertex is at x = 1, so x ≥ 1 A1
- x = (y − 1)2 + 2 ⇒ y = 1 + √(x − 2) (positive root, since y ≥ 1) M1
- f−1(x) = 1 + √(x − 2), x ≥ 2 A1
3Transformations of graphs HL
| Transformation | Effect on (x, y) |
|---|---|
| y = f(x) + d | translation (0, d): (x, y + d) |
| y = f(x − c) | translation (c, 0): (x + c, y) |
| y = af(x) | vertical stretch, factor a: (x, ay) |
| y = f(bx) | horizontal stretch, factor 1/b: (x/b, y) |
| y = −f(x) | reflection in the x-axis: (x, −y) |
| y = f(−x) | reflection in the y-axis: (−x, y) |
The point (4, 6) lies on y = f(x). Find its image on y = 3f(2x) − 1.
- x: 2x = 4 ⇒ x = 2 M1
- y: 3 × 6 − 1 = 17 M1
- (2, 17) A1
Describe the transformations that map y = x2 onto y = 2(x − 3)2 + 5.
- translation 3 right A1
- vertical stretch, scale factor 2 A1
- translation 5 up (after the stretch) A1
- In context: converting °C to °F, F = 1.8C + 32, is a vertical stretch by 1.8 followed by a translation of 32. A temperature model T(t) in °C becomes 1.8T(t) + 32 in °F.
4Linearising data with logarithms HL
- Exponential: y = kax ⇒ ln y = ln k + x ln a. Plot ln y against x: gradient ln a, intercept ln k.
- Power: y = axn ⇒ log y = log a + n log x. Plot log y against log x: gradient n, intercept log a.
A line of best fit for ln y against x is ln y = 1.2 + 0.3x. Find the model for y.
- y = e1.2 + 0.3x = e1.2 × e0.3x M1
- y = 3.32e0.3x (or y = 3.32 × 1.35x) A1
Data: x = 1, 2, 4, 8 and y = 3, 12, 48, 192. Show that y = axn fits, and find a and n.
- log x: 0, 0.301, 0.602, 0.903; log y: 0.477, 1.08, 1.68, 2.28 M1
- these lie on a straight line with gradient 2 A1
- n = 2, intercept log a = 0.477 ⇒ a = 3, so y = 3x2 A1A1
- Which one? Make both graphs, or check the data: equal steps in x giving equal ratios in y means exponential; doubling x multiplying y by a fixed amount (here × 4) means a power law.
- Log scales on axes: when data spans many powers of ten (populations of countries, earthquake energy), plotting log y squeezes the range so every point is visible.
Test yourself — cover the answers first
Quick check
- HL f(x) = x + 3, g(x) = 2x. Find (g ∘ f)(1).
- HL Why does f(x) = x² on ℝ have no inverse?
- HL Describe y = f(x + 4).
- HL Describe y = f(x/2).
- HL What does a straight log-log graph with gradient −1 tell you?
Exam-style
- HL f(x) = ex − 2 and g(x) = 3x. Find (f ∘ g)−1(x).
- HL Plotting ln y against ln x gives a straight line through (0, 1.5) and (2, 4.5). Find a model for y.
Show answers
- 8
- it is not one-to-one
- translation 4 left
- horizontal stretch, factor 2
- y ∝ 1/x (inverse variation)
- (f ∘ g)(x) = e3x − 2
x = e3y − 2 ⇒ 3y = ln(x + 2)
(f ∘ g)−1(x) = ⅓ ln(x + 2), x > −2 - gradient = 3/2 = 1.5 and intercept 1.5
ln y = 1.5 + 1.5 ln x
y = e1.5x1.5 = 4.48x1.5
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →