Skip to content
domainrangefunctionsreal-world-maths

Domain and Range in Real-World Contexts

By Teacher Rig · · Updated 15 March 2026

What Are Domain and Range?

Domain and range are fundamental concepts in the study of functions, which is a key part of the IGCSE Extended syllabus. In simple terms:

  • The domain is the set of all possible input values (x-values) for a function.
  • The range is the set of all possible output values (y-values) that the function produces.

Think of a function as a machine: you feed in a number (from the domain), the machine processes it, and out comes a result (in the range). Not every number can be fed into every machine, and the machine cannot produce every possible output. Domain and range describe the limits.

Why Domain and Range Matter

Understanding domain and range helps you in several ways:

  • Graph sketching. Knowing the domain tells you where to draw the graph, and the range tells you how high or low it goes.
  • Solving equations. If a question asks for the value of x when f(x) = 5, you first need to know whether 5 is in the range. If it is not, there is no solution.
  • Real-world modelling. When a function represents a real situation (height of a ball, cost of items, temperature over time), the domain and range have practical interpretations.
  • Inverse functions. The domain of f(x) becomes the range of f⁻¹(x) and vice versa. This connection is tested frequently.

Finding the Domain

The domain of a function is all the x-values for which the function produces a valid output. There are three main restrictions to look for:

1. Division by zero. You cannot divide by zero. If f(x) = 1/(x - 3), then x = 3 is not in the domain because it would make the denominator zero.

2. Square roots of negative numbers. You cannot take the square root of a negative number (within real numbers). If f(x) = √(x - 2), the domain is x ≥ 2.

3. Context restrictions. In real-world problems, the domain may be limited by the situation. For example, if x represents the number of students in a class, x must be a positive integer.

If none of these restrictions apply, the domain is all real numbers, which you can write as -∞ < x < ∞ or “x can be any real number.”

Finding the Range

The range is determined by looking at the outputs the function can produce over its entire domain. Here are common approaches:

For linear functions (y = mx + c): If the domain is all real numbers, the range is also all real numbers. The line extends infinitely in both directions.

For quadratic functions (y = ax² + bx + c): The range depends on the vertex (turning point). If a > 0 (the graph opens upward), the range is y ≥ the y-coordinate of the vertex. If a < 0 (opens downward), the range is y ≤ the y-coordinate of the vertex.

For functions with restricted domains: Substitute the boundary values of the domain and consider the behaviour of the function to find the minimum and maximum outputs.

From a graph: The range is the set of all y-values that appear on the graph. Look at the lowest and highest points the graph reaches.

Real-World Example 1: Height of a Ball

A ball is thrown upward with height h = 20t - 5t², where t is time in seconds.

Domain: In the real world, t ≥ 0 (time cannot be negative). Also, the ball hits the ground when h = 0, so 20t - 5t² = 0, giving t(20 - 5t) = 0, so t = 0 or t = 4. The domain is 0 ≤ t ≤ 4 seconds.

Range: The minimum height is 0 (at the ground). The maximum height occurs at the vertex, where t = -b/(2a) = -20/(2×(-5)) = 2. At t = 2: h = 40 - 20 = 20. The range is 0 ≤ h ≤ 20 metres.

This tells us the ball is in the air for 4 seconds and reaches a maximum height of 20 metres.

Real-World Example 2: Cost Function

A taxi charges RM5 as a base fare plus RM2 per kilometre. The cost function is C = 5 + 2d, where d is the distance in km.

Domain: d ≥ 0 (you cannot travel a negative distance). In practice, there might also be an upper limit, such as d ≤ 100 km.

Range: When d = 0, C = 5. As d increases, C increases without bound. If d ≤ 100, then C ≤ 205. The range is 5 ≤ C ≤ 205 ringgit.

The domain and range in this context are meaningful: the minimum cost is RM5 (just getting in the taxi), and the maximum depends on how far you travel.

Real-World Example 3: Temperature

The temperature T in a city over 24 hours can be modelled by a function of time. If the minimum temperature is 18°C (at 4:00 AM) and the maximum is 32°C (at 2:00 PM):

Domain: 0 ≤ t ≤ 24 (hours in a day). Range: 18 ≤ T ≤ 32 (degrees Celsius).

Even though the function itself might produce values outside this range for other inputs, the real-world context limits both the domain and the range.

Domain and Range with Inverse Functions

For the Extended syllabus, understanding the relationship between a function and its inverse is crucial:

  • The domain of f becomes the range of f⁻¹.
  • The range of f becomes the domain of f⁻¹.

For example, if f(x) = 2x + 3 with domain x ≥ 0, then:

  • Range of f: f(0) = 3 and f increases as x increases, so range is y ≥ 3.
  • f⁻¹(x) = (x - 3)/2 with domain x ≥ 3 and range y ≥ 0.

This swap is logical: if f only produces outputs of 3 or above, then f⁻¹ can only accept inputs of 3 or above.

Notation for Domain and Range

IGCSE uses several notations:

  • Inequality notation: 0 ≤ x ≤ 10 or y > -3
  • Set notation: {x : x ≥ 0} means “the set of all x such that x is greater than or equal to 0”
  • Verbal description: “All real numbers except x = 2”

Learn to read and write in all these forms. The question will usually indicate which notation to use.

Common Mistakes to Avoid

  • Stating the domain without considering restrictions. Always check for division by zero and square roots of negatives.
  • Confusing domain and range. Domain is inputs (x-values). Range is outputs (y-values).
  • Ignoring real-world limits. If x represents a physical quantity like length, it cannot be negative even if the mathematical function allows it.
  • Finding the range of a quadratic without locating the vertex. The vertex gives you the minimum or maximum of the range, so you must find it.
  • Forgetting that the domain and range swap for inverse functions. This is a key relationship that is frequently tested.

Practice Questions

  1. Find the domain of f(x) = 5/(x + 2).
  2. Find the range of f(x) = x² - 4x + 7.
  3. A company sells widgets for RM10 each. The revenue function is R = 10n, where n is the number of widgets. State the domain and range in this context.
  4. f(x) = 3x - 1 for the domain -2 ≤ x ≤ 5. Find the range.
  5. f(x) = √(2x - 6). Find the domain and range.

Summary

Domain and range are essential concepts for understanding functions in IGCSE Maths. In the abstract, the domain is the set of valid inputs and the range is the set of possible outputs. In real-world contexts, both are shaped by physical constraints that give them practical meaning. Always check for mathematical restrictions (division by zero, negative square roots) and contextual limits, and remember that domain and range swap when you find the inverse function.

Get Expert Help with IGCSE Maths

If functions, domain and range, or inverse functions are giving you trouble, a specialist IGCSE Maths tutor can make these concepts clear and help you apply them confidently in exams.

Book a Free Trial Class | WhatsApp Us

Need Help With IGCSE Maths?

Book a free 60-minute trial class with Teacher Rig and get personalised guidance for your IGCSE Maths preparation.