Reviewed by CalcMulti Editorial Team·Last updated: ·← Algebra Hub
The domain of a function is the complete set of x-values for which the function produces a valid output. The range is the complete set of output values f(x) that the function can produce. Together, domain and range describe the "legal" inputs and the full set of possible outputs — fundamental information for understanding any function's behavior.
Different function types have different restriction rules. Rational functions exclude x-values that make the denominator zero. Square-root (radical) functions require the radicand to be non-negative. Logarithmic functions require a strictly positive argument. Polynomial and exponential functions are typically defined for all real numbers. Enter your function and this calculator identifies the domain and range with a step-by-step explanation in interval notation.
Domain: all x where f(x) is defined | Range: all f(x) values for x in domain
Select a function type and enter parameters.
Quick examples:
| Function Type | Example | Domain Restriction | Domain | Range |
|---|---|---|---|---|
| Polynomial | f(x) = x² + 3 | None | (−∞, ∞) | Depends on degree |
| Linear | f(x) = 2x + 1 | None | (−∞, ∞) | (−∞, ∞) |
| Rational 1/(x−a) | f(x) = 1/(x−3) | x ≠ 3 | (−∞,3)∪(3,∞) | (−∞,0)∪(0,∞) |
| Square root √(x−a) | f(x) = √(x−2) | x ≥ 2 | [2, ∞) | [0, ∞) |
| Logarithm log(x−a) | f(x) = log(x−1) | x > 1 | (1, ∞) | (−∞, ∞) |
| Quadratic ax²+bx+c | f(x) = x²−4x+3 | None | (−∞, ∞) | [−1, ∞) |
| Absolute value |ax+b| | f(x) = |x−2| | None | (−∞, ∞) | [0, ∞) |
| Even root ⁴√(f(x)) | f(x) = ⁴√(x) | x ≥ 0 | [0, ∞) | [0, ∞) |
| Natural log ln(x) | f(x) = ln(x) | x > 0 | (0, ∞) | (−∞, ∞) |
| Sine / Cosine | f(x) = sin(x) | None | (−∞, ∞) | [−1, 1] |
Evaluate and compose algebraic functions
Inverse Function CalculatorFind f⁻¹(x) with step-by-step solutions
Quadratic Formula CalculatorSolve quadratic equations and find roots
Functions and Relations ExplainedDomain, range, types of functions & mapping
Domain and Range ExplainedHow to find domain and range for any function type
Algebra HubAll algebra calculators and guides
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.