Domain

Definitionnoun

What is the domain of a function?

The domain of a function is the set of all input values (usually x-values) the function can accept. Unless a problem says otherwise, it is every real number except values that would divide by zero or take an even root of a negative number. On a graph, the domain is how far the graph reaches left and right.

In Spanish
dominio
Also called
domain of a function, set of inputs, input values
Grade level
Algebra 1
Grade 8Algebra 1Algebra 2PrecalculusCCSS HSF-IF.A.1CCSS HSF-IF.B.5SATACTPSATACCUPLACER

Domain in a picture

Domain of two functionsTop: the graph of y = square root of (x + 3) starts at x = negative 3 and goes right; the green band on the x-axis shows the domain x greater than or equal to negative 3. Bottom: a number line for y = 1 divided by (x minus 2) is shaded everywhere except an open circle at 2.−3−113524y = √(x + 3)domain: x ≥ −3no graph left of −3y = 1 ÷ (x − 2): every real number except 2−4−20246x ≠ 2dividing by 0 is undefined, so 2 is left out
The domain is every input that gives a real output. A square root starts at a boundary; a fraction loses the value that makes its denominator 0.

Formal definition and notation

For a function f from a set A to a set B, the domain is the set A of inputs; each element of the domain is assigned exactly one output. When a function is given only by a formula, its implied domain is the set of all real numbers x for which f(x) is a real number. In a modeling problem, the domain is further limited to inputs that make sense in the context.

Symbol Read it as Meaning
x ≥ −3 x is greater than or equal to negative 3 domain written as an inequality
[−3, ∞) from negative 3, included, to infinity the same domain in interval notation
ℝ the real numbers the domain when there are no restrictions, also written (−∞, ∞)
x ≠ 2 x is not equal to 2 a single value removed from the domain

Key facts

  • Domain is about inputs, the first coordinate of each ordered pair; the range is about outputs.
  • For a list of ordered pairs, the domain is the set of first coordinates, each listed once: {(4, 1), (6, 1), (4, 9)} has domain {4, 6}.
  • On a graph, read the domain from left to right. A closed dot includes the endpoint, an open dot excludes it, and an arrow means the graph keeps going.
  • Write a domain in set notation, as an inequality, or in interval notation.
  • Two functions with the same rule can have different domains when a context limits one of them.

Rules for finding the domain

Rules for finding the domain
Start with all real numbers, then remove the inputs that break a rule.
fraction
the denominator cannot be 0: for 5x + 4, x ≠ −4
even root
the radicand must be 0 or more: for √x − 1, x ≥ 1
context
keep only sensible inputs, such as whole numbers of people or times t ≥ 0

Polynomials such as 3x2 − x + 7 and odd roots such as 3√x have no restrictions: their domain is all real numbers.

Try it: draw a domain

Interactive

The shaded ray is the domain of y = √x + 3: x ≥ −3. Drag the endpoint or switch it open or closed to show other domains, such as x > 1 for 1√x − 1.

This interactive needs JavaScript. The worked examples below show the same ideas step by step.

Domain examples, step by step

Example 1: Domain of a square root

Warm-up

Find the domain of f(x) = √10 − 2x.

  1. The radicand must be 0 or more: 10 − 2x ≥ 0.
  2. Subtract 10: −2x ≥ −10.
  3. Divide by −2 and flip the sign: x ≤ 5.

Answer: The domain is x ≤ 5, or (−∞, 5].

Example 2: Domain of a fraction

Core

Find the domain of g(x) = x + 1x2 − 9.

  1. The denominator cannot be 0: solve x2 − 9 = 0.
  2. x2 = 9, so x = 3 or x = −3.
  3. Remove both values; nothing else breaks the rule.

Answer: All real numbers except -3 and 3.

Example 3: Domain from a context

Test-style

A theater has 120 seats. Ticket revenue is R(n) = 15n dollars when n tickets are sold. What is a reasonable domain, and how many values does it contain?

  1. The formula works for any real n, but the situation does not.
  2. Tickets come in whole numbers, and n cannot be negative or more than the 120 seats.
  3. Domain: the whole numbers 0, 1, 2, …, 120.
  4. Count: from 0 to 120 there are 120 − 0 + 1 = 121 values.

Answer: The domain is the whole numbers from 0 to 120, which is 121 values.

Common mistakes

✗ Mistakeh(x) = 7x − 5 has domain x ≠ 7.
✓ InsteadSet the denominator to 0: x − 5 = 0, so the domain is x ≠ 5.

Only the denominator causes the restriction. The numerator can be any number, including 0.

✗ MistakeFor √x + 4, the domain is x > 0.
✓ Insteadx + 4 ≥ 0, so x ≥ −4.

It is the whole radicand that must be nonnegative, not x itself. At x = −4, √0 = 0 is allowed.

✗ MistakeFor the points (2, 5), (3, 8), (7, 5), the domain is {5, 8}.
✓ InsteadThe domain is the set of first coordinates: {2, 3, 7}.

Domain goes with inputs, the x-values. The y-values form the range.

Not to be confused with

The range of a function is its set of outputs. For y = x2 the domain is all real numbers, but the range is only y ≥ 0. (In statistics, range means max minus min, a different idea.)

That entry treats inputs and outputs together. This one focuses on the input side and the rules that remove inputs.

Quick check: 3 questions

Question 1 of 3

What is the domain of f(x) = 2x + 6?

Show answer and explanation

Answer: C. x + 6 = 0 when x = −6, so that input is removed. x ≠ 6 has the wrong sign, x ≠ 2 looked at the numerator, and all real numbers ignores the division by zero.

Question 2 of 3

What is the domain of g(x) = √x − 8?

Show answer and explanation

Answer: A. Solve x − 8 ≥ 0: x ≥ 8. 8 is included because √0 = 0. x ≥ 0 checked x instead of the radicand, x > 8 wrongly excluded 8, and x ≤ 8 flipped the inequality.

Question 3 of 3

Which function has a domain of all real numbers?

Show answer and explanation

Answer: D. A polynomial can be evaluated at any real number, so y = x2 − 4x has no restrictions. 1x excludes 0, and the two square roots exclude inputs that make the radicand negative.

Domain: frequently asked questions

How do you find the domain of a function?

Start with all real numbers and remove what breaks a rule. Set any denominator equal to 0 and exclude those values. Require any even root’s radicand to be 0 or more and solve that inequality. If the function models a real situation, also keep only inputs that make sense, such as nonnegative times or whole numbers of items.

How do you find the domain from a graph?

Look left to right along the x-axis and ask which x-values have a point of the graph above or below them. The leftmost and rightmost points give the endpoints: a closed dot includes the value, an open dot leaves it out, and an arrow means the graph continues forever in that direction. Gaps or holes are left out too.

What is the domain of a linear function?

All real numbers, written (−∞, ∞). A line such as y = 2x − 3 can take any input, because multiplying and adding never fail. The only exception is a word problem, where the context may limit the inputs, for example to times from 0 to 10 hours.

Practice and tools

Sources

  1. Common Core State Standards, High School Functions: Interpreting Functions (HSF-IF.A.1, HSF-IF.B.5)
  2. OpenStax, College Algebra 2e, 3.2 Domain and Range

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.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/domain/

Flashcard

TermDomaininputs: x
DefinitionAll the inputs a function accepts. Remove values that divide by 0 or make an even root negative. √x + 3: x ≥ −3.
Study the full deck

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