Functions and Machines

Section: Algebra  |  Syllabus: Cambridge Lower Secondary Checkpoint Mathematics (0862)

What is a Function?

A function is a rule connecting an input to an output, where each input produces exactly one output. A function machine is a diagram showing this rule as a series of operations the input passes through.

Function Machines: Single Operation

Function Machines: Two-Step

Many function machines apply two operations in sequence - work through them in order, left to right.

Working forwards through "×2, then +5", and working backwards using inverse operations

Finding Outputs from a Function

A function can also be written using algebraic notation, such as f(x) = 3x − 4, meaning "the function f, applied to x". To find an output, substitute the input in place of x.

Finding Inputs Using Inverse Operations

To work out an input from a given output, reverse the function: apply the inverse of each operation, in the opposite order - undoing the last step first.

Operation Inverse Operation
+ a − a
− a + a
× a ÷ a
÷ a × a
square (²) square root (√)
cube (³) cube root (∛)

Mapping Diagrams

A mapping diagram shows a function as two ovals - inputs on the left, outputs on the right - joined by arrows. Missing values can be found by applying the function forwards, or by reversing it, and the same pattern can be generalised to any input, n.

A mapping diagram for the function "×3, then +4"

Function Machines and Their Reverse Equations

Instead of reversing a function machine for just one output value, the whole reverse process can be written as its own reverse equation - useful for finding any input quickly.

Real-World Applications

Functions and function machines model many everyday processes:

Exam Tips

Common Mistakes

MistakeApplying inverse operations in the same order as the original function

Fixwork backwards through the machine - undo the LAST operation first

MistakeReversing a step with the same operation instead of its inverse, e.g. undoing "+3" by adding 3 again

Fixuse the inverse operation to reverse each step: the inverse of +3 is −3

MistakeHalving a number to reverse a squaring step

Fixthe inverse of squaring is square rooting, not halving

MistakeSubstituting the output value into the original function to try to find the input

Fixto find an input from an output, reverse the function using inverse operations instead

MistakeReversing the operations but not their order, e.g. undoing ×4 before +3 in a "×4, then +3" machine

Fixreverse both the operations AND their order - undo the last step first, then the one before it

Interactive revision notes, videos and practice questions load below.

All subjects

    Select a subject from the left to view available exam boards and resources

    Related: Past Papers Topical Questions Checkpoint Science Stage 9 IGCSE Mathematics Grade Boundaries Command Words