Domain and Range Calculator
Instantly find the domain and range of any mathematical function with comprehensive step-by-step algebraic solutions and interactive graphical visualization.
The Complete Guide to Finding Domain and Range: Rational, Radical, and Trigonometric Functions
In Algebra and Pre-Calculus, finding the Domain and Range of a function is critical for understanding its behavior. A function is like a machine: you put an input ($x$) in, and get an output ($y$) out. But like any machine, it has limitations. Not all inputs work, and not all outputs are possible.
Whether you are struggling with the domain of a rational function (watch out for division by zero!) or determining the range of a quadratic function (find that vertex!), this guide covers it all. Below, we break down specific function types with detailed examples, followed by the rigorous Calculus definitions you'll need for advanced coursework.
1. Understanding Interval Notation (The Basics)
Before we dive into specific functions, you must master Interval Notation. This is the standard language used by every domain and range calculator.
- ( ... ) Parentheses: Exclusive. Use for $\infty$ or "holes".
Example: $(2, \infty)$ means $x > 2$. - [ ... ] Brackets: Inclusive. Use for solid dots or valid endpoints.
Example: $[0, 5]$ means $0 \le x \le 5$. - $\cup$ Union Symbol: "And also". Use to skip over gaps.
Example: $(-\infty, 2) \cup (2, \infty)$ means everything except 2.
2. Master Class: Domain and Range by Function Type
Different functions follow different rules. Here is how to find the domain and range for the most common specific function types you will encounter in exams.
To find the domain of a rational function, you must ensure the denominator is never zero. These forbidden points create vertical asymptotes or holes.
Find Domain: Set denominator $\neq 0$.
$x - 2 \neq 0 \implies x \neq 2$.
Domain: $(-\infty, 2) \cup (2, \infty)$.
Find Range: Look for the horizontal asymptote. Since the degrees of the numerator and denominator are equal (both are 1), divide the leading coefficients: $y = 1/1 = 1$.
Range: $(-\infty, 1) \cup (1, \infty)$.
When calculating the domain of a square root function, remember that you cannot take the square root of a negative number in the real system.
Find Domain: Set the inside expression $\ge 0$.
$2x - 5 \ge 0 \implies 2x \ge 5 \implies x \ge 2.5$.
Domain: $[2.5, \infty)$.
Find Range: A principal square root always outputs non-negative values.
Range: $[0, \infty)$.
The domain and range of a quadratic function depend on its vertex. The domain is always all real numbers, but the range is limited by the minimum or maximum point.
Find Domain: Polynomials have no restrictions.
Domain: $(-\infty, \infty)$.
Find Range: Find the vertex $x = -b/(2a) = -(-4)/2 = 2$.
Plug $x=2$ back in: $f(2) = 2^2 - 4(2) + 3 = -1$.
Since the parabola opens UP ($a > 0$), the vertex is a minimum.
Range: $[-1, \infty)$.
For the domain of a logarithmic function, the argument must be strictly positive (greater than zero).
Find Domain: Argument $> 0$.
$x - 3 > 0 \implies x > 3$.
Domain: $(3, \infty)$.
Find Range: Logarithmic functions grow slowly but cover all possible y-values.
Range: $(-\infty, \infty)$.
An exponential function domain and range analysis is the inverse of a logarithm. The domain is everything, but the range is restricted by the horizontal asymptote.
Find Domain: No restrictions on exponents.
Domain: $(-\infty, \infty)$.
Find Range: The term $e^x$ is always positive ($>0$).
So $3e^x + 1 > 0 + 1 \implies y > 1$.
Range: $(1, \infty)$.
The trigonometric functions domain and range (specifically Sine and Cosine) are defined by their amplitude (wave height) and vertical shift.
Find Domain: Sine is defined everywhere.
Domain: $(-\infty, \infty)$.
Find Range: Standard $\sin(x)$ is between $[-1, 1]$.
Multiply by 2: $[-2, 2]$.
Shift up 1: $[-2+1, 2+1] = [-1, 3]$.
Range: $[-1, 3]$.
4. Advanced Calculus: The Epsilon-Delta Definition
While most online domain calculators focus on algebraic solutions, understanding the rigorous definition of a limit (which underpins domain analysis near holes) is required for advanced math majors. This is known as the $\epsilon-\delta$ (Epsilon-Delta) definition.
$\lim_{x \to c} f(x) = L$ means that for every $\epsilon > 0$, there exists a $\delta > 0$ such that:
$$ \text{if } 0 < |x - c| < \delta \text{ then } |f(x) - L| < \epsilon $$
In plain English: To guarantee the function output stays within a target error range ($\epsilon$) of the limit $L$, you must restrict the input $x$ to be within a certain distance ($\delta$) of $c$.
5. Continuity and Types of Discontinuity
Domains are closely linked to continuity. A function is continuous at $c$ if $f(c)$ exists and equals the limit. If a point is excluded from the domain, it creates a discontinuity.
- Removable Discontinuity (Hole): The limit exists, but $f(c)$ is undefined or different. (e.g., $f(x) = \frac{x^2-4}{x-2}$ at $x=2$).
- Jump Discontinuity: The Left-Hand Limit $\neq$ Right-Hand Limit. Common in piecewise functions.
- Infinite Discontinuity: The limit is $\pm\infty$ (Vertical Asymptote, common in rational functions).
6. The Squeeze Theorem (Sandwich Theorem)
Sometimes finding the behavior of a function near a domain boundary is tricky. The Squeeze Theorem helps by bounding a difficult function between two simpler ones.
If $g(x) \le f(x) \le h(x)$ near $c$, and: $$ \lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L $$ Then the limit of the trapped function $f(x)$ must also be $L$. This is famously used to prove limits involving oscillation like $\lim_{x \to 0} x^2 \sin(\frac{1}{x}) = 0$.
7. Professor's FAQ: Common Pitfalls
References & Further Reading
- Stewart, J. (2020). Calculus: Early Transcendentals (9th ed.). Cengage Learning. (Chapter 1: Functions and Models).
- Larson, R., & Edwards, B. H. (2022). Precalculus with Limits (5th ed.). Cengage Learning. (Section 1.2: Functions).
- Weisstein, Eric W. "Domain." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/Domain.html
Check Your Homework Instantly
Stop guessing. Use our free Domain and Range Calculator to visualize rational, radical, and quadratic functions, identify asymptotes, and get the exact interval notation for your answers.
Calculate Domain & Range