Exercises — Function notation — f(x), g(x)
Before we start, one picture to keep in your head: a function is a machine with a name on the side and a rule inside. You drop an input in the top; a single output falls out the bottom.

Level 1 — Recognition
Goal: read the notation and substitute a single number correctly.
Recall Solution 1.1
The rule reads: "multiply the input by 4, then subtract 7." We replace every with the given number.
What we did / why: substitution is the whole job of — put the something wherever sits. Notice is the y-intercept — the output when the input is zero.
Recall Solution 1.2
Here the input letter is , but nothing changes — the letter is just a placeholder. What it looks like: is , not . Because squaring erases the sign, . The graph is a mirror across the vertical axis — this function is even. See Graphing functions.
Level 2 — Application
Goal: feed a whole expression into a function and simplify.
Recall Solution 2.1
The input is now an expression. We replace every with the entire thing, brackets and all.
Why brackets matter: the is outside; only is squared. Expanding :
What it looks like: — the whole gets squared, not just the .
Recall Solution 2.2
Here the input itself was shifted, so the whole rule acts on . Here we ran the machine on , then added 2 to the output. They differ by exactly — the mistake would cost you a constant every time.
Level 3 — Analysis
Goal: work inside-out through composition and read differences.
Recall Solution 3.1
Rule: work from the inside out — the function nearest the number acts first.
: first , then . : first , then . Order matters — composition is not commutative. More in Composite functions.
Recall Solution 3.2
Why this expression? It measures the average steepness of over a small step — the seed of the derivative in Limits and calculus.
Numerator, piece by piece: Now divide by . Since we may cancel it: What it looks like: as the step shrinks toward , this approaches — the slope at the point.
Level 4 — Synthesis
Goal: solve for inputs, invert, and combine several ideas.
Recall Solution 4.1
What we're asked: run the machine backwards — which input produces output 21? Set the rule equal to 21 and solve: Add 4 to both sides (undo the subtraction): . Divide by 5 (undo the multiplication): . Check forward: . ✓ This "undoing" is exactly what Inverse functions formalises.
Recall Solution 4.2
What it means: each function undoes the other — both compositions collapse to . So and are inverses of one another. Feeding an input through one then the other returns you to where you started.
Recall Solution 4.3
Step 1 — pick the correct piece by checking the condition on the input.
- , use : .
- (note the , so takes the second branch): .
- , use : . The boundary point is decided entirely by which side gets the "". See Piecewise functions.
Level 5 — Mastery
Goal: chain everything — algebra, composition, inverses, generality.
Recall Solution 5.1
Translate the facts into equations by substituting: Subtract the first from the second (the 's cancel): Back-substitute into : . So .
Recall Solution 5.2
Build the composite first (inside-out): Set equal to 10: Cover both cases — a square equals 9 when its base is or : Check: ✓ and ✓. Forgetting the negative root loses a whole solution.
Recall Solution 5.3
Feed into itself: because dividing 1 by flips the fraction back. So is its own inverse (for ). Degenerate case: at the inner is undefined — you cannot even start, so is excluded from the domain. As , ; as , . The output shoots off in opposite directions on the two sides. See Limits and calculus.
Recall Self-test checklist
Read the notation without substituting numbers ::: L1 — done if 1.1, 1.2 were instant Substitute a whole expression and keep brackets ::: L2 — 2.1, 2.2 Work composition inside-out ::: L3 — 3.1 Build and cancel a difference quotient ::: L3 — 3.2 Invert a function / recognise inverse pairs ::: L4 — 4.1, 4.2, 5.3 Choose the right piecewise branch at a boundary ::: L4 — 4.3 Solve for unknown constants and both roots ::: L5 — 5.1, 5.2
Connections
- Function notation — f(x), g(x) — the parent note these exercises drill
- Composite functions — inside-out evaluation (Ex 3.1, 4.2, 5.2, 5.3)
- Inverse functions — undoing a machine (Ex 4.1, 4.2, 5.3)
- Piecewise functions — branch selection (Ex 4.3)
- Function transformations — input-shift vs output-shift (Ex 2.2)
- Limits and calculus — difference quotient, behaviour near a hole (Ex 3.2, 5.3)
- Graphing functions — even symmetry (Ex 1.2)