TOPIC

Domain and range of a function

MY PROGRESS

Pug Score

0%

Study Points

+0

Overview

Watch

Read

Next Steps


Get Started

Get unlimited access to all videos, practice problems, and study tools.

Unlimited practice
Full videos

Back to Menu

Topic Progress

Pug Score

0%

Videos Watched

0/0

Read

Not viewed


Study Points

+0

Read

Domain and Range of a Function

The domain of a function is the set of input values it accepts; the range is the set of output values it produces. Learn how to find each from an equation and from a graph, the rules for square roots and denominators, and how to write them in interval notation.

What domain and range mean

The domain of a function is the complete set of input values (usually x) it can accept. The range is the complete set of output values (usually y) it can produce. Together they tell you exactly what a function can take in and give back, so finding them is a core skill once you can start identifying functions.

Domain and range on a graph A parabola opening upward with its vertex at the origin. A red double-headed arrow along the x-axis shows the domain is all real numbers, extending in both directions. A green upward arrow starting at the vertex shows the range is y greater than or equal to 0, extending upward. x y Domain: all real numbers Range: y ≥ 0
The domain of a function runs along the x-axis; the range runs along the y-axis.

How to find the domain

Start by assuming the domain is all real numbers, then remove any x-values that break the function. Two rules cover most cases: you cannot divide by zero, and you cannot take the square root of a negative number. For f(x) = 1/(x − 3), the value x = 3 makes the denominator zero, so the domain is every real number except 3. For f(x) = √x, negative inputs are not allowed, so the domain is x ≥ 0.

How to find the range

The range is the set of y-values the function actually reaches. A graph is the quickest guide: read how high and how low the curve goes. The parabola f(x) = x² never dips below zero, so its range is y ≥ 0. Reading the range often depends on how the function is written, which is why comfort with function notation helps.

Domain and range of common functions

Domain and range of common functions Linear f(x)=x has domain all real numbers and range all real numbers. Quadratic f(x)=x squared has domain all real numbers and range y greater than or equal to 0. Square root f(x)=root x has domain x greater than or equal to 0 and range y greater than or equal to 0. Reciprocal f(x)=1 over x has domain x not equal to 0 and range y not equal to 0. FunctionDomainRange Linear: f(x) = xall realsall reals Quadratic: f(x) = x²all realsy ≥ 0 Square root: f(x) = √xx ≥ 0y ≥ 0 Reciprocal: f(x) = 1/xx ≠ 0y ≠ 0
Domain and range for linear, quadratic, square root, and reciprocal functions.

Notice the pattern: linear functions accept and return all real numbers, while square roots and reciprocals carry restrictions. When you build an inverse function, the domain and range simply swap places — the inputs of the inverse are the outputs of the original.

Writing domain and range

You can describe domain and range in words, with inequalities, or with interval notation. "All real numbers" is written (−∞, ∞); "y ≥ 0" is written [0, ∞). Square brackets include the endpoint; parentheses exclude it.

Related lessons