Login
📚 Modeling, Functions, and Graphs
Chapters ▾

8.1 Systems of Linear Equations in Two Variables

Systems of linear equations are some of the most useful and widely used mathematical tools for solving problems. Systems involving hundreds of variables and equations are not uncommon in applications such as scheduling airline flights or routing telephone calls.

We begin our study by reviewing 2 × 2 linear systems.

Solving Systems by Graphing

A biologist wants to know the average weights of two species of birds in a wildlife preserve. She sets up a feeder whose platform is actually a scale and mounts a camera to monitor the feeder. She waits until the feeder is occupied only by members of the two species she is studying, doves and blue jays. Then she takes a picture, which records the number of each species on the scale and the total weight registered.

From her two best pictures, she obtains the following information. The total weight of three blue jays and six doves is 48 ounces, and the total weight of five blue jays and two doves is 32 ounces. Using these data, the biologist estimates the average weight of a blue jay and of a dove. She begins by assigning variables to the two unknown quantities:

Average weight of a blue jay:     b Average weight of a dove:     d

Because there are two variables, the biologist must write two equations about the weights of the birds. In each of the two photos,

( weight of blue jays ) + ( weight of robins ) = total weight

Thus,

3 b + 6 d = 48 5 b + 2 d = 32

This pair of equations is an example of a linear system of two equations in two unknowns (or a 2 × 2 linear system, for short). A solution to the system is an ordered pair of numbers, ( b , d ) , that satisfies both equations in the system.

graph of two linear equations

Recall that every point on the graph of an equation represents a solution to that equation. A solution to both equations corresponds to a point on both graphs. Therefore, a solution to the system is a point where the two graphs intersect.

From the figure above, it appears that the intersection point is ( 4 , 6 ) , so we expect that the values b = 4 and d = 6 form the solution to the system. We can check by verifying that these values satisfy both equations in the system.

3 ( 4 ) + 6 ( 6 ) = ? 48 True 5 ( 4 ) + 2 ( 6 ) = ? 32 True

Both equations are true, so we conclude that the average weight of a blue jay is 4 ounces, and the average weight of a robin is 6 ounces.

Which points on the graphs satisfy both equations in a system?

_____

Their intersection points

Which points on the graphs satisfy both equations in a system?

  1. Their x -intercepts
  2. Their y -intercepts
  3. Their intersection points
  4. None of the points

We can obtain graphs for the equations in a system quickly and easily using a calculator.

How can you verify that a given point is the solution of a system?

_____

We show that a point makes both equations true to verify that it is the solution of a system of two equations.

How can you verify that a given point is the solution of a system?

  1. Add the equations together.
  2. Show that it makes one of the equations true.
  3. Show that it makes both equations true.
  4. Subtract the equations.
  1. Solve the system of equations

    y = 0.7 x + 6.9 y = 1.2 x 6.4

    by graphing. Use the window

    Xmin = 9.4 Xmax = 9.4 Ymin = 10 Ymax = 10

Answer: _____

Enter the solution as an ordered pair.

( 7 , 2 ) is the intersection point.

  1. Solve the system of equations

    y = 0.7 x + 6.9 y = 1.2 x 6.4

    by graphing. Use the window

    Xmin = 9.4 Xmax = 9.4 Ymin = 10 Ymax = 10

  2. Verify algebrically that your solution satisfies both equations.

( 7 , 2 ) is the intersection point.

What do the points on the graph of an equation represent?

_____

What do the points on the graph of an equation represent?

Solve the system of equations

y = 47 x 1930 y + 19 x = 710

by graphing. Use the intersect feature in the window

Xmin = 0 Xmax = 94 Ymin = 2000 Ymax = 1000

Answer: _____

Enter the solution as an ordered pair.

( 40 , 50 ) is the intersection point.

Solve the system of equations

y = 47 x 1930 y + 19 x = 710

by graphing. Use the intersect feature in the window

Xmin = 0 Xmax = 94 Ymin = 2000 Ymax = 1000

( 40 , 50 ) is the intersection point.

Solving Systems Algebraically

In previous algebra courses, you learned two algebraic techniques for solving 2 × 2 linear systems: substitution and elimination. See Algebra Skills Refresher Linear Systems in Two Variables if you would like to review these techniques.

It took Leon 7 hours to fly the same distance that Marlene drove in 21 hours. Leon flies 120 miles per hour faster than Marlene drives. At what speed did each travel?

  1. Let x be Leon's speed (mph), let y be Marlene's speed (mph), and fill in the table.
    RateTimeDistance
    Leon_____ __________
    Marlene_____ __________
  2. Write one equation about the Leon's and Marlene's speeds.
    Equation: _____
  3. Write a second equation about distances.
    Equation: _____
  4. Solve the system and answer the question in the problem.
    _____ Enter your solution as an ordered pair.
    Leon traveled at a speed of _____ mph, and Marlene traveled at a speed of _____ mph.
  1. RateTimeDistance
    Leon x 7 7 x
    Marlene y 21 21 y
  2. x = y + 120 or x y = 120
  3. 7 x = 21 y
  4. ( 180 , 60 ) . Leon flies at 180 mph; Marlene drives at 60 mph.

It took Leon 7 hours to fly the same distance that Marlene drove in 21 hours. Leon flies 120 miles per hour faster than Marlene drives. At what speed did each travel?

  1. Let x be Leon's speed (mph), let y be Marlene's speed (mph), and fill in the table.
    RateTimeDistance
    Leon 00 00 00
    Marlene
  2. Write one equation about Leon's and Marlene's speeds.
  3. Write a second equation about distances.
  4. Solve the system and answer the question in the problem.
  1. RateTimeDistance
    Leon x 7 7 x
    Marlene y 21 21 y
  2. x = y + 120 or x y = 120
  3. 7 x = 21 y
  4. ( 180 , 60 ) . Leon flies at 180 mph; Marlene drives at 60 mph.

When is the substitution method easier to use than the elimination method. Why?

_____

When is the substitution method easier to use than the elimination method. Why?

Inconsistent and Dependent Systems

Because two straight lines do not always intersect at a single point, a 2 × 2 system of linear equations does not always have a unique solution. In fact, there are three possibilities, as illustrated below.

3 cases for 3x3 linear system, namely two coincident lines, two parallel lines, or two lines intersecting in a single point
  1. The graphs may be the same line, as shown in figure (a).
  2. The graphs may be parallel but distinct lines, as shown in figure (b).
  3. The graphs may intersect in one and only one point, as shown in figure (c).

A system with no solutions, such as the system in Example, is called inconsistent. A 2 × 2 system of linear equations is inconsistent when the two equations correspond to parallel lines. This situation occurs when the lines have the same slope but different y -intercepts.

Without graphing, show that the following system is inconsistent:

3 y = 3 2 x 1 2 x 4 y = 3

_____

Both lines have slope 1 2 .

Without graphing, show that the following system is inconsistent:

3 y = 3 2 x 1 2 x 4 y = 3

Both lines have slope 1 2 .

A linear system with infinitely many solutions is called dependent. A 2 × 2 system is dependent when the two equations actually describe the same line. This situation occurs when the two lines have the same slope and the same y -intercept.

Here is a summary of the three cases for a 2 × 2 system of linear equations.

  1. Graph the system

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

    by hand, using either the intercept method or the slope-intercept method.
  2. Identify the system as dependent, inconsistent, or consistent and independent.
    _____
  1. A graph is below.
  2. Inconsistent: The graph consists of parallel lines.

Graph for part (a)

parallel lines
  1. Graph the system

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

    by hand, using either the intercept method or the slope-intercept method.
  2. Identify the system as dependent, inconsistent, or consistent and independent.
  1. parallel lines
  2. Inconsistent: The graph consists of parallel lines.

It is not always easy to tell from the equations themselves whether there is one solution, no solution, or infinitely many solutions. However, the method of elimination will reveal which of the three cases applies.

We generalize the results from Example as follows.

If a system is inconsistent, the two lines:

_____

If a system is inconsistent, the two lines are parallel.

If a system is inconsistent, the two lines:

  1. are parallel.
  2. are perpendicular.
  3. intersect.
  4. have the same graph.

The following Practice 6 illustrates a dependent system.

The following Practice 6 illustrates a dependent system.

  1. Use the method of elimination to solve the system

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


    Elimination results in _____ x + _____ y = _____.
  2. Verify that both equations have the same graph.
    _____
  1. Elimination results in 0 x + 0 y = 0 .
  2. Both equations have slope-intercept form y = 3 x 4 .
  1. Use the method of elimination to solve the system

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

  2. Verify that both equations have the same graph.
  1. Elimination results in 0 x + 0 y = 0 .
  2. Both equations have slope-intercept form y = 3 x 4 .

Explain how to use linear combinations to identify inconsistent and dependent systems.

_____

Explain how to use linear combinations to identify inconsistent and dependent systems.

Applications

Many practical problems involve two or more unknown quantities.

Etienne plans to open a coffee house, and he has $ 7520 to spend on furniture. A table costs $ 460 , and a chair costs $ 120 . Etienne will buy four chairs for each table. How many tables can he buy?

  1. Let x represent the number of tables Etienne should buy, and let y represent the number of chairs. Write an equation about the cost of the furniture.
    _____
  2. Write a second equation about the number of tables and chairs.
    _____
  3. Graph both equations, solve the system, and answer the question in the problem. (Find the intercepts of the graphs to help you choose a window.)
    x = _____, y = _____
    _____
  1. 460 x + 120 y = 7520
  2. y = 4 x
  3. x = 8 , y = 32 . Etienne should buy 8 tables and 32 chairs.

Etienne plans to open a coffee house, and he has $ 7520 to spend on furniture. A table costs $ 460 , and a chair costs $ 120 . Etienne will buy four chairs for each table. How many tables can he buy?

  1. Let x represent the number of tables Etienne should buy, and let y represent the number of chairs. Write an equation about the cost of the furniture.
  2. Write a second equation about the number of tables and chairs.
  3. Graph both equations, solve the system, and answer the question in the problem. (Find the intercepts of the graphs to help you choose a window.)
  1. 460 x + 120 y = 7520
  2. y = 4 x
  3. x = 8 , y = 32 . Etienne should buy 8 tables and 32 chairs.

Being unable to read exact coordinates from a graph is not always a disadvantage. In many situations, fractional values of the unknowns are not acceptable.

The manager for Books for Cooks plans to spend $300 stocking a new diet cookbook. The paperback version costs her $5, and the hardback costs $10. She finds that she will sell three times as many paperbacks as hardbacks. How many of each should she buy?

  1. Let x represent the number of hardbacks and y the number of paperbacks she should buy. Write an equation about the cost of the books.
    _____
  2. Write a second equation about the number of each type of book.
    _____
  3. Graph both equations and solve the system. (Find the intercepts of the graphs to help you choose a window.) Answer the question in the problem.
    x = _____, y = _____
    _____
  1. 10 x + 5 y = 300
  2. y = 3 x
  3. x = 12 , y = 36 . The manager should buy 12 hardbacks and 36 paperbacks.

The manager for Books for Cooks plans to spend $300 stocking a new diet cookbook. The paperback version costs her $5, and the hardback costs $10. She finds that she will sell three times as many paperbacks as hardbacks. How many of each should she buy?

  1. Let x represent the number of hardbacks and y the number of paperbacks she should buy. Write an equation about the cost of the books.
  2. Write a second equation about the number of each type of book.
  3. Graph both equations and solve the system. (Find the intercepts of the graphs to help you choose a window.) Answer the question in the problem.
  1. 10 x + 5 y = 300
  2. y = 3 x
  3. x = 12 , y = 36 . The manager should buy 12 hardbacks and 36 paperbacks.

An Application from Economics

The owner of a retail business must try to balance the demand for his product from consumers with the supply he can obtain from manufacturers. Supply and demand both vary with the price of the product: Consumers usually buy fewer items if the price increases, but manufacturers will be willing to supply more units of the product if its price increases.

The demand function gives the number of units of the product that consumers will buy in terms of the price per unit. The supply function gives the number of units that the producer will supply in terms of the price per unit. The price at which the supply and demand are equal is called the equilibrium price. This is the price at which the consumer and the producer agree to do business.

What is an equilibrium price?

_____

The price at which supply equals demand

What is an equilibrium price?

  1. A fair and balanced price
  2. The price that yields maximum profit
  3. The price at which supply equals demand
  4. The price at which revenue equals costs

Sanaz can afford to produce 35 x pairs of hand-painted sunglasses if she can sell them at x dollars per pair, and the market will buy 1700 15 x at x dollars a pair.

  1. Write the supply and demand equations for the sunglasses.
    Supply equation: S = _____
    Demand equation: D = _____
  2. Find the equilibrium price and the number of sunglasses Sanaz will produce and sell at that price.
    Equilibrium price: $_____
    At the equilibrium price, Sanaz will sell _____ sunglasses
  1. The Supply equation is S = 35 x , the Demand equation is D = 1700 15 x .
  2. The equilibrium price is $34, and at that price, Sanaz will sell 1190 sunglasses

Sanaz can afford to produce 35 x pairs of hand-painted sunglasses if she can sell them at x dollars per pair, and the market will buy 1700 15 x at x dollars a pair.

  1. Write the supply and demand equations for the sunglasses.
  2. Find the equilibrium price and the number of sunglasses Sanaz will produce and sell at that price.
  1. The Supply equation is S = 35 x , the Demand equation is D = 1700 15 x .
  2. The equilibrium price is $34, and at that price, Sanaz will sell 1190 sunglasses

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Linear system
  • Solution of a system
  • Intersection point
  • Equilibrium point
  • Dependent
  • Inconsistent
  • Consistent and independent
  • Demand equation
  • Supply equation

CONCEPTS

  1. We can solve a 2 × 2 linear system by graphing. The solution is the intersection point of the two graphs.
  2. A linear system may be inconsistent (has no solution), dependent (has infinitely many solutions), or consistent and independent (has one solution).
  3. We can use a system of equations to solve problems involving two unknown quantities.
  4. In economics, the price at which the supply and demand are equal is called the equilibrium price.

STUDY QUESTIONS

  1. How can you test whether ( a , b ) is a solution to a system of two linear equations?
  2. Do two lines always intersect in one point? Explain.
  3. When is a system useful for solving an applied problem?
  4. Name two algebraic methods for solving a 2 × 2 linear system.
  5. What is the result of performing elimination on a dependent system?
  6. Explain the terms demand function, supply function, and equilibrium price.

SKILLS

Practice each skill in the Homework problems listed.

  1. Solve a 2 × linear system by graphing: #1–14, 31–34
  2. Identify inconsistent and dependent systems: #15–20
  3. Write a system of two linear equations to solve a problem: #21–30

Homework 8.1

In Problems 1–4, solve each system of equations using the graphs given. Verify algebraically that your solution satisfies both equations.

2.3 x 3.7 y = 6.9 1.1 x + 3.7 y = 3.3

two lines

( 3 , 0 )

2.3 x + 5.9 y = 38.7 9.3 x + 7.4 y = 0.2

two lines

35 s 17 t = 560 24 s + 15 t = 2250

two lines

( 50 , 70 )

56 a + 32 b = 880 23 a 7 b = 1250

two lines

In Problems 5–8, solve each system of equations by graphing. Use the window

Xmin = 9.4 Xmax = 9.4 Ymin = 10 Ymax = 10

Verify algebraically that your solution satisfies both equations.

y = 2.6 x + 8.2 y = 1.8 0.6 x

( 2 , 3 )

y = 5.8 x 9.8 y = 0.7 4.7 x

y = 7.2 2.1 x 2.8 x + 3.7 y = 5.5

( 2 , 3 )

y = 2.3 x 5.5 3.1 x + 2.4 y = 1.1

In Problems 9–14, graph each system by hand, using either the intercept method or the slope-intercept method. Identify the system as dependent, inconsistent, or consistent and independent.

2 x = y + 4 8 x 4 y = 8

two lines

Inconsistent

2 t + 12 = 6 s 12 s + 4 t = 24

w 3 z = 6 2 w + z = 8

two lines

Consistent and independent

2 u + v = 5 u 2 v = 3

2 L 5 W = 6 15 W 2 + 9 = 3 L

two lines

Dependent

3 A = 4 B + 12 1 2 A + 2 = 2 3 B

Use linear combinations to identify each system in Problems 15–20 as dependent, inconsistent, or consistent and independent. (See Algebra Skills Refresher Linear Systems in Two Variables to review linear combinations.)

2 m = n + 1 8 m 4 n = 3

Inconsistent

6 p = 1 2 q 12 p + 4 q = 2

r 3 s = 4 2 r + s = 6

Consistent and independent

2 u + v = 4 u 3 v = 2

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

Consistent and independent

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

Solve Problems 21–30 by graphing a system of equations.

Dash Phone Company charges a monthly fee of $ 10 , plus $ 0.09 per minute for long distance calls. Friendly Phone Company charges $ 15 per month, plus $ 0.05 per minute for long-distance calls.

  1. Write an equation for Dash Phone Company's monthly bill if you talk long distance for x minutes.
  2. Write an equation for Friendly Phone Company's monthly bill if you talk long distance for x minutes.
  3. Graph both equations in the window

    Xmin = 0 Xmax = 200 Ymin = 0 Ymax = 30

    and solve the system. How many minutes of long-distance calls would result in equal bills from the two companies?
  1. D = 10 + 0.09 x
  2. F = 15 + 0.05 x
  3. 125 min

The Olympus Health Club charges an initial fee of $ 230 and $ 13 monthly dues. The Valhalla Health Spa charges $ 140 initially and $ 16 per month.

  1. Write an equation for the cost of belonging to Olympus Health Club for x months.
  2. Write an equation for the cost of belonging to Valhalla Health Spa for x months.
  3. Graph both equations in the window

    Xmin = 0 Xmax = 50 Ymin = 0 Ymax = 800

    and solve the system. After how many months of membership would the costs of belonging to the two clubs be equal?

Yasuo can afford to produce 50 x bushels of wheat if he can sell them at x cents per bushel, and the market will buy 2100 20 x bushels at x cents per bushel.

  1. What is the supply equation?
  2. What is the demand equation?
  3. Graph both equations and solve the system. Find the equilibrium price and the number of bushels of wheat Yasuo can sell at that price.
  1. y = 50 x
  2. y = 2100 20 x
  3. 30 ¢ per bushel, 1500 bushels

Mel's Pool Service can clean 1.5 x pools per week if it charges x dollars per pool, and the public will book 120 2.5 x pool cleanings at x dollars per pool.

  1. What is the supply equation?
  2. What is the demand equation?
  3. Graph both equations and solve the system. Find the equilibrium price and the number of pools Mel will clean at that price.

The Aquarius jewelry company determines that each production run to manufacture a pendant involves an initial set-up cost of $ 200 and $ 4 for each pendant produced. The pendants sell for $ 12 each.

  1. Express the cost C of production in terms of the number x of pendants produced.
  2. Express the revenue R in terms of the number x of pendants sold.
  3. Graph the revenue and cost on the same set of axes. How many pendants must be sold for the Aquarius company to break even on a particular production run?
  1. C = 200 + 4 x
  2. R = 12 x
  3. 25 pendants

The Bread Alone Bakery has a daily overhead of $ 90 . It costs $ 0.60 to bake each loaf of bread, and the bread sells for $ 1.50 per loaf.

  1. Express the cost C in terms of the number x of loaves baked.
  2. Express the revenue R in terms of the number x of loaves baked.
  3. Graph the revenue and cost on the same set of axes. How many loaves must the bakery sell to break even on a given day?

The admissions at a Bengals' baseball game was $ 7.50 for adults and $ 4.25 for students. The ticket office took in $ 465.50 for 82 paid admissions. How many adults and how many students attended the game?

  1. Write algebraic expressions to fill in the table.
    Number of
    tickets
    Cost per
    ticket
    Revenue
    Adults x
    Students y
    Total
  2. Write an equation about the number of tickets sold.
  3. Write a second equation about the revenue from the tickets.
  4. Graph both equations and solve the system.
  1. Number of
    tickets
    Cost per
    ticket
    Revenue
    Adults x 7.50 7.50 x
    Students y 4.25 4.25 y
    Total 82 465.50
  2. x + y = 82
  3. 7.50 x + 4.25 y = 465.50
  4. 36 adults, 46 students

There were 42 passengers on an airplane flight for which first-class fare was $ 400 and tourist fare was $ 320 . If the revenue for the flight totaled $ 14 , 400 , how many first-class and how many tourist passengers paid for the flight?

  1. Write algebraic expressions to fill in the table.
    Number of
    tickets
    Cost per
    ticket
    Revenue
    First-Class x
    Tourist y
    Total
  2. Write an equation about the number of tickets sold.
  3. Write a second equation about the revenue from the tickets.
  4. Graph both equations and solve the system.

Earthquakes simultaneously send out two types of waves, called P waves and S waves, but the two types travel at different speeds. A seismograph records arrival of P waves from an earthquake, and ninety seconds later the seismograph receives S waves from the same earthquake. The P waves travel at 5.4 miles per second, and S waves at 3 miles per second. How far is the seismograph from the earthquake?

  1. Let x represent the time in seconds for the P to arrive at the seismograph, and y the distance in miles between the earthquake and seismograph. Fill in the table.
    RateTimeDistance
    P waves
    S waves
  2. Write an equation about how far the S waves travel.
  3. Write a second equation about how far the P waves travel.
  4. Solve the system and answer the question in the problem.
  1. RateTimeDistance
    P waves 5.4 x y
    S waves 3 x + 90 y
  2. y = 3 ( x + 90 )
  3. y = 5.4 x
  4. ( 112.5 , 607.5 ) : The seismograph is 607.5 miles from the earthquake.

Thelma and Louise start together and drive in the same direction, Thelma driving twice as fast as Louise. At the end of 3 hours, they are 96 miles apart. How fast is each traveling?

  1. Choose variables for the unknown quantities, and fill in the table.
    RateTimeDistance
    Thelma
    Louise
  2. Write one equation about Thelma's and Louise's speeds.
  3. Write a second equation about distances.
  4. Solve the system and answer the question in the problem.

In Problems 31–34, solve each system of equations by graphing. Find the intercepts of each graph to help you choose a suitable window, then use the intersect feature to locate the solution.

38 x + 2.3 y = 55.2 y = 15 x + 121

( 4.6 , 52 )

25 x 1.7 y = 10.5 y + 5 x = 49

64 x + 58 y = 707 82 x 21 y = 496

( 7.15 , 4.3 )

35 x 76 y = 293 15 x + 44 y = 353

Modeling, Functions, and Graphs by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.