Skip to main content
Mathematics LibreTexts

7.4: Add and Subtract Rational Expressions with Unlike Denominators

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

    Learning Objectives

    By the end of this section, you will be able to:

    • Find the least common denominator of rational expressions
    • Find equivalent rational expressions
    • Add rational expressions with different denominators
    • Subtract rational expressions with different denominators
    Note

    Before you get started, take this readiness quiz.

    If you miss a problem, go back to the section listed and review the material.

    1. Add: \(\frac{7}{10}+\frac{8}{15}\).
      If you missed this problem, review Exercise 1.7.13.
    2. Subtract: \(6(2x+1)−4(x−5)\).
      If you missed this problem, review Exercise 1.10.52.
    3. Find the Greatest Common Factor of \(9x^{2}y^{3}\) and \(12xy^{5}\)
      If you missed this problem, review Exercise 7.1.7.
    4. Factor completely −48n−12
      If you missed this problem, review Exercise 7.1.31.

    Find the Least Common Denominator of Rational Expressions

    When we add or subtract rational expressions with unlike denominators we will need to get common denominators. If we review the procedure we used with numerical fractions, we will know what to do with rational expressions.

    Let’s look at the example \(\frac{7}{12}+\frac{5}{18}\) from Foundations. Since the denominators are not the same, the first step was to find the least common denominator (LCD). Remember, the LCD is the least common multiple of the denominators. It is the smallest number we can use as a common denominator.

    To find the LCD of 12 and 18, we factored each number into primes, lining up any common primes in columns. Then we “brought down” one prime from each column. Finally, we multiplied the factors to find the LCD.

    12=2·2·3

    18=2·3·3

    LCD=2·2·3·3

    LCD=36

    We do the same thing for rational expressions. However, we leave the LCD in factored form.

    Definition: FIND THE LEAST COMMON DENOMINATOR OF RATIONAL EXPRESSIONS.
    1. Factor each expression completely.
    2. List the factors of each expression. Match factors vertically when possible.
    3. Bring down the columns.
    4. Multiply the factors.

    Remember, we always exclude values that would make the denominator zero. What values of xvshould we exclude in this next example?

    Example \(\PageIndex{1}\)

    Find the LCD for \(\frac{8}{x^2−2x−3}\),\(\frac{3x}{x^2+4x+3}\)

    Answer
      \(\frac{8}{x^2−2x−3}\),\(\frac{3x}{x^2+4x+3}\)
    Factor each expression completely, lining up common factors. Bring down the columns. \(x^2−2x−3=(x−3)(x+1)\)
      \(x^2+4x+3=(x+1)(x+3)\)
    Multiply the factors. LCD=(x+1)(x−3)(x+3)
      The LCD is (x+1)(x−3)(x+3).
    Example \(\PageIndex{2}\)

    Find the LCD for \(\frac{2}{x^2−x−12},\frac{1}{x^2−16}\)

    Answer

    (x−4)(x+4)(x+3)

    Example \(\PageIndex{3}\)

    Find the LCD for \(\frac{x}{x^2+8x+15},\frac{5}{x^2+9x+18}\)

    Answer

    (x+3)(x+6)(x+5)

    Find Equivalent Rational Expressions

    When we add numerical fractions, once we find the LCD, we rewrite each fraction as an equivalent fraction with the LCD.

    The above image shows how to find the LCD (least common denominator) when adding numerical fractions in the example seven-twelfths plus five-eighteenths. The image shows 7 times 3 divided by 12 times 3 plus 5 times 2 plus 18 times 2. Below this is 21 divided by 36 plus 10 divided by 36. The image next to this shows that 12 equals 2 times 2 times 3. Below this shows 18 equals 2 times 3 times 3. A line is drawn. Below it is LCD equals 2 times 2 times 3 times 3. The line below this shows that the LCD equals 36.

    We will do the same thing for rational expressions.

    Example \(\PageIndex{4}\)

    Rewrite as equivalent rational expressions with denominator (x+1)(x−3)(x+3): \(\frac{8}{x^2−2x−3}\), \(\frac{3x}{x^2+4x+3}\).

    Answer
      .
    Factor each denominator. .
    Find the LCD..  
    Multiply each denominator by the 'missing' factor and multiply each numerator by the same factor. .
    Simplify the numerators. .
    Example \(\PageIndex{5}\)

    Rewrite as equivalent rational expressions with denominator (x+3)(x−4)(x+4):
    \(\frac{2}{x^2−x−12}\), \(\frac{1}{x^2−16}\).

    Answer

    \(\frac{2x+8}{(x−4)(x+3)(x+4)}\),
    \(\frac{x+3}{(x−4)(x+3)(x+4)}\)

    Example \(\PageIndex{6}\)

    Rewrite as equivalent rational expressions with denominator (x+3)(x+5)(x+6)
    \(\frac{x}{x^2+8x+15}\), \(\frac{5}{x^2+9x+18}\).

    Answer

    \(\frac{x^2+6x}{(x+3)(x+5)(x+6)}\),
    \(\frac{x+3}{(x+3)(x+5)(x+6)}\)

    Add Rational Expressions with Different Denominators

    Now we have all the steps we need to add rational expressions with different denominators. As we have done previously, we will do one example of adding numerical fractions first.

    Example \(\PageIndex{7}\)

    Add: \(\frac{7}{12}+\frac{5}{18}\).

    Answer
      .
    Find the LCD of 12 and 18..  
    Rewrite each fraction as an equivalent fraction with the LCD. .
    Add the fractions. .
    The fraction cannot be simplified. .
    Example \(\PageIndex{8}\)

    Add: \(\frac{11}{30}+\frac{7}{12}\).

    Answer

    \(\frac{19}{20}\)

    Example \(\PageIndex{9}\)

    Add: \(\frac{3}{8}+\frac{9}{20}\).

    Answer

    \(\frac{33}{40}\)

    Now we will add rational expressions whose denominators are monomials.

    Example \(\PageIndex{10}\)

    Add: \(\frac{5}{12x^{2}y}+\frac{4}{21xy^2}\).

    Answer
      .

    Find the LCD of \(12x^{2}y\) and \(21xy^2\).
     
      .
    Rewrite each rational expression as an equivalent fraction with the LCD. .
    Simplify. .
    Add the rational expressions. .
    There are no factors common to the numerator and denominator. The fraction cannot be simplified.  
    Example \(\PageIndex{11}\)

    Add: \(\frac{2}{15a^{2}b}+\frac{5}{6ab^2}\).

    Answer

    \(\frac{4b+25a}{30a^{2}b^2}\)

    Example \(\PageIndex{12}\)

    Add: \(\frac{5}{16c}+\frac{3}{8cd^2}\).

    Answer

    \(\frac{5d^2+6}{16cd^2}\)

    Now we are ready to tackle polynomial denominators.

    How to Add Rational Expressions with Different Denominators

    Example \(\PageIndex{13}\)

    Add: \(\frac{3}{x−3}+\frac{2}{x−2}\).

    Answer

    The above image shows the steps to add fractions whose denominators are monomials for the example 5 divided by 12 x squared y plus 4 divided by 21 x y squared. Find the LCD of 12 x squared y and 21 x y squared. To the right of this expression is 12 x squared y equals 2 times 2 times 3 times x times x times y. Below that is 21 x y squared equals 3 times 7 times x times y times y. A line is drawn. Below that is LCD equals 2 times 2 times 3 times 7 times x times x times y times y. Below that is LCD equals 84 x squared y squared. Rewrite each rational expression as an equivalent fraction with the LCD. The original equation is shown. Below that is 5 times 7 y divided by 12 x squared y times 7 y plus 4 times 4 x divided by 21 x y squared times 4 x. Simplify to get 35 y divided by 84 x squared y squared plus 16 x divided by x squared y squared. Add the rational expressions 16 x plus 35 y divided by 84 x squared y squared. There are no factors common to the numeration and denominator. The fraction cannot be simplified.Step 2 is to add the rational expression. Then, add the numerators and place the sum over the common denominator to get 3 x minus 6 plus 2 x minus 6 divided by x minus 3 times x minus 2.Step 3 is to simplify, if possible. Because 5 x minus 12 cannot be factored, the answer is simplified to 5 x minus 12 divided by x minus 3 times x minus 2.

    Example \(\PageIndex{14}\)

    Add: \(\frac{2}{x−2}+\frac{5}{x+3}\).

    Answer

    \(\frac{7x−4}{(x+3)(x−2)}\)

    Example \(\PageIndex{15}\)

    Add: \(\frac{4}{m+3}+\frac{3}{m+4}\).

    Answer

    \(\frac{7m+25}{(m+3)(m+4)}\)

    The steps to use to add rational expressions are summarized in the following procedure box.

    Definition: ADD RATIONAL EXPRESSIONS.
    1. Determine if the expressions have a common denominator.
      Yes – go to step 2.
      No – Rewrite each rational expression with the LCD.
      Find the LCD.
      Rewrite each rational expression as an equivalent rational expression with the LCD.
    2. Add the rational expressions.
    3. Simplify, if possible.
    ExAMPLe \(\PageIndex{16}\)

    Add: \(\frac{2a}{2ab+b^2}+\frac{3a}{4a^2−b^2}\).

    Answer
      .
    Do the expressions have a common denominator? No.
    Rewrite each expression with the LCD.
     
    Find the LCD..  
    Rewrite each rational expression as an equivalent rational expression with the LCD. .
    Simplify the numerators. .
    Add the rational expressions. .
    Simplify the numerator. .
    Factor the numerator. .
    There are no factors common to the numerator and denominator. The fraction cannot be simplified.  
    Example \(\PageIndex{17}\)

    Add: \(\frac{5x}{xy−y^2}+\frac{2x}{x^2+y^2}\).

    Answer

    \(\frac{x(5x+7y)}{y(x−y)(x+y)}\)

    Example \(\PageIndex{18}\)

    Add: \(\frac{7}{2m+6}+\frac{4}{m^2+4m+3}\).

    Answer

    \(\frac{7m+15}{2(m+3)(m+1)}\)

    Avoid the temptation to simplify too soon! In the example above, we must leave the first rational expression as \(\frac{2a(2a−b)}{b(2a+b)(2a−b)}\) to be able to add it to \(\frac{3a·b}{(2a+b)(2a−b)·b}\).

    Example \(\PageIndex{19}\)

    Add: \(\frac{8}{x^2−2x−3}+\frac{3x}{x^2+4x+3}\).

    Answer
      .
    Do the expressions have a common denominator? No.
    Rewrite each expression with the LCD.
     
    Find the LCD..  
    Rewrite each rational expression as an equivalent fraction with the LCD. .
    Simplify the numerators. .
    Add the rational expressions. .
    Simplify the numerator. .
    The numerator is prime, so there are no common factors.  
    Example \(\PageIndex{20}\)

    Add: \(\frac{1}{m^2−m−2}+\frac{5m}{m^2+3m+2}\).

    Answer

    \(\frac{5m^2−9m+2}{(m−2)(m+1)(m+2)}\)

    Example \(\PageIndex{21}\)

    Add: \(\frac{2n}{n^2−3n−10}+\frac{6}{n^2+5n+6}\).

    Answer

    \(\frac{2(n2+6n−15)}{(n+2)(n−5)(n+3)}\)

    Subtract Rational Expressions with Different Denominators

    The process we use to subtract rational expressions with different denominators is the same as for addition. We just have to be very careful of the signs when subtracting the numerators.

    How to Subtract Rational Expressions with Different Denominators

    Example \(\PageIndex{22}\)

    Subtract: \(\frac{x}{x−3}−\frac{x−2}{x+3}\).

    Answer

    The above image has 3 columns. It shows the steps on how to subtract rational expressions with different denominators for x divided by x minus three minus x plus x minus 3. Step 1 is to Determine if the expressions have a common denominator. Yes – go to step 2. No – Rewrite each rational expression with the LCD. Find the LCD. Rewrite each rational expression as an equivalent rational expression with the LCD. In the above expression, the answer is no. Find the LCD of x minus 3, x plus 3. To the right of this is x – 3: x – 3. Below that is x – 2: x – 2. A line is drawn. Below that is written the LCD is x – 3 times x plus 3. Rewrite as x times x plus 3 divided by x minus 3 times x plus 3 minus x minus 2 times x minus 3 divided by x plus 3 times x minus 3. Keep the denominators factored! Factor to get x squared plus 3 x divided by x minus 3 times x plus 3 minus x squared minus 5 x plus 6 divided by x minus 3 times x plus 3.Step 2 is to subtract the rational expressions. Subtract the numerators and place the difference over the common denominator to get x 2 plus 3 x minus x squared minus 5 x plus 6 divided by x minus 3 times x plus 3. Then to x squared plus 3 x minus x squared plus 5 x minus 6 divided by x minus 3 times x plus 3. Be careful with the signs! Then to 8 x minus 6 divided by x minus 3 times x plus 3.Step 3 is to simplify, if possible. The numerator and denominator have no factors in common. The answer is simplified to 2 times 4 x minus 3 divided by x minus 3 times x plus 3.

    Example \(\PageIndex{23}\)

    Subtract: \(\frac{y}{y+4}−\frac{y−2}{y−5}\).

    Answer

    \(\frac{−7y+8}{(y+4)(y−5)}\)

    Example \(\PageIndex{24}\)

    Subtract: \(\frac{z+3}{z+2}−\frac{z}{z+3}\).

    Answer

    \(\frac{4z+9}{(z+2)(z+3)}\)

    The steps to take to subtract rational expressions are listed below.

    Definition: SUBTRACT RATIONAL EXPRESSIONS.
    1. Determine if they have a common denominator.
      Yes – go to step 2.
      No – Rewrite each rational expression with the LCD.
      Find the LCD.
      Rewrite each rational expression as an equivalent rational expression with the LCD.
    2. Subtract the rational expressions.
    3. Simplify, if possible.
    Example \(\PageIndex{25}\)

    Subtract: \(\frac{8y}{y^2−16}−\frac{4}{y−4}\).

    Answer
      .
    Do the expressions have a common denominator? No.
    Rewrite each expression with the LCD.
     
    Find the LCD..  
    Rewrite each rational expression as an equivalent rational expression with the LCD. .
    Simplify the numerators. .
    Subtract the rational expressions. .
    Simplify the numerators. .
    Factor the numerator to look for common factors. .
    Remove common factors. .
    Simplify. .
    Example \(\PageIndex{26}\)

    Subtract: \(\frac{2x}{x^2−4}−\frac{1}{x+2}\).

    Answer

    \(\frac{1}{x−2}\)

    Example \(\PageIndex{27}\)

    Subtract: \(\frac{3}{z+3}−\frac{6z}{z^2−9}\).

    Answer

    \(\frac{−3}{z−3}\)

    There are lots of negative signs in the next example. Be extra careful!

    Example \(\PageIndex{28}\)

    Subtract: \(\frac{−3n−9}{n^2+n−6}−\frac{n+3}{2−n}\).

    Answer
      .
    Factor the denominator. .
    Since n−2 and 2−n are opposites, we will multiply the second rational expression by \(\frac{−1}{−1}\). .
    Simplify. .
    Do the expressions have a common denominator? No.  
    Find the LCD..  
    Rewrite each rational expression as an equivalent rational expression with the LCD. .
    Simplify the numerators. .
    Simplify the rational expressions. .
    Simplify the numerator. .
    Factor the numerator to look for common factors. .
    Simplify. .
    Example \(\PageIndex{29}\)

    Subtract: \(\frac{3x−1}{x^2−5x−6}−\frac{2}{6−x}\).

    Answer

    \(\frac{1}{x−6}\)

    Example \(\PageIndex{30}\)

    Subtract: \(\frac{−2y−2}{y^2+2y−8}−\frac{y−1}{2−y}\).

    Answer

    \(\frac{y+3}{y+4}\)

    When one expression is not in fraction form, we can write it as a fraction with denominator 1.

    Example \(\PageIndex{31}\)

    Subtract: \(\frac{5c+4}{c−2}−3\).

    Answer
      .
    Write 3 as \(\frac{3}{1}\) to have 2 rational expressions. .
    Do the rational expressions have a common denominator? No.  
    Find the LCD of c−2 and 1. LCD = c−2.
    Rewrite \(\frac{3}{1}\) as an equivalent rational expression with the LCD. .
    Simplify. .
    Subtract the rational expressions. .
    Simplify. .
    Factor to check for common factors. .
    There are no common factors; the rational expression is simplified.  
    Example \(\PageIndex{32}\)

    Subtract: \(\frac{2x+1}{x−7}−3\).

    Answer

    \(\frac{−x+22}{x−7}\)

    Example \(\PageIndex{33}\)

    Subtract: \(\frac{4y+3}{2y−1}−5\).

    Answer

    \(\frac{−2(3y−4)}{2y−1}\)

    Definition: ADD OR SUBTRACT RATIONAL EXPRESSIONS.
    1. Determine if the expressions have a common denominator.
      Yes – go to step 2.
      No – Rewrite each rational expression with the LCD.
      Find the LCD.
      Rewrite each rational expression as an equivalent rational expression with the LCD.
    2. Add or subtract the rational expressions.
    3. Simplify, if possible.

    We follow the same steps as before to find the LCD when we have more than two rational expressions. In the next example we will start by factoring all three denominators to find their LCD.

    Example \(\PageIndex{34}\)

    Simplify: \(\frac{2u}{u−1}+\frac{1}{u}−\frac{2u−1}{u^2−u}\).

    Answer
      .
    Do the rational expressions have a common denominator? No.  
    Find the LCD..  
    Rewrite each rational expression as an equivalent rational expression with the LCD. .
      .
    Write as one rational expression. .
    Simplify. .
    Factor the numerator, and remove common factors. .
    Simplify. .
    Example \(\PageIndex{35}\)

    Simplify: \(\frac{v}{v+1}+\frac{3}{v−1}−\frac{6}{v^2−1}\).

    Answer

    \(\frac{v+3}{v+1}\)

    Example \(\PageIndex{36}\)

    Add exercises text here.Simplify: \(\frac{3w}{w+2}+\frac{2}{w+7}−\frac{17w+4}{w^2+9w+14}\).

    Answer

    \(\frac{3w}{w+7}\)

    Key Concepts

    • Find the Least Common Denominator of Rational Expressions
      1. Factor each expression completely.
      2. List the factors of each expression. Match factors vertically when possible.
      3. Bring down the columns.
      4. Multiply the factors.
    • Add or Subtract Rational Expressions
      1. Determine if the expressions have a common denominator.
        Yes – go to step 2.
        No – Rewrite each rational expression with the LCD.
        • Find the LCD.
        • Rewrite each rational expression as an equivalent rational expression with the LCD.
      2. Add or subtract the rational expressions.
      3. Simplify, if possible.

    This page titled 7.4: Add and Subtract Rational Expressions with Unlike Denominators is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?