Secondary 4 Additional Mathematics: Functions Are Machines With Rules, Inputs and Reversible Structure
Functions are one of the central organising ideas of Additional Mathematics. A function is not merely an equation written with f(x). It is a rule that takes an allowed input, produces one output, carries a domain and range, and can often be transformed, composed, restricted or inverted. Once students understand that structure, many topics become easier to connect: quadratics become function families, logarithms and exponentials become inverse relationships, transformations become controlled changes of input or output, and calculus studies how functions change.
At Secondary 4, the job is to move beyond substitution into f(x). The learner should be able to read a function as an object, identify what operations are being applied to it, decide whether an inverse exists on the relevant domain, and predict what happens to a graph before calculating individual coordinates.
A function has structure before it has numbers.
The Simple Answer
- Function: a rule assigning each input in the domain exactly one output.
- Domain: the allowed input values.
- Range: the output values actually produced.
- Composite function: one function applied after another.
- Inverse function: a rule that reverses the original function where that reversal is valid.
- Transformation: a systematic change to the graph or rule, such as translation, reflection or scaling.
The difficult part is not remembering the vocabulary. The difficult part is keeping the order of operations and the domain conditions visible while the function is transformed.
Function Notation Is Operational
If f(x) = 2x + 3, then f(5) means apply the rule to input 5:
f(5) = 2(5) + 3 = 13.
But f(x + 1) does not mean f(x) + 1. It means replace every x in the rule by x + 1:
f(x + 1) = 2(x + 1) + 3 = 2x + 5.
This distinction becomes essential in transformations and composite functions. Many errors begin because students treat the brackets after f as decoration instead of an instruction telling them what input is being passed into the function.
Composite Functions: Order Matters
If f(x) = 2x + 1 and g(x) = x2, then
fg(x) = f(g(x)) = 2x2 + 1,
while
gf(x) = g(f(x)) = (2x + 1)2.
These are not the same. Composition is generally not commutative. The inner function acts first. A useful reading habit is to verbalise the route: “g first, then f” for f(g(x)).
Worked Example 1: Solve a Composite Equation
Let f(x) = 3x − 2 and g(x) = x2 + 1. Solve f(g(x)) = 13.
First compose:
f(g(x)) = 3(x2 + 1) − 2 = 3x2 + 1.
Then solve:
3x2 + 1 = 13
3x2 = 12
x2 = 4
x = ±2.
The route contains function composition followed by quadratic solving. This is a good example of why function work should not be isolated from algebra.
Inverse Functions: Reverse the Machine
An inverse function reverses the mapping of the original function. If f maps x to y, then f−1 maps y back to x, provided the original function is one-to-one on the stated domain.
For f(x) = 3x − 5, write y = 3x − 5 and solve for x:
y + 5 = 3x
x = (y + 5)/3.
Swap the labels to obtain
f−1(x) = (x + 5)/3.
A powerful verification is composition:
f(f−1(x)) = x and f−1(f(x)) = x
for values where both compositions are defined.
Why Some Functions Need a Restricted Domain
The function f(x) = x2 is not one-to-one over all real numbers because f(2) = f(−2) = 4. One output cannot tell us uniquely which input produced it. Therefore an inverse function cannot be defined over the full real domain in the ordinary one-to-one sense.
If the domain is restricted to x ≥ 0, then f becomes one-to-one and the inverse is f−1(x) = √x. If the domain is restricted to x ≤ 0, the inverse uses −√x instead. The inverse depends on the chosen branch.
Inverse structure depends on uniqueness, and uniqueness depends on domain.
Graph Meaning of an Inverse
The graphs of y = f(x) and y = f−1(x) are reflections of each other in the line y = x. Coordinates swap roles: if (a, b) lies on f, then (b, a) lies on f−1.
This gives a visual check. If the proposed inverse graph is not a reflection across y = x, something is wrong with the inversion, the domain or the plotted points.
Transformations: Change the Input or Change the Output
Transformations become easier when separated into two families.
- Outside the function: changes the output. For example y = f(x) + 3 shifts the graph upward by 3.
- Inside the function: changes the input. For example y = f(x − 2) shifts the graph right by 2.
The inside transformation often feels reversed because f(x − 2) requires an input two units larger to produce the same original internal value. Understanding this input logic is more reliable than memorising “minus means right”.
Core Transformation Map
| New graph | Effect |
|---|---|
| y = f(x) + a | Translate vertically upward by a when a > 0. |
| y = f(x − a) | Translate horizontally right by a when a > 0. |
| y = −f(x) | Reflect in the x-axis. |
| y = f(−x) | Reflect in the y-axis. |
| y = af(x) | Scale output values by factor a. |
| y = f(ax) | Scale input positions horizontally by reciprocal factor 1/a. |
For negative scaling factors, reflection is combined with scaling. The safest method is to track what happens to coordinates rather than rely only on slogans.
Worked Example 2: Transform a Quadratic
Start with y = x2. Consider y = (x − 3)2 + 2. This is the graph of y = x2 translated 3 units right and 2 units up. The turning point moves from (0, 0) to (3, 2).
This is exactly the completed-square form of a quadratic. Transformation reasoning and quadratic reasoning are therefore the same structure viewed through different language.
Worked Example 3: Reflection and Scaling
If y = f(x) contains the point (2, 5), then:
- on y = −f(x), the corresponding point is (2, −5);
- on y = f(−x), the corresponding point is (−2, 5);
- on y = 2f(x), the point becomes (2, 10);
- on y = f(2x), the point appears at (1, 5).
Coordinate tracking is an excellent verification tool because each transformation has a clear effect on either x-values or y-values.
Domain and Range Under Transformation
Transformations do not only move points. They move restrictions. If f has domain x ≥ 0, then f(x − 4) requires x − 4 ≥ 0, so the transformed domain is x ≥ 4. If f has range y ≥ 1, then f(x) + 3 has range y ≥ 4.
This is important when inverse functions are involved because the domain of a function becomes the range of its inverse, and the range becomes the inverse domain.
Exponentials and Logarithms as Inverse Functions
For a suitable positive base a not equal to 1, y = ax and y = logax are inverse functions. Their graphs reflect in y = x. The exponential function has domain all real x and positive range. The logarithm reverses that: positive domain and all-real range.
This explains why logarithm arguments must be positive. It is not an arbitrary rule added to logarithm equations; it is inherited from the range of the exponential function being reversed.
Function Structure Inside Calculus
Calculus works on functions. Differentiation studies local rate of change; integration accumulates change or recovers an antiderivative. Composite functions create chain-rule structure. Transformed functions affect gradients and stationary points. Understanding the function machine before entering calculus reduces the temptation to apply derivative rules without understanding the object being differentiated.
The Function Decision Tree
- What is the domain? Identify restrictions before substitution or inversion.
- What is being composed? Read from the inside outward.
- Is an inverse required? Check whether the function is one-to-one on the stated domain.
- Is the graph transformed? Separate input changes from output changes.
- What happens to range and key points? Track them under the transformation.
- Can the answer be verified by composition or coordinate reflection?
Common Secondary 4 Function Errors
- Treating f(x + 1) as f(x) + 1.
- Reversing the order of composition.
- Finding an algebraic inverse without checking one-to-one structure.
- Forgetting that the inverse domain and range swap roles.
- Moving f(x − a) left instead of right because the input logic was not understood.
- Scaling the wrong coordinate in y = f(ax).
- Ignoring domain restrictions after a transformation.
- Confusing f−1(x) with 1/f(x).
The last error is especially important. Inverse function notation does not mean reciprocal. f−1 reverses the mapping; 1/f(x) forms the reciprocal of the output. They are different mathematical objects.
A Six-Stage Training Sequence
- Build precise substitution with unfamiliar inputs such as f(2x − 1).
- Compose functions in both orders and compare the results.
- Find inverses of one-to-one functions and verify by composition.
- Restrict domains of non-one-to-one functions before inversion.
- Transform graphs by tracking key points, domains and ranges.
- Mix functions with quadratics, exponentials, logarithms and calculus so the chapter label disappears.
Checkpoint: Function Control
- If f(x) = 2x + 3, what is f(x − 1)?
- Which function acts first in f(g(x))?
- Why does x2 need a restricted domain before a single-valued inverse can be defined?
- How does y = f(x − 4) move the graph?
- What geometric relationship connects a function and its inverse?
Checkpoint Answers
- 2(x − 1) + 3 = 2x + 1.
- g acts first.
- Because different real inputs such as 2 and −2 can produce the same output, so the reverse mapping is not unique.
- Four units to the right.
- The graphs are reflections in the line y = x.
Wintour House V1.0 Learning Standard
Wintour House V1.0 treats functions as routed transformations. CivDJ thinking asks what the current input object is, which function acts next, whether information is preserved uniquely, how the domain constrains the route, and whether the transformation can be reversed. The learner should be able to inspect the machine rather than merely push values through it.
Function mastery means knowing what the machine does, in what order it does it, and when the route can be reversed.