Sub topic 7
Solving Rational Equations and Checking for Extraneous Solutions
Assume you can factor polynomials, solve linear and quadratic equations, and work with fractions. A rational equation is an equation that contains one or more rational expressions, such as
\[ \frac{x+1}{x-2}=3. \]
The main challenge is that a denominator cannot equal zero. Solving steps can sometimes produce a value that makes an original denominator zero. Such a value is an extraneous solution: it satisfies a transformed equation but not the original equation.
A reliable solving process
Use this procedure:
- Find all values that make any original denominator zero.
- Find the least common denominator (LCD).
- Multiply every term by the LCD.
- Solve the resulting equation.
- Check every candidate in the original equation.
- Reject candidates that are excluded or fail the original equation.
The restrictions from Step 1 remain in force even after factors cancel.
Worked example
Solve
\[ \frac{x^2}{x-2}=\frac{4}{x-2}. \]
The restriction is \(x\ne2\). The LCD is \(x-2\), so multiply both sides by it:
\[ x^2=4. \]
Factor or take square roots:
\[ x=-2 \quad\text{or}\quad x=2. \]
The value \(x=2\) is excluded. Check the remaining value in the original equation:
\[ \frac{(-2)^2}{-2-2}=\frac{4}{-4}=-1, \qquad \frac{4}{-2-2}=-1. \]
Therefore, the solution is
\[ \boxed{x=-2}. \]
The value \(x=2\) is extraneous because both original fractions would have denominator zero.
Equations with several denominator factors
Consider
\[ \frac{1}{x}+\frac{2}{x+1}=\frac{3}{x(x+1)}. \]
The restrictions are \(x\ne0\) and \(x\ne-1\). The LCD is \(x(x+1)\). Multiplying every term by the LCD gives
\[ x+1+2x=3. \]
Then
\[ 3x+1=3,\qquad 3x=2,\qquad x=\frac23. \]
This value does not violate either restriction, so it is valid.
A common error is multiplying only one term by the LCD. The LCD must multiply every term on both sides of the equation.
Checking with Python
A computer algebra system can help check candidates, but it does not replace denominator restrictions.
from sympy import symbols, Eq, solve
x = symbols('x')
# Solve x**2/(x - 2) = 4/(x - 2) after clearing the denominator
candidates = solve(Eq(x**2, 4), x)
valid = [c for c in candidates if (x - 2).subs(x, c) != 0]
print(valid) # [-2]Exercise
Solve 1/(x - 3) = 2/(x + 1), and state the restriction.
Show answer
The restriction is x ≠ 3. Cross-multiplying gives x + 1 = 2x - 6, so x = 7. The solution is x = 7.