AS & A Level Mathematics · Pure Mathematics 1 · Chapter 4
Functions
- A function is a machine: one input goes in, exactly one output comes out.
- You can join two machines (composite) or run one backwards (inverse).
- You can also move, stretch and flip a function's graph: transformations.
Learning objectives
- Use the language of mappings: object, image, domain, range, one-to-one, many-to-one, one-to-many, many-to-many.
- Decide whether a mapping is a function, and write functions as f(x), y = … and f : x ↦ ….
- Choose a sensible domain, and find the range from the graph or by completing the square.
- Form composite functions such as fg(x) and f²(x), and find their domains.
- Find inverse functions, restrict a domain so an inverse exists, and sketch f and f⁻¹ together.
- Describe and use transformations of graphs: translations, stretches and reflections. (9709 syllabus)
Book exercises: Exercise 4A (questions 1 to 5) and Exercise 4B (questions 1 to 12), with the Key points. The transformation questions of Exercise 7F in the Trigonometry chapter are in this chapter's assignment too.
Mappings: inputs and outputs
- A mapping is a rule that links each input (object) to an output (image).
- The domain is the set of all possible inputs.
- The range is the set of outputs that actually come out.
- Example: x ↦ 2x + 5 with the integers as domain gives the range … 3, 5, 7, 9, 11 …
Four types of mapping
- One-to-one: each input has its own output (passport number for a person).
- Many-to-one: different inputs can share an output (people and their reason for a trip).
- One-to-many: one input gives several outputs (a person and their pieces of luggage).
- Many-to-many: both at once (people and the countries they have visited).
- A function is a mapping that is one-to-one or many-to-one: every input has exactly one output.
📘 Example 1 · Classify four mappings
| Mapping | Type | Function? |
|---|---|---|
| x ↦ 2x + 5, x ∈ ℤ | one-to-one | yes |
| x° ↦ sin x° (sin 30° = sin 150° = 0.5) | many-to-one | yes |
| rounded whole numbers ↦ unrounded numbers (5 ↦ 4.5 … 5.5) | one-to-many | no |
| quadratic equation ↦ its roots (x² − 4x + 3 = 0 gives 1 and 3) | one-to-many | no |
Writing a function
| Style | Example | Read as |
|---|---|---|
| Equation | y = x², x ∈ ℝ | y equals x squared |
| Function notation | f(x) = x², x ∈ ℝ | f of x equals x squared |
| Mapping notation | f : x ↦ x², x ∈ ℝ | f maps x on to x squared |
- f(3) means “the output when the input is 3”. For f(x) = x², f(3) = 9.
- Set symbols for the domain: ℝ all real numbers, ℝ⁺ positive real numbers, ℤ integers, ℕ natural numbers 0, 1, 2, … (this book counts 0).
Choosing a domain
- The domain must keep every output defined.
- Never divide by 0, and never take the square root of a negative number.
- f : x ↦ √(x − 5) needs x − 5 ≥ 0, so the domain is x ≥ 5.
- g : x ↦ 1/(x − 5) cannot have x = 5, so the domain is x ≠ 5.
The domain changes the range
📘 Example 2 (book Example 4.1) · Sketch y = 3x + 2 for three domains
- (i) x ∈ ℝ: the line goes on for ever both ways, so every y is possible. Range: y ∈ ℝ.
- (ii) x ∈ ℝ⁺ (x > 0): the line starts at (0, 2) but does not include it (open circle). Range: y > 2.
- (iii) x ∈ ℕ (0, 1, 2, …): only dots at (0, 2), (1, 5), (2, 8), (3, 11) …
- Each y has the form 3x + 2 with x a natural number. Range: {3x + 2 : x ∈ ℕ} = {2, 5, 8, …}.
Seeing a function on a graph
- The x co-ordinate of a point is an input. The y co-ordinate is its output.
- Vertical-line test: a graph is a function if every vertical line cuts it at most once.
- So the graph of a function never doubles back on itself from left to right.
Finding the range
- Sketch the graph for the given domain, then read off the lowest and highest y values.
- For a quadratic, complete the square: a squared bracket is never negative.
- Check the end points of the domain, and whether the turning point lies inside it.
📘 Example 3 · Range of f(x) = x² − 4x + 1
- Complete the square: x² − 4x + 1 = (x − 2)² − 4 + 1 = (x − 2)² − 3.
- (x − 2)² ≥ 0 for every x, and equals 0 when x = 2.
- So the least value of f is −3, and f can be as large as you like.
- Range for x ∈ ℝ: f(x) ≥ −3. Check: f(2) = 4 − 8 + 1 = −3 ✓.
📘 Example 4 · The same f(x) = x² − 4x + 1, but 0 ≤ x ≤ 5
- The turning point x = 2 lies inside 0 ≤ x ≤ 5, so the least value is f(2) = −3.
- Check the ends: f(0) = 1 and f(5) = 25 − 20 + 1 = 6.
- The greatest value is the larger end: 6 (x = 5 is 3 from the vertex, x = 0 only 2).
- Range: −3 ≤ f(x) ≤ 6.
📘 Example 5 · Range of f(x) = 3/(1 + x²), x ∈ ℝ
- x² ≥ 0, so 1 + x² ≥ 1, with least value 1 at x = 0.
- The biggest f comes from the smallest denominator: f(0) = 3/1 = 3.
- As x grows, 1 + x² grows, so 3/(1 + x²) gets close to 0 but is never 0 (the top is 3).
- Range: 0 < f(x) ≤ 3.
📘 Example 6 · Why this mapping is not a function
h(x) = x² for 0 ≤ x ≤ 2, and h(x) = 3x for 2 ≤ x ≤ 10.
- x = 2 is in both pieces, so h(2) could be 2² = 4 or 3 × 2 = 6.
- One input with two outputs is one-to-many.
- So h is not a function. Change the second piece to 2 < x ≤ 10 and it becomes one.
🧪 Try it: range finder for f(x) = ax² + bx + c
Leave a limit blank for “no limit”. Set a = 0 for a straight line.
✏️ Try it
- Is x ↦ x², x ∈ ℝ, one-to-one or many-to-one? Is it a function?
- Find the largest real domain of f(x) = √(2x − 6).
- Find the range of f(x) = x² − 6x + 11 for x ≥ 4.
Answers
1. Step 1: 2 and −2 both give 4, so it is many-to-one.
Step 2: every input still has exactly one output, so it is a function.
2. Step 1: the root needs 2x − 6 ≥ 0.
Step 2: 2x ≥ 6, so x ≥ 3.
3. Step 1: f(x) = (x − 3)² + 2, with vertex at x = 3.
Step 2: x = 3 is not in x ≥ 4, so f only increases from x = 4.
Step 3: f(4) = 16 − 24 + 11 = 3.
Step 4: range f(x) ≥ 3.
Composite functions
- A composite function applies one function, then another to the answer.
- gf(x) = g[f(x)]: say “g of f of x”.
- Read it right to left: f acts first (it is next to x), then g.
- f²(x) means ff(x): f applied twice. g³(x) is g applied three times.
📘 Example 1 (book Example 4.2) · The baby's bath
A thermometer reads in °C. The rule is “at 105°F he’ll cook alive, but 94°F is rather raw”. Two functions are used.
- Function 1 (convert): F = 9C/5 + 32.
- Function 2 (judge): F < 94 too cold; 94 ≤ F ≤ 105 all right; F > 105 too hot.
- 30°C: F = 54 + 32 = 86°F, so too cold.
- 38°C: F = 68.4 + 32 = 100.4°F, so all right.
- 45°C: F = 81 + 32 = 113°F, so too hot.
- Composite in °C: F = 94 gives C = (94 − 32) × 5/9 ≈ 34.4, and F = 105 gives C ≈ 40.6. So below 35°C is too cold, about 35 to 40°C is all right, above that is too hot.
The order matters
- In general gf(x) ≠ fg(x).
- Let f be “square” and g be “add 1”. Then gf(x) = x² + 1 but fg(x) = (x + 1)².
📘 Example 2 (book Example 4.3) · f(x) = 2x, g(x) = x², h(x) = 1/x (x ≠ 0)
Find (i) fg(x) (ii) gf(x) (iii) gh(x) (iv) f²(x) (v) fgh(x).
- (i) fg(x) = f[g(x)] = f(x²) = 2x².
- (ii) gf(x) = g[f(x)] = g(2x) = (2x)² = 4x².
- (iii) gh(x) = g(1/x) = (1/x)² = 1/x², for x ≠ 0.
- (iv) f²(x) = f[f(x)] = f(2x) = 2(2x) = 4x.
- (v) fgh(x) = f[gh(x)] = f(1/x²) = 2/x², for x ≠ 0 (use part iii).
Domains of composite functions
- To form gf, the range of f must fit inside the domain of g.
- If f sends a value to something g cannot accept, gf does not exist for that input.
- The domain of gf is the domain of f (cut down if needed).
📘 Example 3 (book) · When can gf be formed?
f : x ↦ 2x, x ≥ 0 and g : x ↦ √x, x ≥ 0. Also h : x ↦ 2x, x ∈ ℝ.
- f sends x ≥ 0 to 2x ≥ 0, so the range of f is inside the domain of g.
- So gf can be formed: gf(x) = g(2x) = √(2x), x ≥ 0.
- h has the same rule but domain ℝ, so its range includes negative numbers.
- Negative numbers are not in the domain of g, so gh cannot be formed.
📘 Example 4 · Domain of gf when the rule forces a limit
f(x) = x − 4, x ∈ ℝ and g(x) = √x, x ≥ 0.
- gf(x) = g(x − 4) = √(x − 4).
- g only accepts inputs that are ≥ 0, so f(x) must be ≥ 0: x − 4 ≥ 0.
- Domain of gf: x ≥ 4. Its range is gf(x) ≥ 0.
📘 Example 5 · Range of a composite
f(x) = x² − 2 and g(x) = 3x + 1, both for x ∈ ℝ. Find the range of gf.
- gf(x) = g(x² − 2) = 3(x² − 2) + 1 = 3x² − 5.
- x² ≥ 0, so 3x² ≥ 0 and 3x² − 5 ≥ −5.
- The range of gf is gf(x) ≥ −5.
- Check by the other route: range of f is f ≥ −2, and g(−2) = −5, with g increasing ✓.
🧪 Simulation: the composite function machine
Pick f, pick g, type an input. Watch f then g, then the other order.
Solving equations with composite functions
📘 Example 6 · Solve fg(x) = gf(x)
f(x) = 2x + 1 and g(x) = x².
- fg(x) = f(x²) = 2x² + 1.
- gf(x) = g(2x + 1) = (2x + 1)² = 4x² + 4x + 1.
- Set equal: 2x² + 1 = 4x² + 4x + 1, so 0 = 2x² + 4x.
- Factorise: 2x(x + 2) = 0, so x = 0 or x = −2.
- Check x = −2: fg(−2) = f(4) = 9 and gf(−2) = g(−3) = 9 ✓.
📘 Example 7 · gf(x) = k with equal roots (the style of exam questions)
f : x ↦ 3x − x² and g : x ↦ 4x − 5. Find k so that gf(x) = k has equal roots.
- gf(x) = g(3x − x²) = 4(3x − x²) − 5 = 12x − 4x² − 5.
- gf(x) = k gives 4x² − 12x + 5 + k = 0.
- Equal roots mean the discriminant is 0: (−12)² − 4(4)(5 + k) = 0.
- 144 − 16(5 + k) = 0, so 5 + k = 9 and k = 4.
- Check: gf is largest at x = 3/2, where gf = 18 − 9 − 5 = 4 ✓ (it touches the line y = 4 once).
✏️ Try it
- f(x) = x + 5 and g(x) = 3x. Find fg(x) and gf(x).
- f(x) = x² and g(x) = 1/(x − 1), x ≠ 1. Find gf(x) and say which x values it cannot take.
- f(x) = 2x − 1. Find f²(x), and solve f²(x) = 9.
Answers
1. Step 1: fg(x) = f(3x) = 3x + 5.
Step 2: gf(x) = g(x + 5) = 3(x + 5) = 3x + 15.
2. Step 1: gf(x) = g(x²) = 1/(x² − 1).
Step 2: the bottom is 0 when x² = 1, so x ≠ 1 and x ≠ −1.
Step 3: answer gf(x) = 1/(x² − 1), x ≠ ±1.
3. Step 1: f²(x) = f(2x − 1) = 2(2x − 1) − 1 = 4x − 3.
Step 2: 4x − 3 = 9, so 4x = 12 and x = 3.
Step 3: check f(3) = 5 and f(5) = 9 ✓.
Inverse functions
- The inverse function f⁻¹ runs f backwards: it undoes f.
- If f(a) = b then f⁻¹(b) = a.
- f⁻¹ does not mean 1/f. The −1 is a label, not a power.
- Example: f : x ↦ x + 2 has inverse f⁻¹ : x ↦ x − 2.
| f(x) | What f does | f⁻¹(x) |
|---|---|---|
| x − 1 | subtract 1 | x + 1 |
| 2x | double | x (halve) |
| x³ | cube | ∛x |
When does an inverse exist?
- f has an inverse function only if f is one-to-one on its domain.
- Reason: the inverse sends each output back to its input. Two inputs with the same output would give the reverse mapping two answers.
- Horizontal-line test: if any horizontal line cuts the graph twice or more, there is no inverse.
- A one-to-one graph does not turn back on itself: no turning points inside the domain.
Restricting the domain
- You can often cut the domain so the function becomes one-to-one.
- g(x) = x² for x ≥ 0 is one-to-one, with inverse g⁻¹(x) = √x. The √ sign means the positive root.
- Your calculator does this: sin⁻¹ gives answers only from −90° to 90° (the principal value).
- sin x = 0.5 has infinitely many roots (…, −330°, −210°, 30°, 150°, …), but only 30° is in the restricted range.
🧪 Simulation: restrict the domain, then reflect in y = x
f(x) = (x − 1)² for x ≥ c. Slide c. Does f have an inverse?
The graph of an inverse
- If (a, b) is on the graph of f, then f⁻¹ maps b back to a, so (b, a) is on the graph of f⁻¹.
- Swapping the coordinates is a reflection in the line y = x.
- So the graph of f⁻¹ is the graph of f reflected in y = x (use the same scale on both axes).
- This lets you sketch f⁻¹ without finding its equation.
Finding the inverse by algebra
- Swapping x and y swaps the roles of domain and range too.
- Anything missing from the domain of f is missing from the range of f⁻¹, and the other way round.
📘 Example 1 (book Example 4.4) · Find f⁻¹ when f(x) = 2x + 1, x ∈ ℝ
- Write y = 2x + 1.
- Swap x and y: x = 2y + 1.
- Make y the subject: 2y = x − 1, so y = (x − 1)/2.
- f⁻¹(x) = (x − 1)/2, x ∈ ℝ.
- Check: f(3) = 7 and f⁻¹(7) = 6/2 = 3 ✓.
📘 Example 2 (book Example 4.5) · f(x) = 2x − 3 with domain x ≥ 4
- y = 2x − 3 with x ≥ 4, so y ≥ 2(4) − 3 = 5. The range of f is y ≥ 5.
- Swap: x = 2y − 3. Now the domain of the inverse is x ≥ 5 (and y ≥ 4).
- Solve: 2y = x + 3, so y = (x + 3)/2.
- f⁻¹(x) = (x + 3)/2 for x ≥ 5.
- Check the join: f(4) = 5 and f⁻¹(5) = 8/2 = 4 ✓.
📘 Example 3 (book Example 4.6) · f(x) = x² + 2, x ≥ 0
- y = x² + 2 with x ≥ 0 gives y ≥ 2. The range of f is y ≥ 2.
- Swap: x = y² + 2, so y² = x − 2, with the inverse's domain x ≥ 2.
- This gives y = ±√(x − 2). The inverse's range is the old domain, y ≥ 0, so take the + sign.
- f⁻¹(x) = √(x − 2) for x ≥ 2.
- Part (ii): f(7) = 7² + 2 = 51 and f⁻¹f(7) = f⁻¹(51) = √49 = 7. We are back at the start.
📘 Example 4 · A fraction function: f(x) = (x + 1)/(x − 3), x ≠ 3
- y = (x + 1)/(x − 3). Swap: x = (y + 1)/(y − 3).
- Clear the fraction: x(y − 3) = y + 1, so xy − 3x = y + 1.
- Collect the y terms: xy − y = 3x + 1, so y(x − 1) = 3x + 1.
- f⁻¹(x) = (3x + 1)/(x − 1), x ≠ 1.
- Why x ≠ 1? The range of f never reaches 1 ((x + 1)/(x − 3) = 1 has no solution). Range of f = domain of f⁻¹.
- Check: f(5) = 6/2 = 3 and f⁻¹(3) = 10/2 = 5 ✓.
📘 Example 5 · A quadratic: f(x) = x² − 4x + 1, x ≥ 2
- Complete the square: y = (x − 2)² − 3. With x ≥ 2 the range is y ≥ −3.
- Swap: x = (y − 2)² − 3, so (y − 2)² = x + 3.
- Square root: y − 2 = ±√(x + 3). The inverse has range y ≥ 2, so take +.
- f⁻¹(x) = 2 + √(x + 3), x ≥ −3.
- Check: f(5) = 25 − 20 + 1 = 6 and f⁻¹(6) = 2 + √9 = 5 ✓.
A function and its inverse cancel
- f⁻¹f(x) = x and ff⁻¹(x) = x. Each undoes the other.
- If f⁻¹ = f the function is self-inverse. Examples: f(x) = 1/x and f(x) = k − x. Its graph is symmetric in y = x.
- Inverse of a composite: (fg)⁻¹ = g⁻¹f⁻¹. Undo in reverse order (socks on, then shoes on; shoes off, then socks off).
📘 Example 6 · f(x) = 2x, g(x) = x + 3: check (fg)⁻¹ = g⁻¹f⁻¹
- fg(x) = f(x + 3) = 2x + 6. Inverse: y = 2x + 6, swap x = 2y + 6, y = (x − 6)/2.
- f⁻¹(x) = x/2 and g⁻¹(x) = x − 3.
- g⁻¹f⁻¹(x) = g⁻¹(x/2) = x/2 − 3 = (x − 6)/2 ✓. The two answers match.
🧪 Try it: linear function lab
f(x) = ax + b and g(x) = cx + d. The tool builds fg, gf and the inverses.
✏️ Try it
- Find the inverse of f(x) = 5 − 2x, x ∈ ℝ.
- Find the inverse of f(x) = x² + 3, x ≥ 0, with its domain.
- f(x) = 2x + 1 for x ≥ 3. Find f⁻¹(x) and its domain.
Answers
1. Step 1: y = 5 − 2x.
Step 2: swap: x = 5 − 2y.
Step 3: 2y = 5 − x, so f⁻¹(x) = (5 − x)/2, x ∈ ℝ.
Step 4: check f(1) = 3 and f⁻¹(3) = 1 ✓ (this f is also its own type: a straight line, one-to-one).
2. Step 1: y = x² + 3, x ≥ 0, so range y ≥ 3.
Step 2: swap: x = y² + 3, so y² = x − 3.
Step 3: the new range is y ≥ 0, so take the positive root.
Step 4: f⁻¹(x) = √(x − 3), x ≥ 3.
3. Step 1: range of f: f(3) = 7, so y ≥ 7.
Step 2: swap: x = 2y + 1, so y = (x − 1)/2.
Step 3: f⁻¹(x) = (x − 1)/2, x ≥ 7. Check: f⁻¹(7) = 3 ✓.
Transformations of graphs 9709 syllabus
📌 This tab is syllabus content, not a section of the book's Chapter 4. The book meets the ideas in its Trigonometry chapter; the explanations, examples and questions here are Guru Jazzy's own.
- A transformation changes the graph of y = f(x) into a new graph with a related equation.
- Three kinds: translations (slide), stretches (pull or squash) and reflections (flip).
- It is composite functions again: y = f(x + a) is fg(x) with g(x) = x + a; y = f(x) + a is gf(x) with g(x) = x + a applied last.
| New graph | Transformation of y = f(x) | Point (x, y) goes to |
|---|---|---|
| y = f(x) + a | translation by the vector (0, a): up a | (x, y + a) |
| y = f(x + a) | translation by (−a, 0): left a | (x − a, y) |
| y = a f(x) | stretch parallel to the y-axis, scale factor a | (x, a y) |
| y = f(a x) | stretch parallel to the x-axis, scale factor 1/a | (x/a, y) |
| y = −f(x) | reflection in the x-axis | (x, −y) |
| y = f(−x) | reflection in the y-axis | (−x, y) |
Translations
- y = f(x) + a: every y goes up by a. Down if a is negative.
- y = f(x + a): the graph slides left by a (right if a is negative). It feels backwards but it is true.
- Why: for y = f(x − 3), the output at x = 3 is f(0). The height f(0) used to be at x = 0, now it is 3 further right.
📘 Example 1 · Describe y = (x − 3)² + 2 as a transformation of y = x²
- Start with f(x) = x². Then y = f(x − 3) + 2.
- f(x − 3): translate 3 to the right, vector (3, 0).
- + 2: translate 2 up, vector (0, 2).
- Together: translation by the vector (3, 2). The vertex moves from (0, 0) to (3, 2).
📘 Example 2 · Complete the square to see the transformation (link to the book's Exercise 4B Q8)
Describe y = x² + 6x + 2 as a transformation of y = x².
- x² + 6x + 2 = (x + 3)² − 9 + 2 = (x + 3)² − 7.
- (x + 3): translate 3 to the left.
- − 7: translate 7 down.
- Translation by the vector (−3, −7). The vertex is (−3, −7). Check: 9 − 18 + 2 = −7 ✓.
📘 Example 3 · Where does a point go?
The point (2, 5) is on y = f(x). Find its image on y = f(x + 1) − 3.
- f(x + 1): translate 1 left, so x = 2 becomes 1.
- − 3: translate 3 down, so y = 5 becomes 2.
- The image is (1, 2).
- Check: at x = 1 the new curve is f(1 + 1) − 3 = f(2) − 3 = 5 − 3 = 2 ✓.
Stretches
- y = a f(x): every y is multiplied by a. A stretch parallel to the y-axis, scale factor a.
- y = f(a x): every x is divided by a. A stretch parallel to the x-axis, scale factor 1/a. So f(2x) is squashed to half the width.
- Invariant points: for y = a f(x) the points on the x-axis (y = 0) do not move; for y = f(ax) the point on the y-axis (x = 0) does not move.
- Scale factor under 1 squashes; over 1 stretches.
📘 Example 4 · Image points under stretches
(4, 6) is on y = f(x). Find the image on (a) y = 3f(x) (b) y = f(2x) (c) y = f(x/2).
- (a) 3f(x): y × 3, so (4, 18).
- (b) f(2x): x ÷ 2, so (2, 6). Check: f(2 × 2) = f(4) = 6 ✓.
- (c) f(x/2) = f(½x): the factor a is ½, so x ÷ ½ = x × 2, giving (8, 6). Check: f(8/2) = f(4) = 6 ✓.
- Answers: (a) (4, 18), (b) (2, 6), (c) (8, 6).
Reflections
- y = −f(x): every y changes sign. Reflection in the x-axis.
- y = f(−x): every x changes sign. Reflection in the y-axis.
- Points on the mirror stay put: x-axis intercepts for −f(x), the y-intercept for f(−x).
🧪 Simulation: move the graph with a
Grey dashed: the base curve y = f(x). Second colour: the new curve. Key points are marked on both.
Combining transformations
- For y = a f(bx + c) + d, build the graph in the order you would draw it.
- Rewrite the bracket as f(b(x + c/b)). Then: stretch inside, translate inside, stretch outside, translate outside.
- Order matters outside: y = 2f(x) + 3 is not y = 2(f(x) + 3) (that is 2f(x) + 6).
- Order matters inside too: translate before stretch gives a different bracket than stretch before translate.
📘 Example 5 · The order of two transformations matters
Start with y = x². (a) Reflect in the x-axis, then translate 3 up. (b) Translate 3 up, then reflect in the x-axis.
- (a) Reflect: y = −x². Then up 3: y = −x² + 3 = 3 − x². Maximum at (0, 3).
- (b) Up 3: y = x² + 3. Then reflect: y = −(x² + 3) = −x² − 3. Maximum at (0, −3).
- The two curves are different, so the order matters.
📘 Example 6 · Describe y = 2(x − 1)² − 3 from y = x²
- (x − 1)²: translate 1 right. Gives y = (x − 1)².
- 2( … ): stretch scale factor 2 parallel to the y-axis. Gives y = 2(x − 1)².
- − 3: translate 3 down. Gives y = 2(x − 1)² − 3.
- The vertex goes (0, 0) → (1, 0) → (1, 0) → (1, −3). Check: y = 2(0) − 3 = −3 ✓.
📘 Example 7 · A sine curve: y = 2 sin 2x + 1
- sin 2x: stretch parallel to the x-axis, scale factor ½. The period 360° becomes 180°.
- 2 sin 2x: stretch parallel to the y-axis, scale factor 2. The range becomes −2 to 2.
- + 1: translate 1 up. The range becomes −1 to 3.
- Maximum 3, minimum −1, period 180°. The first maximum is at x = 45°, where sin 90° = 1 and y = 2(1) + 1 = 3 ✓.
🧪 Simulation: build y = p·f(q(x − r)) + s
Four sliders, one curve. The steps follow a key point through each transformation.
✏️ Try it
- Describe the transformation from y = f(x) to y = f(x − 5) + 2.
- (3, −2) is on y = f(x). Find its image on y = −3f(x + 1).
- y = x² is stretched with scale factor 2 parallel to the x-axis, then translated 1 unit down. Write the new equation.
Answers
1. Step 1: f(x − 5) translates 5 to the right.
Step 2: + 2 translates 2 up.
Step 3: translation by the vector (5, 2).
2. Step 1: f(x + 1) moves 1 left: x = 3 becomes 2.
Step 2: −3f(…) multiplies y by −3: y = −2 becomes 6.
Step 3: image (2, 6). Check: −3f(2 + 1) = −3f(3) = −3(−2) = 6 ✓.
3. Step 1: stretch factor 2 parallel to x means replace x by x/2: y = (x/2)² = x²/4.
Step 2: down 1: y = x²/4 − 1.
Step 3: check: the point (2, 4) goes to (4, 4); 4²/4 − 1 = 3, and the translation lowers 4 to 3 ✓.
Chapter summary
- A mapping links inputs (objects) to outputs (images): one-to-one, many-to-one, one-to-many or many-to-many.
- A function is one-to-one or many-to-one. Each input gives exactly one output (vertical-line test).
- Domain = possible inputs. Range = outputs. Cut the domain to avoid ÷ 0 and √(negative).
- Find a range by sketching, or by completing the square. Check the ends and the turning point.
- Composite: gf(x) = g[f(x)], f first. Usually gf ≠ fg. f² means ff.
- gf exists only if the range of f is inside the domain of g.
- Inverse: exists only for a one-to-one function (horizontal-line test). Restrict the domain if needed.
- To find f⁻¹: write y = f(x), swap x and y, make y the subject. Domain of f⁻¹ = range of f.
- The graph of f⁻¹ is the reflection of the graph of f in y = x. f⁻¹f(x) = x = ff⁻¹(x).
- Transformations: f(x) + a up a · f(x + a) left a · a f(x) y-stretch a · f(ax) x-stretch 1/a · −f(x) flip in the x-axis · f(−x) flip in the y-axis.
📄 Practice questions
- The book's Exercises 4A and 4B (all questions) and the transformation questions from Exercise 7F are in the printable assignment for this chapter.
- It also has a section of transformation questions and a Check yourself set.
Mini-quiz
Source: Pure Mathematics 1 (Hodder Education, Sophie Goldie), Chapter 4 (Functions). The explanations, the Transformations of graphs tab, the Try it answers, the tools, the simulations and the quiz are Guru Jazzy's own. This page is not made or endorsed by Cambridge or Hodder Education.