The Domain of Polynomials and Rational Functions
What Is a Domain, Anyway?
Before we get into polynomials and rational functions, you need to understand what domain means. It's not complicated.
The domain of a function is simply the set of all possible input values (usually x-values) that the function will accept without breaking. That's it. No fancy math jargon needed.
Some inputs break functions. Division by zero breaks rational functions. Taking the square root of a negative number breaks certain functions (unless you're working with complex numbers, but that's a different conversation).
Your job is to identify which x-values work and which ones don't.
Domain of Polynomials: The Easy Case
Here's some good news. Polynomials have a domain of all real numbers. Every single one of them. No exceptions.
Think about what polynomials are:
- Constants: 5, -3, 42
- Powers of x: x², x⁷, x¹⁰⁰
- Combinations: 3x⁴ + 2x² - 7x + 1
You can plug any real number into a polynomial and you'll get a real number back. There's nothing you can do to break it. No division. No square roots. No logarithms. Just addition, subtraction, and multiplication of terms.
This means:
Domain of any polynomial = (-∞, ∞) or equivalently, all real numbers
Examples
f(x) = 3x + 2 → domain is all real numbers ✓
g(x) = 5x⁴ - 3x² + 7 → domain is all real numbers ✓
h(x) = -2x¹⁰⁰ + 3x⁵⁰ - 1 → domain is all real numbers ✓
See the pattern? You're done with polynomials. Move on.
Domain of Rational Functions: Where It Gets Real
Rational functions are where domain problems actually matter. A rational function is a fraction where both the numerator and denominator are polynomials.
General form: f(x) = P(x) / Q(x)
Where P(x) and Q(x) are polynomials, and Q(x) ≠ 0.
The denominator is your problem. You cannot divide by zero. That's the only restriction for rational functions.
So your domain is: all real numbers except the values that make the denominator equal zero.
How to Find the Domain of a Rational Function
- Set the denominator equal to zero
- Solve for x
- Those x-values are NOT in your domain
- Every other real number IS in your domain
Example 1: Simple Case
f(x) = 1/(x - 3)
Set denominator to zero: x - 3 = 0
Solve: x = 3
Domain: all real numbers except x = 3
In interval notation: (-∞, 3) ∪ (3, ∞)
Example 2: Factorable Denominator
f(x) = 1/(x² - 4)
Set denominator to zero: x² - 4 = 0
Factor: (x + 2)(x - 2) = 0
Solve: x = -2 or x = 2
Domain: all real numbers except x = -2 and x = 2
In interval notation: (-∞, -2) ∪ (-2, 2) ∪ (2, ∞)
Example 3: Quadratic Denominator
f(x) = (x + 1)/(x² - 5x + 6)
Set denominator to zero: x² - 5x + 6 = 0
Factor: (x - 2)(x - 3) = 0
Solve: x = 2 or x = 3
Domain: all real numbers except x = 2 and x = 3
What If the Denominator Has Variables in the Numerator?
Sometimes you need to simplify first. Check this out:
f(x) = (x² - 4)/(x - 2)
At first glance, x = 2 makes the denominator zero. But look at the numerator: x² - 4 factors to (x + 2)(x - 2).
So f(x) = (x + 2)(x - 2)/(x - 2) = x + 2 (for x ≠ 2)
Here's the deal: you still exclude x = 2. The simplification cancels the factor, but the original function is undefined at x = 2. You can't cancel your way out of a domain restriction.
This is a common trap. Don't fall for it.
Domain of Functions with Square Roots
If your rational function has square roots in the numerator or denominator, you have another restriction: the expression under the square root must be non-negative (if you're working with real numbers).
Example:
f(x) = √(x - 2)/(x - 5)
Two restrictions:
- x - 2 ≥ 0 → x ≥ 2 (from the square root)
- x ≠ 5 (from the denominator)
Combined domain: x ≥ 2 and x ≠ 5
In interval notation: [2, 5) ∪ (5, ∞)
Quick Reference: Domain Rules
| Function Type | Domain Rule | Restriction |
|---|---|---|
| Polynomial | All real numbers | None |
| Rational (P/Q) | All real numbers | Exclude where Q(x) = 0 |
| Square root √(x) | x ≥ 0 | Inside must be ≥ 0 |
| Even root √[n](x) | n even: x ≥ 0; n odd: all real | None for odd roots |
| Logarithm log(x) | x > 0 | Inside must be positive |
Getting Started: Finding Domains Step by Step
When you're given a random function and asked to find its domain, here's what you do:
Step 1: Identify the Function Type
Is it a polynomial? You're done. Domain is all real numbers.
Is it a rational function (has a fraction)? Continue to Step 2.
Does it have square roots? Continue to Step 3.
Step 2: Find Denominator Zeros
Factor the denominator if needed. Set it equal to zero. Solve. Those x-values are excluded.
Step 3: Check Square Roots
For any square root, set the inside ≥ 0 and solve. Combine this with any other restrictions.
Step 4: Write Your Answer
Use interval notation or set notation. Be precise. "All real numbers except x = 3" is fine. So is (-∞, 3) ∪ (3, ∞).
Common Mistakes to Avoid
- Forgetting to check the denominator first in rational functions. This is the most common error.
- Canceling factors incorrectly. You can simplify rational functions, but excluded values stay excluded.
- Confusing numerator and denominator. The numerator zero doesn't restrict the domain. Only the denominator matters for rational functions.
- Ignoring square roots. If there's a √(x - 1), you need x ≥ 1.
- Writing domain in inequality form when interval notation is cleaner. Practice both.
Practice Problems
Try these on your own before checking answers:
- f(x) = 2x³ - 5x² + 3x - 1
- g(x) = 1/(x + 4)
- h(x) = (3x - 6)/(x² - 9)
- k(x) = 1/(x² + 1)
- m(x) = √(x + 5)/(x - 3)
Answers:
- All real numbers (polynomial)
- All real numbers except x = -4
- All real numbers except x = 3 and x = -3
- All real numbers (x² + 1 is never zero)
- x ≥ -5 and x ≠ 3
Bottom Line
Finding the domain of polynomials is trivial. Finding the domain of rational functions requires one skill: find where the denominator equals zero and exclude those points.
Add square roots into the mix and you also need to ensure the radicand is non-negative. That's all there is to it.
Don't overthink it. Don't add steps that aren't there. The math will tell you exactly what it needs.