Skip to main content
Mathematics LibreTexts

1.5: Solving Rational Equations

  • Page ID
    134535
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Solve rational equations
    • Use rational functions
    • Solve a rational equation for a specific variable

    Before you get started, take this readiness quiz.

    1. Solve: \(\dfrac{1}{6} x+\dfrac{1}{2}=\dfrac{1}{3}\)
      If you missed this problem, review Example 2.2.9.
    2. Solve:
    3. Solve the formula \(5x+2y=10\) for \(y\).
      If you missed this problem, review Example 2.4.10.

    After defining the terms ‘expression’ and ‘equation’ earlier, we have used them throughout this book. We have simplified many kinds of expressions and solved many kinds of equations. 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. The equation contains an equal sign.

    \[\text {Rational Expression }\quad \quad \text{ Rational Equation} \nonumber \]

    \[\dfrac{1}{8} x+\dfrac{1}{2} \quad \quad \dfrac{1}{8} x+\dfrac{1}{2}=\dfrac{1}{4} \nonumber \]

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

    \[\dfrac{1}{n-3}+\dfrac{1}{n+4} \quad \quad \quad \quad \dfrac{1}{n-3}+\dfrac{1}{n+4}=\dfrac{15}{n^{2}+n-12} \nonumber \]

    Solve 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 to a rational equation 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}\): How to Solve a Rational Equation

    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\)

    Exercise \(\PageIndex{1}\)

    Solve: \[\dfrac{1}{y}+\dfrac{2}{3}=\dfrac{1}{5} \nonumber \]

    Answer

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

    Exercise \(\PageIndex{2}\)

    Solve: \[\dfrac{2}{3}+\dfrac{1}{5}=\dfrac{1}{x} \nonumber \]

    Answer

    \(x=\dfrac{15}{3}\)

    The steps of this method are shown.

    how to Solve equations with rational expressions.
    • 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.
      • 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}\): How to Solve a Rational Equation using the Zero Product Property

    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\)

    Exercise \(\PageIndex{3}\)

    Solve: \[1-\dfrac{2}{x}=\dfrac{15}{x^{2}} \nonumber \]

    Answer

    \(x=-3, x=5\)

    Exercise \(\PageIndex{4}\)

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

    Answer

    \(y=-2, y=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\).

    Exercise \(\PageIndex{5}\)

    Solve: \[\dfrac{2}{x+1}+\dfrac{1}{x-1}=\dfrac{1}{x^{2}-1} \nonumber \]

    Answer

    \(x=\dfrac{2}{3}\)

    Exercise \(\PageIndex{6}\)

    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}, 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 we said that 4 would make a denominator equal to zero. The algebraic solution is an extraneous solution.

    There is no solution to this equation.

    Exercise \(\PageIndex{7}\)

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

    Answer

    There is no solution.

    Exercise \(\PageIndex{8}\)

    Solve: \[\dfrac{y-6}{y^{2}+3 y-4}=\dfrac{2}{y+4}+\dfrac{7}{y-1} \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. Here 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, 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\).

    Exercise \(\PageIndex{9}\)

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

    Answer

    \(x=3\)

    Exercise \(\PageIndex{10}\)

    Solve: \[\dfrac{y}{y+8}=\dfrac{128}{y^{2}-64}+9 \nonumber \]

    Answer

    \(y=7\)

    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)}, 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.

    Exercise \(\PageIndex{11}\)

    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.

    Exercise \(\PageIndex{12}\)

    Solve: \[\dfrac{z}{2 z+8}-\dfrac{3}{4 z-8}=\dfrac{3 z^{2}-16 z-16}{8 z^{2}+2 z-64} \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)}, 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.

    Exercise \(\PageIndex{13}\)

    Solve: \[\dfrac{15}{x^{2}+x-6}-\dfrac{3}{x-2}=\dfrac{2}{x+3} \nonumber \]

    Answer

    There is no solution.

    Exercise \(\PageIndex{14}\)

    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.

    Use Rational Functions

    Working with functions that are defined by rational expressions often lead to rational equations. Again, we use the same techniques to solve them.

    Example \(\PageIndex{8}\)

    For rational function, \(f(x)=\dfrac{2 x-6}{x^{2}-8 x+15}\):

    1. Find the domain of the function
    2. Solve \(f(x)=1\)
    3. Find the points on the graph at this function value.

    Solution

    1. The domain of a rational function is all real numbers except those that make the rational expression undefined. So to find them, we will set the denominator equal to zero and solve.

    \[\begin{aligned} x^{2}-8 x+15&=0 \\ (x-3)(x-5)&=0 \quad \text{Factor the trinomial.}\\ x-3&=0 \quad \text {Use the Zero Product Property.}\\ x-5&=0 \quad \text {Use the Zero Product Property.}\\ x=3 &\; x=5 \text{ Solve.} \end{aligned} \nonumber \]

    The domain is all real numbers except \(x \neq 3, x \neq 5\)

    1. \[f(x)=1 \nonumber \]

    Substitute in the rational expression.

    \[\dfrac{2 x-6}{x^{2}-8 x+15}=1 \nonumber \]

    Factor the denominator.

    \[\dfrac{2 x-6}{(x-3)(x-5)}=1 \nonumber \]

    Multiply both sides by the LCD, \((x-3)(x-5)\)

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

    Simplify.

    \[2 x-6=x^{2}-8 x+15 \nonumber \]

    Solve.

    \[0=x^{2}-10 x+21 \nonumber \]

    Factor.

    \[0=(x-7)(x-3) \nonumber \]

    Use the Zero Product Property.

    \[x-7=0 \quad x-3=0 \nonumber \]

    Solve.

    \[x=7 \quad x=3 \nonumber \]

    1. The value of the function is 1 when \(x=7, x=3\). So the points on the graph of this function when \(f(x)=1\), will be \((7,1),(3,1)\). However, now we need to check for extraneous solutions. Since \(x=3\) is not in the domain of the original function, we must remove \((3,1)\), since it would be considered extraneous.
    Exercise \(\PageIndex{15}\)

    For rational function, \(f(x)=\dfrac{8-x}{x^{2}-7 x+12}\)

    1. Find the domain of the function.
    2. Solve \(f(x)=3\).
    3. Find the points on the graph at this function value.
    Answer
    1. The domain is all real numbers except \(x \neq 3\) and \(x \neq 4\)
    2. \(x=2, x=\dfrac{14}{3}\)
    3. \((2,3),\left(\dfrac{14}{3}, 3\right)\)
    Exercise \(\PageIndex{16}\)

    For rational function, \(f(x)=\dfrac{x-1}{x^{2}-6 x+5}\)

    1. Solve \(f(x)=4\).
    2. Find the points on the graph at this function value.
    Answer
    1. The domain is all real numbers except \(x \neq 1\) and \(x \neq 5\)
    2. \(x=\dfrac{21}{4}\)
    3. \(\left(\dfrac{21}{4}, 4\right)\)

    Solve a Rational Equation for a Specific Variable

    When we solved linear equations, we learned how to solve a formula for a specific variable. Many formulas used in business, science, economics, and other fields use rational equations to model the relation between two or more variables. We will now see how to solve a rational equation for a specific variable.

    When we developed the point-slope formula from our slope formula, we cleared the fractions by multiplying by the LCD.

    \[\begin{aligned} m &=\frac{y-y_{1}}{x-x_{1}} \\ m\left(x-x_{1}\right) &=\left(\frac{y-y_{1}}{x-x_{1}}\right)\left(x-x_{1}\right) \quad \text{Multiply both sides of the equation by } x-x_1.\\ m\left(x-x_{1}\right) &=y-y_{1} \quad \text {Simplify.}\\ y-y_{1} &=m\left(x-x_{1}\right) \quad \text {Rewrite the equation with the y terms on the left.} \end{aligned} \nonumber \]

    In the next example, we will use the same technique with the formula for slope that we used to get the point-slope form of an equation of a line through the point \((2,3)\). We will add one more step to solve for \(y\).

    Example \(\PageIndex{9}\)

    Solve: \(m=\dfrac{y-2}{x-3}\) for \(y\).

    Solution

    \[m=\dfrac{y-2}{x-3} \nonumber \]

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

    \[m=\dfrac{y-2}{x-3}, x \neq 3 \nonumber \]

    Clear the fractions by multiplying both sides of the equation by the LCD, \(x-3\).

    \[(x-3) m=(x-3)\left(\dfrac{y-2}{x-3}\right) \nonumber \]

    Simplify.

    \[x m-3 m=y-2 \nonumber \]

    Isolate the term with \(y\).

    \[x m-3 m+2=y \nonumber \]

    Exercise \(\PageIndex{17}\)

    Solve: \(m=\dfrac{y-5}{x-4}\) for \(y\).

    Answer

    \(y=m x-4 m+5\)

    Exercise \(\PageIndex{18}\)

    Solve: \(m=\dfrac{y-1}{x+5}\) for \(y\).

    Answer

    \(y=m x+5 m+1\)

    Remember to multiply both sides by the LCD in the next example.

    Example \(\PageIndex{10}\)

    Solve: \(\dfrac{1}{c}+\dfrac{1}{m}=1\) for \(c\)

    Solution

    \[\dfrac{1}{c}+\dfrac{1}{m}=1 \text { for } c \nonumber \]

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

    \[\dfrac{1}{c}+\dfrac{1}{m}=1, c \neq 0, m \neq 0 \nonumber \]

    Clear the fractions by multiplying both sides of the equations by the LCD, \(cm\).

    \[cm\left(\dfrac{1}{c}+\dfrac{1}{m}\right)=cm(1) \nonumber \]

    Distribute.

    \[cm\left(\frac{1}{c}\right)+cm \frac{1}{m}=cm(1) \nonumber \]

    Simplify.

    \[m+c=cm \nonumber \]

    Collect the terms with \(c\) to the right.

    \[m=cm-c \nonumber \]

    Factor the expression on the right.

    \[m=c(m-1) \nonumber \]

    To isolate \(c\), divide both sides by \(m-1\).

    \[\dfrac{m}{m-1}=\dfrac{c(m-1)}{m-1} \nonumber \]

    Simplify by removing common factors.

    \[\dfrac{m}{m-1}=c \nonumber \]

    Notice that even though we excluded \(c=0\) and \(m=0\) from the original equation, we must also now state that \(m \neq 1\).

    Exercise \(\PageIndex{19}\)

    Solve: \(\dfrac{1}{a}+\dfrac{1}{b}=c\) for \(a\).

    Answer

    \(a=\dfrac{b}{c b-1}\)

    Exercise \(\PageIndex{20}\)

    Solve: \(\dfrac{2}{x}+\dfrac{1}{3}=\dfrac{1}{y}\) for \(y\)

    Answer

    \(y=\dfrac{3 x}{x+6}\)

    Media Access Additional Online Resources

    Access this online resource for additional instruction and practice with equations with rational expressions.


    This page titled 1.5: Solving Rational Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.