πŸ—ΊοΈ Algebra Solver

Domain and Range Calculator

Find the domain and range of functions step-by-step, including polynomial, rational, radical, and other common functions.

Function Expression

Enter values to calculate instant result

ℹ️ Info
πŸ’‘ Try:
Verified Solution

---

πŸ“–

How to Use & Educational Guide

In-depth guide for Domain and Range Calculator

Educational Overview

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?

  1. Step 1 (Identify the Function): Determine whether the function is polynomial, rational, radical, absolute value, or another type.
  2. 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.
  3. 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.
  4. 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?
The domain is the set of all valid input values x for a function, while the range is the set of all possible output values y or f(x).
How do you find the domain and range of a function?
To find the domain, identify values that make the function undefined, such as a zero denominator or a negative value inside an even root. To find the range, determine all output values the function can produce.
How do you find the domain and range of a graph?
Read the graph from left to right to find the domain and from bottom to top to find the range. Open circles indicate excluded values, while closed circles indicate included values.
What is the domain of a polynomial function?
Every polynomial function has a domain of all real numbers, written as (-∞, ∞), because polynomials have no denominator or even-root restrictions.
Can a domain or range have infinity?
Yes. Interval notation can use -∞ or ∞ to show that values continue without bound. Infinity is always written with a parenthesis, such as (-∞, 5] or [2, ∞).