A mapping is a process identifying how elements from the domain are paired with the range.
In a mapping diagram, the left oval contains the inputs and the right oval contains the outputs, with arrows connecting them.
For example, a mapping diagram for with the domain looks like this:
Inputs Outputs
For a mapping to be a true function, every input must have exactly one output.
A one-to-one function gives a unique output for every input, while a many-to-one function has multiple inputs sharing the same output (like , where and both map to ).
A mapping where one input maps to multiple outputs is a one-to-many relation, but this is NOT a function.
You can test this on a graph: if a vertical line crosses the graph more than once, it is a one-to-many mapping.
Once you understand function machines, you can write them using formal algebraic notation.
Functions are typically written as , but you may also see or .
The letter is the name of the function, and the inside the brackets represents the input.
The entire expression represents the final output, which is equivalent to on a coordinate graph.
You may also see arrow notation, such as , where the colon and arrow show the journey from input to rule.
To evaluate a function, you substitute a specific numerical value in place of .
Calculate given .
Step 1: Substitute the value into the expression, using brackets for negative numbers.
Step 2: Calculate the powers and multiplications first.
Step 3: Complete the addition for the final output.
Solve given .
Step 1: Set the function's expression equal to the given output.
Step 2: Rearrange to isolate the term.
Step 3: Solve for .
The domain is the set of all possible input values () for which the function is defined.
The range is the set of all possible output values ( or ) produced by the function.
Some functions have restricted domains because certain inputs would make the math undefined.
For example, in a fraction like , the value must be excluded because division by zero is impossible.
Similarly, for a square root function like , the domain must be to avoid square roots of negative numbers.
Find the value of that must be excluded from the domain of .
Step 1: Identify the operation that would make the function undefined (the denominator cannot be zero).
Step 2: Solve for to find the excluded value.
Step 3: State the restricted domain.
Students often apply inverse operations in the original order when working backwards through a function machine; you must reverse the sequence of operations as well as the signs.
When substituting negative numbers into a function, always use brackets in your calculator, especially with powers, to avoid incorrect signs (e.g., , not ).
In solving questions like , examiners expect you to state explicitly on the answer line; do not leave your answer embedded in the calculation like .
When asked to state a domain or range, use for the domain and for the range, as using for the range is frequently penalised in mark schemes.
Function
A mathematical rule or machine that assigns exactly one output to each input.
Input
The initial value put into a function or number machine.
Output
The final result after all mathematical operations have been applied to the input.
Function machine
A diagram representing a mathematical rule where operations are applied to an input in a specific sequence.
Inverse operation
A mathematical operation that undoes the effect of another, such as addition undoing subtraction.
Mapping
A visual process identifying how elements from the domain are paired with the range.
One-to-one
A mapping where each input has a unique output, which means it has a valid inverse.
Many-to-one
A valid function where multiple inputs share the same output, such as squaring negative and positive numbers.
One-to-many
A mapping where a single input maps to multiple outputs; this is not considered a true mathematical function.
Evaluate
The process of substituting a specific numerical value into a function to find the output.
Domain
The complete set of all possible input values for which a function is mathematically defined.
Range
The complete set of all possible output values produced by a function.
Put your knowledge into practice — try past paper questions for Mathematics
Function
A mathematical rule or machine that assigns exactly one output to each input.
Input
The initial value put into a function or number machine.
Output
The final result after all mathematical operations have been applied to the input.
Function machine
A diagram representing a mathematical rule where operations are applied to an input in a specific sequence.
Inverse operation
A mathematical operation that undoes the effect of another, such as addition undoing subtraction.
Mapping
A visual process identifying how elements from the domain are paired with the range.
One-to-one
A mapping where each input has a unique output, which means it has a valid inverse.
Many-to-one
A valid function where multiple inputs share the same output, such as squaring negative and positive numbers.
One-to-many
A mapping where a single input maps to multiple outputs; this is not considered a true mathematical function.
Evaluate
The process of substituting a specific numerical value into a function to find the output.
Domain
The complete set of all possible input values for which a function is mathematically defined.
Range
The complete set of all possible output values produced by a function.