How to Find Domain and Range of a Function?
Finding the domain and range of a function tells you exactly which inputs a function will accept and which outputs it can produce. The domain is the set of all valid x-values, while the range is the set of all resulting y-values. Identifying domain and range is a foundational skill in Algebra 1 that you will rely on throughout every math course that follows.
Type the problems from this lesson and check each step.
Find Domain and Range of a Function: what to notice and how to work it
What to notice first
Common student mistake
Key formulas and cues
A reliable path
- Identify the inputFind the x-value, expression, or inner function being used.
- Apply the ruleSubstitute with parentheses so signs and powers stay clear.
- Interpret the outputState the value, point, interval, domain, range, or inverse relationship.
Worked examples
Evaluate a function
- Replace x with 2.
- Compute 4(2) – 3.
- Simplify.
Compose functions
- Find g(3) = 6.
- Use that as the input for f.
- f(6) = 7.
Try one before moving on
Find Domain and Range of a Function: pop-up practice
What Are Domain and Range?
- Domain: All input values (x-values) for which the function is defined — i.e., produces a real-number output.
- Range: All output values (y-values) that the function actually produces for inputs in the domain.
Written in interval notation: the domain of is (−∞, ∞) and the range is [1, ∞) because the smallest output is 1 (when ).
How to Find the Domain of a Function
Polynomial functions
No restrictions. Domain is always all real numbers: (−∞, ∞).
Example: ² − has domain (−∞, ∞).
Functions with fractions (rational functions)
Exclude any x-value that makes the denominator equal to zero.
Example: . Set : , so .
Domain: all real numbers except 5, written (−∞, 5) ∪ (5, ∞).
Functions with square roots (radical functions)
The expression under the radical must be greater than or equal to zero.
Example: f(x) = √(). Set : .
Domain: [2, ∞).
How to Find the Range of a Function
Method 1 — Algebraic analysis
Identify the minimum or maximum output value. For , the smallest x² can be is 0 (at ), so the smallest output is . Range: [1, ∞).
Method 2 — Graph inspection
Look at the graph and determine the lowest and highest y-values. Use interval notation to record what the graph covers vertically.
Step-by-Step Summary
- Look at the type of function (polynomial, rational, radical, etc.).
- Domain: Start with all real numbers and remove values that cause division by zero or a negative under a square root.
- Range: Find the minimum or maximum output value using the vertex (for quadratics) or algebra, then express the range in interval notation.
- Write answers in interval notation or set notation.
Watch: Domain and Range Given a Formula (Video Lesson)
Khan Academy demonstrates how to find the domain and range of a function given a formula with several worked examples:
Domain and Range – Worked Examples
Example 1: Find the domain of .
Polynomial: no restrictions. Domain: (−∞, ∞).
Range: for all x, so . Range: [1, ∞).
Example 2: Find the domain of .
when (excluded). Domain: (−∞, 5) ∪ (5, ∞).
Range: f(x) can be any value except 0. Range: (−∞, 0) ∪ (0, ∞).
Example 3: Find the domain of f(x) = √().
Require → . Domain: [2, ∞).
Range: √. Range: [0, ∞).
Example 4: Find domain and range of f(x) = −.
Polynomial: Domain: (−∞, ∞).
−, so f(x) = −x² + . Maximum is 4 at . Range: (−∞, 4].
More Practice: Domain and Range of a Function (Video Lesson)
Khan Academy provides a second lesson focusing on reading domain and range from graphs and formula-based functions:
Exercises for Domain and Range of a Function
Try these 10 questions one at a time. After each answer you will see a step-by-step explanation, so you can learn from every question, right or wrong.
Question 1 of 10
1. What is the domain of f(x) = 2x + 3?
- x ≥ 0
- All real numbers
- x ≠ 3
- x ≥ −3
Show the answer and explanation
Answer: B. All real numbers
A linear function can take any real number as input.
There is no division by zero and no square root of a negative.
So the domain is all real numbers.
2. What is the domain of f(x) = 1/(x − 4)?
- All real numbers
- x ≠ 4
- x ≠ 0
- x > 4
Show the answer and explanation
Answer: B. x ≠ 4
Division by zero is not allowed.
The bottom is zero when x − 4 = 0, which is x = 4.
So the domain is all real numbers except 4.
3. What is the smallest x in the domain of f(x) = √(x − 3)?
Type your answer.
Show the answer and explanation
Answer: 3
The number under a square root cannot be negative.
So x − 3 ≥ 0, which means x ≥ 3.
The smallest allowed input is 3.
4. What is the range of f(x) = x²?
- All real numbers
- y ≥ 0
- y ≤ 0
- y > 0
Show the answer and explanation
Answer: B. y ≥ 0
Squaring any real number gives 0 or a positive number.
The smallest output is 0, at x = 0.
So the range is y ≥ 0.
5. What is the minimum value in the range of f(x) = x² + 5?
Type your answer.
Show the answer and explanation
Answer: 5
x² is never less than 0.
So x² + 5 is never less than 0 + 5 = 5.
The range is y ≥ 5, and the minimum is 5.
6. The relation {(1, 4), (2, 5), (3, 6)} has what range?
- {1, 2, 3}
- {4, 5, 6}
- {1, 2, 3, 4, 5, 6}
- {5}
Show the answer and explanation
Answer: B. {4, 5, 6}
The range is the set of outputs (the second numbers).
Those are 4, 5 and 6.
The domain would be {1, 2, 3}.
7. What value must be excluded from the domain of f(x) = 5/(2x + 6)?
Type your answer.
Show the answer and explanation
Answer: −3
The denominator cannot be zero.
Solve 2x + 6 = 0: 2x = −6, so x = −3.
So x = −3 is not in the domain.
8. What is the range of f(x) = −x² + 4?
- y ≥ 4
- y ≤ 4
- All real numbers
- y ≤ −4
Show the answer and explanation
Answer: B. y ≤ 4
−x² is never positive; its largest value is 0 at x = 0.
So −x² + 4 is at most 4.
The range is y ≤ 4. The graph is a downward parabola with its top at (0, 4).
9. What is the range of f(x) = |x| − 2? Give the smallest output value.
Type your answer.
Show the answer and explanation
Answer: −2
|x| is never negative, and its smallest value is 0.
So |x| − 2 is at least 0 − 2 = −2.
The range is y ≥ −2, with smallest output −2.
10. A function is defined only for x = 0, 1, 2, 3. What is its domain?
- All real numbers
- {0, 1, 2, 3}
- 0 ≤ x ≤ 3 (all numbers between)
- x ≥ 0
Show the answer and explanation
Answer: B. {0, 1, 2, 3}
The domain is exactly the set of inputs the function is defined for.
Here those are just the four numbers 0, 1, 2 and 3.
Numbers like 1.5 are not included, so choice C is too big.
Free Finding Domain and Range Worksheet
Ready to practice on your own? Download our free Finding Domain and Range worksheet below, work through each problem at your own pace, and then check your answers. If a few give you trouble, scroll back up to the worked examples and try again, steady practice is the surest way to master Finding Domain and Range before a quiz or test.
Download Domain and Range Worksheet
Frequently Asked Questions
What is domain and range for a function?
The domain is every input (x-value) the function can accept, and the range is every output (y-value) it can actually produce. For f(x) = 2x + 1, any real number can go in and any real number can come out, so both are all real numbers. For f(x) = x², the domain is all real numbers but the range is y ≥ 0.
How do you find domain and range of a function without graphing?
For the domain, look for values that break the rule: division by zero and square roots of negative numbers. For the range, think about what outputs are possible. For f(x) = √(x − 3), the inside must be at least 0, so the domain is x ≥ 3. A square root never gives a negative result, so the range is y ≥ 0.
How do you find the domain and range of a quadratic function?
The domain of any quadratic is all real numbers. The range depends on the vertex and the direction the parabola opens. For f(x) = 9 − x², the vertex is (0, 9) and the parabola opens down, so the range is y ≤ 9. For f(x) = (x − 1)² + 4, it opens up from the vertex (1, 4), so the range is y ≥ 4.
How do you find the domain and range of a rational function?
Set the denominator equal to zero and exclude those x-values from the domain. For f(x) = 1/(x − 2), x cannot be 2, so the domain is all real numbers except 2. The fraction 1/(x − 2) can never equal 0, because its numerator is never 0, so the range is all real numbers except 0. The graph has asymptotes at x = 2 and y = 0.
How do you find domain and range from a graph?
For the domain, scan the graph from left to right and note the smallest and largest x-values it covers. For the range, scan from bottom to top for the y-values. Closed dots mean the endpoint is included, open dots mean it is not, and arrows mean the graph keeps going. A graph from (−2, 1) to (3, 6) with closed dots has domain −2 ≤ x ≤ 3 and range 1 ≤ y ≤ 6.
How do you find the domain and range of an exponential function?
An exponential function such as y = 2ˣ accepts every real number, so its domain is all real numbers. Its outputs are always positive, so the range is y > 0. A vertical shift moves the range: y = 2ˣ − 3 has range y > −3, because the horizontal asymptote moves down to y = −3.
Related Topics
- Function Notation
- Increasing and Decreasing Functions
- Maxima and Minima of a Function
- Graphing Rational Functions
- Composition of Functions
Watch Domain and Range of Quadratics
Related to This Article
More math articles
- Top 10 PSAT 10 Math Practice Questions
- 4th Grade MAP Math Practice Worksheets: Free Printable PDFs
- The Best Grade 6 ELA Practice Tests for New York Students
- The Best Grade 7 ELA Practice Tests for Utah Students
- Public opinion’s influence on officials
- The Best Grade 7 Math Book for North Dakota Students
- How to Graph Box Plot?
- A Comprehensive Guide to the Properties of Rhombuses
- Stem-and-Leaf Plot Maker
- Math learning support for visual learners through browser tools




What people say about "How to Find Domain and Range of a Function"?
No one replied yet.