Finding Domain and Range of a Function- Methods and Examples

What Are Domain and Range?

Domain is the set of all possible x-values a function can accept. Range is the set of all possible y-values the function outputs. That's it. No fancy definitions needed.

These two concepts are the foundation of understanding functions. If you can't identify domain and range, you're going to struggle with everything that comes after.

How to Find Domain

Finding domain comes down to one question: what x-values break this function? You need to spot the troublemakers.

Polynomial Functions

Polynomials accept every real number. No restrictions. No square roots in denominators, no division by variables.

f(x) = x² + 3x - 7 has domain: (-∞, ∞)

Rational Functions (Fractions)

When you have a variable in the denominator, set the denominator equal to zero and solve. Those x-values are excluded.

For f(x) = 1/(x-4):

Square Root Functions

Expressions under even roots (square roots, fourth roots) must be non-negative. Set the radicand ≥ 0 and solve.

For f(x) = √(x-3):

Logarithmic Functions

The argument of any logarithm must be strictly positive. Set it greater than zero and solve.

For f(x) = log(x + 5):

How to Find Range

Range is trickier. You need to figure out what y-values the function can actually produce. There are two approaches that work.

Method 1: Solve for x

Rewrite the function solving for x in terms of y. Then apply domain restrictions to that equation. Whatever y-values satisfy those restrictions become your range.

For f(x) = √(x-1):

Method 2: Visual Reasoning

If you know the basic function's shape, you can determine range from its graph. Graph the parent function, then track what y-values are hit.

Function Types and Their Domain/Range

Function TypeDomainRange
Linear (mx + b)(-∞, ∞)(-∞, ∞)
Quadratic (x²)(-∞, ∞)[0, ∞) if opens up
Square Root (√x)[0, ∞)[0, ∞)
Cube Root (∛x)(-∞, ∞)(-∞, ∞)
1/x (reciprocal)x ≠ 0y ≠ 0
Exponential (aˣ)(-∞, ∞)(0, ∞)
Logarithm (log x)(0, ∞)(-∞, ∞)
Absolute value (|x|)(-∞, ∞)[0, ∞)

Worked Examples

Example 1: Rational Function

f(x) = (x + 2)/(x - 5)

Domain:

Range:

Example 2: Quadratic with Shift

f(x) = (x - 3)² + 2

Domain:

Range:

Example 3: Combined Function

f(x) = √(x + 4) / (x - 2)

Domain:

Finding range for combined functions often requires graphing or testing boundary values. The algebra gets messy quickly.

Common Mistakes to Avoid

Getting Started: Quick Checklist

When you face a new function, run through this:

  1. Identify function type — polynomial, rational, root, log, etc.
  2. Spot restrictions — denominators ≠ 0, even roots ≥ 0, logs > 0
  3. Write domain — exclude restricted values
  4. Solve for x — if finding range algebraically
  5. Apply restrictions — to the solved equation for range
  6. Verify with a graph — when in doubt, check visually

That's the entire process. Practice with five different function types and you'll have this down cold.