๐Ÿ—บ๏ธ 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 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

  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. Exclude values that make a denominator zero and require expressions inside even roots to be non-negative.
  3. Step 3 (Find the Range): Determine which output values the function can actually produce by analyzing its vertex, 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 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?
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 uses -โˆž or โˆž to show that values continue without bound. Infinity is always written with a parenthesis, such as (-โˆž, 5] or [2, โˆž).
Explore More Tools

Discover Other Calculation Suites

Browse our full ecosystem of precision calculation and conversion tools