Sub topic 5
Adding and Subtracting Rational Expressions with a Least Common Denominator
Prerequisites and the main idea
Assume you can factor polynomials, add ordinary fractions, and identify values that make a denominator zero.
A rational expression is a quotient of polynomials. To add or subtract rational expressions, rewrite them with a least common denominator (LCD). The LCD is the smallest expression that contains every factor from the denominators.
You may multiply a numerator and denominator by the same nonzero expression because that creates an equivalent fraction. However, values that made an original denominator zero remain excluded.
Finding the LCD
Consider
\[ \frac{2}{x-3}+\frac{x+1}{x^2-9}. \]
First factor every denominator:
\[ x^2-9=(x-3)(x+3). \]
The denominators are \(x-3\) and \((x-3)(x+3)\), so the LCD is
\[ (x-3)(x+3). \]
The original expression excludes \(x=3\) and \(x=-3\).
Multiply the first fraction by the missing factor \(x+3\):
\[ \frac{2}{x-3}\cdot\frac{x+3}{x+3} = \frac{2(x+3)}{(x-3)(x+3)}. \]
The second fraction already has the LCD. Now combine the numerators:
\[ \frac{2(x+3)}{(x-3)(x+3)} + \frac{x+1}{(x-3)(x+3)} = \frac{2(x+3)+(x+1)}{(x-3)(x+3)}. \]
Simplify the numerator:
\[ \boxed{\frac{3x+7}{(x-3)(x+3)}},\qquad x\ne3,-3. \]
Do not cancel a factor unless it is a factor of the entire numerator and denominator. Here, \(3x+7\) has no common factor with the denominator.
A reliable procedure
- Factor every denominator completely.
- List the values excluded by the original denominators.
- Build the LCD using each factor at its greatest exponent.
- Multiply each fraction by the factors it is missing.
- Add or subtract the numerators, keeping the LCD.
- Factor and simplify the result.
- State the original excluded values.
The same procedure works for subtraction. For example,
\[ \frac{3}{x+2}-\frac{1}{x-2} = \frac{3(x-2)-(x+2)}{(x+2)(x-2)} = \frac{2x-8}{x^2-4}. \]
The restrictions are \(x\ne-2,2\).
Common errors
| Error | Why it fails | Better practice |
|---|---|---|
| Adding denominators | Fractions are not added by combining denominators | Find an LCD first |
| Forgetting to factor | The smallest common denominator may be hidden | Factor every denominator |
| Distributing a subtraction incorrectly | The minus sign applies to every term in the second numerator | Use parentheses |
| Dropping restrictions | The original expression may be undefined at some values | Record restrictions before simplifying |
A computer algebra system can perform the common-denominator step, but you still need to check restrictions.
from sympy import symbols, together
x = symbols("x")
expr = 1/(x - 1) + 1/(x + 1)
print(together(expr)) # 2*x/((x - 1)*(x + 1))Exercise
Simplify (1/(x + 2)) - (2/(x**2 - 4)) and state the excluded values.
Show answer
Factor x**2 - 4 as (x - 2)(x + 2). The result is (x - 4)/((x - 2)(x + 2)), with x not equal to 2 or -2.