Resources For Teachers For Tutors For Students & Parents Pricing
Algebra Relations and functions

Domain and range

20 practice questions 2 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • How To Find The Domain of a Function - Radicals, Fractions & Square Roots - Interval Notation Watch
  • Finding the Domain and Range From a Graph (Interval Notation) Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

For a function:

  • The domain is the set of all input (\(x\)) values.
  • The range is the set of all output (\(y\)) values.
Read a graph left-to-right for the domain and bottom-to-top for the range.
Domain and range from a graph The domain is the set of x-values used; the range is the set of y-values reached. x y domain range
Domain on the \(x\)-axis, range on the \(y\)-axis.
Domain and range Domain and range Domain and range domain: all input (x) values range: all output (y) values read left-right for domain read bottom-top for range
Finding domain and range.

Domain and range:

\[\text{domain}=\{x\},\qquad \text{range}=\{y\}\]
domain is the set of inputs, range is the set of outputs
Watch for restrictions like division by zero or square roots.

How to find domain and range

  1. For a set of pairs, list the inputs and outputs.
  2. For a graph, read the \(x\)- and \(y\)-extents.
  3. Note any restricted values.
  4. Write in set or interval notation.
Example 1 β€” From a set
Give the domain and range of \(\{(1,2),(2,4),(3,6)\}\).
Solution

Domain is the inputs, range the outputs.

\(\text{domain}\)\(=\)\(\{1,2,3\}\)
\(\text{range}\)\(=\)\(\{2,4,6\}\)
domain 1, 2, 3; range 2, 4, 6
Example 2 β€” Domain of a graph
A line segment runs from \(x=1\) to \(x=6\). Give the domain.
Solution

Read the \(x\)-extent.

\(\text{domain}\)\(=\)\([1,6]\)
the domain is 1 to 6
Example 3 β€” Range of a parabola
Give the range of \(y=x^2\).
Solution

Outputs are never negative.

\(\text{range}\)\(=\)\([0,\infty)\)
the range is y at least 0
Example 4 β€” All real domain
What is the domain of \(y=2x+1\)?
Solution

A line accepts any input.

\(\text{domain}\)\(=\)\((-\infty,\infty)\)
all real numbers

Common pitfalls

Domain is inputs (\(x\)), range is outputs (\(y\)).
A parabola's range is limited by its vertex.
Exclude values that break the function.

Frequently asked questions

What is the domain?

The set of all input \(x\)-values.

What is the range?

The set of all output \(y\)-values.

What is the range of \(y=x^2\)?

\([0,\infty)\).

How do you read the domain from a graph?

Look at the left-to-right extent along the \(x\)-axis.