Skip to main content
Mathematics LibreTexts

3.1: Use a General Strategy to Solve Linear Equations

  • Page ID
    104810
    \( \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
    • Solve linear equations with integer coefficients
    • Solve linear equations with fraction and decimal coefficients
    Warm Up \(\PageIndex{1}\)
    1. Determine whether the values are solutions to the equation: \(6x - 2 = 4x + 8\).
      1. \(x = 5\)
      2. \(x = 2\)
    2. Solve for \(x\): \(3x - 4 + 6x = 22\)
    3. Find the LCD of \(\frac{5}{6}\) and \(\frac{1}{4}\).
    Answer
    1. For the equation \(6x - 2 = 4x + 8\)
      1. \(x = 5\) is a solution
      2. \(x = 2\) is not a solution
    2. \(x = 2\)
    3. 12

    Solve Linear Equations Using a General Strategy

    In the first chapter, we did a quick introduction to the basics of solving equations. Before diving into the world of linear functions (as well as other kinds of functions) in depth, it is worth revisiting these skills and discussing a general strategy we can use to solve equations. This section will be a little shorter than usual because we've already covered (and used!) some of the necessary skills already; it's just time to bring them all together so we can solve more complicated problems!

    There are many types of equations that we will learn to solve. In this section we will focus on a linear equation. You've already worked with linear equations, so we are just formalizing some information we already have.

    Definition: LINEAR EQUATION

    A linear equation is an equation in one variable that can be written, where \(a\) and \(b\) are real numbers and \(a≠0\), as:

    \[ax+b=0.\nonumber\]

    An easy way to think about linear equations is that these are the equations where the variable appears by itself, and has been multiplied by a constant or has a constant added to it, but there are no exponents attached to it, no absolute values, no square roots, etc. We will see later that these equations are closely related to the linear functions that we looked at in the last chapter.

    To solve a linear equation it is a good idea to have an overall strategy that can be used to solve any linear equation. In the next example, we will give the steps of a general strategy for solving any linear equation. Simplifying each side of the equation as much as possible first makes the rest of the steps easier.

    Example \(\PageIndex{1}\)

    Solve: \(7(n−3)−8=−15\)

    Answer

    In step 1, simplify each side of the equation as much as possible.  We use the distributive property on the left side to obtain, 7n - 29 = -15. In Step 2, collect all variable terms on one side of the equation.  Here all the n's are on the left side, so there is nothing to do. In step 3, collect constant terms on the other side of the equation.  Here we add 29 to both sides to obtain 7n = 14. In Step 4, make the coefficient of the variable term equal to 1.  Here we divide each side by 7 and simplify to get n equal to 2. In step 5, we check the solution, n = 2, in the equation.

    Exercise \(\PageIndex{2}\)

    Solve: \(2(m−4)+3=−1.\)

    Answer

    \(m=2\)

    Exercise \(\PageIndex{3}\)

    Solve: \(5(a−3)+5=−10.\)

    Answer

    \(a=0\)

    These steps are summarized in the General Strategy for Solving Linear Equations below.

    Strategy to Solve Linear Equations
    1. Simplify each side of the equation as much as possible.
      Use the Distributive Property to remove any parentheses.
      Combine like terms.
    2. Collect all the variable terms on one side of the equation.

      Use the Addition or Subtraction Property of Equality.

    3. Collect all the constant terms on the other side of the equation.

      Use the Addition or Subtraction Property of Equality.

    4. Make the coefficient of the variable term equal to 1.

      Use the Multiplication or Division Property of Equality.

      State the solution to the equation.

    5. Check the solution.

      Substitute the solution into the original equation to make sure the result is a true statement.

    Exercise \(\PageIndex{4}\)

    Solve: \(\frac{2}{3}(3m−6)=5−m\).

    Answer
      \(\frac{2}{3}(3 m-6)=5-m\)
    Distribute. \(2 m-4=5-m\)
    Add \(m\) to both sides to get the variables only on the left. alt
    Simplify. \(3 m-4=5\)
    Add \(4\) to both sides to get constants only on the right. alt
    Simplify. \(3 m=9\)
    Divide both sides by three. alt
    Simplify. \(m=3\)
    Check: alt
    Let \(m=3\). alt
      alt
      alt
      alt
    Exercise \(\PageIndex{5}\)

    Solve: \(\frac{1}{3}(6u+3)=7−u\).

    Answer

    \(u=2\)

    Exercise \(\PageIndex{6}\)

    Solve: \(\frac{2}{3}(9x−12)=8+2x\).

    Answer

    \(x=4\)

    We can solve equations by getting all the variable terms to either side of the equal sign. By collecting the variable terms on the side where the coefficient of the variable is larger, we avoid working with some negatives. This will be a good strategy when we solve inequalities later in this chapter. It also helps us prevent errors with negatives.

    Exercise \(\PageIndex{7}\)

    Solve: \(4(x−1)−2=5(2x+3)+6\).

    Answer
      \(4(x-1)-2=5(2 x+3)+6\)
    Distribute.

    \(4 x-4-2=10 x+15+6\)

    Combine like terms. \(4 x-6=10 x+21\)
    Subtract \(4x\) from each side to get the variables only on the right since \(10>4\). \(4 x \color{red} -4 \color{black} x-6=10 x \color{red}-4 x \color{black}+21\)
    Simplify. \(-6=6 x+21\)
    Subtract \(21\) from each side to get the constants on left.

    \(-6 \color{red} -21 \color{black} =6 x+21 \color{red}-21\)

    Simplify. \(-27=6 x\)
    Divide both sides by \(6\). \(\frac{-27}{\color{red}6} \color{black}=\frac{6 x}{\color{red}6}\)
    Simplify. \(-\frac{9}{2}=x\)
    Check: \(4(x-1)-2=5(2 x+3)+6\)\)  
    Let \(x=−92\). alt  
      alt
      alt  
      alt  
      alt  
    Exercise \(\PageIndex{8}\)

    Solve: \(6(p−3)−7=5(4p+3)−12.\)

    Answer

    \(p=−2\)

    Exercise \(\PageIndex{9}\)

    Solve: \(8(q+1)−5=3(2q−4)−1.\)

    Answer

    \(q=−8\)

    Exercise \(\PageIndex{10}\)

    Solve: \(10[3−8(2s−5)]=15(40−5s)\).

    Answer
      \(10[3-8(2 s-5)]=15(40-5 s)\)
    Simplify from the innermost parentheses first. \(10[3-16 s+40]=15(40-5 s)\)
    Combine like terms in the brackets. \(10[43-16 s]=15(40-5 s)\)
    Distribute. \(430-160 s=600-75 s\)
    Add \(160s\) to both sides to get the \(160s\) to both sides to get the variables to the right. alt
    Simplify. \(430=600+85 s\)
    Subtract \(600\) from both sides to get the constants to the left. alt
    Simplify. \(-170=85 s\)
    Divide both sides by \(85\). alt
    Simplify. \(-2=s,\) so \(s = -2\)
    Check: \(10[3-8(2 s-5)]=15(40-5 s)\)  
    Let \(s=−2\). alt  
      alt  
      alt  
      alt  
      alt  
      alt  
    Exercise \(\PageIndex{11}\)

    Solve: \(6[4−2(7y−1)]=8(13−8y)\).

    Answer

    \(y=−\frac{17}{5}\)

    Exercise \(\PageIndex{12}\)

    Solve: \(12[1−5(4z−1)]=3(24+11z).\)

    Answer

    \(z=0\)


    Solve Equations with Fraction or Decimal Coefficients

    We could use the General Strategy to solve the next example. This method would work fine, but working with the fractions can get a bit tedious, and also increases the number of opportunities for making a mistake. So, we are going to show an alternate method to solve equations with fractions. This alternate method eliminates the fractions.

    We will apply the Multiplication Property of Equality and multiply both sides of an equation by the least common denominator (LCD) of all the fractions in the equation. The result of this operation will be a new equation, equivalent to the first, but without fractions. This process is called clearing the equation of fractions.

    To clear an equation of decimals, we think of all the decimals in their fraction form and then find the LCD of those denominators.

    Exercise \(\PageIndex{13}\)

    Solve: \(\frac{1}{12}x+\frac{5}{6}=\frac{3}{4}\).

    Answer

    In Step 1, find the LCD of all the fractions in the equation.  Here the LCD is 12. In Step 2, multiply both sides of the equation by the LCD, clearing the fractions.  Here we multiply both sides by 12 and simplify, clearing the fractions. In Step 3, solve using the General Strategy for solving linear equations.  To isolate the variable term, subtract 10 and simplify.  We get x equals negative 1.  Then we check it in the equation.

    Exercise \(\PageIndex{14}\)

    Solve: \(\frac{1}{4}x+\frac{1}{2}=\frac{5}{8}\).

    Answer

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

    Exercise \(\PageIndex{15}\)

    Solve: \(\frac{1}{8}x+\frac{1}{2}=\frac{1}{4}\).

    Answer

    \(x=−2\)

    Notice in the previous example, once we cleared the equation of fractions, the equation was like those we solved earlier in this chapter. We changed the problem to one we already knew how to solve. We then used the General Strategy for Solving Linear Equations.

    Strategy to Solve Equations with Fractions or Decimals
    1. Find the least common denominator (LCD) of all the fractions and decimals (in fraction form) in the equation.
    2. Multiply both sides of the equation by that LCD. This clears the fractions and decimals.
    3. Solve using the General Strategy for Solving Linear Equations.
    Exercise \(\PageIndex{16}\)

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

    Answer

    We want to clear the fractions by multiplying both sides of the equation by the LCD of all the fractions in the equation.

    Find the LCD of all fractions in the equation. \(5=\frac{1}{2} y+\frac{2}{3} y-\frac{3}{4} y\)
    The LCD is \(12\).  
    Multiply both sides of the equation by \(12\). \(\color{red}12 \color{black}(5)=\color{red}12 \color{black} \cdot\left(\frac{1}{2} y+\frac{2}{3} y-\frac{3}{4} y\right)\)
    Distribute. \(12(5)=12 \cdot \frac{1}{2} y+12 \cdot \frac{2}{3} y-12 \cdot \frac{3}{4} y\)
    Simplify—notice, no more fractions. \(60=6 y+8 y-9 y\)
    Combine like terms. \(60=5 y\)
    Divide by five. \(\frac{60}{\color{red}5} \color{black}=\frac{5 y}{\color{red}5}\)
    Simplify. \(12=y\)
    Check: \(5=\frac{1}{2} y+\frac{2}{3} y-\frac{3}{4} y\)  
    Let \(y=12\). alt  
      alt  
      alt  
    Exercise \(\PageIndex{17}\)

    Solve: \(7=\frac{1}{2}x+\frac{3}{4}x−\frac{2}{3}x\).

    Answer

    \(x=12\)

    Exercise \(\PageIndex{18}\)

    Solve: \(−1=\frac{1}{2}u+\frac{1}{4}u−\frac{2}{3}u\).

    Answer

    \(u=−12\)

    In the next example, we’ll distribute before we clear the fractions.

    Exercise \(\PageIndex{19}\)

    Solve: \(\frac{1}{2}(y−5)=\frac{1}{4}(y−1)\).

    Answer
      alt
    Distribute. alt
    Simplify. alt
    Multiply by the LCD, four. alt
    Distribute. alt
    Simplify. alt
    Collect the variables to the left. alt
    Simplify. alt
    Collect the constants to the right. alt
    Simplify. alt
    An alternate way to solve this equation is to clear the fractions without distributing first. If you multiply the factors correctly, this method will be easier.
      alt
    Multiply by the LCD, \(4\). alt
    Multiply four times the fractions. alt
    Distribute. alt
    Collect the variables to the left. alt
    Simplify. alt
    Collect the constants to the right. alt
    Simplify. alt
    Check: alt  
    Let \(y=9\). alt  
    Finish the check on your own.
    Exercise \(\PageIndex{20}\)

    Solve: \(\frac{1}{5}(n+3)=\frac{1}{4}(n+2)\).

    Answer

    \(n=2\)

    Exercise \(\PageIndex{21}\)

    Solve: \(\frac{1}{2}(m−3)=\frac{1}{4}(m−7)\).

    Answer

    \(m=−1\)

    When you multiply both sides of an equation by the LCD of the fractions, make sure you multiply each term by the LCD—even if it does not contain a fraction.

    Exercise \(\PageIndex{22}\)

    Solve: \(\frac{4q+3}{2}+6=\frac{3q+5}{4}\)

    Answer
      \(\frac{4 q+3}{2}+6=\frac{3 q+5}{4}\)
    Multiply both sides by the LCD, \(4\). alt
    Distribute. alt
    Simplify. \(2(4 q+3)+24=3 q+5\)
      \(8 q+6+24=3 q+5\)
      \(8 q+30=3 q+5\)
    Collect the variables to the left. alt
    Simplify. \(5 q+30=5\)
    Collect the constants to the right. alt
    Simplify. \(5 q=-25\)
    Divide both sides by five. alt
    Simplify. \(q=-5\)
    Check: \(\frac{4 q+3}{2}+6=\frac{3 q+5}{4}\)  
    Let \(q=−5.\) alt  
    Finish the check on your own.  
    Exercise \(\PageIndex{23}\)

    Solve: \(\frac{2s+3}{2}+1=\frac{3s+2}{4}\).

    Answer

    \(s=−8\)

    Exercise \(\PageIndex{24}\)

    Solve: \(\frac{3r+5}{6}+1=\frac{4r+3}{3}\).

    Answer

    \(r=3\)

    Some equations have decimals in them. This kind of equation may occur when we solve problems dealing with money or percentages. But decimals can also be expressed as fractions. For example, \(0.7=\frac{7}{10}\) and \(0.29=\frac{29}{100}\). So, with an equation with decimals, we can use the same method we used to clear fractions—multiply both sides of the equation by the least common denominator.

    The next example uses an equation that is typical of the ones we will see in the money applications in a later section. Notice that we will clear all decimals by multiplying by the LCD of their fraction form.

    Example \(\PageIndex{24}\)

    Solve: \(0.25x+0.05(x+3)=2.85\).

    Answer

    Look at the decimals and think of the equivalent fractions:

    \[0.25=\frac{25}{100}, \; \; \; \;\;\;\;\; 0.05=\frac{5}{100}, \;\;\;\;\;\;\;\; 2.85=2\frac{85}{100}.\]

    Notice, the LCD is \(100\). By multiplying by the LCD we will clear the decimals from the equation.

      alt
    Distribute first. alt
    Combine like terms. alt
    To clear decimals, multiply by \(100\). alt
    Distribute. alt
    Subtract \(15\) from both sides. alt
    Simplify. alt
    Divide by \(30\). alt
    Simplify. alt
    Check it yourself by substituting \(x=9\) into the original equation.
    Exercise \(\PageIndex{25}\)

    Solve: \(0.25n+0.05(n+5)=2.95.\)

    Answer

    \(n=9\)

    Exercise \(\PageIndex{26}\)

    Solve: \(0.10d+0.05(d−5)=2.15.\)

    Answer

    \(d=16\)

    Key Concepts

    • How to Solve Linear Equations Using a General Strategy
      1. Simplify each side of the equation as much as possible.

        Use the Distributive Property to remove any parentheses.

        Combine like terms.

      2. Collect all the variable terms on one side of the equation.

        Use the Addition or Subtraction Property of Equality.

      3. Collect all the constant terms on the other side of the equation.

        Use the Addition or Subtraction Property of Equality.

      4. Make the coefficient of the variable term equal to 1.

        Use the Multiplication or Division Property of Equality.

        State the solution to the equation.

      5. Check the solution.

        Substitute the solution into the original equation to make sure the result is a true statement.

    • How to Solve Equations with Fraction or Decimal Coefficients
      1. Find the least common denominator (LCD) of all the fractions and decimals (in fraction form) in the equation.
      2. Multiply both sides of the equation by that LCD. This clears the fractions and decimals.
      3. Solve using the General Strategy for Solving Linear Equations.

    This page titled 3.1: Use a General Strategy to Solve Linear Equations is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Stanislav A. Trunov and Elizabeth J. Hale via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.