Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Elementary Algebra

5.6 Graphing Systems of Linear Inequalities

Elementary Algebra5.6 Graphing Systems of Linear Inequalities

Learning Objectives

By the end of this section, you will be able to:

  • Determine whether an ordered pair is a solution of a system of linear inequalities
  • Solve a system of linear inequalities by graphing
  • Solve applications of systems of inequalities

Be Prepared 5.6

Before you get started, take this readiness quiz.

  1. Graph x>2x>2 on a number line.
    If you missed this problem, review Example 2.66.
  2. Solve the inequality 2a<5a+122a<5a+12.
    If you missed this problem, review Example 2.73.
  3. Determine whether the ordered pair (3,12)(3,12) is a solution to the system {x+2y=4y=6x{x+2y=4y=6x.
    If you missed this problem, review Example 5.1

 

Determine Whether an Ordered Pair is a Solution of a System of Linear Inequalities

The definition of a system of linear inequalities is very similar to the definition of a system of linear equations.

System of Linear Inequalities

Two or more linear inequalities grouped together form a system of linear inequalities.

A system of linear inequalities looks like a system of linear equations, but it has inequalities instead of equations. A system of two linear inequalities is shown below.

{x+4y103x2y<12{x+4y103x2y<12

To solve a system of linear inequalities, we will find values of the variables that are solutions to both inequalities. We solve the system by using the graphs of each inequality and show the solution as a graph. We will find the region on the plane that contains all ordered pairs (x,y)(x,y) that make both inequalities true.

Solutions of a System of Linear Inequalities

Solutions of a system of linear inequalities are the values of the variables that make all the inequalities true.

The solution of a system of linear inequalities is shown as a shaded region in the x-y coordinate system that includes all the points whose ordered pairs make the inequalities true.

To determine if an ordered pair is a solution to a system of two inequalities, we substitute the values of the variables into each inequality. If the ordered pair makes both inequalities true, it is a solution to the system.

Example 5.51

Determine whether the ordered pair is a solution to the system. {x+4y103x2y<12{x+4y103x2y<12

(−2, 4) (3,1)

Try It 5.101

Determine whether the ordered pair is a solution to the system.
{x5y>102x+3y>−2{x5y>102x+3y>−2

(3,−1)(3,−1) (6,−3)(6,−3)

Try It 5.102

Determine whether the ordered pair is a solution to the system.
{y>4x24xy<20{y>4x24xy<20

(2,1)(2,1) (4,−1)(4,−1)

Solve a System of Linear Inequalities by Graphing

The solution to a single linear inequality is the region on one side of the boundary line that contains all the points that make the inequality true. The solution to a system of two linear inequalities is a region that contains the solutions to both inequalities. To find this region, we will graph each inequality separately and then locate the region where they are both true. The solution is always shown as a graph.

Example 5.52

How to Solve a System of Linear inequalities

Solve the system by graphing.

{y2x1y<x+1{y2x1y<x+1

Try It 5.103

Solve the system by graphing. {y<3x+2y>x1{y<3x+2y>x1

Try It 5.104

Solve the system by graphing. {y<12x+3y<3x4{y<12x+3y<3x4

How To

Solve a system of linear inequalities by graphing.

  1. Step 1.
    Graph the first inequality.
    • Graph the boundary line.
    • Shade in the side of the boundary line where the inequality is true.
  2. Step 2.
    On the same grid, graph the second inequality.
    • Graph the boundary line.
    • Shade in the side of that boundary line where the inequality is true.
  3. Step 3. The solution is the region where the shading overlaps.
  4. Step 4. Check by choosing a test point.

Example 5.53

Solve the system by graphing. {xy>3y<15x+4{xy>3y<15x+4

Try It 5.105

Solve the system by graphing. {x+y2y23x1{x+y2y23x1

Try It 5.106

Solve the system by graphing. {3x2y6y>14x+5{3x2y6y>14x+5

Example 5.54

Solve the system by graphing. {x2y<5y>−4{x2y<5y>−4

Try It 5.107

Solve the system by graphing. {y3x2y<−1{y3x2y<−1

Try It 5.108

Solve the system by graphing. {x>−4x2y4{x>−4x2y4

Systems of linear inequalities where the boundary lines are parallel might have no solution. We’ll see this in Example 5.55.

Example 5.55

Solve the system by graphing. {4x+3y12y<43x+1{4x+3y12y<43x+1

Try It 5.109

Solve the system by graphing. {3x2y12y32x+1{3x2y12y32x+1

Try It 5.110

Solve the system by graphing. {x+3y>8y<13x2{x+3y>8y<13x2

Example 5.56

Solve the system by graphing. {y>12x4x2y<−4{y>12x4x2y<−4

Try It 5.111

Solve the system by graphing. {y3x+1−3x+y−4{y3x+1−3x+y−4

Try It 5.112

Solve the system by graphing. {y14x+2x+4y4{y14x+2x+4y4

Solve Applications of Systems of Inequalities

The first thing we’ll need to do to solve applications of systems of inequalities is to translate each condition into an inequality. Then we graph the system as we did above to see the region that contains the solutions. Many situations will be realistic only if both variables are positive, so their graphs will only show Quadrant I.

Example 5.57

Christy sells her photographs at a booth at a street fair. At the start of the day, she wants to have at least 25 photos to display at her booth. Each small photo she displays costs her $4 and each large photo costs her $10. She doesn’t want to spend more than $200 on photos to display.

Write a system of inequalities to model this situation.

Graph the system.

Could she display 15 small and 5 large photos?

Could she display 3 large and 22 small photos?

Try It 5.113

A trailer can carry a maximum weight of 160 pounds and a maximum volume of 15 cubic feet. A microwave oven weighs 30 pounds and has 2 cubic feet of volume, while a printer weighs 20 pounds and has 3 cubic feet of space.

Write a system of inequalities to model this situation.
Graph the system.
Could 4 microwaves and 2 printers be carried on this trailer?
Could 7 microwaves and 3 printers be carried on this trailer?

Try It 5.114

Mary needs to purchase supplies of answer sheets and pencils for a standardized test to be given to the juniors at her high school. The number of the answer sheets needed is at least 5 more than the number of pencils. The pencils cost $2 and the answer sheets cost $1. Mary’s budget for these supplies allows for a maximum cost of $400.

Write a system of inequalities to model this situation.
Graph the system.
Could Mary purchase 100 pencils and 100 answer sheets?
Could Mary purchase 150 pencils and 150 answer sheets?

Example 5.58

Omar needs to eat at least 800 calories before going to his team practice. All he wants is hamburgers and cookies, and he doesn’t want to spend more than $5. At the hamburger restaurant near his college, each hamburger has 240 calories and costs $1.40. Each cookie has 160 calories and costs $0.50.

  1. Write a system of inequalities to model this situation.
  2. Graph the system.
  3. Could he eat 3 hamburgers and 1 cookie?
  4. Could he eat 2 hamburgers and 4 cookies?

Try It 5.115

Tension needs to eat at least an extra 1,000 calories a day to prepare for running a marathon. He has only $25 to spend on the extra food he needs and will spend it on $0.75 donuts which have 360 calories each and $2 energy drinks which have 110 calories.

Write a system of inequalities that models this situation.
Graph the system.
Can he buy 8 donuts and 4 energy drinks?
Can he buy 1 donut and 3 energy drinks?

Try It 5.116

Philip’s doctor tells him he should add at least 1000 more calories per day to his usual diet. Philip wants to buy protein bars that cost $1.80 each and have 140 calories and juice that costs $1.25 per bottle and have 125 calories. He doesn’t want to spend more than $12.

Write a system of inequalities that models this situation.
Graph the system.
Can he buy 3 protein bars and 5 bottles of juice?
Can he buy 5 protein bars and 3 bottles of juice?

Media

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

Section 5.6 Exercises

Practice Makes Perfect

Determine Whether an Ordered Pair is a Solution of a System of Linear Inequalities

In the following exercises, determine whether each ordered pair is a solution to the system.

275.

{ 3 x + y > 5 2 x y 10 { 3 x + y > 5 2 x y 10

(3,−3)(3,−3) (7,1)(7,1)

276.

{ 4 x y < 10 −2 x + 2 y > −8 { 4 x y < 10 −2 x + 2 y > −8

(5,−2)(5,−2) (−1,3)(−1,3)

277.

{ y > 2 3 x 5 x + 1 2 y 4 { y > 2 3 x 5 x + 1 2 y 4

(6,−4)(6,−4) (3,0)(3,0)

278.

{ y < 3 2 x + 3 3 4 x 2 y < 5 { y < 3 2 x + 3 3 4 x 2 y < 5

(−4,−1)(−4,−1) (8,3)(8,3)

279.

{ 7 x + 2 y > 14 5 x y 8 { 7 x + 2 y > 14 5 x y 8

(2,3)(2,3) (7,−1)(7,−1)

280.

{ 6 x 5 y < 20 −2 x + 7 y > −8 { 6 x 5 y < 20 −2 x + 7 y > −8

(1,−3)(1,−3) (−4,4)(−4,4)

281.

{ 2 x + 3 y 2 4 x 6 y < −1 { 2 x + 3 y 2 4 x 6 y < −1

(32,43)(32,43) (14,76)(14,76)

282.

{ 5 x 3 y < −2 10 x + 6 y > 4 { 5 x 3 y < −2 10 x + 6 y > 4

(15,23)(15,23) (310,76)(310,76)

Solve a System of Linear Inequalities by Graphing

In the following exercises, solve each system by graphing.

283.

{ y 3 x + 2 y > x 1 { y 3 x + 2 y > x 1

284.

{ y < −2 x + 2 y x 1 { y < −2 x + 2 y x 1

285.

{ y < 2 x 1 y 1 2 x + 4 { y < 2 x 1 y 1 2 x + 4

286.

{ y 2 3 x + 2 y > 2 x 3 { y 2 3 x + 2 y > 2 x 3

287.

{ x y > 1 y < 1 4 x + 3 { x y > 1 y < 1 4 x + 3

288.

{ x + 2 y < 4 y < x 2 { x + 2 y < 4 y < x 2

289.

{ 3 x y 6 y 1 2 x { 3 x y 6 y 1 2 x

290.

{ 2 x + 4 y 8 y 3 4 x { 2 x + 4 y 8 y 3 4 x

291.

{ 2 x 5 y < 10 3 x + 4 y 12 { 2 x 5 y < 10 3 x + 4 y 12

292.

{ 3 x 2 y 6 −4 x 2 y > 8 { 3 x 2 y 6 −4 x 2 y > 8

293.

{ 2 x + 2 y > −4 x + 3 y 9 { 2 x + 2 y > −4 x + 3 y 9

294.

{ 2 x + y > −6 x + 2 y −4 { 2 x + y > −6 x + 2 y −4

295.

{ x 2 y < 3 y 1 { x 2 y < 3 y 1

296.

{ x 3 y > 4 y 1 { x 3 y > 4 y 1

297.

{ y 1 2 x 3 x 2 { y 1 2 x 3 x 2

298.

{ y 2 3 x + 5 x 3 { y 2 3 x + 5 x 3

299.

{ y 3 4 x 2 y < 2 { y 3 4 x 2 y < 2

300.

{ y 1 2 x + 3 y < 1 { y 1 2 x + 3 y < 1

301.

{ 3 x 4 y < 8 x < 1 { 3 x 4 y < 8 x < 1

302.

{ −3 x + 5 y > 10 x > −1 { −3 x + 5 y > 10 x > −1

303.

{ x 3 y 2 { x 3 y 2

304.

{ x 1 y 3 { x 1 y 3

305.

{ 2 x + 4 y > 4 y 1 2 x 2 { 2 x + 4 y > 4 y 1 2 x 2

306.

{ x 3 y 6 y > 1 3 x + 1 { x 3 y 6 y > 1 3 x + 1

307.

{ −2 x + 6 y < 0 6 y > 2 x + 4 { −2 x + 6 y < 0 6 y > 2 x + 4

308.

{ −3 x + 6 y > 12 4 y 2 x 4 { −3 x + 6 y > 12 4 y 2 x 4

309.

{ y −3 x + 2 3 x + y > 5 { y −3 x + 2 3 x + y > 5

310.

{ y 1 2 x 1 −2 x + 4 y 4 { y 1 2 x 1 −2 x + 4 y 4

311.

{ y 1 4 x 2 x + 4 y < 6 { y 1 4 x 2 x + 4 y < 6

312.

{ y 3 x 1 −3 x + y > −4 { y 3 x 1 −3 x + y > −4

313.

{ 3 y > x + 2 −2 x + 6 y > 8 { 3 y > x + 2 −2 x + 6 y > 8

314.

{ y < 3 4 x 2 −3 x + 4 y < 7 { y < 3 4 x 2 −3 x + 4 y < 7

Solve Applications of Systems of Inequalities

In the following exercises, translate to a system of inequalities and solve.

315.

Caitlyn sells her drawings at the county fair. She wants to sell at least 60 drawings and has portraits and landscapes. She sells the portraits for $15 and the landscapes for $10. She needs to sell at least $800 worth of drawings in order to earn a profit.

Write a system of inequalities to model this situation.
Graph the system.
Will she make a profit if she sells 20 portraits and 35 landscapes?
Will she make a profit if she sells 50 portraits and 20 landscapes?

316.

Jake does not want to spend more than $50 on bags of fertilizer and peat moss for his garden. Fertilizer costs $2 a bag and peat moss costs $5 a bag. Jake’s van can hold at most 20 bags.

Write a system of inequalities to model this situation.
Graph the system.
Can he buy 15 bags of fertilizer and 4 bags of peat moss?
Can he buy 10 bags of fertilizer and 10 bags of peat moss?

317.

Reiko needs to mail her Christmas cards and packages and wants to keep her mailing costs to no more than $500. The number of cards is at least 4 more than twice the number of packages. The cost of mailing a card (with pictures enclosed) is $3 and for a package the cost is $7.

Write a system of inequalities to model this situation.
Graph the system.
Can she mail 60 cards and 26 packages?
Can she mail 90 cards and 40 packages?

318.

Juan is studying for his final exams in Chemistry and Algebra. He knows he only has 24 hours to study, and it will take him at least three times as long to study for Algebra than Chemistry.

Write a system of inequalities to model this situation.
Graph the system.
Can he spend 4 hours on Chemistry and 20 hours on Algebra?
Can he spend 6 hours on Chemistry and 18 hours on Algebra?

319.

Jocelyn is pregnant and needs to eat at least 500 more calories a day than usual. When buying groceries one day with a budget of $15 for the extra food, she buys bananas that have 90 calories each and chocolate granola bars that have 150 calories each. The bananas cost $0.35 each and the granola bars cost $2.50 each.

Write a system of inequalities to model this situation.
Graph the system.
Could she buy 5 bananas and 6 granola bars?
Could she buy 3 bananas and 4 granola bars?

320.

Mark is attempting to build muscle mass and so he needs to eat at least an additional 80 grams of protein a day. A bottle of protein water costs $3.20 and a protein bar costs $1.75. The protein water supplies 27 grams of protein and the bar supplies 16 gram. If he has $ 10 dollars to spend

Write a system of inequalities to model this situation.
Graph the system.
Could he buy 3 bottles of protein water and 1 protein bar?
Could he buy no bottles of protein water and 5 protein bars?

321.

Jocelyn desires to increase both her protein consumption and caloric intake. She desires to have at least 35 more grams of protein each day and no more than an additional 200 calories daily. An ounce of cheddar cheese has 7 grams of protein and 110 calories. An ounce of parmesan cheese has 11 grams of protein and 22 calories.

Write a system of inequalities to model this situation.
Graph the system.
Could she eat 1 ounce of cheddar cheese and 3 ounces of parmesan cheese?
Could she eat 2 ounces of cheddar cheese and 1 ounce of parmesan cheese?

322.

Mark is increasing his exercise routine by running and walking at least 4 miles each day. His goal is to burn a minimum of 1,500 calories from this exercise. Walking burns 270 calories/mile and running burns 650 calories.

Write a system of inequalities to model this situation.
Graph the system.
Could he meet his goal by walking 3 miles and running 1 mile?
Could he meet his goal by walking 2 miles and running 2 mile?

Everyday Math

323.

Tickets for an American Baseball League game for 3 adults and 3 children cost less than $75, while tickets for 2 adults and 4 children cost less than $62.

Write a system of inequalities to model this problem.
Graph the system.
Could the tickets cost $20 for adults and $8 for children?
Could the tickets cost $15 for adults and $5 for children?

324.

Grandpa and Grandma are treating their family to the movies. Matinee tickets cost $4 per child and $4 per adult. Evening tickets cost $6 per child and $8 per adult. They plan on spending no more than $80 on the matinee tickets and no more than $100 on the evening tickets.

Write a system of inequalities to model this situation.
Graph the system.
Could they take 9 children and 4 adults to both shows?
Could they take 8 children and 5 adults to both shows?

Writing Exercises

325.

Graph the inequality xy3xy3. How do you know which side of the line xy=3xy=3 should be shaded?

326.

Graph the system {x+2y6y12x4{x+2y6y12x4. What does the solution mean?

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has four columsn and four rows. The columns are labeled, “I can………,” “confidently.” “with some help.” “no – I don’t get it!” The only rows filled in are under the “I can……...” column. The rows say, “determine whether an ordered pair is a solution of a system of linear inequalities.” “solve a system of linear inequalities by graphing.” and “solving applications of systmes of inequalities.”

After reviewing this checklist, what will you do to become confident for all objectives?

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/elementary-algebra/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/elementary-algebra/pages/1-introduction
Citation information

© Feb 9, 2022 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.