Domain and Range Questions Explained

Domain and Range Questions Explained

Domain and Range Questions Explained in H2 Math

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:

y = f(x)

then the domain tells us which values of x can be used.

For example, consider:

f(x) = 1 / (x - 2)

The denominator cannot equal zero. Therefore:

x ≠ 2

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:

f(x) = x² + 3

Since x² cannot be negative:

x² ≥ 0

Therefore:

f(x) ≥ 3

The range is therefore:

y ≥ 3
Simple way to remember:
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.

f(x) = 4 / (x + 5)

Therefore:

x ≠ -5

2. Square Roots

When working with real numbers, the expression inside a square root must be greater than or equal to zero.

f(x) = √(x - 3)

We require:

x - 3 ≥ 0

Hence:

x ≥ 3

3. Logarithmic Functions

The argument of a logarithm must be positive.

f(x) = ln(x + 4)

We require:

x + 4 > 0

Therefore:

x > -4

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.

f(x) = (x - 2)² + 1

This is an upward-opening quadratic with a minimum value of 1.

Range: f(x) ≥ 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.

  1. Differentiate the function.
  2. Find stationary points.
  3. Check endpoints if the domain is restricted.
  4. Determine the highest or lowest possible output.
  5. Write the range carefully.

Domain and Range in Composite Functions

Suppose:

fg(x) = f(g(x))

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:

Domain of f = Range of f-1
Range of f = Domain of 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:

f(x) = x², x ≥ 0

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.

f(2) = 4    and    f(-2) = 4

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

Domain → input → x-values
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:

Is g(x) inside the domain of f?

A Practical H2 Math Example

Consider:

f(x) = √(5 - x)

To find the domain, the expression inside the square root must satisfy:

5 - x ≥ 0

Therefore:

x ≤ 5

A square root cannot produce a negative number, so:

f(x) ≥ 0

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:

f(x) ≥ 0

A Useful Checklist for Domain and Range Questions

  1. Has the question already stated a domain?
  2. Does the formula create any additional restrictions?
  3. What values can the function actually output?
  4. Are there maximum or minimum values?
  5. If it is a composite function, does the inner function produce valid inputs for the outer function?
  6. 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.

Start Your Math Tuition Learning Adventure With Musclemath


At MuscleMath, we guide student to score well through O-level math tuition, A-level math tuition and H2 Math tuition. Our team consists of ex-MOE HOD’s, NIE teachers and full-time tutors.

As a leading and an MOE certified math tuition centre in Singapore, students will be provided with a wide range of options such as holiday tuition lessons, crash courses, free trials for all levels.

We provide fully customised lessons in conjunction with specialised notes and materials that are constantly updated. If you’re looking for math tuition or need help to figure out how to study maths, our team will be there for you to support your learning journey, start now and achieve better results!