Loadingโฆ
Finding domain and range of functions
Learn step-by-step with practice exercises built right in.
Domain: The set of all possible INPUT values (x-values) for a function.
Range: The set of all possible OUTPUT values (y-values or f(x)-values) for a function.
Think of it this way:
Not all inputs make sense for every function:
Understanding domain and range helps you:
We use interval notation to write domain and range efficiently.
Find the domain and range of: {(1, 3), (2, 5), (4, 7), (6, 9)}
Step 1: Understand the definitions: Domain = all x-values (inputs) Range = all y-values (outputs)
Step 2: List all x-values from the ordered pairs: x-values: 1, 2, 4, 6
Step 3: List all y-values from the ordered pairs: y-values: 3, 5, 7, 9
Step 4: Write in set notation: Domain: {1, 2, 4, 6} Range: {3, 5, 7, 9}
Answer: Domain: {1, 2, 4, 6}, Range: {3, 5, 7, 9}
Avoid these 3 frequent errors
See how this math is used in the real world
Solve .
Review key concepts with our flashcard system
Explore more Algebra 1 topics
Examples:
Another way to express domain and range:
{x | condition} reads as "the set of all x such that condition"
Examples:
Linear functions: f(x) = mx + b
Domain: ALL real numbers Written as: (-โ, โ) or {x | x โ โ}
Why? You can plug any number into a linear function.
Examples:
Non-constant linear: Range is ALL real numbers (-โ, โ)
Constant function: f(x) = c Range is just {c} (a single value)
Examples:
Quadratic functions: f(x) = axยฒ + bx + c
Domain: ALL real numbers (-โ, โ)
Why? You can square any real number.
Examples:
Range depends on the vertex and direction of opening.
If parabola opens UP (a > 0): Range: [k, โ) where k is the y-coordinate of the vertex (minimum value)
If parabola opens DOWN (a < 0): Range: (-โ, k] where k is the y-coordinate of the vertex (maximum value)
Example 1: f(x) = xยฒ - 4x + 3
Find vertex: x = -(-4)/(2ยท1) = 2 f(2) = 4 - 8 + 3 = -1 Vertex: (2, -1)
Opens up (a = 1 > 0) Range: [-1, โ)
Example 2: g(x) = -xยฒ + 6x - 5
Vertex: x = -6/(2ยท(-1)) = 3 g(3) = -9 + 18 - 5 = 4 Vertex: (3, 4)
Opens down (a = -1 < 0) Range: (-โ, 4]
Cannot divide by zero!
When a function has a variable in the denominator, exclude values that make the denominator zero.
Example 1: f(x) = 1/x
Denominator = x Set equal to zero: x = 0 Domain: All real numbers EXCEPT 0 Written as: (-โ, 0) โช (0, โ) or {x | x โ 0}
Example 2: g(x) = 3/(x - 5)
Denominator = x - 5 Set equal to zero: x - 5 = 0, so x = 5 Domain: All real numbers EXCEPT 5 Written as: (-โ, 5) โช (5, โ) or {x | x โ 5}
Example 3: h(x) = (2x + 1)/(xยฒ - 4)
Denominator = xยฒ - 4 Set equal to zero: xยฒ - 4 = 0 xยฒ = 4 x = ยฑ2
Domain: All real numbers EXCEPT 2 and -2 Written as: (-โ, -2) โช (-2, 2) โช (2, โ) or {x | x โ ยฑ2}
Cannot take square root of negative number (in real numbers).
When a function has a square root, the expression inside must be โฅ 0.
Example 1: f(x) = โx
Inside square root: x Requirement: x โฅ 0 Domain: [0, โ)
Example 2: g(x) = โ(x - 3)
Inside: x - 3 Requirement: x - 3 โฅ 0 Solve: x โฅ 3 Domain: [3, โ)
Example 3: h(x) = โ(5 - x)
Inside: 5 - x Requirement: 5 - x โฅ 0 Solve: -x โฅ -5 Multiply by -1 (flip inequality): x โค 5 Domain: (-โ, 5]
Example 4: f(x) = โ(xยฒ - 9)
Inside: xยฒ - 9 Requirement: xยฒ - 9 โฅ 0 xยฒ โฅ 9 |x| โฅ 3 This means x โค -3 or x โฅ 3 Domain: (-โ, -3] โช [3, โ)
Sometimes functions have BOTH division and square roots.
Example: f(x) = โx / (x - 4)
Square root restriction: x โฅ 0 Division restriction: x โ 4
Combined domain: [0, 4) โช (4, โ)
We need x โฅ 0 AND x โ 4.
From a graph:
Example: If a graph goes from y = -2 up to y = 5 (including both) Range: [-2, 5]
Example: If a parabola opening up has vertex at y = 3 Range: [3, โ)
Example: If a parabola opening down has vertex at y = -1 Range: (-โ, -1]
From a graph:
Example: If a graph extends forever left and right Domain: (-โ, โ)
Example: If a graph starts at x = 2 and extends right Domain: [2, โ)
Example: If there's a gap (like at x = 3) Domain might be: (-โ, 3) โช (3, โ)
f(x) = |x| Domain: (-โ, โ) Range: [0, โ) (absolute value is never negative)
f(x) = |x - h| + k Domain: (-โ, โ) Range: [k, โ) if upright V, (-โ, k] if upside-down
Example: f(x) = |x - 2| + 3 Domain: (-โ, โ) Range: [3, โ) The vertex of the V is at (2, 3).
Domain is typically all real numbers (unless specified). Range depends on the individual pieces.
Example: f(x) = x + 1 if x < 0 f(x) = xยฒ if x โฅ 0
Domain: (-โ, โ)
For range, consider both pieces:
Range: (-โ, 1) โช [0, โ) = (-โ, โ)
Context matters! Physical constraints restrict domain and range.
Example 1: Area of square A(s) = sยฒ where s is side length
Mathematical domain: (-โ, โ) Real-world domain: (0, โ) because side length must be positive
Mathematical range: [0, โ) Real-world range: (0, โ) because area must be positive
Example 2: Projectile h(t) = -16tยฒ + 64t where t is time
Real-world domain: [0, 4] (from launch until it hits ground) Real-world range: [0, 64] (from ground to maximum height)
Example 3: Cost function C(n) = 50 + 10n where n is number of items
Real-world domain: {0, 1, 2, 3, ...} (can't buy 2.5 items) Real-world range: {50, 60, 70, 80, ...} (discrete values)
For each function, find the domain:
Problem 1: f(x) = 3x - 7 Linear, no restrictions Domain: (-โ, โ)
Problem 2: g(x) = 1/(x + 2) Denominator zero when x = -2 Domain: (-โ, -2) โช (-2, โ)
Problem 3: h(x) = โ(x + 4) Inside must be โฅ 0: x + 4 โฅ 0, so x โฅ -4 Domain: [-4, โ)
Problem 4: f(x) = xยฒ No restrictions Domain: (-โ, โ)
Problem 5: g(x) = โ(2x - 6) Inside โฅ 0: 2x - 6 โฅ 0, so 2x โฅ 6, thus x โฅ 3 Domain: [3, โ)
Problem 1: f(x) = x - 5 Linear (non-constant) Range: (-โ, โ)
Problem 2: g(x) = xยฒ + 1 Parabola opening up, vertex at (0, 1) Range: [1, โ)
Problem 3: h(x) = -xยฒ + 4 Parabola opening down, vertex at (0, 4) Range: (-โ, 4]
Problem 4: f(x) = |x| - 3 V-shape with vertex at (0, -3), opens up Range: [-3, โ)
Problem 5: g(x) = 7 Constant function Range: {7}
Use โช (union) to combine separate intervals.
Example: x < 2 or x > 5 Written as: (-โ, 2) โช (5, โ)
Example: All real numbers except x = 3 Written as: (-โ, 3) โช (3, โ)
Example: -4 โค x < -1 or 2 < x โค 7 Written as: [-4, -1) โช (2, 7]
Using wrong brackets Remember: ( ) for open, [ ] for closed Infinity ALWAYS uses ( )
Forgetting to solve inequalities โ(x - 3) requires x - 3 โฅ 0, which gives x โฅ 3
Confusing domain and range Domain = inputs (x), Range = outputs (y)
Missing restrictions Always check for division by zero and square roots
Ignoring graph direction Parabola up: range [k, โ) Parabola down: range (-โ, k]
Writing infinity with brackets Never write [โ) or (-โ] Always (โ) and (-โ)
Table:
| x | y |
|---|---|
| -2 | 3 |
| 0 | 5 |
| 2 | 7 |
| 4 | 9 |
Domain: {-2, 0, 2, 4} (discrete values shown) Range: {3, 5, 7, 9}
If the pattern continues forever: Domain: all even integers Range: all odd integers starting from 3
Continuous domain/range: Any value in an interval Example: (-โ, โ), [2, 5]
Discrete domain/range: Only specific separate values Example: {0, 1, 2, 3, ...}, {-2, 0, 2, 4}
Real-world examples of discrete:
Quick checks:
For domain:
For range:
Finding Domain:
Finding Range:
f(x) = โ(4 - xยฒ)
Domain: Inside square root: 4 - xยฒ โฅ 0 -xยฒ โฅ -4 xยฒ โค 4 |x| โค 2 -2 โค x โค 2 Domain: [-2, 2]
Range: When x = 0: f(0) = โ4 = 2 (maximum) When x = ยฑ2: f(ยฑ2) = โ0 = 0 (minimum) Range: [0, 2]
This is actually the upper half of a circle!
Common Domains:
Common Ranges:
Find the domain of
This is a linear function. There are no restrictions (no division by zero, no square roots).
We can substitute any real number for .
Answer: Domain: all real numbers or
What is the domain of f(x) = 2x + 5?
Step 1: Check for restrictions:
Step 2: Determine the domain: Since this is a linear function with no restrictions, x can be any real number.
Step 3: Write the answer: Domain: All real numbers
In interval notation: (-โ, โ) In set-builder notation: {x | x โ โ}
Answer: All real numbers
Find the domain of
Look for restrictions. We cannot divide by zero.
Set the denominator equal to zero:
We must exclude from the domain.
What is the domain of g(x) = 1/(x - 3)?
Step 1: Identify restrictions: This is a rational function (has division). The denominator cannot equal zero.
Step 2: Find when the denominator is zero: x - 3 = 0 x = 3
Step 3: State the domain: x can be any real number except 3
Step 4: Write the answer in different notations:
Words: All real numbers except 3
Interval notation: (-โ, 3) โช (3, โ)
Set-builder notation: {x | x โ 3}
Answer: All real numbers except 3
What is the domain of h(x) = โ(x + 4)?
Step 1: Identify the restriction: For a square root function, the radicand (expression under the root) must be non-negative. We need: x + 4 โฅ 0
Step 2: Solve the inequality: x + 4 โฅ 0 x โฅ -4
Step 3: Interpret the result: x must be greater than or equal to -4
Step 4: Write the answer in different notations:
Words: All real numbers greater than or equal to -4
Interval notation: [-4, โ)
Set-builder notation: {x | x โฅ -4}
Answer: x โฅ -4 or [-4, โ)
Find the range of
This is a quadratic function that opens upward ().
Step 1: Find the vertex (the minimum point)
Find the domain and range of f(x) = xยฒ - 4
Step 1: Find the domain: This is a quadratic function with no restrictions. Domain: All real numbers or (-โ, โ)
Step 2: Understand the graph: f(x) = xยฒ - 4 is a parabola that opens upward (because coefficient of xยฒ is positive).
Step 3: Find the vertex (minimum point): This is in the form f(x) = (x - 0)ยฒ - 4 Vertex is at (0, -4)
Step 4: Determine the range: Since the parabola opens upward and the minimum y-value is -4, all y-values are โฅ -4.
Step 5: Write the range: Range: [-4, โ) or {y | y โฅ -4}
Answer: Domain: (-โ, โ), Range: [-4, โ)
Answer: Domain: all real numbers except
In interval notation:
Step 2: Find the y-coordinate of the vertex
The vertex is .
Since the parabola opens upward, the minimum y-value is and it goes to .
Answer: Range: