Module 4: Rational Expressions, Functions, and Equations
4.3 Adding and Subtracting Rational Expressions
Learning Outcomes
Add or subtract rational expressions with like denominators and simplify.
Find the least common multiple of two or more polynomials.
Add or subtract rational expressions with unlike denominators and simplify.
Students learn how to add and subtract whole numbers before they are taught multiplication and division. However, with fractions and rational expressions, multiplication and division are sometimes taught first because these operations are easier to perform than addition and subtraction. Addition and subtraction of rational expressions are not as easy to perform as multiplication because, as with fractions, the process involves finding common denominators.
Adding and Subtracting Rational Expressions with Like Denominators
Recall that to add or subtract fractions with like denominators, we keep the common denominator and perform the operations on the numerators. Then we simplify the final answer if possible. For example,
We proceed similarly with rational expressions with like denominators, remembering to identify the restricted values of the variable in the expressions.
ExAMPLE
For the following expression, state the restricted values of the variable, perform the operations, and state the result in simplest form.
Since [latex] x^2-5x+6=(x-2)(x-3) [/latex], using the Zero-Product Property, we note that [latex] x=2 [/latex] and [latex] x=3 [/latex] make the common denominator of all rational expressions equal to [latex] 0 [/latex]. Hence, the restricted values of [latex] x [/latex] are [latex] 2 [/latex] and [latex] 3 [/latex]. Now,
[latex] \begin{align} \frac{x}{x^2-5x+6}+\frac{3x-1}{x^2-5x+6}-\frac{2x+3}{x^2-5x+6} &= \frac{x+ 3x-1 - (2x+3)}{x^2-5x+6} && {\color{blue}\textsf{operate on the numerators, keeping the common denominator}}\\[5pt] &= \frac{4x-1-2x-3}{x^2-5x+6} && {\color{blue}\textsf{simplify and distribute the negative}}\\[5pt] &= \frac{2x-4}{x^2-5x+6} && {\color{blue}\textsf{simplify the numerator}}\\[5pt] &= \frac{2\cdot (x-2)}{(x-2)\cdot(x-3)} && {\color{blue}\textsf{factor the numerator and denominator}}\\[5pt] &= \frac{2\cdot {\color{red}\cancel{\color{black}{(x-2)}}}}{{\color{red}\cancel{\color{black}{(x-2)}}}\cdot(x-3)} && {\color{blue}\textsf{divide out common factors}}\\[5pt] &= \frac{2}{x-3} \end{align} [/latex]
The Least Common Multiple of Two or More Polynomials
When we add or subtract fractions with unlike denominators, the first step is to identify a common denominator. The most convenient one is the least common denominator which is the least common multiple (LCM) of all denominators. Recall that to find the LCM of a collection of whole numbers, we first find the prime factorization of each number (in concise form using exponents), and then note all distinct prime factors of all the numbers in the collection. The LCM is a product of all prime factors with each factor raised to the highest power that appears in all factorizations of the numbers in the collection. For example, for the [latex] LCM (6,15,20) [/latex], we first present [latex] 6 [/latex] as [latex] 2\cdot 3 = 2^1\cdot 3^1 [/latex], [latex] 15 [/latex] as [latex] 3\cdot 5 = 3^1\cdot 5^1 [/latex], and [latex] 20 [/latex] as [latex] 2^2\cdot 5 = 2^2\cdot 5^1 [/latex]. We note that [latex] 2 [/latex], [latex] 3 [/latex], and [latex] 5 [/latex] are all distinct prime factors of all the numbers in the collection with the highest power of [latex] 2 [/latex] in the factorizations being [latex] 2 [/latex], and the highest powers of [latex] 3 [/latex] and [latex] 5 [/latex] in the factorizations being [latex] 1 [/latex]. Hence, [latex] LCM (6,15,20) = 2^2\cdot 3^1\cdot 5^1 = 60 [/latex].
We will also start with finding the least common denominator when adding or subtracting rational expressions. The procedure of finding the LCM of a collection of polynomials is analogous to the one used for a collection of whole numbers. We first find the prime factorization of each polynomial (in concise form using exponents), and then note all distinct prime factors of all the polynomials in the collection. The LCM is a product of all prime factors with each factor raised to the highest power that appears in all factorizations of the polynomials in the collection. Consider the following examples.
ExAMPLE
Find the LCM of [latex] x^2+7x+12 [/latex] and [latex] x^2+9x+20 [/latex].
[latex] (x+3) [/latex], [latex] (x+4) [/latex], and [latex] (x+5) [/latex] are all distinct prime factors of all the polynomials in the collection with the highest powers of all prime factors in the factorizations being [latex] 1 [/latex]. Hence,
[latex] x [/latex], [latex] (x-1) [/latex], and [latex] (x+2) [/latex] are all distinct prime factors of all the polynomials in the collection with the highest power of [latex] x [/latex] in the factorizations being [latex] 1 [/latex], and the highest powers of [latex] (x-1) [/latex] and [latex] (x+2) [/latex] in the factorizations being [latex] 2 [/latex]. Hence,
You might have noticed that we didn’t multiply out and simplify the answers in the examples above. The factored form will be best for possible simplifications and unless specified otherwise, we will leave the numerator and denominator of the final answer for adding and subtracting rational expressions in factored form.
Adding and Subtracting Rational Expressions with Unlike Denominators
We’re ready now to look into the general case of adding and subtracting rational expressions. Let’s start with another example of operations on fractions to review what we do once we find the least common denominator. The idea is to rewrite each fraction in equivalent form with that least common denominator. To do that, we multiply each fraction that does not have the common denominator by a specific “form of 1.” This form of 1 is a fraction having identical numerator and denominator consisting of the factors missing when compared to the least common denominator. This form of 1 is typically different for each fraction involved. For example, to compute
we use the [latex] LCM(6,15,20) [/latex] of [latex] 60=2\cdot 2\cdot 3\cdot 5 [/latex] that we computed earlier in this section to rewrite each fraction in equivalent form with [latex] 60 [/latex] as the denominator. The factored form of the least common denominator (LCD) together with factored forms of each denominator in our fractions will help identify the missing factors. Since [latex] 15 = 3\cdot 5 [/latex], the denominator of [latex] \dfrac{1}{15} [/latex] is missing the factors [latex] 2\cdot 2 [/latex] of the LCD. Hence, we multiply [latex] \dfrac{1}{15} [/latex] by [latex] \dfrac{2\cdot 2}{2\cdot 2} [/latex] to obtain equivalent form [latex] \dfrac{4}{60} [/latex]. In similar way, since [latex] 6 = 2\cdot 3 [/latex], we multiply [latex] \dfrac{1}{6} [/latex] by [latex] \dfrac{2\cdot 5}{2\cdot 5} [/latex] to obtain [latex] \dfrac{10}{60} [/latex], and since [latex] 20 = 2\cdot 2\cdot 5 [/latex], we multiply [latex] \dfrac{1}{20} [/latex] by [latex] \dfrac{3}{3} [/latex] to obtain [latex] \dfrac{3}{60} [/latex]. Once all fractions have a like denominator, we perform the operations on the numerators and simplify the final answer if possible.
For the restricted values of [latex] x [/latex], since [latex] x^2+7x+12 = (x+3)(x+4) [/latex] and [latex] x^2+9x+20 = (x+4)(x+5) [/latex], using the Zero-Product Property, we note that [latex] x=-3 [/latex] and [latex] x=-4 [/latex] make the denominator of the first rational expression equal to [latex] 0 [/latex], and that [latex] x=-4 [/latex] and [latex] x=-5 [/latex] make the denominator of the second rational expression equal to [latex] 0 [/latex]. Hence, the restricted values of [latex] x [/latex] are [latex] -5 [/latex], [latex] -4 [/latex], and [latex] -3 [/latex].
In an earlier example in this section, we found that [latex] LCM(x^2+7x+12,x^2+9x+20) = (x+3)(x+4)(x+5) [/latex]. Now,
[latex] \begin{align} \frac{1}{x^2+7x+12}-\frac{1}{x^2+9x+20} &= \frac{1}{(x+3)(x+4)}-\frac{1}{(x+4)(x+5)} && {\color{blue}\textsf{factor the denominators}}\\[5pt] &= \frac{1{\color{red}{} \cdot (x+5)}}{(x+3)\cdot (x+4){\color{red}{} \cdot (x+5)}}-\frac{1{\color{red}{} \cdot (x+3)}}{(x+4)\cdot (x+5){\color{red}{} \cdot (x+3)}} && {\color{blue}\textsf{multiply by proper forms of $1$}}\\[5pt] &= \frac{x+5}{(x+3)(x+4)(x+5)}-\frac{x+3}{(x+3)(x+4)(x+5)} && {\color{blue}\textsf{simplify the numerators}}\\[5pt] &= \frac{x+5 - (x+3)}{(x+3)(x+4)(x+5)} && {\color{blue}\textsf{operate on the numerators}}\\[5pt] &= \frac{x+5 - x-3}{(x+3)(x+4)(x+5)} && {\color{blue}\textsf{distribute the negative}}\\[5pt] &= \frac{2}{(x+3)(x+4)(x+5)} && {\color{blue}\textsf{simplify the numerator}}\\[5pt] \end{align} [/latex]
Since there are no common factors between the numerator and denominator, it’s the final answer in simplest form.
Before moving on to the next example, recall that every integer [latex] a [/latex] can be presented as [latex] \dfrac{a}{1} [/latex].
Example
For the following expression, state the restricted values of the variable, perform the operations, and state the result in simplest form.
For the restricted values of [latex] x [/latex], [latex] x-2=0 [/latex] only if [latex] x=-2 [/latex], and since [latex] x^2-4 = (x+2)(x-2) [/latex], using the Zero-Product Property, we note that [latex] x=-2 [/latex] and [latex] x=2 [/latex] make the denominator of the first rational expression equal to [latex] 0 [/latex]. Hence, the restricted values of [latex] x [/latex] are [latex] -2 [/latex] and [latex] 2 [/latex].
Since we have rational expressions with unlike denominators, we have to find the LCD first.
[latex] \begin{align} \frac{2x^2}{x^2-4}-1+\frac{x}{x-2} &= \frac{2x^2}{x^2-4}-\frac{1}{1}+\frac{x}{x-2} && {\color{blue}\textsf{rewrite $1$ as $\dfrac{1}{1}$}}\\[5pt] &= \frac{2x^2}{(x+2)(x-2)}-\frac{1}{1}+\frac{x}{(x-2)} && {\color{blue}\textsf{factor the denominators}}\\[5pt] &= \frac{2x^2}{(x+2)(x-2)}-\frac{1{\color{red}{} \cdot (x+2)\cdot (x-2)}}{1{\color{red}{} \cdot (x+2)\cdot (x-2)}}+\frac{x{\color{red}{} \cdot (x+2)}}{(x-2){\color{red}{} \cdot (x+2)}} && {\color{blue}\textsf{multiply by proper forms of $1$}}\\[5pt] &= \frac{2x^2}{(x+2)(x-2)}-\frac{x^2-4}{(x+2)(x-2)}+\frac{x^2+2x}{(x+2)(x-2)} && {\color{blue}\textsf{simplify the numerators}}\\[5pt] &= \frac{2x^2-\left(x^2-4\right)+x^2+2x}{(x+2)(x-2)} && {\color{blue}\textsf{operate on the numerators}}\\[5pt] &= \frac{3x^2+2x-x^2+4}{(x+2)(x-2)} && {\color{blue}\textsf{simplify and distribute the negative}}\\[5pt] &= \frac{2x^2+2x+4}{(x+2)(x-2)} && {\color{blue}\textsf{simplify the numerator}}\\[5pt] &= \frac{2\left(x^2+x+2\right)}{(x+2)(x-2)} && {\color{blue}\textsf{factor the numerator}} \end{align} [/latex]
Since [latex] x^2+x+2 [/latex] cannot be further factored, there are no common factors between the numerator and denominator in the last rational expression. Hence, it’s the final answer in simplest form.
CAUTION!
When subtracting a fraction while operating on fractions with like denominators, make sure to properly distribute the negative in the numerator of the fraction being subtracted. Note that in the example above, once we simplified the numerators, since the fraction [latex] \dfrac{x^2-4}{(x+2)(x-2)} [/latex] was being subtracted, when we moved to operate on the numerators, we put the numerator of that fraction being subtracted, [latex] x^2-4 [/latex], in parentheses to properly distribute the negative in the next step. This is commonly missed, so please pay attention.
In the video that follows, we present an example of adding two rational expression whose denominators are binomials with no common factors.
This next video contains an example of subtracting rational expressions.
We will conclude with one more example to practice finding the LCD, subtracting, and simplifying rational expressions.
Example
For the following expression, state the restricted values of the variable, perform the operations, and state the result in simplest form.
For the restricted values of [latex] x [/latex], since [latex] x^2+6x+9 = (x+3)(x+3) [/latex] and [latex] x^2-9=(x+3)(x-3) [/latex], using the Zero-Product Property, we note that [latex] x=-3 [/latex] makes the denominator of the first rational expression equal to [latex] 0 [/latex], and and [latex] x=-3 [/latex] and [latex] x=3 [/latex] make the denominator of the second rational expression equal to [latex] 0 [/latex]. Hence, the restricted values of [latex] x [/latex] are [latex] -3 [/latex] and [latex] 3 [/latex].
As we have rational expressions with unlike denominators, we have to find the LCD first.
[latex] \begin{align} \frac{-x-3}{x^2+6x+9}-\frac{-2x+5}{x^2-9} &= \frac{-x-3}{(x+3)^2}-\frac{-2x+5}{(x+3)(x-3)} && {\color{blue}\textsf{factor the denominators}}\\[5pt] &= \frac{(-x-3){\color{red}{} \cdot (x-3)}}{(x+3)^2{\color{red}{} \cdot (x-3)}}-\frac{(-2x+5){\color{red}{} \cdot (x+3)}}{(x+3)\cdot (x-3){\color{red}{} \cdot (x+3)}} && {\color{blue}\textsf{multiply by proper forms of $1$}}\\[5pt] &= \frac{-x^2+3x-3x+9}{(x+3)^2(x-3)}-\frac{-2x^2-6x+5x+15}{(x+3)^2(x-3)} && {\color{blue}\textsf{multiply the numerators}}\\[5pt] &= \frac{-x^2+9}{(x+3)^2(x-3)}-\frac{-2x^2-x+15}{(x+3)^2(x-3)} && {\color{blue}\textsf{simplify the numerators}}\\[5pt] &= \frac{-x^2+9-\left(-2x^2-x+15\right)}{(x+3)^2(x-3)} && {\color{blue}\textsf{operate on the numerators}}\\[5pt] &= \frac{-x^2+9+2x^2+x-15}{(x+3)^2(x-3)} && {\color{blue}\textsf{distribute the negative}}\\[5pt] &= \frac{x^2+x-6}{(x+3)^2(x-3)} && {\color{blue}\textsf{simplify the numerator}}\\[5pt] &= \frac{(x+3)(x-2)}{(x+3)^2(x-3)} && {\color{blue}\textsf{factor the numerator}}\\[5pt] &= \frac{{\color{red}\cancel{\color{black}{(x+3)}}}\cdot (x-2)}{{\color{red}\cancel{\color{black}{(x+3)}}}\cdot (x+3)\cdot (x-3)} && {\color{blue}\textsf{divide out common factors}}\\[5pt] &= \frac{x-2}{(x+3)(x-3)} \end{align} [/latex]
Since there are no common factors between the numerator and denominator in the last rational expression, it’s the final answer in simplest form.
Note that this time, in the final answer, we may conveniently multiply the denominator out and simplify to obtain an equivalent form [latex] \dfrac{x-2}{x^2-9} [/latex]. It’s not expected or necessary though.
Licenses and Attributions
CC licensed content, Original
Screenshot: Caution. Provided by: Lumen Learning. License: CC BY: Attribution
Image: What do they have in common?. Provided by: Lumen Learning. License: CC BY: Attribution
Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
Subtract Rational Expressions with Unlike Denominators and Give the Domain. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. Located at: https://youtu.be/MMlNtCrkakI. License: CC BY: Attribution
CC licensed content, Shared previously
Unit 15: Rational Expressions, from Developmental Math: An Open Program. Provided by: Lumen Learning. License: CC BY: Attribution