Domain and Range Calculator
Determine the domain (possible inputs) and range (possible outputs) of algebraic functions with step-by-step analysis and interval notation.
About Domain and Range Calculator
Welcome to our Domain and Range Calculator, a free online tool that helps you find the domain and range of algebraic functions. Whether you are a student learning about functions, preparing for exams, or a teacher creating examples, this calculator provides step-by-step analysis with clear interval notation results.
What is the Domain of a Function?
The domain of a function is the set of all possible input values (typically x-values) for which the function produces a valid output. In other words, it represents all the x-values you can substitute into the function without causing mathematical errors.
Common restrictions that limit the domain include:
- Division by zero: The denominator of a fraction cannot equal zero
- Square roots of negative numbers: Even roots require non-negative radicands in real numbers
- Logarithms: The argument of a logarithm must be positive
- Inverse trigonometric functions: Have specific input restrictions
What is the Range of a Function?
The range of a function is the set of all possible output values (typically y-values) that the function can produce. It represents all the values that f(x) can actually attain as x varies over the domain.
Finding the range often requires analyzing:
- Maximum and minimum values: What are the largest and smallest outputs?
- Asymptotic behavior: What happens as x approaches infinity or certain values?
- Function transformations: How shifts and stretches affect the output
Common Function Types and Their Domain/Range
| Function Type | General Form | Domain | Range |
|---|---|---|---|
| Linear | $f(x) = mx + b$ | $(-\infty, +\infty)$ | $(-\infty, +\infty)$ |
| Quadratic | $f(x) = ax^2 + bx + c$ | $(-\infty, +\infty)$ | $[k, +\infty)$ or $(-\infty, k]$ |
| Square Root | $f(x) = \sqrt{x}$ | $[0, +\infty)$ | $[0, +\infty)$ |
| Rational | $f(x) = \frac{1}{x}$ | $(-\infty, 0) \cup (0, +\infty)$ | $(-\infty, 0) \cup (0, +\infty)$ |
| Logarithmic | $f(x) = \log(x)$ | $(0, +\infty)$ | $(-\infty, +\infty)$ |
| Exponential | $f(x) = e^x$ | $(-\infty, +\infty)$ | $(0, +\infty)$ |
| Sine | $f(x) = \sin(x)$ | $(-\infty, +\infty)$ | $[-1, 1]$ |
How to Find Domain - Step by Step
Step 1: Identify Potential Restrictions
Look for operations that have input restrictions:
- Fractions - denominators cannot equal zero
- Even roots (square roots, fourth roots, etc.) - radicand must be non-negative
- Logarithms - argument must be positive
Step 2: Solve for Restricted Values
For each restriction identified, solve the equation or inequality to find the excluded values.
Step 3: Write the Domain in Interval Notation
Express the domain using interval notation, excluding the restricted values. Use parentheses ( ) for open intervals (value not included) and brackets [ ] for closed intervals (value included).
Examples
Example 1: Rational Function
Find the domain of $f(x) = \frac{1}{x-2}$
Solution: The denominator $x-2 = 0$ when $x = 2$. Therefore, the domain is $(-\infty, 2) \cup (2, +\infty)$, which means all real numbers except 2.
Example 2: Square Root Function
Find the domain of $f(x) = \sqrt{x-3}$
Solution: The radicand $x-3 \geq 0$, so $x \geq 3$. The domain is $[3, +\infty)$.
Example 3: Logarithmic Function
Find the domain of $f(x) = \log(x+1)$
Solution: The argument $x+1 > 0$, so $x > -1$. The domain is $(-1, +\infty)$.
Interval Notation Guide
- $(a, b)$ - Open interval: all numbers between a and b, not including a and b
- $[a, b]$ - Closed interval: all numbers between a and b, including a and b
- $(a, b]$ - Half-open interval: includes b but not a
- $[a, b)$ - Half-open interval: includes a but not b
- $(-\infty, a)$ - All numbers less than a
- $(a, +\infty)$ - All numbers greater than a
- $\cup$ - Union symbol: combines two or more intervals
Tips for Using This Calculator
- Enter functions using x as the variable
- Use ^ or ** for exponents (e.g., x^2 or x**2)
- Use sqrt(x) for square root
- Use log(x) for natural logarithm
- Use sin(x), cos(x), tan(x) for trigonometric functions
- Use exp(x) or e^x for exponential function
Frequently Asked Questions
Can a function have an empty domain?
Yes, a function can have an empty domain if there are no real values of x that make the function defined. For example, $f(x) = \sqrt{-x^2-1}$ has no real domain because $-x^2-1$ is always negative.
How is domain different from range?
Domain refers to all possible input values (x-values), while range refers to all possible output values (y-values). Think of domain as what you can put into the function, and range as what you can get out.
Why is infinity written with parentheses?
Infinity is always written with parentheses because it is not a real number that can be reached or included. We can only approach infinity, never actually include it in an interval.
Additional Resources
To learn more about domain and range of functions:
Reference this content, page, or tool as:
"Domain and Range Calculator" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Dec 11, 2025
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.