College Algebra

Domain and Range (Algebraic Methods)

Last updated: March 2026 · Advanced
Before you start

You should be comfortable with:

Finding the domain and range of a function is one of the most important skills in college algebra. In Algebra 2, you may have found domains by inspection. Here we develop systematic algebraic methods that work for every function type — rational, radical, logarithmic, and combinations.

Interval Notation Review

Before we begin, let us review interval notation — the standard way to express domains and ranges.

NotationMeaningDescription
(a,b)(a, b)a<x<ba < x < bOpen interval, endpoints excluded
[a,b][a, b]axba \leq x \leq bClosed interval, endpoints included
[a,b)[a, b)ax<ba \leq x < bHalf-open (closed at aa, open at bb)
(a,)(a, \infty)x>ax > aAll numbers greater than aa
(,b](-\infty, b]xbx \leq bAll numbers at most bb
(,)(-\infty, \infty)all real xxThe entire real number line

We use the union symbol \cup to join disconnected intervals. For example, (,2)(2,)(-\infty, 2) \cup (2, \infty) means all real numbers except 22.

Set-Builder Notation

As an alternative, set-builder notation writes the domain as {xx2}\{x \mid x \neq 2\} (read “the set of all xx such that xx is not equal to 2”). Both notations appear in college algebra courses — you should be fluent in both.

Rule 1: Denominators Cannot Be Zero

If a function has a variable in a denominator, the denominator must not equal zero. To find the domain, set the denominator equal to zero and exclude those solutions.

Worked Example 1: Simple Rational Function

Find the domain of f(x)=3x+1x4f(x) = \frac{3x + 1}{x - 4}.

Step 1: Set the denominator equal to zero: x4=0x - 4 = 0, so x=4x = 4.

Step 2: Exclude x=4x = 4 from all real numbers.

Domain: (,4)(4,)(-\infty, 4) \cup (4, \infty), or equivalently {xx4}\{x \mid x \neq 4\}.

Worked Example 2: Quadratic Denominator

Find the domain of g(x)=xx29g(x) = \frac{x}{x^2 - 9}.

Step 1: Factor and solve: x29=(x3)(x+3)=0x^2 - 9 = (x - 3)(x + 3) = 0, so x=3x = 3 or x=3x = -3.

Step 2: Exclude both values.

Domain: (,3)(3,3)(3,)(-\infty, -3) \cup (-3, 3) \cup (3, \infty).

Rule 2: Even-Index Radicands Must Be Non-Negative

For f(x)n\sqrt[n]{f(x)} where nn is even (square root, fourth root, etc.), the radicand f(x)f(x) must satisfy f(x)0f(x) \geq 0.

Odd-index radicals (cube root, fifth root) accept any real input — they have no domain restriction.

Worked Example 3: Square Root Function

Find the domain of h(x)=52xh(x) = \sqrt{5 - 2x}.

Step 1: Set the radicand 0\geq 0:

52x05 - 2x \geq 0

Step 2: Solve:

2x5    x52-2x \geq -5 \implies x \leq \frac{5}{2}

Domain: (,52]\left(-\infty, \frac{5}{2}\right].

Worked Example 4: Fourth Root

Find the domain of p(x)=x214p(x) = \sqrt[4]{x^2 - 1}.

Set x210x^2 - 1 \geq 0:

(x1)(x+1)0(x - 1)(x + 1) \geq 0

Using a sign chart: the expression is non-negative when x1x \leq -1 or x1x \geq 1.

Domain: (,1][1,)(-\infty, -1] \cup [1, \infty).

Rule 3: Logarithm Arguments Must Be Positive

For logb(f(x))\log_b(f(x)), the argument f(x)f(x) must be strictly positive: f(x)>0f(x) > 0.

Worked Example 5: Logarithmic Domain

Find the domain of k(x)=ln(3x6)k(x) = \ln(3x - 6).

Set the argument positive: 3x6>03x - 6 > 0, so x>2x > 2.

Domain: (2,)(2, \infty).

Worked Example 6: Logarithm with Quadratic Argument

Find the domain of m(x)=log(x24x+3)m(x) = \log(x^2 - 4x + 3).

Factor: x24x+3=(x1)(x3)>0x^2 - 4x + 3 = (x - 1)(x - 3) > 0.

Sign chart: positive when x<1x < 1 or x>3x > 3.

Domain: (,1)(3,)(-\infty, 1) \cup (3, \infty).

Combining Multiple Restrictions

When a function involves more than one restriction, the domain is the intersection of all individual restrictions.

Worked Example 7: Combined Restrictions

Find the domain of f(x)=x+3x1f(x) = \frac{\sqrt{x + 3}}{x - 1}.

Restriction 1 (square root): x+30    x3x + 3 \geq 0 \implies x \geq -3, giving [3,)[-3, \infty).

Restriction 2 (denominator): x10    x1x - 1 \neq 0 \implies x \neq 1.

Combined: [3,1)(1,)[-3, 1) \cup (1, \infty).

Worked Example 8: Three Restrictions at Once

Find the domain of g(x)=ln(x)4xg(x) = \frac{\ln(x)}{\sqrt{4 - x}}.

Restriction 1 (logarithm): x>0x > 0, giving (0,)(0, \infty).

Restriction 2 (square root): 4x0    x44 - x \geq 0 \implies x \leq 4.

Restriction 3 (denominator): 4x0    4x0    x4\sqrt{4 - x} \neq 0 \implies 4 - x \neq 0 \implies x \neq 4.

Combining: x>0x > 0 and x4x \leq 4 and x4x \neq 4, so x(0,4)x \in (0, 4).

Domain: (0,4)(0, 4).

Finding the Range Algebraically

Finding the range is generally harder than finding the domain. The main strategy is to solve for xx in terms of yy, then determine which yy-values produce valid xx-values.

Worked Example 9: Range of a Rational Function

Find the range of f(x)=2x+1x3f(x) = \frac{2x + 1}{x - 3}.

Step 1: Set y=2x+1x3y = \frac{2x + 1}{x - 3} and solve for xx:

y(x3)=2x+1y(x - 3) = 2x + 1 yx3y=2x+1yx - 3y = 2x + 1 yx2x=3y+1yx - 2x = 3y + 1 x(y2)=3y+1x(y - 2) = 3y + 1 x=3y+1y2x = \frac{3y + 1}{y - 2}

Step 2: This expression for xx is defined for all y2y \neq 2. Since every such yy gives a valid xx in the domain, the range is all real numbers except 22.

Range: (,2)(2,)(-\infty, 2) \cup (2, \infty).

Worked Example 10: Range of a Square Root Function

Find the range of h(x)=52xh(x) = \sqrt{5 - 2x}.

The square root function outputs values 0\geq 0. As xx decreases toward -\infty, 52x5 - 2x grows without bound, so the square root grows without bound. At the right endpoint of the domain (x=5/2x = 5/2), the output is 0=0\sqrt{0} = 0.

Range: [0,)[0, \infty).

Real-World Application: Structural Engineering

An engineer models the deflection of a beam as d(x)=xLxEId(x) = \frac{x\sqrt{L - x}}{EI}, where xx is the position along the beam (in meters), LL is the beam length, and EIEI is a stiffness constant. The domain restrictions are:

  • xx must be non-negative (physical position): x0x \geq 0
  • The radicand must be non-negative: Lx0    xLL - x \geq 0 \implies x \leq L

Domain: [0,L][0, L].

For a 10-meter beam with EI=200EI = 200, the deflection at x=6x = 6 is:

d(6)=6106200=6(2)200=12200=0.06 md(6) = \frac{6\sqrt{10 - 6}}{200} = \frac{6(2)}{200} = \frac{12}{200} = 0.06 \text{ m}

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Find the domain of f(x)=x+2x2x6f(x) = \frac{x + 2}{x^2 - x - 6}.

Factor the denominator: x2x6=(x3)(x+2)=0x^2 - x - 6 = (x - 3)(x + 2) = 0, so x=3x = 3 or x=2x = -2.

Domain: (,2)(2,3)(3,)(-\infty, -2) \cup (-2, 3) \cup (3, \infty).

Note: Even though the numerator is also zero at x=2x = -2, the function is still undefined there (the original expression has a zero denominator).

Problem 2: Find the domain of g(x)=2x1+7xg(x) = \sqrt{2x - 1} + \sqrt{7 - x}.

From 2x1\sqrt{2x - 1}: 2x10    x122x - 1 \geq 0 \implies x \geq \frac{1}{2}.

From 7x\sqrt{7 - x}: 7x0    x77 - x \geq 0 \implies x \leq 7.

Domain: [12,7]\left[\frac{1}{2}, 7\right].

Problem 3: Find the domain of h(x)=ln ⁣(x+1x5)h(x) = \ln\!\left(\frac{x + 1}{x - 5}\right).

The argument of ln\ln must be positive: x+1x5>0\frac{x + 1}{x - 5} > 0.

Sign chart with critical values x=1x = -1 and x=5x = 5:

  • x<1x < -1: both factors negative, quotient positive
  • 1<x<5-1 < x < 5: numerator positive, denominator negative, quotient negative
  • x>5x > 5: both factors positive, quotient positive

Domain: (,1)(5,)(-\infty, -1) \cup (5, \infty).

Problem 4: Find the range of f(x)=xx+4f(x) = \frac{x}{x + 4} algebraically.

Set y=xx+4y = \frac{x}{x + 4} and solve for xx:

y(x+4)=x    yx+4y=x    yxx=4y    x(y1)=4y    x=4yy1y(x + 4) = x \implies yx + 4y = x \implies yx - x = -4y \implies x(y - 1) = -4y \implies x = \frac{-4y}{y - 1}

This is valid for all y1y \neq 1. Check: can y=1y = 1? That would require x=x+4x = x + 4, which gives 0=40 = 4 — impossible.

Range: (,1)(1,)(-\infty, 1) \cup (1, \infty).

Problem 5: Find the domain of p(x)=x+24ln(3x)p(x) = \frac{\sqrt[4]{x + 2}}{\ln(3 - x)}.

Restriction 1 (fourth root): x+20    x2x + 2 \geq 0 \implies x \geq -2.

Restriction 2 (logarithm argument): 3x>0    x<33 - x > 0 \implies x < 3.

Restriction 3 (denominator): ln(3x)0    3x1    x2\ln(3 - x) \neq 0 \implies 3 - x \neq 1 \implies x \neq 2.

Domain: [2,2)(2,3)[-2, 2) \cup (2, 3).

Key Takeaways

  • For denominators, set them equal to zero and exclude those xx-values
  • For even-index radicals, set the radicand 0\geq 0 and solve the inequality
  • For logarithms, set the argument strictly >0> 0
  • When a function has multiple features, take the intersection of all restrictions
  • Finding the range algebraically means solving for xx in terms of yy and determining which yy-values yield valid results
  • Interval notation and set-builder notation are interchangeable — master both
  • Always present your domain with proper notation: interval notation with \cup for unions

Return to College Algebra for more topics in this section.

Last updated: March 29, 2026