What makes a relation a function, and how do its domain and range determine its behaviour?
Define a function and its domain and range, decide whether a relation is a function or one-to-one, and find the range of a given function over a stated domain
A focused answer to the H2 Mathematics outcome on functions. The definition of a function, the vertical and horizontal line tests, one-to-one functions, and finding the range from a stated domain.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
SEAB wants you to state precisely what a function is, identify its domain and range, decide whether a given relation is a function and whether it is one-to-one, and find the range of a function over a stated domain. This underpins composite functions, inverses and all later graphing work.
The answer
What a function is
A function from a set (the domain) to the real numbers assigns to each element of the domain exactly one value . The set of all output values is the range.
Two ideas matter from the start:
- The domain is part of the definition of the function, not an afterthought. The same rule on different domains gives different functions.
- The range is determined by the rule together with the domain.
The vertical line test
A relation in the - plane defines as a function of exactly when every vertical line meets the graph at most once. If some vertical line meets it twice, one input has two outputs and the relation is not a function. A circle and the sideways parabola both fail this test.
One-to-one functions and the horizontal line test
A function is one-to-one (injective) if different inputs give different outputs: . Graphically, every horizontal line meets the graph at most once. A function that is strictly increasing or strictly decreasing on its whole domain is automatically one-to-one. Being one-to-one is the condition for an inverse function to exist.
Finding the range
To find the range of on a stated domain:
- Identify the shape (sketch it).
- Find any maximum or minimum (often by completing the square for a quadratic, or by calculus).
- Check the values at the endpoints of the domain.
- Read off the set of achievable outputs.
Examples in context
Example 1. A restricted quadratic. The function for has a maximum of at and endpoint values , . The lowest value on the domain is , so the range is . The function is not one-to-one here because it rises then falls.
Example 2. A naturally one-to-one model. A savings balance for is strictly increasing, so it is one-to-one: any balance corresponds to a unique time. Its range is , beginning at the initial deposit.
Try this
Q1. State what is meant by a function and by a one-to-one function. [2 marks]
- Cue. A function gives exactly one output per input; one-to-one means different inputs give different outputs (no horizontal line crosses the graph twice).
Q2. The function is defined by for . Find the range and state whether is one-to-one. [3 marks]
- Cue. Minimum at ; increasing for , so range and one-to-one.
Q3. Explain why the relation does not define as a function of . [2 marks]
- Cue. A vertical line such as meets the circle at and , two outputs for one input, failing the vertical line test.
Exam-style practice questions
Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Original4 marksThe function is defined by for , . Find the range of and explain why is one-to-one on this domain.Show worked answer β
Complete the square: .
The vertex is at , where . For the curve increases, so the minimum value is and the range is , that is .
On the function is strictly increasing, so each output corresponds to exactly one input: any horizontal line meets the graph at most once. Hence is one-to-one.
Markers reward completing the square, identifying the minimum at the domain endpoint, the correct range in interval or inequality form, and a clear one-to-one justification.
Original3 marksA relation is given by for . Determine, with reasons, whether this relation defines as a function of .Show worked answer β
For a given there are two values and .
A function assigns exactly one output to each input, so a vertical line (for ) meets the graph twice. The relation therefore fails the vertical line test.
Hence does not define as a function of . Restricting to (taking ) would make it a function.
Markers reward identifying the two outputs, citing the vertical line test, and a correct conclusion with the restriction that fixes it.
Related dot points
- Form and find the domain of composite functions, determine when a composite is defined, find inverse functions and their domains, and use the graphical relationship between a function and its inverse
A focused answer to the H2 Mathematics outcome on composite and inverse functions. Forming composites and their domains, the condition for a composite to exist, finding inverses, and the reflection in y equals x.
- Define the modulus function, sketch graphs involving the modulus of a function, and solve equations and inequalities involving the modulus
A focused answer to the H2 Mathematics outcome on the modulus function. The definition, sketching the modulus of a linear and a curved function, and solving modulus equations and inequalities by cases and by squaring.
- Relate the graph of y equals a f(b(x + c)) + d to the graph of y equals f(x) through translations, stretches and reflections, and apply combined transformations in the correct order
A focused answer to the H2 Mathematics outcome on graph transformations. Translations, stretches and reflections, the effect of each parameter, the order of combined transformations, and the effect on asymptotes and key points.
- Identify and use the key features of a curve - intercepts, turning points, asymptotes, symmetry and behaviour at infinity - to produce and interpret graph sketches
A focused answer to the H2 Mathematics outcome on curve features. Vertical, horizontal and oblique asymptotes, symmetry, behaviour at infinity, and how these features combine to determine a sketch.