Domain and Range Questions Explained: How to Solve Them in H2 Math
Domain and range are ideas that appear throughout H2 Mathematics, especially when working with functions, composite functions and inverse functions. While the definitions themselves are simple, exam questions often test whether students understand the restrictions behind a function rather than whether they can simply recall what domain and range mean.
A small mistake in the domain can affect whether a composite function exists, whether an inverse can be defined, and even whether a final answer is mathematically valid.
In this guide, we will look at what domain and range mean, how to determine them, and some of the common ways they are tested in H2 Math questions.
What Is the Domain of a Function?
The domain is the set of input values that a function is allowed to accept.
If we write:
then the domain tells us which values of x can be used.
For example, consider:
The denominator cannot equal zero. Therefore:
So the domain consists of all real numbers except 2.
The domain is not simply “all possible x-values”. It is the set of x-values for which the function is actually defined.
What Is the Range of a Function?
The range is the set of output values that the function can produce.
In y = f(x), the domain concerns the possible values of x, while the range concerns the possible values of y.
Consider:
Since x² cannot be negative:
Therefore:
The range is therefore:
Domain = what can go into the function.
Range = what can come out of the function.
Why Domain and Range Matter in H2 Math
Domain and range become particularly important because functions in H2 Math are rarely studied in isolation. They are often transformed, combined or reversed.
This is why the topic connects closely with composite functions and inverse functions .
Understanding the domain and range of the original function can determine whether these later operations are possible.
Common Domain Restrictions Students Should Recognise
One of the fastest ways to improve at domain questions is to recognise the mathematical expressions that naturally create restrictions.
1. Fractions
The denominator of a fraction cannot equal zero.
Therefore:
2. Square Roots
When working with real numbers, the expression inside a square root must be greater than or equal to zero.
We require:
Hence:
3. Logarithmic Functions
The argument of a logarithm must be positive.
We require:
Therefore:
How to Find the Range of a Function
Finding the range is often more difficult than finding the domain because the restriction may not be immediately visible from the function itself.
Method 1: Understand the Shape of the Graph
For familiar functions, the graph may immediately reveal the range.
This is an upward-opening quadratic with a minimum value of 1.
Method 2: Rearrange the Function
Another useful method is to write y = f(x) and rearrange the equation in terms of x. You can then determine which values of y allow real values of x to exist.
Method 3: Use Calculus
If a function has a restricted domain or a more complicated shape, differentiation may be needed to find maximum or minimum values.
- Differentiate the function.
- Find stationary points.
- Check endpoints if the domain is restricted.
- Determine the highest or lowest possible output.
- Write the range carefully.
Domain and Range in Composite Functions
Suppose:
It is not enough for x to be inside the domain of g. The output produced by g(x) must also be an acceptable input for f.
For f(g(x)) to exist, g(x) must lie within the domain of f.
If you need a refresher on the order in which composite functions operate, read our guide to Composite Functions Explained: How to Work With f(g(x)) .
Domain and Range in Inverse Functions
For a function f and its inverse f-1:
An inverse function reverses the original mapping.
This is why determining the range of the original function is often necessary before you can correctly state the domain of its inverse.
You can explore this relationship in more detail in our guide to Inverse Functions in H2 Math .
Why a Restricted Domain Is Sometimes Given
Consider:
The function x² is defined for every real value of x, so why restrict the domain?
The reason is often to make the function one-to-one.
Two different inputs produce the same output. This prevents an inverse function from being defined over the entire real domain.
Restricting the function to x ≥ 0 removes this problem.
Common Mistakes in Domain and Range Questions
1. Assuming the Domain Is Always All Real Numbers
Always check for denominators, square roots, logarithms and any restrictions explicitly stated in the question.
2. Confusing Domain With Range
Range → output → y-values
3. Ignoring the Given Domain
If the question specifies -2 ≤ x ≤ 4, your analysis must use that restricted interval, even if the formula itself works outside it.
4. Finding the Formula but Not Stating the Restriction
In functions questions, obtaining the correct algebraic expression may not be enough. The question may also require you to state the appropriate domain or range.
5. Forgetting Restrictions When Finding Composite Functions
Students often calculate f(g(x)) correctly but fail to consider whether the resulting function is valid for every value of x.
Always ask:
A Practical H2 Math Example
Consider:
To find the domain, the expression inside the square root must satisfy:
Therefore:
A square root cannot produce a negative number, so:
Since x can decrease without bound, 5 - x can become arbitrarily large, which means the square root can also become arbitrarily large.
Therefore the range is:
A Useful Checklist for Domain and Range Questions
- Has the question already stated a domain?
- Does the formula create any additional restrictions?
- What values can the function actually output?
- Are there maximum or minimum values?
- If it is a composite function, does the inner function produce valid inputs for the outer function?
- If an inverse is involved, have the domain and range been swapped correctly?
How Domain and Range Questions Become Harder in Exams
The more difficult questions rarely ask only:
“State the domain and range.”
Instead, domain and range may be hidden inside a larger problem involving:
- composite functions,
- inverse functions,
- graph transformations,
- restricted functions,
- maximum and minimum values, or
- conditions under which a function exists.
This is why students should avoid treating domain and range as definitions to memorise. The real skill is understanding how restrictions affect the behaviour of a function.
Final Takeaway
Domain tells you which inputs are allowed. Range tells you which outputs are possible.
In examination questions, the challenge is recognising how those restrictions interact with other concepts.
A strong understanding of domain and range will make topics such as composite functions and inverse functions considerably easier to handle.
