Domain and Range

Definitionnoun phrase

What are domain and range in math?

Domain and range describe a function: the domain is the set of all inputs it accepts, and the range is the set of all outputs it produces. For the points (1, 4) and (2, 5), the domain is {1, 2} and the range is {4, 5}. Restrictions usually come from division by zero or square roots of negatives.

In Spanish
dominio y rango
Also called
inputs and outputs, domain, range of a function
Grade level
Algebra 1
Grade 8Algebra 1Algebra 2CCSS HSF-IF.A.1CCSS HSF-IF.B.5SATACT

Domain and Range in a picture

Domain and rangeLeft: a mapping diagram sends inputs −1, 0, 2 and 4 in the domain oval to outputs 3, 1, 3 and 6 in the range oval, so the domain is {−1, 0, 2, 4} and the range is {1, 3, 6}. Right: the graph of y = x + 1 from x = −2 to x = 3; a blue bar under the x-axis shows the domain −2 ≤ x ≤ 3 and an orange bar beside the y-axis shows the range −1 ≤ y ≤ 4.Mapping diagram−1024136domaininputs xrangeoutputs ydomain {−1, 0, 2, 4}range {1, 3, 6}Graph: y = x + 1for −2 ≤ x ≤ 3domain: −2 ≤ x ≤ 3range: −1 ≤ y ≤ 4(3, 4)(−2, −1)
The domain is every input the function uses; the range is every output it reaches. On a graph, the domain is the shadow on the x-axis and the range is the shadow on the y-axis.

Formal definition and notation

For a function f, the domain is the set of all x-values for which f(x) is defined (or that make sense in the situation), and the range is the set of all values f(x) takes for x in the domain. For a relation given as ordered pairs, the domain is the set of first coordinates and the range is the set of second coordinates. Each value is listed once.

Symbol Read it as Meaning
{1, 2, 5} the set containing 1, 2 and 5 a finite domain or range, listed in braces
−2 ≤ x ≤ 3 x is between negative 2 and 3, inclusive an interval written as an inequality
[−2, 3] the closed interval from negative 2 to 3 interval notation; square brackets include the endpoints, parentheses leave them out

Key facts

  • Domain goes with inputs (x, the horizontal axis); range goes with outputs (y, the vertical axis).
  • On a graph, read the domain left to right and the range bottom to top.
  • The range of y = x2 is y ≥ 0, because a square is never negative, even though its domain is all real numbers.
  • In a function, each input has exactly one output, but different inputs may share an output, so the range can have fewer values than the domain.
  • In a word problem, the context limits the domain: you cannot buy negative 3 tickets.

Where domain restrictions come from

Where domain restrictions come from
1x − 3 needs x ≠ 3; √x + 2 needs x ≥ −2
denominator
cannot be 0, so remove any x that makes it 0
square root
the expression inside must be 0 or more (for real outputs)
context
a real situation may allow only whole numbers or nonnegative values, such as numbers of tickets

Polynomials such as 2x + 1 or x squared have no restrictions: their domain is all real numbers.

Domain and Range examples, step by step

Example 1: From a set of points

Warm-up

Find the domain and range of {(−1, 3), (0, 1), (2, 3), (4, 6)}.

  1. Domain: the first coordinates, −1, 0, 2, 4.
  2. Range: the second coordinates, 3, 1, 3, 6. List the repeated 3 only once.
  3. Write each set in order: domain {−1, 0, 2, 4}, range {1, 3, 6}.

Answer: The domain is {−1, 0, 2, 4} and the range is {1, 3, 6}.

Example 2: A fraction restricts the domain

Core

Find the domain of f(x) = 1x − 3.

  1. A denominator cannot be 0, so find where x − 3 = 0.
  2. x − 3 = 0 when x = 3.
  3. Every other real number works, so the domain is all real numbers except 3.

Answer: The domain is all real numbers except x = 3.

Example 3: Domain and range of a square root

Test-style

Find the domain and range of g(x) = √x + 2 − 1.

  1. Domain: the expression under the root must be at least 0: x + 2 ≥ 0, so x ≥ −2.
  2. The square root itself is never negative: √x + 2 ≥ 0, and it equals 0 at x = −2.
  3. Subtracting 1 shifts every output down 1: g(x) ≥ −1.
  4. Check: g(−2) = −1 and g(7) = 3 − 1 = 2.

Answer: Domain: x ≥ −2. Range: y ≥ −1.

Common mistakes

✗ MistakeFor (2, 9) and (5, 11), the domain is {9, 11}.
✓ InsteadThe domain is {2, 5} (inputs) and the range is {9, 11} (outputs).

Do not swap them: domain goes with inputs, range goes with outputs. Think of the alphabet: d before r, x before y.

✗ MistakeWriting the range of (1, 4), (2, 4), (3, 7) as {4, 4, 7}.
✓ InsteadThe range is {4, 7}. Each value appears once in a set.

A range is a set of values, not a list of every output.

✗ MistakeSaying f(x) = 5x + 1 has domain all real numbers.
✓ InsteadLeave out x = −1, because it makes the denominator 0.

Division by zero is undefined, so any input that makes a denominator 0 is not in the domain.

✗ MistakeThe range of y = x2 is all real numbers.
✓ InsteadThe range is y ≥ 0: squares are never negative.

A range lists the outputs the function actually reaches, not every number on the y-axis.

Not to be confused with

Domain and Rangevs.Range in statistics

In statistics the range is one number, the largest value minus the smallest. The range of a function is a whole set of outputs.

Domain and Rangevs.Function

A function is the rule that pairs each input with one output; the domain and range are the sets of inputs and outputs it uses.

Quick check: 3 questions

Question 1 of 3

What is the range of {(−3, 0), (1, 2), (4, 2)}?

Show answer and explanation

Answer: B. The range is the set of second coordinates, with repeats listed once: {0, 2}. Choice A is the domain, choice C repeats the 2, and choice D mixes inputs and outputs.

Question 2 of 3

What is the domain of f(x) = √x − 5?

Show answer and explanation

Answer: D. The expression under the root must be at least 0: x − 5 ≥ 0, so x ≥ 5. Choice B flips the sign of 5, and choices A and C allow inputs like 2 that give the square root of a negative.

Question 3 of 3

What is the range of y = x2?

Show answer and explanation

Answer: A. Squares are never negative, and 02 = 0, so the outputs are y ≥ 0. All real numbers is the domain, choice C describes x instead of y, and choice D leaves out the output 0.

Domain and Range: frequently asked questions

How do you find the domain and range from a graph?

For the domain, scan from left to right and note the smallest and largest x-values the graph covers; for the range, scan from bottom to top for the y-values. Closed dots include an endpoint, open dots leave it out, and arrows mean the graph keeps going. A line with arrows on both ends has domain and range all real numbers, unless it is horizontal.

Which is x and which is y, domain or range?

Domain is x and range is y. A memory trick: domain and range are in alphabetical order, the same as x and y, and inputs come before outputs. So for the point (6, 2), the 6 belongs to the domain and the 2 belongs to the range.

Can the domain be all real numbers?

Yes. Linear functions like y = 3x − 1, quadratics like y = x2 and every other polynomial accept any real input, so their domain is all real numbers. Restrictions appear only with denominators (which cannot be 0), even roots (which need a nonnegative inside), logarithms, or limits set by the real situation.

Practice and tools

Sources

  1. Common Core State Standards, High School Functions, Interpreting Functions (HSF-IF.A.1, HSF-IF.B.5)
  2. OpenStax, Intermediate Algebra 2e, 3.5 Relations and Functions

Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSF-IF.A.1, CCSS HSF-IF.B.5

Cite this entry

Effortless Math Team. “Domain and Range.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/domain-and-range/

Flashcard

TermDomain and Rangeinputs and outputs
DefinitionDomain: all inputs (x) a function accepts. Range: all outputs (y) it produces. For (1, 4), (2, 5): domain {1, 2}, range {4, 5}.
Study the full deck

Browse all terms in the Math Dictionary · More functions terms · Random term