Skip to main content
Mathematics LibreTexts

7.1: Systems of Linear Equations - Two Variables

  • Page ID
    161764
  • \( \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, you will:

    • Solve systems of equations by graphing.
    • Solve systems of equations by substitution.
    • Solve systems of equations by addition.
    • Identify inconsistent systems of equations containing two variables.
    • Express the solution of a system of dependent equations containing two variables.
    8db994f0a4e152291196aae3d38d23143c6fdf0b
    Figure 1 (credit: Thomas Sørenes)

    A skateboard manufacturer introduces a new line of boards. The manufacturer tracks its costs, which is the amount it spends to produce the boards, and its revenue, which is the amount it earns through sales of its boards. How can the company determine if it is making a profit with its new line? How many skateboards must be produced and sold before a profit is possible? In this section, we will consider linear equations with two variables to answer these and similar questions.

    Introduction to Systems of Equations

    In order to investigate situations such as that of the skateboard manufacturer, we need to recognize that we are dealing with more than one variable and likely more than one equation. A system of linear equations consists of two or more linear equations made up of two or more variables such that all equations in the system are considered simultaneously. To find the unique solution to a system of linear equations, we must find a numerical value for each variable in the system that will satisfy all equations in the system at the same time. Some linear systems may not have a solution and others may have an infinite number of solutions. In order for a linear system to have a unique solution, there must be at least as many equations as there are variables. Even so, this does not guarantee a unique solution.

    In this section, we will look at systems of linear equations in two variables, which consist of two equations that contain two different variables. For example, consider the following system of linear equations in two variables.

    2x+y=15 3xy=5 2x+y=15 3xy=5

    The solution to a system of linear equations in two variables is any ordered pair that satisfies each equation independently. In this example, the ordered pair (4, 7) is the solution to the system of linear equations. We can verify the solution by substituting the values into each equation to see if the ordered pair satisfies both equations. Shortly we will investigate methods of finding such a solution if it exists.

    2(4)+(7)=15True 3(4)(7)=5True 2(4)+(7)=15True 3(4)(7)=5True

    In addition to considering the number of equations and variables, we can categorize systems of linear equations by the number of solutions. A consistent system of equations has at least one solution. A consistent system is considered to be an independent system if it has a single solution, such as the example we just explored. The two lines have different slopes and intersect at one point in the plane. A consistent system is considered to be a dependent system if the equations have the same slope and the same y-intercepts. In other words, the lines coincide so the equations represent the same line. Every point on the line represents a coordinate pair that satisfies the system. Thus, there are an infinite number of solutions.

    Another type of system of linear equations is an inconsistent system, which is one in which the equations represent two parallel lines. The lines have the same slope and different y-intercepts. There are no points common to both lines; hence, there is no solution to the system.

    Types of Linear Systems

    There are three types of systems of linear equations in two variables, and three types of solutions.

    • An independent system has exactly one solution pair ( x,y ). ( x,y ). The point where the two lines intersect is the only solution.
    • An inconsistent system has no solution. Notice that the two lines are parallel and will never intersect.
    • A dependent system has infinitely many solutions. The lines are coincident. They are the same line, so every coordinate pair on the line is a solution to both equations.

    Figure 2 compares graphical representations of each type of system.

    c8f7a36661238892c1cd1c28de3630abf4c2cce3
    Figure 2

    How To

    Given a system of linear equations and an ordered pair, determine whether the ordered pair is a solution.

    1. Substitute the ordered pair into each equation in the system.
    2. Determine whether true statements result from the substitution in both equations; if so, the ordered pair is a solution.

    Example 1

    Determining Whether an Ordered Pair Is a Solution to a System of Equations

    Determine whether the ordered pair ( 5,1 ) ( 5,1 ) is a solution to the given system of equations.

    x+3y=8 2x9=y x+3y=8 2x9=y

    Answer

    Substitute the ordered pair ( 5,1 ) ( 5,1 ) into both equations.

    (5)+3(1)=8 8=8 True 2(5)9=(1) 1=1 True (5)+3(1)=8 8=8 True 2(5)9=(1) 1=1 True

    The ordered pair ( 5,1 ) ( 5,1 ) satisfies both equations, so it is the solution to the system.

    Analysis

    We can see the solution clearly by plotting the graph of each equation. Since the solution is an ordered pair that satisfies both equations, it is a point on both of the lines and thus the point of intersection of the two lines. See Figure 3.

    d9a78f2f6d2b5bbf0023d28201280e9313521f53
    Figure 3

    Try It #1

    Determine whether the ordered pair ( 8,5 ) ( 8,5 ) is a solution to the following system.

    5x−4y=20 2x+1=3y 5x−4y=20 2x+1=3y

    Solving Systems of Equations by Graphing

    There are multiple methods of solving systems of linear equations. For a system of linear equations in two variables, we can determine both the type of system and the solution by graphing the system of equations on the same set of axes.

    Example 2

    Solving a System of Equations in Two Variables by Graphing

    Solve the following system of equations by graphing. Identify the type of system.

    2x+y=−8 xy=−1 2x+y=−8 xy=−1
    Answer

    Solve the first equation for y. y.

    2x+y=−8 y=−2x−8 2x+y=−8 y=−2x−8

    Solve the second equation for y. y.

    xy=−1 y=x+1 xy=−1 y=x+1

    Graph both equations on the same set of axes as in Figure 4.

    e9b2076b26ff6ebb2663fd757743945b3c1fe515
    Figure 4

    The lines appear to intersect at the point ( −3,−2 ). ( −3,−2 ). We can check to make sure that this is the solution to the system by substituting the ordered pair into both equations.

    2(−3)+(−2)=−8 −8=−8 True (−3)(−2)=−1 −1=−1 True 2(−3)+(−2)=−8 −8=−8 True (−3)(−2)=−1 −1=−1 True

    The solution to the system is the ordered pair ( −3,−2 ), ( −3,−2 ), so the system is independent.

    Try It #2

    Solve the following system of equations by graphing.

    2x5y=−25 4x+5y=35 2x5y=−25 4x+5y=35

    Q&A

    Can graphing be used if the system is inconsistent or dependent?

    Yes, in both cases we can still graph the system to determine the type of system and solution. If the two lines are parallel, the system has no solution and is inconsistent. If the two lines are identical, the system has infinite solutions and is a dependent system.

    Solving Systems of Equations by Substitution

    Solving a linear system in two variables by graphing works well when the solution consists of integer values, but if our solution contains decimals or fractions, it is not the most precise method. We will consider two more methods of solving a system of linear equations that are more precise than graphing. One such method is solving a system of equations by the substitution method, in which we solve one of the equations for one variable and then substitute the result into the second equation to solve for the second variable. Recall that we can solve for only one variable at a time, which is the reason the substitution method is both valuable and practical.

    How To

    Given a system of two equations in two variables, solve using the substitution method.

    1. Solve one of the two equations for one of the variables in terms of the other.
    2. Substitute the expression for this variable into the second equation, then solve for the remaining variable.
    3. Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the solution as an ordered pair.
    4. Check the solution in both equations.

    Example 3

    Solving a System of Equations in Two Variables by Substitution

    Solve the following system of equations by substitution.

    x+y=−5 2x5y=1 x+y=−5 2x5y=1
    Answer

    First, we will solve the first equation for y. y.

    x+y=−5 y=x−5 x+y=−5 y=x−5

    Now we can substitute the expression x−5 x−5 for y y in the second equation.

    2x5y=1 2x5(x5)=1 2x5x+25=1 3x=−24 x=8 2x5y=1 2x5(x5)=1 2x5x+25=1 3x=−24 x=8

    Now, we substitute x=8 x=8 into the first equation and solve for y. y.

    (8)+y=−5 y=3 (8)+y=−5 y=3

    Our solution is ( 8,3 ). ( 8,3 ).

    Check the solution by substituting ( 8,3 ) ( 8,3 ) into both equations.

    x+y=5 (8)+(3)=5 True 2x5y=1 2(8)5(3)=1 True x+y=5 (8)+(3)=5 True 2x5y=1 2(8)5(3)=1 True

    Try It #3

    Solve the following system of equations by substitution.

    x=y+3 4=3x−2y x=y+3 4=3x−2y

    Q&A

    Can the substitution method be used to solve any linear system in two variables?

    Yes, but the method works best if one of the equations contains a coefficient of 1 or –1 so that we do not have to deal with fractions.

    Solving Systems of Equations in Two Variables by the Addition Method

    A third method of solving systems of linear equations is the addition method. In this method, we add two terms with the same variable, but opposite coefficients, so that the sum is zero. Of course, not all systems are set up with the two terms of one variable having opposite coefficients. Often we must adjust one or both of the equations by multiplication so that one variable will be eliminated by addition.

    How To

    Given a system of equations, solve using the addition method.

    1. Write both equations with x- and y-variables on the left side of the equal sign and constants on the right.
    2. Write one equation above the other, lining up corresponding variables. If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the equations together, eliminating one variable. If not, use multiplication by a nonzero number so that one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to eliminate the variable.
    3. Solve the resulting equation for the remaining variable.
    4. Substitute that value into one of the original equations and solve for the second variable.
    5. Check the solution by substituting the values into the other equation.

    Example 4

    Solving a System by the Addition Method

    Solve the given system of equations by addition.

    x+2y=−1 x+y=3 x+2y=−1 x+y=3
    Answer

    Both equations are already set equal to a constant. Notice that the coefficient of x x in the second equation, –1, is the opposite of the coefficient of x x in the first equation, 1. We can add the two equations to eliminate x x without needing to multiply by a constant.

    x+2y=1 x+y=3 3y=2 x+2y=1 x+y=3 3y=2

    Now that we have eliminated x, x, we can solve the resulting equation for y. y.

    3y=2 y= 2 3 3y=2 y= 2 3

    Then, we substitute this value for y y into one of the original equations and solve for x. x.

    x+y=3 x+ 2 3 =3 x=3 2 3 x= 7 3 x= 7 3 x+y=3 x+ 2 3 =3 x=3 2 3 x= 7 3 x= 7 3

    The solution to this system is ( 7 3 , 2 3 ). ( 7 3 , 2 3 ).

    Check the solution in the first equation.

    x+2y=−1 ( 7 3 )+2( 2 3 )= 7 3 + 4 3 = 3 3 = −1=−1 True x+2y=−1 ( 7 3 )+2( 2 3 )= 7 3 + 4 3 = 3 3 = −1=−1 True

    Analysis

    We gain an important perspective on systems of equations by looking at the graphical representation. See Figure 5 to find that the equations intersect at the solution. We do not need to ask whether there may be a second solution because observing the graph confirms that the system has exactly one solution.

    1064e9f61c297c658f69021dd2f6567ad0bb111e
    Figure 5

    Example 5

    Using the Addition Method When Multiplication of One Equation Is Required

    Solve the given system of equations by the addition method.

    3x+5y=−11 x2y=11 3x+5y=−11 x2y=11

    Answer

    Adding these equations as presented will not eliminate a variable. However, we see that the first equation has 3x 3x in it and the second equation has x. x. So if we multiply the second equation by −3, −3, the x-terms will add to zero.

    x−2y=11 −3(x−2y)=−3(11) Multiply both sides by −3. −3x+6y=−33 Use the distributive property. x−2y=11 −3(x−2y)=−3(11) Multiply both sides by −3. −3x+6y=−33 Use the distributive property.

    Now, let’s add them.

    3x+5y=−11 −3x+6y=−33 _______________ 11y=−44 y=−4 3x+5y=−11 −3x+6y=−33 _______________ 11y=−44 y=−4

    For the last step, we substitute y=−4 y=−4 into one of the original equations and solve for x. x.

    3x+5y=11 3x+5(4)=11 3x20=11 3x=9 x=3 3x+5y=11 3x+5(4)=11 3x20=11 3x=9 x=3

    Our solution is the ordered pair ( 3,−4 ). ( 3,−4 ). See Figure 6. Check the solution in the original second equation.

    x2y=11 (3)2(4)=3+8 11=11 True x2y=11 (3)2(4)=3+8 11=11 True

    504feb35c23e198b049008e8745e0907b5da5f73
    Figure 6

    Try It #4

    Solve the system of equations by addition.

    2x−7y=2 3x+y=−20 2x−7y=2 3x+y=−20

    Example 6

    Using the Addition Method When Multiplication of Both Equations Is Required

    Solve the given system of equations in two variables by addition.

    2x+3y=−16 5x−10y=30 2x+3y=−16 5x−10y=30
    Answer

    One equation has 2x 2x and the other has 5x. 5x. The least common multiple is 10x 10x so we will have to multiply both equations by a constant in order to eliminate one variable. Let’s eliminate x x by multiplying the first equation by −5 −5 and the second equation by 2. 2.

    5(2x+3y)=5(−16) 10x15y=80 2(5x10y)=2(30) 10x20y=60 5(2x+3y)=5(−16) 10x15y=80 2(5x10y)=2(30) 10x20y=60

    Then, we add the two equations together.

    −10x−15y=80 10x−20y=60 ________________ −35y=140 y=−4 −10x−15y=80 10x−20y=60 ________________ −35y=140 y=−4

    Substitute y=−4 y=−4 into the original first equation.

    2x+3(−4)=−16 2x12=−16 2x=−4 x=−2 2x+3(−4)=−16 2x12=−16 2x=−4 x=−2

    The solution is ( −2,−4 ). ( −2,−4 ). Check it in the other equation.

    5x−10y=30 5(−2)−10(−4)=30 −10+40=30 30=30 5x−10y=30 5(−2)−10(−4)=30 −10+40=30 30=30

    See Figure 7.

    2e45613367cc2d4dcf9ed2934a347019bf6ea8ef
    Figure 7

    Example 7

    Using the Addition Method in Systems of Equations Containing Fractions

    Solve the given system of equations in two variables by addition.

    x 3 + y 6 =3 x 2 y 4 =1 x 3 + y 6 =3 x 2 y 4 =1

    Answer

    First clear each equation of fractions by multiplying both sides of the equation by the least common denominator.

    6( x 3 + y 6 )=6(3) 2x+y=18 4( x 2 y 4 )=4(1) 2xy=4 6( x 3 + y 6 )=6(3) 2x+y=18 4( x 2 y 4 )=4(1) 2xy=4

    Now multiply the second equation by −1 −1 so that we can eliminate the x-variable.

    −1(2xy)=−1(4) −2x+y=−4 −1(2xy)=−1(4) −2x+y=−4

    Add the two equations to eliminate the x-variable and solve the resulting equation.

    2x+y=18 −2x+y=−4 _____________ 2y=14 y=7 2x+y=18 −2x+y=−4 _____________ 2y=14 y=7

    Substitute y=7 y=7 into the first equation.

    2x+(7)=18 2x=11 x= 11 2 =5.5 2x+(7)=18 2x=11 x= 11 2 =5.5

    The solution is ( 11 2 ,7 ). ( 11 2 ,7 ). Check it in the other equation.

    x 2 y 4 =1 11 2 2 7 4 =1 11 4 7 4 =1 4 4 =1 x 2 y 4 =1 11 2 2 7 4 =1 11 4 7 4 =1 4 4 =1

    Try It #5

    Solve the system of equations by addition.

    2x+3y=83x+5y=102x+3y=83x+5y=10

    Identifying Inconsistent Systems of Equations Containing Two Variables

    Now that we have several methods for solving systems of equations, we can use the methods to identify inconsistent systems. Recall that an inconsistent system consists of parallel lines that have the same slope but different y y -intercepts. They will never intersect. When searching for a solution to an inconsistent system, we will come up with a false statement, such as 12=0. 12=0.

    Example 8

    Solving an Inconsistent System of Equations

    Solve the following system of equations.

    x=9−2y x+2y=13 x=9−2y x+2y=13
    Answer

    We can approach this problem in two ways. Because one equation is already solved for x, x, the most obvious step is to use substitution.

    x+2y=13 (92y)+2y=13 9+0y=13 9=13 x+2y=13 (92y)+2y=13 9+0y=13 9=13

    Clearly, this statement is a contradiction because 913. 913. Therefore, the system has no solution.

    The second approach would be to first manipulate the equations so that they are both in slope-intercept form. We manipulate the first equation as follows.

    x=9−2y 2y=x+9 y= 1 2 x+ 9 2 x=9−2y 2y=x+9 y= 1 2 x+ 9 2

    We then convert the second equation expressed to slope-intercept form.

    x+2y=13 2y=x+13 y= 1 2 x+ 13 2 x+2y=13 2y=x+13 y= 1 2 x+ 13 2

    Comparing the equations, we see that they have the same slope but different y-intercepts. Therefore, the lines are parallel and do not intersect.

    y= 1 2 x+ 9 2 y= 1 2 x+ 13 2 y= 1 2 x+ 9 2 y= 1 2 x+ 13 2

    Analysis

    Writing the equations in slope-intercept form confirms that the system is inconsistent because all lines will intersect eventually unless they are parallel. Parallel lines will never intersect; thus, the two lines have no points in common. The graphs of the equations in this example are shown in Figure 8.

    0bc5feef62f26500d5c6222b75d57c6fc7896022
    Figure 8

    Try It #6

    Solve the following system of equations in two variables.

    2y−2x=2 2y−2x=6 2y−2x=2 2y−2x=6

    Expressing the Solution of a System of Dependent Equations Containing Two Variables

    Recall that a dependent system of equations in two variables is a system in which the two equations represent the same line. Dependent systems have an infinite number of solutions because all of the points on one line are also on the other line. After using substitution or addition, the resulting equation will be an identity, such as 0=0. 0=0.

    Example 9

    Finding a Solution to a Dependent System of Linear Equations

    Find a solution to the system of equations using the addition method.

    x+3y=2 3x+9y=6 x+3y=2 3x+9y=6
    Answer

    With the addition method, we want to eliminate one of the variables by adding the equations. In this case, let’s focus on eliminating x. x. If we multiply both sides of the first equation by −3, −3, then we will be able to eliminate the x x -variable.

    x+3y=2 (−3)(x+3y)=(−3)(2) −3x9y=6 x+3y=2 (−3)(x+3y)=(−3)(2) −3x9y=6

    Now add the equations.

    3x9y =−6 +3x+9y =6 ______________ 0 =0 3x9y =−6 +3x+9y =6 ______________ 0 =0

    We can see that there will be an infinite number of solutions that satisfy both equations.

    Analysis

    If we rewrote both equations in the slope-intercept form, we might know what the solution would look like before adding. Let’s look at what happens when we convert the system to slope-intercept form.

    x+3y=2 3y=x+2 y= 1 3 x+ 2 3 3x+9y=6 9y=−3x+6 y= 3 9 x+ 6 9 y= 1 3 x+ 2 3 x+3y=2 3y=x+2 y= 1 3 x+ 2 3 3x+9y=6 9y=−3x+6 y= 3 9 x+ 6 9 y= 1 3 x+ 2 3

    See Figure 9. Notice the results are the same. The general solution to the system is ( x, − 1 3 x+ 2 3 ). ( x, − 1 3 x+ 2 3 ).

    08a2f54974371538714c32f2e0bb1562fea79cc9
    Figure 9

    Try It #7

    Solve the following system of equations in two variables.

    y−2x=5 −3y+6x=−15 y−2x=5 −3y+6x=−15

    Using Systems of Equations to Investigate Profits

    Using what we have learned about systems of equations, we can return to the skateboard manufacturing problem at the beginning of the section. The skateboard manufacturer’s revenue function is the function used to calculate the amount of money that comes into the business. It can be represented by the equation R=xp, R=xp, where x= x= quantity and p= p= price. The revenue function is shown in orange in Figure 10.

    The cost function is the function used to calculate the costs of doing business. It includes fixed costs, such as rent and salaries, and variable costs, such as utilities. The cost function is shown in blue in Figure 10. The x x -axis represents quantity in hundreds of units. The y-axis represents either cost or revenue in hundreds of dollars.

    bdd21595beb40b8b01818db5a1716c071dc93482
    Figure 10

    The point at which the two lines intersect is called the break-even point. We can see from the graph that if 700 units are produced, the cost is $3,300 and the revenue is also $3,300. In other words, the company breaks even if they produce and sell 700 units. They neither make money nor lose money.

    The shaded region to the right of the break-even point represents quantities for which the company makes a profit. The shaded region to the left represents quantities for which the company suffers a loss. The profit function is the revenue function minus the cost function, written as P(x)=R(x)C(x). P(x)=R(x)C(x). Clearly, knowing the quantity for which the cost equals the revenue is of great importance to businesses.

    Example 10

    Finding the Break-Even Point and the Profit Function Using Substitution

    Given the cost function C(x)=0.85x+35,000 C(x)=0.85x+35,000 and the revenue function R(x)=1.55x, R(x)=1.55x, find the break-even point and the profit function.

    Answer

    Write the system of equations using y y to replace function notation.

    y=0.85x+35,000 y=1.55x y=0.85x+35,000 y=1.55x

    Substitute the expression 0.85x+35,000 0.85x+35,000 from the first equation into the second equation and solve for x. x.

    0.85x+35,000=1.55x 35,000=0.7x 50,000=x 0.85x+35,000=1.55x 35,000=0.7x 50,000=x

    Then, we substitute x=50,000 x=50,000 into either the cost function or the revenue function.

    1.55( 50,000 )=77,500 1.55( 50,000 )=77,500

    The break-even point is ( 50,000,77,500 ). ( 50,000,77,500 ).

    The profit function is found using the formula P(x)=R(x)C(x). P(x)=R(x)C(x).

    P(x)=1.55x(0.85x+35,000) =0.7x35,000 P(x)=1.55x(0.85x+35,000) =0.7x35,000

    The profit function is P(x)=0.7x−35,000. P(x)=0.7x−35,000.

    Analysis

    The cost to produce 50,000 units is $77,500, and the revenue from the sales of 50,000 units is also $77,500. To make a profit, the business must produce and sell more than 50,000 units. See Figure 11.

    066300b1b3ce105f193b9a719be58553f179be3a
    Figure 11

    We see from the graph in Figure 12 that the profit function has a negative value until x=50,000, x=50,000, when the graph crosses the x-axis. Then, the graph emerges into positive y-values and continues on this path as the profit function is a straight line. This illustrates that the break-even point for businesses occurs when the profit function is 0. The area to the left of the break-even point represents operating at a loss.

    392f13fb4bd0a777a94bfa466bfd0b8735d72950
    Figure 12

    Example 11

    Writing and Solving a System of Equations in Two Variables

    The cost of a ticket to the circus is $25.00 $25.00 for children and $50.00 $50.00 for adults. On a certain day, attendance at the circus is 2,000 2,000 and the total gate revenue is $70,000. $70,000. How many children and how many adults bought tickets?

    Answer

    Let c = the number of children and a = the number of adults in attendance.

    The total number of people is 2,000. 2,000. We can use this to write an equation for the number of people at the circus that day.

    c+a=2,000 c+a=2,000

    The revenue from all children can be found by multiplying $25.00 $25.00 by the number of children, 25c. 25c. The revenue from all adults can be found by multiplying $50.00 $50.00 by the number of adults, 50a. 50a. The total revenue is $70,000. $70,000. We can use this to write an equation for the revenue.

    25c+50a=70,000 25c+50a=70,000

    We now have a system of linear equations in two variables.

    c+a=2,000 25c+50a=70,000 c+a=2,000 25c+50a=70,000

    In the first equation, the coefficient of both variables is 1. We can quickly solve the first equation for either c c or a. a. We will solve for a. a.

    c+a=2,000 a=2,000c c+a=2,000 a=2,000c

    Substitute the expression 2,000c 2,000c in the second equation for a a and solve for c. c.

    25c+50(2,000c)=70,000 25c+100,00050c=70,000 25c=−30,000 c=1,200 25c+50(2,000c)=70,000 25c+100,00050c=70,000 25c=−30,000 c=1,200

    Substitute c=1,200 c=1,200 into the first equation to solve for a. a.

    1,200+a=2,000 a=800 1,200+a=2,000 a=800

    We find that 1,200 1,200 children and 800 800 adults bought tickets to the circus that day.

    Try It #8

    Meal tickets at the circus cost $4.00 $4.00 for children and $12.00 $12.00 for adults. If 1,650 1,650 meal tickets were bought for a total of $14,200, $14,200, how many children and how many adults bought meal tickets?

    Media

    Access these online resources for additional instruction and practice with systems of linear equations.

    9.1 Section Exercises

    Verbal

    1.

    Can a system of linear equations have exactly two solutions? Explain why or why not.

    2.

    If you are performing a break-even analysis for a business and their cost and revenue equations are dependent, explain what this means for the company’s profit margins.

    3.

    If you are solving a break-even analysis and get a negative break-even point, explain what this signifies for the company?

    4.

    If you are solving a break-even analysis and there is no break-even point, explain what this means for the company. How should they ensure there is a break-even point?

    5.

    Given a system of equations, explain at least two different methods of solving that system.

    Algebraic

    For the following exercises, determine whether the given ordered pair is a solution to the system of equations.

    6.

    5xy=4 x+6y=2 5xy=4 x+6y=2 and (4,0) (4,0)

    7.

    −3x5y=13 x+4y=10 −3x5y=13 x+4y=10 and (−6,1) (−6,1)

    8.

    3x+7y=1 2x+4y=0 3x+7y=1 2x+4y=0 and (2,3) (2,3)

    9.

    −2x+5y=7 2x+9y=7 −2x+5y=7 2x+9y=7 and (−1,1) (−1,1)

    10.

    x+8y=43 3x−2y=−1 x+8y=43 3x−2y=−1 and (3,5) (3,5)

    For the following exercises, solve each system by substitution.

    11.

    x+3y=5 2x+3y=4 x+3y=5 2x+3y=4

    12.

    3x−2y=18 5x+10y=−10 3x−2y=18 5x+10y=−10

    13.

    4x+2y=−10 3x+9y=0 4x+2y=−10 3x+9y=0

    14.

    2x+4y=−3.8 9x−5y=1.3 2x+4y=−3.8 9x−5y=1.3

    15.

    2x+3y=1.2 3x6y=1.8 2x+3y=1.2 3x6y=1.8

    16.

    x−0.2y=1 −10x+2y=5 x−0.2y=1 −10x+2y=5

    17.

    3x+5y=9 30x+50y=−90 3x+5y=9 30x+50y=−90

    18.

    −3x+y=2 12x−4y=−8 −3x+y=2 12x−4y=−8

    19.

    1 2 x+ 1 3 y=16 1 6 x+ 1 4 y=9 1 2 x+ 1 3 y=16 1 6 x+ 1 4 y=9

    20.

    1 4 x+ 3 2 y=11 1 8 x+ 1 3 y=3 1 4 x+ 3 2 y=11 1 8 x+ 1 3 y=3

    For the following exercises, solve each system by addition.

    21.

    −2x+5y=−42 7x+2y=30 −2x+5y=−42 7x+2y=30

    22.

    6x−5y=−34 2x+6y=4 6x−5y=−34 2x+6y=4

    23.

    5xy=−2.6 −4x−6y=1.4 5xy=−2.6 −4x−6y=1.4

    24.

    7x−2y=3 4x+5y=3.25 7x−2y=3 4x+5y=3.25

    25.

    −x+2y=−1 5x−10y=6 −x+2y=−1 5x−10y=6

    26.

    7x+6y=2 −28x−24y=−8 7x+6y=2 −28x−24y=−8

    27.

    5 6 x+ 1 4 y=0 1 8 x 1 2 y= 43 120 5 6 x+ 1 4 y=0 1 8 x 1 2 y= 43 120

    28.

    1 3 x+ 1 9 y= 2 9 1 2 x+ 4 5 y= 1 3 1 3 x+ 1 9 y= 2 9 1 2 x+ 4 5 y= 1 3

    29.

    −0.2x+0.4y=0.6 x−2y=−3 −0.2x+0.4y=0.6 x−2y=−3

    30.

    −0.1x+0.2y=0.6 5x−10y=1 −0.1x+0.2y=0.6 5x−10y=1

    For the following exercises, solve each system by any method.

    31.

    5x+9y=16 x+2y=4 5x+9y=16 x+2y=4

    32.

    6x−8y=−0.6 3x+2y=0.9 6x−8y=−0.6 3x+2y=0.9

    33.

    5x−2y=2.25 7x−4y=3 5x−2y=2.25 7x−4y=3

    34.

    x 5 12 y= 55 12 −6x+ 5 2 y= 55 2 x 5 12 y= 55 12 −6x+ 5 2 y= 55 2

    35.

    7x−4y= 7 6 2x+4y= 1 3 7x−4y= 7 6 2x+4y= 1 3

    36.

    3x+6y=11 2x+4y=9 3x+6y=11 2x+4y=9

    37.

    7 3 x 1 6 y=2 21 6 x+ 3 12 y=−3 7 3 x 1 6 y=2 21 6 x+ 3 12 y=−3

    38.

    1 2 x+ 1 3 y= 1 3 3 2 x+ 1 4 y= 1 8 1 2 x+ 1 3 y= 1 3 3 2 x+ 1 4 y= 1 8

    39.

    2.2x+1.3y=−0.1 4.2x+4.2y=2.1 2.2x+1.3y=−0.1 4.2x+4.2y=2.1

    40.

    0.1x+0.2y=2 0.35x−0.3y=0 0.1x+0.2y=2 0.35x−0.3y=0

    Graphical

    For the following exercises, graph the system of equations and state whether the system is consistent, inconsistent, or dependent and whether the system has one solution, no solution, or infinite solutions.

    41.

    3xy=0.6 x−2y=1.3 3xy=0.6 x−2y=1.3

    42.

    x+2y=4 2x−4y=1 x+2y=4 2x−4y=1

    43.

    x+2y=7 2x+6y=12 x+2y=7 2x+6y=12

    44.

    3x−5y=7 x−2y=3 3x−5y=7 x−2y=3

    45.

    3x−2y=5 −9x+6y=−15 3x−2y=5 −9x+6y=−15

    Technology

    For the following exercises, use the intersect function on a graphing device to solve each system. Round all answers to the nearest hundredth.

    46.

    0.1x+0.2y=0.3 −0.3x+0.5y=1 0.1x+0.2y=0.3 −0.3x+0.5y=1

    47.

    −0.01x+0.12y=0.62 0.15x+0.20y=0.52 −0.01x+0.12y=0.62 0.15x+0.20y=0.52

    48.

    0.5x+0.3y=4 0.25x−0.9y=0.46 0.5x+0.3y=4 0.25x−0.9y=0.46

    49.

    0.15x+0.27y=0.39 −0.34x+0.56y=1.8 0.15x+0.27y=0.39 −0.34x+0.56y=1.8

    50.

    −0.71x+0.92y=0.13 0.83x+0.05y=2.1 −0.71x+0.92y=0.13 0.83x+0.05y=2.1

    Extensions

    For the following exercises, solve each system in terms of A,B,C,D,E, A,B,C,D,E, and F F where AF AF are nonzero numbers. Note that AB AB and AEBD. AEBD.

    51.

    x+y=A xy=B x+y=A xy=B

    52.

    x+Ay=1 x+By=1 x+Ay=1 x+By=1

    53.

    Ax+y=0 Bx+y=1 Ax+y=0 Bx+y=1

    54.

    Ax+By=C x+y=1 Ax+By=C x+y=1

    55.

    Ax+By=C Dx+Ey=F Ax+By=C Dx+Ey=F

    Real-World Applications

    For the following exercises, solve for the desired quantity.

    56.

    A stuffed animal business has a total cost of production C=12x+30 C=12x+30 and a revenue function R=20x. R=20x. Find the break-even point.

    57.

    A fast-food restaurant has a cost of production C(x)=11x+120 C(x)=11x+120 and a revenue function R(x)=5x. R(x)=5x. When does the company start to turn a profit?

    58.

    A cell phone factory has a cost of production C(x)=150x+10,000 C(x)=150x+10,000 and a revenue function R(x)=200x. R(x)=200x. What is the break-even point?

    59.

    A musician charges C(x)=64x+20,000 C(x)=64x+20,000 where x x is the total number of attendees at the concert. The venue charges $80 per ticket. After how many people buy tickets does the venue break even, and what is the value of the total tickets sold at that point?

    60.

    A guitar factory has a cost of production C(x)=75x+50,000. C(x)=75x+50,000. If the company needs to break even after 150 units sold, at what price should they sell each guitar? Round up to the nearest dollar, and write the revenue function.

    For the following exercises, use a system of linear equations with two variables and two equations to solve.

    61.

    Find two numbers whose sum is 28 and difference is 13.

    62.

    A number is 9 more than another number. Twice the sum of the two numbers is 10. Find the two numbers.

    63.

    The startup cost for a restaurant is $120,000, and each meal costs $10 for the restaurant to make. If each meal is then sold for $15, after how many meals does the restaurant break even?

    64.

    A moving company charges a flat rate of $150, and an additional $5 for each box. If a taxi service would charge $20 for each box, how many boxes would you need for it to be cheaper to use the moving company, and what would be the total cost?

    65.

    A total of 1,595 first- and second-year college students gathered at a pep rally. The number of freshmen exceeded the number of sophomores by 15. How many freshmen and sophomores were in attendance?

    66.

    276 students enrolled in a freshman-level chemistry class. By the end of the semester, 5 times the number of students passed as failed. Find the number of students who passed, and the number of students who failed.

    67.

    There were 130 faculty at a conference. If there were 18 more women than men attending, how many of each gender attended the conference?

    68.

    A jeep and BMW enter a highway running east-west at the same exit heading in opposite directions. The jeep entered the highway 30 minutes before the BMW did, and traveled 7 mph slower than the BMW. After 2 hours from the time the BMW entered the highway, the cars were 306.5 miles apart. Find the speed of each car, assuming they were driven on cruise control.

    69.

    If a scientist mixed 10% saline solution with 60% saline solution to get 25 gallons of 40% saline solution, how many gallons of 10% and 60% solutions were mixed?

    70.

    An investor earned triple the profits of what she earned last year. If she made $500,000.48 total for both years, how much did she earn in profits each year?

    71.

    An investor who dabbles in real estate invested 1.1 million dollars into two land investments. On the first investment, Swan Peak, her return was a 110% increase on the money she invested. On the second investment, Riverside Community, she earned 50% over what she invested. If she earned $1 million in profits, how much did she invest in each of the land deals?

    72.

    If an investor invests a total of $25,000 into two bonds, one that pays 3% simple interest, and the other that pays 2 7 8 % 2 7 8 % interest, and the investor earns $737.50 annual interest, how much was invested in each account?

    73.

    If an investor invests $23,000 into two bonds, one that pays 4% in simple interest, and the other paying 2% simple interest, and the investor earns $710.00 annual interest, how much was invested in each account?

    74.

    CDs cost $5.96 more than DVDs at All Bets Are Off Electronics. How much would 6 CDs and 2 DVDs cost if 5 CDs and 2 DVDs cost $127.73?

    75.

    A store clerk sold 60 pairs of sneakers. The high-tops sold for $98.99 and the low-tops sold for $129.99. If the receipts for the two types of sales totaled $6,404.40, how many of each type of sneaker were sold?

    76.

    A concert manager counted 350 ticket receipts the day after a concert. The price for a student ticket was $12.50, and the price for an adult ticket was $16.00. The register confirms that $5,075 was taken in. How many student tickets and adult tickets were sold?

    77.

    Admission into an amusement park for 4 children and 2 adults is $116.90. For 6 children and 3 adults, the admission is $175.35. Assuming a different price for children and adults, what is the price of the child’s ticket and the price of the adult ticket?


    This page titled 7.1: Systems of Linear Equations - Two Variables 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.