Login
📚 Modeling, Functions, and Graphs
Chapters ▾

8.4 Linear Inequalities

In this section, we study linear inequalities in two variables and how they arise in applications.

Graphs of Inequalities in Two Variables

Ivana is investing in the hotel business. She has bought two hotels, and she will expand her investments when her total profit from the two hotels exceeds $ 10 , 000 . If we let x represent the profit from one hotel and let y represent the profit from the other, then Ivana will expand her investments when

x + y 10 , 000

Notice that the equation x + y = 10 , 000 is not appropriate to model our situation, since Ivana will be delighted if her profits are not exactly equal to $ 10 , 000 but actually exceed that amount.

A solution to an inequality in two variables is an ordered pair of numbers that satisfies the inequality. The graph of the inequality must show all the points whose coordinates are solutions. As an example, let us graph the inequality above, x + y 10 , 000 .

Rewrite the inequality by subtracting x from both sides to get

y x + 10 , 000

This inequality says that for each x -value, we must choose points with y -values greater than or equal to x + 10 , 000 . For example, when x = 2000 , we must choose points with y -values greater than or equal to 8000 . Solutions for several choices of x are shown in figure (a).

linear inequality in two variables

A more efficient way to find all the solutions of the inequality is to start with the graph of the corresponding equation

y = x + 10 , 000

The graph is a straight line, as illustrated in figure (b). Observe that any point above this line has a y-coordinate greater than x + 10 , 000 and hence satisfies the inequality. Thus, the graph of the inequality includes all the points on or above the line y = x + 10 , 000 , as shown by the shaded region in figure (b).

You can check that the shaded points are also solutions to the original inequality, x + y 10 , 000 . Consider the point ( 1000 ,   12 , 000 ) , which lies in the shaded region above the line. This pair does satisfy x + y 10 , 000 , because

1000 + 12 , 000 10 , 000

(Ivana will expand her investments if her first hotel loses $ 1000 and her second has a profit of $ 12 , 000 .) On the other hand, the point ( 5000 , 4000 ) does not lie in the graph of x + y 10 , 000 , because the coordinates do not satisfy the inequality.

Linear Inequalities

A linear inequality can be written in the form

a x + b y + c 0        or        a x + b y + c 0

The solutions consist of the line a x + b y + c = 0 and a half-plane on one side of that line. We shade the half-plane to show that all its points are included in the solution set. If the inequality is strict, then the graph includes only the half-plane and not the line. In that case, we use a dashed line for the graph of the equation a x + b y + c = 0 to show that it is not part of the solution.

To decide which side of the line to shade, we can solve the inequality for y in terms of x . If we obtain

y m x + b       ( or        y > m x + b )

then we shade the half-plane above the line. If the inequality is equivalent to

y m x + b       ( or        y < m x + b )

then we shade the half-plane below the line.

  1. Find one y -value that satisfies the inequality y 3 x < 6 for each of the x -values in the table.
    x 1 0 2
    y _____ __________
  2. Graph the line y 3 x = 6 . Then plot your solutions from part (a) on the same grid.
  3. Graph the solutions of the inequality y 3 x < 6 .
  1. x 1 0 2
    y 5 0 3

    (Many answers are possible.)
  2. A graph is below.
  3. See graph.

Graph for (b) and (c):

linear inequality in two variables
  1. Find one y -value that satisfies the inequality y 3 x < 6 for each of the x -values in the table.
    x 1 0 2
    y 00 00 00
  2. Graph the line y 3 x = 6 . Then plot your solutions from part (a) on the same grid.
  3. Graph the solutions of the inequality y 3 x < 6 .
  1. x 1 0 2
    y 5 0 3
  2. linear inequality in two variables
  3. See graph.

The solutions of x > 4 all lie to which side of the boundary line?

_____

To the right

The solutions of x > 4 all lie to which side of the boundary line?

  1. Above
  2. Below
  3. To the left
  4. To the right

Using a Test Point

A second method for graphing inequalities does not require us to solve for y . Once we have graphed the boundary line, we can decide which half-plane to shade by using a test point. The test point can be any point that is not on the boundary line itself.

We can choose any point for the test point as long as it does not lie on the boundary line. We chose ( 0 , 0 ) in Example because the coordinates are easy to substitute into the inequality. If the test point is a solution to the inequality, then the half-plane including that point should be shaded. If the test point is not a solution to the inequality, then the other half-plane should be shaded.

For example, suppose we had chosen ( 5 , 0 ) as the test point in Example. When we substitute its coordinates into the inequality, we find

3 ( 5 ) 2 ( 0 ) < 6

which is a false statement. This tells us that ( 5 , 0 ) is not a solution to the inequality, so the solutions must lie on the other side of the boundary line. Using ( 5 , 0 ) as the test point gives us the same solutions we found in Example.

Which point would not be a good test point for the inequality y 2 x 3 ?

_____

( 0 , 0 ) would not be a good test point because it lies on the boundary line.

Which point would not be a good test point for the inequality y 2 x 3 ?

  1. ( 0 , 0 )
  2. ( 1 , 1 )
  3. ( 2 , 3 )
  4. ( 1 , 1 )

Here is a summary of our test point method for graphing inequalities.

Graph the solutions of the inequality y > 3 2 x

  1. Graph the line y = 3 2 x . (Use the slope-intercept method.)
  2. Choose a test point. (Do not choose ( 0 , 0 ) !)
  3. Decide which side of the line to shade. _____
  4. Should the boundary line be dashed or solid? _____
  1. A graph is below.
  2. Choose any point not on the boundary line y = 3 2 x .
  3. Shade above the boundary line.
  4. Use a dashed boundary line because the inequality is strict.

Graph of inequality:

linear inequality in two variables

Graph the solutions of the inequality y > 3 2 x

  1. Graph the line y = 3 2 x . (Use the slope-intercept method.)
  2. Choose a test point. (Do not choose ( 0 , 0 ) !)
  3. Decide which side of the line to shade.
  4. Should the boundary line be dashed or solid?
linear inequality in two variables

Recall that the equation of a vertical line has the form

x = k

where k is a constant, and a horizontal line has an equation of the form

y = k

Similarly, the inequality x k may represent the inequality in two variables

x + 0 y k

Its graph is then a region in the plane.

Graph     2 y < 3     in the plane.

linear compound inequality in two variables

Graph     2 y < 3     in the plane.

linear compound inequality in two variables

Systems of Inequalities

Some applications are best described by a system of two or more inequalities. The solutions to a system of inequalities include all points that are solutions to each inequality in the system. The graph of the system is the intersection of the shaded regions for each inequality in the system. For example, the figure at right shows the solutions of the system

y > x        and        y > 2

system of two inequalities

Use the following steps to graph the solutions of the system

x + y 12 3 x 4 y 8

  1. Graph the boundary line x + y = 12 .
  2. Lightly shade the solutions of the inequality x + y 12 .
  3. Graph the boundary line 3 x 4 y = 8 .
  4. Lightly shade the solutions of 3 x 4 y 8 .
  5. Shade the intersection of the two solutions sets.
linear system of inequalities in two variables

Use the following steps to graph the solutions of the system

x + y 12 3 x 4 y 8

  1. Graph the boundary line x + y = 12 .
  2. Lightly shade the solutions of the inequality x + y 12 .
  3. Graph the boundary line 3 x 4 y = 8 .
  4. Lightly shade the solutions of 3 x 4 y 8 .
  5. Shade the intersection of the two solutions sets.
linear system of inequalities in two variables

Why do we shade the intersection of the solution sets when solving a system of inequalities?

_____

Why do we shade the intersection of the solution sets when solving a system of inequalities?

To describe the solutions of a system of inequalities, it is useful to locate the vertices, or corner points, of the boundary.

The first quadrant includes all the solutions of

_____

x > 0 , y > 0

The first quadrant includes all the solutions of

  1. x + y > 0
  2. x y > 0
  3. x y > 0
  4. x > 0 , y > 0
  1. Graph the system of inequalities

    5 x + 4 y < 40 3 x + 4 y < 12 x < 6 , 00 y > 2

  2. Find the coordinates of the vertices of the solution set.
    _____ Separate different ordered pairs with a comma.
  1. See graph below.
  2. A ( 4 3 , 2 ) , B ( 7 2 , 45 8 ) , C ( 6 , 5 2 ) , D ( 6 , 2 )
system of linear inequalities in two variables
  1. Graph the system of inequalities

    5 x + 4 y < 40 3 x + 4 y < 12 x < 6 , 00 y > 2

  2. Find the coordinates of the vertices of the solution set.
  1. system of linear inequalities in two variables
  2. A ( 4 3 , 2 ) , B ( 7 2 , 45 8 ) , C ( 6 , 5 2 ) , D ( 6 , 2 )

To find the vertices of the solution set for a system of inequalities, we

_____

solve a system of equations.

To find the vertices of the solution set for a system of inequalities, we

  1. use a test point.
  2. use the vertex formula.
  3. solve a system of equations.
  4. find the x -intercepts.

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Half-plane
  • Test point
  • Vertices

CONCEPTS

  1. The solutions of a linear inequality in two variables consist of a half-plane on one side of the line. The line itself is not included if the inequality is strict.
  2. Once we have graphed the boundary line, we can decide which half-plane to shade by using a test point.
  3. The solutions to a system of inequalities include all points that are solutions to each inequality in the system. The graph of the system is the intersection of the shaded regions for each inequality in the system.
  4. To describe the solutions of a system of inequalities, it is useful to locate the vertices, or corner points, of the boundary.

STUDY QUESTIONS

  1. The solutions of a linear inequality in two variables form what sort of set?
  2. How can you find the boundary of the solution set?
  3. If your test point is not a solution of the inequality, which side of the line should you shade?
  4. How can you find the vertices of the solution set of a system of inequalities?

SKILLS

Practice each skill in the Homework problems listed.

  1. Graph the solutions of a linear inequality in two variables: #1–16
  2. Graph the solutions of a system of inequalities: #17–36
  3. Solve problems using inequalities: #37–42

Homework 8.4

For Problems 1–16, graph the inequality.

y > 2 x + 4

linear inequality in two variables

y < 9 3 x

3 x 2 y 12

linear inequality in two variables

2 x + 5 y 10

x + 4 y 6

linear inequality in two variables

3 x y 2

x > 3 y + 1

linear inequality in two variables

x > 2 y 5

x 3

linear inequality in two variables

y < 4

y < 1 2 x

linear inequality in two variables

y > 4 3 x

0 x y

linear inequality in two variables

0 x + 3 y

1 < y 4

linear inequality in two variables

2 y < 0

For Problems 17–6, graph the system of inequalities.

y > 2 x 2

system of inequalities

y 1 x > 2

y < x y 3

system of inequalities

y x y < 2

x + y 6 x + y 4

system of inequalities

x y < 3 x y > 2

2 x y 4 x + 2 y > 6

system of inequalities

2 y x < 2 x + y 4

3 y 2 x < 2 y > x 1

system of inequalities

2 x + y < 4 y 1 x

For Problems 27–36, graph the system of inequalities and find the coordinates of the vertices.

2 x + 3 y 6 < 0 x 0 ,   y 0

system of inequalities, with vertices

3 x + 2 y < 6 x 0 ,   y 0

5 y 3 x 15 x + y 11 x 0 ,   y 0

system of inequalities, with vertices

y 2 x 4 x + y 5 x 0 ,   y 0

2 y x 0000 2 x y + 12 x 0 ,   y 0

system of inequalities, with vertices

y 3 x 0000 2 y + x 14 x 0 ,   y 0

x + y 3 000 2 y x + 8 00 2 y + 3 x 24 x 0 ,   y 0

system of inequalities, with vertices

2 y + 3 x 6 2 y + x 10 y 3 x 9 x 0 ,   y 0

3 y x 3 00 y 4 x 10 y 2 x 000 x 0 ,   y 0

system of inequalities, with vertices

2 y + x 6 4 y 2 x + 8 x 4 y + 4   x 0 ,   y 0

For Problems 37–42, graph the set of solutions to the problem. Two of the inequalities in each system are x 0 and y 0 .

The math club is selling tickets for a show by a mathemagician. Student tickets will cost $ 1 and faculty tickets will cost $ 2 . The ticket receipts must be at least $ 250 to cover the fee for the performer. Write a system of three inequalities for the number of student tickets and the number of faculty tickets that must be sold, and graph the solutions.

system of inequalities

The math department is having a book sale of old textbooks to raise at least $ 300 for scholarships. Paperback textbooks will cost $ 2 and the hardcover textbooks will cost $ 5 . Write a system of three inequalities for the number of paperback and hardback textbooks that must be sold, and graph the solutions.

Vassilis plans to invest at most $ 10 , 000 in two banks. One bank pays 6 % annual interest and the other pays 5 % annual interest. Vassilis wants at least $ 540 total annual interest from his two investments. Write a system of four inequalities for the amount Vassilis can invest in the two accounts, and graph the system.

system of inequalities

Jeannette has 180 acres of farmland for growing wheat or soy. She can get a profit of $ 36 per acre for wheat and $ 24 per acre for soy. She wants to have a profit of at least $ 5400 from her crops. Write a system of four inequalities for the number of acres she can use for each crop, and graph the solutions.

Gary's pancake recipe includes corn meal and whole wheat flour. Corn meal has 2.4 grams of linoleic acid and 2.5 milligrams of niacin per cup. Whole wheat flour has 0.8 gram of linoleic acid and 5 milligrams of niacin per cup. These two ingredients should not exceed 3 cups total. The mixture should provide at least 3.2 grams of linoleic acid and at least 10 milligrams of niacin. Write a system of five inequalities for the amount of corn meal and the amount of whole wheat flour Gary can use, then graph the solutions.

system of inequalities

Cho and his brother go into business making comic book costumes. They need 1 hour of cutting and 2 hours of sewing to make a Batman costume. They need 2 hours of cutting and 1 hour of sewing to make a Wonder Woman costume. They have available at most 10 hours per day for cutting and at most 8 hours per day for sewing. They must make at least one costume each day to stay in business. Write a system of five inequalities for the number of each type of costume Cho can make, then graph the solutions.

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.