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
How to Calculate Domain and Range Calculator
Step-by-Step Mathematical Solution & Verification
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 set of all valid input values ($x$), while the range is the set of all resulting output values ($y$ or $f(x)$). You can find the domain and range from an equation, table, or graph by identifying which values are allowed and which outputs can be produced.
- 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 logarithms of non-positive numbers.
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. Exclude values that make a denominator zero and require expressions inside even roots to be non-negative.
- Step 3 (Find the Range): Determine which output values the function can actually produce by analyzing its vertex, 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 span of the plotted curve. The domain covers the $x$-axis, while the range covers the $y$-axis.
- Domain: Read the graph from left to right and identify every $x$-value reached.
- Range: Read the graph from bottom to top and identify every $y$-value reached.
- Open circle: The endpoint value is excludedโuse parentheses $( \, )$.
- Closed circle: The endpoint value is includedโuse brackets $[ \, ]$.
- Arrow: The graph continues indefinitely toward $-\infty$ or $\infty$.
Domain and Range Examples
Example 1: Quadratic Function $f(x)=x^2-4$
โข Domain: This is a polynomial, so there are no restrictions on $x$: $\mathbf{(-\infty,\infty)}$.
โข Range: Since $x^2\ge0$, the minimum output of $x^2-4$ is $-4$ when $x=0$.
๐ Domain: $(-\infty,\infty)$ | Range: $[-4,\infty)$
Example 2: Radical Function $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: Rational Function $f(x)=\frac{1}{x-2}$
โข Domain: The denominator cannot equal zero: $x-2\ne0 \implies x\ne2$.
โข 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 |
| Measured along the $x$-axis | Measured along the $y$-axis |
| Determines which inputs are allowed | Determines which outputs are possible |
Real-World Applications
๐ฐ Business & Revenue Models
Businesses use domain and range to determine valid production quantities and the possible revenue or profit produced by those quantities.
๐ญ Engineering & Physical Systems
Engineers use domain restrictions to represent physically valid inputs such as positive length, time, mass, and temperature ranges.
๐ Data & Graph Analysis
Domain and range help analysts understand which input measurements exist in a dataset and which output values occur in a model.
๐ป Computer Programming
Functions in software have valid input domains and possible output rangesโdefining these limits prevents runtime errors and invalid operations.
Common Mistakes to Avoid
- Confusing Domain and Range: Domain refers to $x$-values (inputs), while range refers to $y$-values (outputs).
- 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 Brackets on Infinity: Infinity always uses parentheses $( \, )$ because $\infty$ and $-\infty$ are not reachable endpoints.
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?
Discover Other Calculation Suites
Browse our full ecosystem of precision calculation and conversion tools
Mathematics Suite
Percentages, Algebra, Fractions, Geometry, and step-by-step math solvers.
Date & Time Tools
Days ago, days from today, business days, and calendar date calculators.
Unit Converter
Convert length, weight, volume, temperature, and international units.
Countdown Tracker
Live real-time event countdowns, holidays, and deadline trackers.
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