Grades 8 to 11 (Years 10 to 13 in England)
Domain and range: how to find them, with a worksheet
Here is how to find the domain and range of a function, from a list of ordered pairs to a graph or a formula, and how to tell whether a relation is a function at all. Try the free domain and range practice below, then print a fresh worksheet with an answer key.
The method, step by step
- The domain is the set of inputs, the x-values.
- The range is the set of outputs, the y-values.
- For ordered pairs, list the first numbers for the domain and the second numbers for the range, each value once, smallest first.
- For a graph, read how far it stretches from left to right for the domain, and from bottom to top for the range.
- For a formula, start with all real numbers and remove any x that would mean dividing by zero or taking the square root of a negative.
CCSS HSF.IF.A.1CCSS HSF.IF.B.5England: GCSE Higher AlgebraEngland: A-level Pure Mathematics
Worked example
Find the domain and range of {(−2, 5), (0, 3), (1, 5), (4, −1)}.
- The inputs are the first numbers: −2, 0, 1 and 4.
- So the domain is {−2, 0, 1, 4}.
- The outputs are the second numbers: 5, 3, 5 and −1.
- 5 appears twice but is listed once. In order, the outputs are −1, 3 and 5.
- So the range is {−1, 3, 5}.
- Domain {−2, 0, 1, 4}, range {−1, 3, 5}.
Practice now
What is the smallest x in the domain of f(x) = √(2x + 2)?
Print a worksheet with answersShare to Google ClassroomFree, no sign-up. Nothing you type is saved.
Print and play
Free printables, made fresh each time you open one. Print as many as you like, or do them on a tablet or computer with a finger, stylus or mouse.
- Practice worksheetFresh questions every time, with an answer key you can turn on or off.Print free✏️ Write on screen
- Riddle puzzleSolve the questions to crack the code and answer a math joke.Print free👆 Play on screen
- FlashcardsCut, fold and quiz: question on the front, answer on the back.Print free👆 Play on screen
- Bingo gameFour different cards and a caller's list, for home or the whole class.Print free
What domain and range mean
A function takes an input and gives exactly one output. The domain is the set of all the inputs the function can take, and the range is the set of all the outputs it actually gives. With x and y, the domain is about x and the range is about y.
Think of a vending machine. The buttons you can press are the domain, and the snacks that can come out are the range. Each button gives one snack, which is what makes it a function. Two buttons can give the same snack, but one button can never give two different snacks.
Is it a function?
A relation is any set of input-output pairs. It is a function only if every input has exactly one output, so look for repeated x-values. {(1, 4), (2, 6), (1, 7)} is not a function, because the input 1 has two outputs, 4 and 7. {(1, 4), (2, 4), (3, 4)} is a function, because a repeated output is fine.
On a graph, use the vertical line test. If any vertical line crosses the graph more than once, one x-value has two y-values, and it is not a function. A straight line that is not vertical passes the test; a circle fails it.
Domain and range from ordered pairs and tables
For a list of ordered pairs or a table, the work is careful listing. Write each value once, from smallest to largest, inside curly brackets.
- {(3, 9), (−1, 1), (0, 0), (2, 4)}: domain {−1, 0, 2, 3}, range {0, 1, 4, 9}.
- A table with x = 1, 2, 3, 4 and y = 10, 20, 20, 30: domain {1, 2, 3, 4}, range {10, 20, 30}.
- {(5, −2), (6, −2), (7, −2)}: domain {5, 6, 7}, range {−2}. This is a function with only one output.
Domain and range from a graph
On a graph, the domain is how far the graph reaches from left to right, and the range is how far it reaches from bottom to top. A filled dot at an end means that value is included, an open dot means it is not, and an arrow means the graph keeps going.
- A line segment from (−3, 1) to (5, 9) with filled dots: domain −3 ≤ x ≤ 5, range 1 ≤ y ≤ 9.
- The line y = 2x + 1 with arrows at both ends: the domain and the range are both all real numbers.
- The parabola y = x² − 4: the domain is all real numbers. Its lowest point is (0, −4), so the range is y ≥ −4.
Finding the domain from a formula
When a function is given as a formula, the domain is every real number except the ones that break it. At this level, two things break a function: dividing by zero, and taking the square root of a negative number.
- f(x) = 3x − 7: nothing breaks it, so the domain is all real numbers.
- f(x) = 1/(x − 2): x − 2 cannot be 0, so the domain is x ≠ 2.
- f(x) = √(x + 5): x + 5 must be 0 or more, so the domain is x ≥ −5.
- f(x) = √(6 − x): 6 − x ≥ 0, so the domain is x ≤ 6.
- f(x) = 1/√(x − 1): the root is on the bottom, so it must be more than 0, and the domain is x > 1.
Real situations limit the domain too. If C(n) = 4n is the cost in dollars of n concert tickets, n must be a whole number, 0 or more, because you can't buy half a ticket or −3 tickets.
How it is taught in school
In the US, Common Core grade 8 defines a function as a rule that assigns each input exactly one output (8.F.A.1). High school adds the words domain and range: a function from one set, the domain, to another, the range, assigns each element of the domain exactly one element of the range (HSF-IF.A.1). Students also relate the domain to a function's graph and to the situation it describes (HSF-IF.B.5). Most students meet domain and range in Algebra 1 and return to it in Algebra 2.
In England, GCSE Higher pupils treat expressions as functions with inputs and outputs, and work with inverse and composite functions. The words domain and range, and restricting the domain of a function, are taught formally in A level Mathematics.
How parents can help
- Use the input-output idea in everyday life. Each person has one birthday, so person to birthday is a function, even though many people share a birthday.
- Ask which is the input and which is the output before your child lists anything. Most mix-ups come from swapping x and y.
- Encourage neat lists: curly brackets, each value once, smallest first.
- For formulas, ask the same two questions every time. Could the bottom be zero? Could the inside of a square root be negative?
- Keep sessions short. Print a fresh worksheet, let your child mark it with the answer key, and read the worked steps together for any they missed.
Common mistakes
- Swapping domain and range. The domain is the x-values, the inputs; the range is the y-values, the outputs.
- Listing a repeated value twice. In {(1, 5), (2, 5), (3, 8)}, the range is {5, 8}, not {5, 5, 8}.
- Thinking a repeated output means it is not a function. Only a repeated input with different outputs breaks the rule.
- Ignoring an open dot. A graph that runs left from an open dot at x = 4 has domain x < 4, not x ≤ 4.
- Forgetting that zero is allowed under a square root. √(x − 3) works at x = 3, so the domain is x ≥ 3, not x > 3.
- Getting the sign wrong. The bottom of 1/(x + 4) is zero when x = −4, so the domain is x ≠ −4, not x ≠ 4.
Questions people ask
- What is the domain and range of a function?
- The domain is the set of all inputs (x-values) and the range is the set of all outputs (y-values). For {(1, 2), (3, 6)}, the domain is {1, 3} and the range is {2, 6}.
- How do you find the domain and range from ordered pairs?
- List the first numbers for the domain and the second numbers for the range, each value once. {(0, 4), (2, 4), (5, 1)} has domain {0, 2, 5} and range {1, 4}.
- How do you find the domain and range from a graph?
- Read the domain from left to right along the x-axis and the range from bottom to top along the y-axis. Check the ends: filled dots are included, open dots are not, and arrows keep going.
- What is the domain of a square root function?
- Every x that keeps the inside 0 or more. For f(x) = √(x − 8), x − 8 ≥ 0, so the domain is x ≥ 8.
- How do you tell if a relation is a function?
- Check that no input has two different outputs. On a graph, use the vertical line test: if a vertical line can cross the graph twice, it is not a function.
- What grade learns domain and range?
- In the US, functions start in grade 8 (8.F.A.1), and domain and range are taught in Algebra 1 (HSF-IF.A.1), usually in grade 8 or 9. In England, they are taught formally in A level Mathematics.
- Is there a free domain and range worksheet with answers?
- Yes. Use the Print a worksheet button on this page. Each worksheet is freshly made, and the answer key can show answers only or answers with worked steps.
Updated .
Keep exploring
This topic by grade
More math topics
- Times tables practice
- Year 4 multiplication tables check practice
- Fractions practice, from grade 3 to grade 6
- Adding fractions with unlike denominators
- Equivalent fractions
- How to simplify fractions
- Comparing fractions
- Multiplying fractions
- Dividing fractions
- Mixed numbers and improper fractions
- Adding and subtracting decimals
- Addition with regrouping
- Types of angles
- Area and perimeter of rectangles, with word problems
Play it as a game
- Math by gradeEvery skill from kindergarten to 8th grade
- English and grammarNouns, verbs, commas, spelling and more
- Reading passagesShort stories with read-aloud and questions
- Science by gradePlants, forces, matter, space and more
- Printable worksheetsPrint, or do them on a tablet with a finger or pen
- Free math games3D games where every move is a math question
- Manipulatives and simulationsMath tools plus science sims: cells, atoms, forces, planets
- Math flash cardsAdd, subtract, multiply and divide, online
- Calculators with stepsPercent change, long division, rounding, hex
- Lesson plan builderAny skill, K–12, with a student sheet
- Test generatorPrintable tests with answer keys
- Math 5-a-dayFive fresh warm-up questions every day
- Guides for parentsHow to help with fractions, tables, tests and more
Math, English and science that click.
