A rational function is undefined for any values of \(x\) that make its denominator equal zero. These values are not in the domain of the function, and they therefore cannot be solutions to equations involving the function. Consider the equation
\begin{equation*}
\frac{x}{x-3}=\frac{3}{x-3}+2
\end{equation*}
When we multiply both sides by the LCD, \(x - 3\text{,}\) we obtain
\begin{equation*}
\alert{(x - 3)}\frac{x}{x-3}=\alert{(x - 3)}\frac{3}{x-3}+\alert{(x - 3)}\cdot 2
\end{equation*}
or
\begin{equation*}
x = 3 + 2x - 6
\end{equation*}
whose solution is
\begin{equation*}
x = 3
\end{equation*}
However, \(x = 3\) is not a solution of the original equation. Both sides of the equation are undefined at \(x = 3\text{.}\) If you graph the two functions
\begin{equation*}
Y_1=\frac{x}{x-3} \hphantom{space}\text{and}\hphantom{space}Y_2=\frac{3}{x-3}+2
\end{equation*}
you will find that the graphs never intersect, which means that there is no solution to the original equation.
What went wrong with our method of solution? We multiplied both sides of the equation by
\(x - 3\text{,}\) which is zero when
\(x = 3\text{,}\) so we really multiplied both sides of the equation by zero. Multiplying by zero does not produce an equivalent equation, and false solutions may be introduced.
An apparent solution that does not satisfy the original equation is called an
extraneous solution. Whenever we multiply an equation by an expression containing the variable, we should check that the solution obtained is not excluded from the domain of the rational functions involved.
When solving an equation with fractions algebraically, we must be careful to multiply
each term of the equation by the LCD, no matter whether each term involves fractions.