Rational Expressions and Domain
Lesson: Rational Expressions and Domain
In algebra, a rational expression is a fraction whose numerator and denominator are polynomials. Some examples are \(\frac{x+3}{x-2}\), \(\frac{2x^2-5}{x^2+1}\), and \(\frac{3}{x^2-9}\).
A big idea with rational expressions is that they are not defined when the denominator equals zero. Since division by zero is impossible, any value that makes the denominator zero must be excluded from the domain.
The domain of an expression is the set of all input values the expression is allowed to use. For rational expressions, finding the domain means finding which values of the variable make the denominator zero, then excluding those values.
This idea is very important because undefined values are connected to discontinuities in rational functions. In later work, these excluded values may become holes or vertical asymptotes in a graph. So before graphing or simplifying, we first check the domain.
Main Idea
To find the domain of a rational expression:
- Look at the denominator.
- Set the denominator equal to zero.
- Solve the equation.
- Exclude those values from the domain.
In symbols, if a rational expression has the form
$$\frac{P(x)}{Q(x)},$$
then the domain is all real numbers except the values that make \(Q(x)=0\).
Why factoring matters
Sometimes the denominator is easy to solve, such as \(x-4=0\). But often the denominator is a quadratic or another polynomial, so factoring helps us find the restricted values.
For example, if the denominator is
$$x^2-5x+6,$$
we factor it as
$$x^2-5x+6=(x-2)(x-3).$$
Then we set each factor equal to zero:
$$x-2=0 \quad \text{or} \quad x-3=0,$$
so \(x=2\) and \(x=3\) must be excluded from the domain.
Important note about simplifying
Sometimes a factor in the numerator and denominator cancels. Even if it cancels, the original expression still cannot use any value that made the original denominator zero.
For instance, consider
$$\frac{x-3}{x^2-5x+6}.$$
Factoring gives
$$\frac{x-3}{(x-2)(x-3)}.$$
You can simplify this to
$$\frac{1}{x-2},$$
but the original denominator was zero at both \(x=2\) and \(x=3\). So the domain is not just \(x \ne 2\). It is
$$x \ne 2, \; x \ne 3.$$
The value \(x=3\) is still excluded because the original expression was undefined there.
Ways to write the domain
You can describe domain in words or symbols:
- Words: all real numbers except \(2\) and \(3\)
- Symbols: \(x \ne 2\), \(x \ne 3\)
- Interval notation: $$(-\infty,2) \cup (2,3) \cup (3,\infty)$$
Worked Example 1: Simple linear denominator
Find the domain of
$$\frac{5}{x-7}.$$
Step 1: Set the denominator equal to zero.
$$x-7=0$$
Step 2: Solve.
$$x=7$$
Step 3: Exclude this value.
So the domain is all real numbers except \(7\).
Domain: \(x \ne 7\)
Interval notation: $$(-\infty,7) \cup (7,\infty)$$
Worked Example 2: Factor a quadratic denominator
Find the domain of
$$\frac{2x+1}{x^2-9}.$$
Step 1: Factor the denominator.
$$x^2-9=(x-3)(x+3)$$
Step 2: Set each factor equal to zero.
$$x-3=0 \Rightarrow x=3$$
$$x+3=0 \Rightarrow x=-3$$
Step 3: Exclude both values.
So the domain is all real numbers except \(-3\) and \(3\).
Domain: \(x \ne -3,\; x \ne 3\)
Interval notation: $$(-\infty,-3) \cup (-3,3) \cup (3,\infty)$$
Worked Example 3: A factor cancels, but the restriction stays
Find the domain of
$$\frac{x+4}{x^2+x-12}.$$
Step 1: Factor the denominator.
$$x^2+x-12=(x+4)(x-3)$$
So the expression becomes
$$\frac{x+4}{(x+4)(x-3)}.$$
Step 2: Find the values that make the denominator zero.
$$x+4=0 \Rightarrow x=-4$$
$$x-3=0 \Rightarrow x=3$$
Step 3: Exclude both values.
Even though \(x+4\) cancels during simplification, \(x=-4\) is still not allowed because it made the original denominator zero.
The simplified form is
$$\frac{1}{x-3},$$
but the domain of the original expression is
$$x \ne -4, \; x \ne 3.$$
Interval notation: $$(-\infty,-4) \cup (-4,3) \cup (3,\infty)$$
Worked Example 4: Denominator with three factors
Find the domain of
$$\frac{x^2-1}{x(x-5)(x+2)}.$$
Step 1: Look at the denominator.
$$x(x-5)(x+2)$$
Step 2: Set each factor equal to zero.
$$x=0$$
$$x-5=0 \Rightarrow x=5$$
$$x+2=0 \Rightarrow x=-2$$
Step 3: Exclude all three values.
Domain: \(x \ne -2,\; x \ne 0,\; x \ne 5\)
Interval notation: $$(-\infty,-2) \cup (-2,0) \cup (0,5) \cup (5,\infty)$$
Common mistakes to avoid
- Only checking the numerator: The numerator can be zero. That is allowed. The denominator cannot be zero.
- Forgetting to factor completely: If the denominator is not fully factored, you might miss a restricted value.
- Losing restrictions after canceling: Always find restrictions from the original denominator.
- Writing the wrong interval notation: Excluded values create breaks in the intervals.
Quick check: numerator zero vs. denominator zero
Consider
$$\frac{x-2}{x+1}.$$
If \(x=2\), the numerator is zero, and the expression becomes
$$\frac{0}{3}=0,$$
which is perfectly defined.
If \(x=-1\), the denominator is zero, and the expression is undefined.
So the only value excluded from the domain is \(x=-1\).
Connection to rational functions
When a rational expression is used as a function, the excluded domain values show where the function has a break. These breaks help explain asymptotic behavior and discontinuities.
If a denominator factor does not cancel, it often leads to a vertical asymptote. If a factor cancels, it often leads to a hole. In both cases, the excluded value comes from the denominator being zero in the original expression.
Strategy you can always use
- Write the rational expression clearly.
- Focus on the denominator only.
- Factor the denominator completely.
- Set each denominator factor equal to zero.
- List those values as excluded from the domain.
- If needed, write the answer in interval notation.
Brief Summary
A rational expression is undefined wherever its denominator equals zero. To find the domain, factor the denominator, solve for the values that make it zero, and exclude those values.
Be careful when simplifying: canceled factors still create domain restrictions if they were in the original denominator. Always use the original expression to determine the full domain.
Put what you read to the test
You've worked through Rational Expressions and Domain. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.