Domain and Range Calculator

Enter a function of x to find the inputs it accepts and the outputs it gives.

Use x, + − × ÷ ^, brackets, sqrt, abs, ln, log and e.

Try

Result

You enteredf(x)=2x−3f\left(x\right) = 2^{x} - 3

Domain (−∞,∞), Range (−3,∞)\displaystyle \text{Domain } \left(-\infty, \infty\right),\ \text{Range } \left(-3, \infty\right)

Domain in set-builder notation

{x∣x∈R}\displaystyle \left\{ x \mid x \in \mathbb{R} \right\}

Range in set-builder notation

{y∣y>−3}\displaystyle \left\{ y \mid y > -3 \right\}
Show the work
  1. No restriction on the input

    This function has no division, no square root and no logarithm of an expression in xx, so every real number can be used as an input.

  2. An exponential is always positive

    A positive base raised to any power is positive but never 0, so the outputs get as close to −3-3 as you like without reaching it, and grow without limit the other way.

  3. Result

    So the domain is (−∞,∞)\left(-\infty, \infty\right) and the range is (−3,∞)\left(-3, \infty\right).

Worked examples

f(x)=x+1x−2f\left(x\right) = \frac{x + 1}{x - 2}
Domain (−∞,2)∪(2,∞), Range (−∞,1)∪(1,∞)\text{Domain } \left(-\infty, 2\right) \cup \left(2, \infty\right),\ \text{Range } \left(-\infty, 1\right) \cup \left(1, \infty\right)

Division by zero is undefined, Horizontal asymptote

f(x)=x−3f\left(x\right) = \sqrt{x - 3}
Domain [3,∞), Range [0,∞)\text{Domain } \left[3, \infty\right),\ \text{Range } \left[0, \infty\right)

Domain of a square root, Smallest value of a square root

f(x)=x2−4x+1f\left(x\right) = x^{2} - 4x + 1
Domain (−∞,∞), Range [−3,∞)\text{Domain } \left(-\infty, \infty\right),\ \text{Range } \left[-3, \infty\right)

A polynomial is defined for every x, Vertex of a parabola

f(x)=−2x2+4xf\left(x\right) = -2x^{2} + 4x
Domain (−∞,∞), Range (−∞,2]\text{Domain } \left(-\infty, \infty\right),\ \text{Range } \left(-\infty, 2\right]

A polynomial is defined for every x, Vertex of a parabola

f(x)=ln⁡(x+2)f\left(x\right) = \ln\left(x + 2\right)
Domain (−2,∞), Range (−∞,∞)\text{Domain } \left(-2, \infty\right),\ \text{Range } \left(-\infty, \infty\right)

Domain of a logarithm, Range of a logarithm

f(x)=2x−3f\left(x\right) = 2^{x} - 3
Domain (−∞,∞), Range (−3,∞)\text{Domain } \left(-\infty, \infty\right),\ \text{Range } \left(-3, \infty\right)

No restriction on the input, An exponential is always positive

f(x)=4−x2f\left(x\right) = \sqrt{4 - x^{2}}
Domain [−2,2], Range [0,2]\text{Domain } \left[-2, 2\right],\ \text{Range } \left[0, 2\right]

Domain of a square root, Largest value under a square root

f(x)=∣x−1∣+2f\left(x\right) = \left|x - 1\right| + 2
Domain (−∞,∞), Range [2,∞)\text{Domain } \left(-\infty, \infty\right),\ \text{Range } \left[2, \infty\right)

No restriction on the input, An absolute value is never negative

f(x)=1x2−9f\left(x\right) = \frac{1}{x^{2} - 9}
Domain (−∞,−3)∪(−3,3)∪(3,∞)\text{Domain } \left(-\infty, -3\right) \cup \left(-3, 3\right) \cup \left(3, \infty\right)

Division by zero is undefined, Result