Skip to main content
Mathematics LibreTexts

2.16: Solving Rational Equations

  • Page ID
    95209
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    We have simplified many rational expressions so far in this chapter. Now we will solve a rational equation.

    Rational Equation

    A rational equation is an equation that contains a rational expression.

    You must make sure to know the difference between rational expressions and rational equations. Equation contains an equal sign, expressions do not.

    \[\begin{array}{l} {\text {Rational Expression} }\\[6pt] {\dfrac{1}{8} x+\dfrac{1}{2}}\\[6pt] {\dfrac{y+6}{y^{2}-36}}\\[6pt] {\dfrac{1}{n-3}+\dfrac{1}{n+4}} \end{array} \qquad \begin{array}{l} {\text{Rational Equation}}\\[6pt] \dfrac{1}{8} x+\dfrac{1}{2}=\dfrac{1}{4}\\[6pt] {\dfrac{y+6}{y^{2}-36}=y+1}\\[6pt] \dfrac{1}{n-3}+\dfrac{1}{n+4}=\dfrac{15}{n^{2}+n-12} \end{array}\nonumber \]

    Solving Rational Equations

    We have already solved linear equations that contained fractions. We found the LCD of all the fractions in the equation and then multiplied both sides of the equation by the LCD to “clear” the fractions.

    We will use the same strategy to solve rational equations. We will multiply both sides of the equation by the LCD. Then, we will have an equation that does not contain rational expressions and thus is much easier for us to solve. But because the original equation may have a variable in a denominator, we must be careful that we don’t end up with a solution that would make a denominator equal to zero.

    So before we begin solving a rational equation, we examine it first to find the values that would make any denominators zero. That way, when we solve a rational equation we will know if there are any algebraic solutions we must discard.

    An algebraic solution to a rational equation that would cause any of the rational expressions to be undefined is called an extraneous solution to a rational equation.

    Extraneous Solution to a Rational Equation

    An extraneous solution is an algebraic solution that would cause any of the expressions in the original equation to be undefined.

    We note any possible extraneous solutions, \(c\), by writing \(x\neq c\) next to the equation.

    Example \(\PageIndex{1}\)

    Solve: \(\dfrac{1}{x}+\dfrac{1}{3}=\dfrac{5}{6} \nonumber \)

    Solution

    Step 1. Note any value of the variable that would make any denominator zero.

    If \(x=0\), then \(\dfrac{1}{x}\) is undefined. So we'll write \(x \neq 0\) next to the equation.

    \[\dfrac{1}{x}+\dfrac{1}{3}=\dfrac{5}{6}, x \neq 0 \nonumber \]

    Step 2. Find the least common denominator of all denominators in the equation.

    Find the LCD of \(\dfrac{1}{x}\), \(\dfrac{1}{3}\), and \(\dfrac{5}{6}\)

    The LCD is \(6x\).

    Step 3. Clear the fractions by multiplying both sides of the equation by the LCD.

    Multiply both sides of the equation by the LCD, \(6x\).

    \[{\color{red}6 x} \cdot\left(\dfrac{1}{x}+\dfrac{1}{3}\right)={\color{red}6 x} \cdot\left(\dfrac{5}{6}\right) \nonumber \]

    Use the Distributive Property.

    \[{\color{red}6 x} \cdot \dfrac{1}{x}+{\color{red}6 x} \cdot \dfrac{1}{3}={\color{red}6 x} \cdot\left(\dfrac{5}{6}\right) \nonumber \]

    Simplify - and notice, no more fractions!

    \[6+2 x=5 x \nonumber \]

    Step 4. Solve the resulting equation.

    Simplify.

    \[\begin{aligned} &6=3 x\\ &2=x \end{aligned} \nonumber \]

    Step 5. Check.

    If any values found in Step 1 are algebraic solutions, discard them. Check any remaining solutions in the original equation.

    We did not get 0 as an algebraic solution.

    \[\dfrac{1}{x}+\dfrac{1}{3}=\dfrac{5}{6} \nonumber \]

    We substitute \(x=2\) into the original equation.

    \[\begin{aligned} \frac{1}{2}+\frac{1}{3}&\overset{?}{=}\frac{5}{6} \\ \frac{3}{6}+\frac{2}{6}&\overset{?}{=}\frac{5}{6} \\ \frac{5}{6}&=\frac{5}{6} \surd \end{aligned} \nonumber \]

    The solution is \(x=2\)

    You Try \(\PageIndex{1}\)

    Solve: \(\dfrac{1}{y}+\dfrac{2}{3}=\dfrac{1}{5} \nonumber \)

    Answer

    \(y=-\dfrac{7}{15}\)

    The steps of this method are shown.

    Steps to Solve Rational Equations
    • Step 1. Note any value of the variable that would make any denominator zero.
    • Step 2. Find the least common denominator of all denominators in the equation.
    • Step 3. Clear the fractions by multiplying both sides of the equation by the LCD.
    • Step 4. Solve the resulting equation.
    • Step 5. Check:
      • If any values found in Step 1 are algebraic solutions, discard them. These values are called extraneous solutions.
      • Check any remaining solutions in the original equation.

    We always start by noting the values that would cause any denominators to be zero.

    Example \(\PageIndex{2}\)

    Solve: \(1-\dfrac{5}{y}=-\dfrac{6}{y^{2}} \nonumber \)

    Solution

    Note any value of the variable that would make any denominator zero.

    \[1-\dfrac{5}{y}=-\dfrac{6}{y^{2}}, y \neq 0 \nonumber \]

    Find the least common denominator of all denominators in the equation. The LCD is \(y^2\).

    Clear the fractions by multiplying both sides of the equation by the LCD.

    \[y^{2}\left(1-\dfrac{5}{y}\right)=y^{2}\left(-\dfrac{6}{y^{2}}\right) \nonumber \]

    Distribute.

    \[y^{2} \cdot 1-y^{2}\left(\dfrac{5}{y}\right)=y^{2}\left(-\dfrac{6}{y^{2}}\right) \nonumber \]

    Multiply.

    \[y^{2}-5 y=-6 \nonumber \]

    Solve the resulting equation. First write the quadratic equation in standard form.

    \[y^{2}-5 y+6=0 \nonumber \]

    Factor.

    \[(y-2)(y-3)=0 \nonumber \]

    Use the Zero Product Property.

    \[y-2=0 \text { or } y-3=0 \nonumber \]

    Solve.

    \[y=2 \text { or } y=3 \nonumber \]

    Check. We did not get \(0\) as an algebraic solution.

    Check \(y=2\) and \(y=3\)in the original equation.

    \[1-\dfrac{5}{y}=-\dfrac{6}{y^{2}} \quad \quad \quad 1-\dfrac{5}{y}=-\dfrac{6}{y^{2}} \nonumber \]

    \[1-\dfrac{5}{2} \overset{?}{=} -\dfrac{6}{2^{2}} \quad \quad \quad 1-\dfrac{5}{3} \overset{?}{=} -\dfrac{6}{3^{2}} \nonumber \]

    \[1-\dfrac{5}{2} \overset{?}{=}-\dfrac{6}{4} \quad \quad \quad 1-\dfrac{5}{3} \overset{?}{=} -\dfrac{6}{9} \nonumber \]

    \[\dfrac{2}{2}-\dfrac{5}{2} \overset{?}{=} -\dfrac{6}{4} \quad \quad \quad \dfrac{3}{3}-\dfrac{5}{3} \overset{?}{=} -\dfrac{6}{9} \nonumber \]

    \[-\dfrac{3}{2} \overset{?}{=} -\dfrac{6}{4} \quad \quad \quad -\dfrac{2}{3} \overset{?}{=} -\dfrac{6}{9} \nonumber \]

    \[-\dfrac{3}{2}=-\dfrac{3}{2} \surd \quad \quad \quad -\dfrac{2}{3}=-\dfrac{2}{3} \surd \nonumber \]

    The solution is \(y=2,y=3\)

    You Try \(\PageIndex{2}\)

    Solve: \[1-\dfrac{4}{h}=\dfrac{12}{h^{2}} \nonumber \]

    Answer

    \(h=-2, h=6\)

    In the next example, the last denominators is a difference of squares. Remember to factor it first to find the LCD.

    Example \(\PageIndex{3}\)

    Solve: \(\dfrac{2}{x+2}+\dfrac{4}{x-2}=\dfrac{x-1}{x^{2}-4} \nonumber \)

    Solution

    Note any value of the variable that would make any denominator zero.

    \[\dfrac{2}{x+2}+\dfrac{4}{x-2}=\dfrac{x-1}{(x+2)(x-2)}, x \neq-2, x \neq 2 \nonumber \]

    Find the least common denominator of all denominators in the equation. The LCD is \((x+2)(x-2)\).

    Clear the fractions by multiplying both sides of the equation by the LCD.

    \[(x+2)(x-2)\left(\dfrac{2}{x+2}+\dfrac{4}{x-2}\right)=(x+2)(x-2)\left(\dfrac{x-1}{x^{2}-4}\right) \nonumber \]

    Distribute.

    \[(x+2)(x-2) \dfrac{2}{x+2}+(x+2)(x-2) \dfrac{4}{x-2}=(x+2)(x-2)\left(\dfrac{x-1}{x^{2}-4}\right) \nonumber \]

    Remove common factors.

    \[\cancel {(x+2)}(x-2) \dfrac{2}{\cancel {x+2}}+(x+2){\cancel {(x-2)}} \dfrac{4}{\cancel {x-2}}=\cancel {(x+2)(x-2)}\left(\dfrac{x-1}{\cancel {x^{2}-4}}\right) \nonumber \]

    Simplify.

    \[2(x-2)+4(x+2)=x-1 \nonumber \]

    Distribute.

    \[2 x-4+4 x+8=x-1 \nonumber \]

    Solve.

    \[\begin{aligned} 6 x+4&=x-1\\ 5 x&=-5 \\ x&=-1 \end{aligned}\]

    Check: We did not get 2 or −2 as algebraic solutions.

    Check \(x=-1\) in the original equation.

    \[\begin{aligned} \dfrac{2}{x+2}+\dfrac{4}{x-2} &=\dfrac{x-1}{x^{2}-4} \\ \dfrac{2}{(-1)+2}+\dfrac{4}{(-1)-2} &\overset{?}{=} \dfrac{(-1)-1}{(-1)^{2}-4} \\ \dfrac{2}{1}+\dfrac{4}{-3} &\overset{?}{=} \dfrac{-2}{-3} \\ \dfrac{6}{3}-\dfrac{4}{3} &\overset{?}{=} \dfrac{2}{3} \\ \dfrac{2}{3} &=\dfrac{2}{3} \surd \end{aligned} \nonumber \]

    The solution is \(x=-1\).

    You Try \(\PageIndex{3}\)

    Solve: \(\dfrac{5}{y+3}+\dfrac{2}{y-3}=\dfrac{5}{y^{2}-9} \nonumber \)

    Answer

    \(y=2\)

    In the next example, the first denominator is a trinomial. Remember to factor it first to find the LCD.

    Example \(\PageIndex{4}\)

    Solve: \(\dfrac{m+11}{m^{2}-5 m+4}=\dfrac{5}{m-4}-\dfrac{3}{m-1} \nonumber \)

    Solution

    Note any value of the variable that would make any denominator zero. Use the factored form of the quadratic denominator.

    \[\dfrac{m+11}{(m-4)(m-1)}=\dfrac{5}{m-4}-\dfrac{3}{m-1}, \quad m \neq 4, m \neq 1 \nonumber \]

    Find the least common denominator of all denominators in the equation. The LCD is \((m-4)(m-1)\)

    Clear the fractions by multiplying both sides of the equation by the LCD.

    \[(m-4)(m-1)\left(\dfrac{m+11}{(m-4)(m-1)}\right)=(m-4)(m-1)\left(\dfrac{5}{m-4}-\dfrac{3}{m-1}\right) \nonumber \]

    Distribute.

    \[(m-4)(m-1)\left(\dfrac{m+11}{(m-4)(m-1)}\right)=(m-4)(m-1) \dfrac{5}{m-4}-(m-4)(m-1) \dfrac{3}{m-1} \nonumber \]

    Remove common factors.

    \[\cancel {(m-4)(m-1)}\left(\dfrac{m+11}{\cancel {(m-4)(m-1)}}\right)=\cancel {(m-4)}(m-1) \dfrac{5}{\cancel{m-4}}-(m-4)\cancel {(m-1)} \dfrac{3}{\cancel {m-1}} \nonumber \]

    Simplify.

    \[m+11=5(m-1)-3(m-4) \nonumber \]

    Solve the resulting equation.

    \[\begin{aligned} m+11&=5 m-5-3 m+12 \\ 4&=m \end{aligned} \nonumber \]

    Check. The only algebraic solution was 4, but 4 would make a denominator equal to zero. The algebraic solution is an extraneous solution.

    Hence, there is no solution to this equation.

    You Try \(\PageIndex{4}\)

    Solve: \(\dfrac{x+13}{x^{2}-7 x+10}=\dfrac{6}{x-5}-\dfrac{4}{x-2} \nonumber \)

    Answer

    There is no solution.

    The equation we solved in the previous example had only one algebraic solution, but it was an extraneous solution. That left us with no solution to the equation. In the next example we get two algebraic solutions. It is possible that one or both could be extraneous solutions.

    Example \(\PageIndex{5}\)

    Solve: \(\dfrac{y}{y+6}=\dfrac{72}{y^{2}-36}+4 \nonumber \)

    Solution

    Factor all the denominators, so we can note any value of the variable that would make any denominator zero.

    \[\dfrac{y}{y+6}=\dfrac{72}{(y-6)(y+6)}+4, \quad y \neq 6, y \neq-6 \nonumber \]

    Find the least common denominator. The LCD is \((y-6)(y+6)\)

    Clear the fractions.

    \[(y-6)(y+6)\left(\dfrac{y}{y+6}\right)=(y-6)(y+6)\left(\dfrac{72}{(y-6)(y+6)}+4\right) \nonumber \]

    Simplify.

    \[(y-6) \cdot y=72+(y-6)(y+6) \cdot 4 \nonumber \]

    Simplify.

    \[y(y-6)=72+4\left(y^{2}-36\right) \nonumber \]

    Solve the resulting equation.

    \[\begin{aligned} y^{2}-6 y&=72+4 y^{2}-144\\ 0&=3 y^{2}+6 y-72 \\ 0&=3\left(y^{2}+2 y-24\right) \\ 0&=3(y+6)(y-4) \\ y&=-6, y=4 \end{aligned} \nonumber \]

    Check.

    \(y=-6\) is an extraneous solution. Check \(y=4\) in the original equation.

    \[\begin{aligned} \dfrac{y}{y+6} &=\dfrac{72}{y^{2}-36}+4 \\ \dfrac{4}{4+6} &\overset{?}{=}\dfrac{72}{4^{2}-36}+4 \\ \dfrac{4}{10} &\overset{?}{=} \dfrac{72}{-20}+4 \\ \dfrac{4}{10} &\overset{?}{=} -\dfrac{36}{10}+\dfrac{40}{10} \\ \dfrac{4}{10} &=\dfrac{4}{10} \surd \end{aligned} \nonumber \]

    The solution is \(y=4\).

    You Try \(\PageIndex{5}\)

    Solve: \(\dfrac{x}{x+4}=\dfrac{32}{x^{2}-16}+5 \nonumber \)

    Answer

    \(x=3\)

    In some cases, all the algebraic solutions are extraneous.

    Example \(\PageIndex{6}\)

    Solve: \(\dfrac{x}{2 x-2}-\dfrac{2}{3 x+3}=\dfrac{5 x^{2}-2 x+9}{12 x^{2}-12} \nonumber \)

    Solution

    We will start by factoring all denominators, to make it easier to identify extraneous solutions and the LCD.

    \[\dfrac{x}{2(x-1)}-\dfrac{2}{3(x+1)}=\dfrac{5 x^{2}-2 x+9}{12(x-1)(x+1)} \nonumber \]

    Note any value of the variable that would make any denominator zero.

    \[\dfrac{x}{2(x-1)}-\dfrac{2}{3(x+1)}=\dfrac{5 x^{2}-2 x+9}{12(x-1)(x+1)}, \quad x \neq 1, x \neq-1 \nonumber \]

    Find the least common denominator. The LCD is \(12(x-1)(x+1)\).

    Clear the fractions.

    \[12(x-1)(x+1)\left(\dfrac{x}{2(x-1)}-\dfrac{2}{3(x+1)}\right)=12(x-1)(x+1)\left(\dfrac{5 x^{2}-2 x+9}{12(x-1)(x+1)}\right) \nonumber \]

    Simplify.

    \[6(x+1) \cdot x-4(x-1) \cdot 2=5 x^{2}-2 x+9 \nonumber \]

    Simplify.

    \[6 x(x+1)-4 \cdot 2(x-1)=5 x^{2}-2 x+9 \nonumber \]

    Solve the resulting equation.

    \[\begin{aligned} 6 x^{2}+6 x-8 x+8&=5 x^{2}-2 x+9\\ x^{2}-1&=0 \\ (x-1)(x+1)&=0 \\ x&=1 \text { or } x=-1 \end{aligned} \nonumber \]

    Check.

    \(x=1\) and \(x=-1\) are extraneous solutions.

    The equation has no solution.

    You Try \(\PageIndex{6}\)

    Solve: \[\dfrac{y}{5 y-10}-\dfrac{5}{3 y+6}=\dfrac{2 y^{2}-19 y+54}{15 y^{2}-60} \nonumber \]

    Answer

    There is no solution.

    Example \(\PageIndex{7}\)

    Solve: \(\dfrac{4}{3 x^{2}-10 x+3}+\dfrac{3}{3 x^{2}+2 x-1}=\dfrac{2}{x^{2}-2 x-3} \nonumber \)

    Solution

    Factor all the denominators, so we can note any value of the variable that would make any denominator zero.

    \[\dfrac{4}{(3 x-1)(x-3)}+\dfrac{3}{(3 x-1)(x+1)}=\dfrac{2}{(x-3)(x+1)}, \quad x \neq-1, x \neq \dfrac{1}{3}, x \neq 3\nonumber \]

    Find the least common denominator. The LCD is \((3 x-1)(x+1)(x-3)\).

    Clear the fractions.

    \[(3 x-1)(x+1)(x-3)\left(\dfrac{4}{(3 x-1)(x-3)}+\dfrac{3}{(3 x-1)(x+1)}\right)=(3 x-1)(x+1)(x-3)\left(\dfrac{2}{(x-3)(x+1)}\right) \nonumber \]

    Simplify.

    \[4(x+1)+3(x-3)=2(3 x-1) \nonumber \]

    Distribute.

    \[4 x+4+3 x-9=6 x-2 \nonumber \]

    Simplify.

    \[7 x-5=6 x-2 \nonumber \]

    \[x=3 \nonumber \]

    The only algebraic solution was \(x=3\) but we said that \(x=3\) would make a denominator equal to zero. The algebraic solution is an extraneous solution.

    There is no solution to this equation.

    You Try \(\PageIndex{7}\)

    Solve: \(\dfrac{5}{x^{2}+2 x-3}-\dfrac{3}{x^{2}+x-2}=\dfrac{1}{x^{2}+5 x+6} \nonumber \)

    Answer

    There is no solution.


    This page titled 2.16: Solving Rational Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Katherine Skelton.