Domain and Range Calculator
Find the domain and range of functions step-by-step, including polynomial, rational, radical, and other common functions.
---
Visual Graph & Diagram
Interactive mathematical coordinate representation
Calculation Reference Table
Benchmark values and quick reference intervals
Recommended Final Steps
Step-by-Step Mathematical Solution
How to Use & Educational Guide
In-depth guide for Domain and Range Calculator
What Are the Domain and Range of a Function?
The domain and range describe all possible inputs and outputs of a function. The domain is the complete set of valid input values ($x$), while the range is the complete set of resulting output values ($y$ or $f(x)$). You can find the domain and range from an equation, table, or graph by identifying which input and output values are allowed.
- Domain: All possible input values ($x$) for which the function is defined.
- Range: All possible output values ($y$ or $f(x)$) produced by the function.
Domain and Range Rules
The type of function determines which values may be excluded from its domain or range:
1. Polynomial: $$f(x)=ax^n+\cdots+c \quad \Rightarrow \quad \text{Domain}=(-\infty,\infty)$$
2. Rational: $$f(x)=\frac{P(x)}{Q(x)} \quad \Rightarrow \quad Q(x)\ne0$$
3. Square Root: $$f(x)=\sqrt{g(x)} \quad \Rightarrow \quad g(x)\ge0$$
4. Absolute Value: $$f(x)=|x| \quad \Rightarrow \quad \text{Range}=[0,\infty)$$
For real-valued functions, restrictions usually come from division by zero, even roots of negative numbers, or other expressions that are undefined.
How to Find Domain and Range Step-by-Step?
- Step 1 (Identify the Function): Determine whether the function is polynomial, rational, radical, absolute value, or another type.
- Step 2 (Find the Domain): Check the equation for restrictions. For rational functions, exclude values that make the denominator zero. For even roots, require the expression inside the root to be non-negative.
- Step 3 (Find the Range): Determine which output values the function can actually produce by analyzing its equation, graph, minimum or maximum values, and asymptotes.
- Step 4 (Use Interval Notation): Write the domain and range using intervals. Use brackets for included endpoints and parentheses for excluded values and infinity.
How to Find Domain and Range from a Graph?
To find the domain and range of a graph, look at the horizontal and vertical extent of the plotted points. The domain is determined by the values covered along the $x$-axis, while the range is determined by the values covered along the $y$-axis.
- Domain: Read the graph from left to right and identify every $x$-value reached by the graph.
- Range: Read the graph from bottom to top and identify every $y$-value reached by the graph.
- Open circle: The corresponding endpoint or value is excluded.
- Closed circle: The corresponding endpoint or value is included.
- Arrow: The graph continues indefinitely in that direction.
Domain and Range Examples
Example 1: Find the Domain and Range of $f(x)=x^2-4$
β’ Domain: This is a polynomial, so there are no restrictions on $x$.
β’ Domain: $\mathbf{(-\infty,\infty)}$.
β’ Range: Since $x^2\ge0$, the smallest value of $x^2-4$ is $-4$ when $x=0$.
π Domain: $(-\infty,\infty)$ | Range: $[-4,\infty)$
Example 2: Find the Domain and Range of $f(x)=\sqrt{x-3}$
β’ Domain restriction: The expression inside the square root must be non-negative.
β’ $x-3\ge0 \implies x\ge3$.
β’ Domain: $\mathbf{[3,\infty)}$.
β’ Range: A principal square root cannot be negative, so $f(x)\ge0$.
π Domain: $[3,\infty)$ | Range: $[0,\infty)$
Example 3: Find the Domain and Range of $f(x)=\frac{1}{x-2}$
β’ Domain: The denominator cannot equal zero: $x-2\ne0$, so $x\ne2$.
β’ Domain: $\mathbf{(-\infty,2)\cup(2,\infty)}$.
β’ Range: $\frac{1}{x-2}$ can never equal zero, so $y\ne0$.
π Domain: $(-\infty,2)\cup(2,\infty)$ | Range: $(-\infty,0)\cup(0,\infty)$
Difference Between Domain and Range
| Domain | Range |
|---|---|
| Possible input values | Possible output values |
| Associated with the $x$-axis | Associated with the $y$-axis |
| Determines which inputs are allowed | Determines which outputs are possible |
Real-World Applications of Domain and Range
π° Business & Revenue Models
Businesses use domain and range to determine valid quantities such as the number of products sold and the possible revenue or profit produced by those quantities.
π Engineering & Physical Systems
Engineers use domain restrictions to represent physically meaningful inputs such as positive length, time, mass, and temperature ranges in mathematical models.
π Data & Graph Analysis
Domain and range help analysts understand which input measurements are available in a dataset and which output values occur within a mathematical or statistical model.
π» Computer Programming
Functions in software have valid input domains and possible output ranges. Defining these limits helps prevent invalid operations and unexpected results.
Common Mistakes to Avoid
- Confusing Domain and Range: Domain refers to $x$-values, while range refers to $y$-values.
- Ignoring Denominator Restrictions: A denominator can never equal zero, so those input values must be excluded from the domain.
- Forgetting Radical Restrictions: For real-valued functions, the expression inside an even root must be greater than or equal to zero.
- Misreading Graph Endpoints: Open circles exclude a value, while closed circles include it.
- Using the Wrong Interval Notation: Infinity always uses parentheses because infinity is not an included endpoint.
Mathematical accuracy verified by AptCalc Engine
Frequently Asked Questions (FAQs)
Answers to common questions about this calculator
What is the domain and range of a function?
How do you find the domain and range of a function?
How do you find the domain and range of a graph?
What is the domain of a polynomial function?
Can a domain or range have infinity?
Explore Related Calculators
More tools in Algebra
Simplify Algebraic Expressions
Step-By-Step Solver
Evaluate Expression Calculator
Step-By-Step Solver
Combine Like Terms Calculator
Step-By-Step Solver
Expand Algebraic Expressions (FOIL)
Step-By-Step Solver
Linear Equation Solver (ax + b = c)
Step-By-Step Solver
One-Step Equation Calculator
Step-By-Step Solver