Loading…

Domain and Range Calculator

Math Algebra • Functions

View all topics

Enter a function of x. Supported: +, -, *, /, ^, parentheses, constants pi, e, and functions sqrt, ln, log, exp, abs, sin, cos, tan.
You can type infinity as inf, -inf, or .

Analysis window (compute on \([x_{\min},x_{\max}]\); widen it to explore more)

Ready
Press Calculate to estimate the domain and range on your chosen window.
Tip: to explore the full domain, widen the analysis window (increase \(x_{\min}\) negatively and/or increase \(x_{\max}\) positively). For exact symbolic solving of constraints like \(x^2-4\ge 0\), jump to the Inequalities chapter.

Drag to pan. Mouse wheel to zoom (cursor-centered). Double-click to reset view. Probe point shows whether \(x\) is in the domain and its \(f(x)\) value (if defined).

Number line: thick green segments are domain intervals (within the chosen window).

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does domain mean for a function f(x)?

The domain is the set of x-values for which f(x) is defined as a real, finite number. Points that cause division by zero or non-real values (like sqrt of a negative number) are excluded.

How does the calculator estimate the range?

It samples many valid x-values in the chosen window and records the corresponding outputs. The range is approximated from the smallest and largest sampled outputs that are real and finite.

Why do I need to choose xmin and xmax?

The tool estimates domain and range numerically on a specific interval, so the window controls what part of the function is explored. Widening the window can reveal additional valid intervals or larger output values.

What restrictions are checked for real-valued functions?

Common checks include denominators not equal to 0, sqrt inputs required to be at least 0, and ln/log inputs required to be greater than 0. Some powers can also force additional restrictions when non-integer exponents are involved.

How is infinity handled in the window bounds?

Infinity entries are treated as very large finite proxy bounds for sampling and plotting. This allows exploration of wide intervals while keeping the computations and graph display finite.