How to Find Domain and Range of a Function: Step-by-Step Guide

How to Find Domain and Range: A Step-by-Step Guide (2026)

Understanding how to find the domain and range of a function manually is essential for building a solid foundation in algebra and calculus. While our Domain and Range Calculator can give you instant results, working through the process by hand helps you grasp why certain values are allowed or not. This guide walks you through the general steps, with two fully worked examples.

You'll Need:

  • Pencil and paper – for working out steps and graphing.
  • Basic algebra skills – factoring, solving equations, and inequalities.
  • Function notation – understanding f(x).
  • A graphing tool (optional) – to check your work.

5 Steps to Find Domain and Range Manually

  1. Identify the function type. Determine if it's polynomial, rational, radical, logarithmic, exponential, trigonometric, or piecewise. Each type has specific rules (see our Domain and Range Formulas page).
  2. Find the domain. Ask: “What x-values can I input without breaking any math rules?”
    • Polynomials: domain is all real numbers (ℝ).
    • Rational functions: exclude any x that makes the denominator zero.
    • Radical (square root): set the radicand ≥ 0 and solve.
    • Logarithmic: argument > 0.
    • Other functions: check standard restrictions.
  3. Analyze the range. The range is all possible y-values the function can output. Use:
    • Graphing: sketch a rough graph or use key points.
    • End behavior: as x → ±∞, what happens to y?
    • Vertex (for quadratics): minimum or maximum.
    • Asymptotes (rational): horizontal/oblique bounds.
    • Continuity: check if the function is continuous.
  4. Write the domain and range in interval notation. Use parentheses for open intervals (excluded endpoints) and brackets for closed intervals (included endpoints). For example, (-∞, 2) ∪ (2, ∞) or [-1, ∞).
  5. Verify with a point. Plug in a few x-values from your domain to confirm they produce y-values within your range. For more details on what these values mean, see our Interpreting Domain and Range Results page.

Example 1: Polynomial Function

Find the domain and range of f(x) = x² – 4x + 3.

Step 1 – Identify type: Quadratic polynomial.

Step 2 – Domain: Polynomials have domain ℝ. So domain = (-∞, ∞).

Step 3 – Range: Since the coefficient of x² is positive (1), the parabola opens upward. Find the vertex: x = -b/(2a) = -(-4)/(2*1) = 2. Then f(2) = 2² – 4*2 + 3 = -1. So minimum y = -1. The range is [-1, ∞).

Step 4 – Write: Domain: (-∞, ∞); Range: [-1, ∞).

Example 2: Rational Function

Find the domain and range of f(x) = (x+1)/(x-2).

Step 1 – Identify type: Rational function (numerator and denominator polynomials).

Step 2 – Domain: Set denominator ≠ 0: x – 2 ≠ 0x ≠ 2. Domain: (-∞, 2) ∪ (2, ∞).

Step 3 – Range: For rational functions, find horizontal asymptote. Degrees: numerator degree = 1, denominator degree = 1 → HA at y = leading coefficient ratio = 1/1 = 1. But note there may be a hole? No, because numerator and denominator have no common factor. So the range excludes y = 1. Check if any x gives y=1? Solve (x+1)/(x-2) = 1 → x+1 = x-2 → 1 = -2 impossible. So y=1 is not attained. Also vertical asymptote at x=2 splits the graph. As x→2⁻, y→ -∞; as x→2⁺, y→ ∞. So range = (-∞, 1) ∪ (1, ∞). For a deeper dive, see our Domain and Range of Rational Functions guide.

Step 4 – Write: Domain: (-∞, 2) ∪ (2, ∞); Range: (-∞, 1) ∪ (1, ∞).

Common Pitfalls to Avoid

  • Forgetting denominator zero: Always check rational functions for zeros in the denominator.
  • Assuming square root always gives positive only: The principal square root is non-negative, so range of √(stuff) is [0, ∞) (unless shifted).
  • Mixing up domain and range: Domain is x-values; range is y-values.
  • Not considering end behavior: For rational functions, the horizontal asymptote may not be a strict boundary if the graph crosses it.
  • Ignoring piecewise boundaries: Each piece has its own domain; the overall domain is the union.

Still have questions? Our FAQ page covers common questions. And you can always double-check your manual work with the Domain and Range Calculator.

Try the free Domain and Range Calculator ⬆

Get your Domain and range of mathematical functions, including definitions, manual calculation methods, formulas/conditions, interpretation of results, rational function variant, and frequently asked questions. result instantly — no signup, no clutter.

Open the Domain and Range Calculator

Contact Us