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

4.7 Graphing Systems of Linear Inequalities

Intermediate Algebra4.7 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 4.7

Before you get started, take this readiness quiz.

  1. Solve the inequality 2a<5a+12.2a<5a+12.
    If you missed this problem, review Example 2.52.
  2. Determine whether the ordered pair (3,12)(3,12) is a solution to the system y>2x+3.y>2x+3.
    If you missed this problem, review Example 3.34.

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 here.

{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 4.53

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

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

Try It 4.105

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 4.106

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 4.54

How to Solve a System of Linear Inequalities by Graphing

Solve the system by graphing: {y2x1y<x+1.{y2x1y<x+1.

Try It 4.107

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

Try It 4.108

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 4.55

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

Try It 4.109

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

Try It 4.110

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

Example 4.56

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

Try It 4.111

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

Try It 4.112

Solve the system by graphing: {x>−4x2y−4.{x>−4x2y−4.

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

Example 4.57

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

Try It 4.113

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

Try It 4.114

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

Some systems of linear inequalities where the boundary lines are parallel will have a solution. We’ll see this in the next example.

Example 4.58

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

Try It 4.115

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

Try It 4.116

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 we add inequalities to the system as additional requirements.

Example 4.59

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 10 small and 20 large photos?
Could she display 20 large and 10 small photos?

Try It 4.117

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 4.118

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?

When we use variables other than x and y to define an unknown quantity, we must change the names of the axes of the graph as well.

Example 4.60

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.

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

Try It 4.119

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 and satisfy his caloric needs?
Can he buy 1 donut and 3 energy drinks and satisfy his caloric needs?

Try It 4.120

Philip’s doctor tells him he should add at least 1,000 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 solving systems of linear inequalities by graphing.

Section 4.7 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.

280.

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

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

281.

{ 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)

282.

{ 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)

283.

{ 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)

284.

{ 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)

285.

{ 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)

Solve a System of Linear Inequalities by Graphing

In the following exercises, solve each system by graphing.

286.

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

287.

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

288.

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

289.

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

290.

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

291.

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

292.

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

293.

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

294.

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

295.

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

296.

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

297.

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

298.

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

299.

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

300.

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

301.

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

302.

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

303.

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

304.

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

305.

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

306.

{ x 3 y 2 { x 3 y 2

307.

{ x −1 y 3 { x −1 y 3

308.

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

309.

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

310.

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

311.

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

312.

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

313.

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

314.

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

315.

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

316.

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

317.

{ 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.

318.

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?

319.

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?

320.

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?

321.

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?

322.

Jocelyn is pregnant and so she 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?

323.

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?

324.

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?

325.

Mark is increasing his exercise routine by running and walking at least 4 miles each day. His goal is to burn a minimum of 1500 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 his goal by walking 2 miles and running 2 mile

Writing Exercises

326.

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

327.

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.

The figure shows a table with four columns and four rows. The first row is the title row. The four titles are I can…, confidently, with some help and No – I don’t get it! In the second row of the first column, the text says ‘determine whether an ordered pair is a solution of a system of linear inequalities.’ In the third row of the first column, the text says ‘solve applications of systems of inequalities.’

What does this checklist tell you about your mastery of this section? What steps will you take to improve?

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/intermediate-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/intermediate-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.