Skip to main content
Mathematics LibreTexts

1.7: Rational Expressions

  • Page ID
    114490
  • \( \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

    In this section students will:

    • Simplify rational expressions.
    • Multiply rational expressions.
    • Divide rational expressions.
    • Add and subtract rational expressions.
    • Simplify complex rational expressions.

    A pastry shop has fixed costs of \($280\) per week and variable costs of \($9\) per box of pastries. The shop’s costs per week in terms of \(x\), the number of boxes made, is \(280 +9x\). We can divide the costs per week by the number of boxes made to determine the cost per box of pastries.

    \[\dfrac{280+9x}{x} \nonumber \]

    Notice that the result is a polynomial expression divided by a second polynomial expression. In this section, we will explore quotients of polynomial expressions.

    Simplifying Rational Expressions

    The quotient of two polynomial expressions is called a rational expression. We can apply the properties of fractions to rational expressions, such as simplifying the expressions by canceling common factors from the numerator and the denominator. To do this, we first need to factor both the numerator and denominator. Let’s start with the rational expression shown.

    \[\dfrac{x^2+8x+16}{x^2+11x+28} \nonumber \]

    We can factor the numerator and denominator to rewrite the expression.

    \[\dfrac{{(x+4)}^2}{(x+4)(x+7)} \nonumber \]

    Then we can simplify that expression by canceling the common factor \((x+4)\).

    \[\dfrac{x+4}{x+7} \nonumber \]

    Howto: Given a rational expression, simplify it
    1. Factor the numerator and denominator.
    2. Cancel any common factors.
    Example \(\PageIndex{1}\): Simplifying Rational Expressions

    Simplify \(\dfrac{x^2-9}{x^2+4x+3}\)

    Solution

    \[\begin{align*} &\dfrac{(x+3)(x-3)}{(x+3)(x+1)} && \text{Factor the numerator and the denominator}\\ &\dfrac{x-3}{x+1} && \text{Cancel common factor } (x+3) \end{align*}\]

    Analysis

    We can cancel the common factor because any expression divided by itself is equal to \(1\).

    Q&A

    Can the \(x^2\) term be cancelled in the last example?

    No. A factor is an expression that is multiplied by another expression. The \(x^2\) term is not a factor of the numerator or the denominator.

    Exercise \(\PageIndex{1}\)

    Simplify \(\dfrac{x-6}{x^2-36}\)

    Answer

    \(\dfrac{1}{x+6}\)

    Multiplying Rational Expressions

    Multiplication of rational expressions works the same way as multiplication of any other fractions. We multiply the numerators to find the numerator of the product, and then multiply the denominators to find the denominator of the product. Before multiplying, it is helpful to factor the numerators and denominators just as we did when simplifying rational expressions. We are often able to simplify the product of rational expressions.

    Howto: Given two rational expressions, multiply them
    1. Factor the numerator and denominator.
    2. Multiply the numerators.
    3. Multiply the denominators.
    4. Simplify.
    Example \(\PageIndex{2}\): Multiplying Rational Expressions

    Multiply the rational expressions and show the product in simplest form:

    \(\dfrac{(x+5)(x-1)}{3(x+6)}\times\dfrac{(2x-1)}{(x+5)}\)

    Solution

    \[\begin{align*} &\dfrac{(x+5)(x-1)}{3(x+6)}\times\dfrac{(2x-1)}{(x+5)} && \text{Factor the numerator and denominator.}\\[4pt] &\dfrac{(x+5)(x-1)(2x-1)}{3(x+6)(x+5)} && \text{Multiply numerators and denominators}\\[4pt] &\dfrac{(x-1)(2x-1)}{3(x+6)} && \text{Cancel common factors to simplify} \end{align*}\]

    Exercise \(\PageIndex{2}\)

    Multiply the rational expressions and show the product in simplest form:

    \(\dfrac{x^2+11x+30}{x^2+5x+6}\times\dfrac{x^2+7x+12}{x^2+8x+16}\)

    Answer

    \(\dfrac{(x+5)(x+6)}{(x+2)(x+4)}\)

    Dividing Rational Expressions

    Division of rational expressions works the same way as division of other fractions. To divide a rational expression by another rational expression, multiply the first expression by the reciprocal of the second. Using this approach, we would rewrite \(\dfrac{1}{x}÷\dfrac{x^2}{3}\) as the product \(\dfrac{1}{x}⋅\dfrac{3}{x^2}\). Once the division expression has been rewritten as a multiplication expression, we can multiply as we did before.

    \[\dfrac{1}{x}⋅\dfrac{3}{x^2}=\dfrac{3}{x^3} \nonumber \]

    Howto: Given two rational expressions, divide them
    1. Rewrite as the first rational expression multiplied by the reciprocal of the second.
    2. Factor the numerators and denominators.
    3. Multiply the numerators.
    4. Multiply the denominators.
    5. Simplify.
    Example \(\PageIndex{3}\): Dividing Rational Expressions

    Divide the rational expressions and express the quotient in simplest form:

    \(\dfrac{2x^2+x-6}{x^2-1}÷\dfrac{x^2-4}{x^2+2x+1}\)

    Solution

    \[\begin{align*} &\dfrac{2x^2+x-6}{x^2-1}÷\dfrac{x^2-4}{x^2+2x+1} \\[4pt]
    &\dfrac{2x^2+x-6}{x^2-1}\times\dfrac{x^2+2x+1}{x^2-4} && \text{Rewrite as a multiplication problem} \\[4pt]
    &\dfrac{(2x-3)(x+2)}{(x-1)(x+1)}\times\dfrac{(x+1)(x+1)}{(x-2)(x+2)} && \text{Factor the numerator and denominator.}\\[6pt]
    &\dfrac{(2x-3)(x+2)(x+1)(x+1)}{(x-1)(x+1)(x-2)(x+2)} && \text{Multiply numerators and denominators}\\[6pt]
    &\dfrac{(2x-3)(x+1)}{(x-1)(x-2)} && \text{Cancel common factors to simplify} \end{align*}\]

    Exercise \(\PageIndex{3}\)

    Divide the rational expressions and express the quotient in simplest form:

    \[\dfrac{9x^2-16}{3x^2+17x-28}÷\dfrac{3x^2-2x-8}{x^2+5x-14} \nonumber \]

    Answer

    \(0\)

    Adding and Subtracting Rational Expressions

    Adding and subtracting rational expressions works just like adding and subtracting numerical fractions. To add fractions, we need to find a common denominator. Let’s look at an example of fraction addition.

    \[\begin{align*} \dfrac{5}{24}+\dfrac{1}{40} &= \dfrac{25}{120}+\dfrac{3}{120}\\ &= \dfrac{28}{120}\\ &= \dfrac{7}{30} \end{align*}\]

    We have to rewrite the fractions so they share a common denominator before we are able to add. We must do the same thing when adding or subtracting rational expressions.

    The easiest common denominator to use will be the least common denominator, or LCD. The LCD is the smallest multiple that the denominators have in common. To find the LCD of two rational expressions, we factor the expressions and multiply all of the distinct factors. For instance, if the factored denominators were \((x+3)(x+4)\) and \((x+4)(x+5)\), then the LCD would be \((x+3)(x+4)(x+5)\).

    Once we find the LCD, we need to multiply each expression by the form of \(1\) that will change the denominator to the LCD. We would need to multiply the expression with a denominator of \((x+3)(x+4)\) by \(\dfrac{x+5}{x+5}\) and the expression with a denominator of \((x+4)(x+5)\) by \(\dfrac{x+3}{x+3}\).

    Howto: Given two rational expressions, add or subtract them
    1. Factor the numerator and denominator.
    2. Find the LCD of the expressions.
    3. Multiply the expressions by a form of 1 that changes the denominators to the LCD.
    4. Add or subtract the numerators.
    5. Simplify.
    Example \(\PageIndex{4}\): Adding Rational Expressions

    Add the rational expressions: \[\dfrac{5}{x}+\dfrac{6}{y} \nonumber \]

    Solution

    First, we have to find the LCD. In this case, the LCD will be \(xy\). We then multiply each expression by the appropriate form of \(1\) to obtain \(xy\) as the denominator for each fraction.

    \[\begin{align*} &\dfrac{5}{x}\times\dfrac{y}{y}+\dfrac{6}{y}\times\dfrac{x}{x}\\ &\dfrac{5y}{xy}+\dfrac{6x}{xy} \end{align*}\]

    Now that the expressions have the same denominator, we simply add the numerators to find the sum.

    \[\dfrac{6x+5y}{xy} \nonumber \]

    Analysis

    Multiplying by \(\dfrac{y}{y}\) or \(\dfrac{x}{x}\) does not change the value of the original expression because any number divided by itself is \(1\), and multiplying an expression by \(1\) gives the original expression.

    Example \(\PageIndex{5}\): Subtracting Rational Expressions

    Subtract the rational expressions: \[\dfrac{6}{x^2+4x+4}-\dfrac{2}{x^2-4}\]

    Solution

    \[\begin{align*}
    &\dfrac{6}{{(x+2)}^2}-\dfrac{2}{(x+2)(x-2)} && \text{Factor}\\
    &\dfrac{6}{{(x+2)}^2}\times\dfrac{x-2}{x-2}-\dfrac{2}{(x+2)(x-2)}\times\dfrac{x+2}{x+2} && \text{Multiply each fraction to get LCD as denominator}\\
    &\dfrac{6(x-2)}{{(x+2)}^2(x-2)}-\dfrac{2(x+2)}{{(x+2)}^2(x-2)} && \text{Multiply}\\
    &\dfrac{6x-12-(2x+4)}{{(x+2)}^2(x-2)} && \text{Apply distributive property}\\
    &\dfrac{4x-16}{{(x+2)}^2(x-2)} && \text{Subtract}\\
    &\dfrac{4(x-4)}{{(x+2)}^2(x-2)} && \text{Simplify}
    \end{align*}\]

    Q&A

    Do we have to use the LCD to add or subtract rational expressions?

    No. Any common denominator will work, but it is easiest to use the LCD.

    Exercise \(\PageIndex{4}\)

    Subtract the rational expressions: \(\dfrac{3}{x+5}-\dfrac{1}{x-3}\)

    Answer

    \(\dfrac{2(x-7)}{(x+5)(x-3)}\)

    Simplifying Complex Rational Expressions

    A complex rational expression is a rational expression that contains additional rational expressions in the numerator, the denominator, or both. We can simplify complex rational expressions by rewriting the numerator and denominator as single rational expressions and dividing. The complex rational expression \(\dfrac{a}{\dfrac{1}{b}+c}\) can be simplified by rewriting the numerator as the fraction \(\dfrac{a}{1}\) and combining the expressions in the denominator as \(\dfrac{1+bc}{b}\). We can then rewrite the expression as a multiplication problem using the reciprocal of the denominator. We get \(\dfrac{a}{1}⋅\dfrac{b}{1+bc}\), which is equal to \(\dfrac{ab}{1+bc}\).

    Howto: Given a complex rational expression, simplify it
    1. Combine the expressions in the numerator into a single rational expression by adding or subtracting.
    2. Combine the expressions in the denominator into a single rational expression by adding or subtracting.
    3. Rewrite as the numerator divided by the denominator.
    4. Rewrite as multiplication.
    5. Multiply.
    6. Simplify.
    Example \(\PageIndex{6}\): Simplifying Complex Rational Expressions

    Simplify: \(\dfrac{y+\dfrac{1}{x}}{\dfrac{x}{y}}\)

    Solution

    Begin by combining the expressions in the numerator into one expression.

    \[\begin{align*} &y\times\dfrac{x}{x}+\dfrac{1}{x}\qquad \text{Multiply by } \dfrac{x}{x} \text{ to get LCD as denominator}\\ &\dfrac{xy}{x}+\dfrac{1}{x}\\ &\dfrac{xy+1}{x}\qquad \text{Add numerators} \end{align*}\]

    Now the numerator is a single rational expression and the denominator is a single rational expression.

    \[\begin{align*} &\dfrac{\dfrac{xy+1}{x}}{\dfrac{x}{y}}\\ \text{We can rewrite this as division, and then multiplication.}\\ &\dfrac{xy+1}{x}÷\dfrac{x}{y}\\ &\dfrac{xy+1}{x}\times\dfrac{y}{x}\qquad \text{Rewrite as multiplication}\\ &\dfrac{y(xy+1)}{x^2}\qquad \text{Multiply} \end{align*}\]

    Exercise \(\PageIndex{5}\)

    Simplify: \(\dfrac{\dfrac{x}{y}-\dfrac{y}{x}}{y}\)

    Answer

    \(\dfrac{x^2-y^2}{xy^2}\)

    Q&A

    Can a complex rational expression always be simplified?

    Yes. We can always rewrite a complex rational expression as a simplified rational expression.

    Media

    Access these online resources for additional instruction and practice with rational expressions.

    1. Simplify Rational Expressions

    2. Multiply and Divide Rational Expressions

    3. Add and Subtract Rational Expressions

    4. Simplify a Complex Fraction

    Key Concepts

    • Rational expressions can be simplified by cancelling common factors in the numerator and denominator. See Example.
    • We can multiply rational expressions by multiplying the numerators and multiplying the denominators. See Example.
    • To divide rational expressions, multiply by the reciprocal of the second expression. See Example.
    • Adding or subtracting rational expressions requires finding a common denominator. See Example and Example.
    • Complex rational expressions have fractions in the numerator or the denominator. These expressions can be simplified. See Example.

    This page titled 1.7: Rational Expressions 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.