# 4.1 Linear Inequalities in Two Variables

A linear **equation** in two variables is an equation like , which is sometimes written without function notation as . Recall that the graph of this equation is a line, formed by all the points that satisfy the equation.

A linear **inequality** in two variables is similar, but involves an inequality. Some examples:

Linear inequalities can also be written with both variables on the same side of the equation, like

The solution set to a linear inequality will be all the points that satisfy the inequality. Notice that the line divides the coordinate plane into two halves; on one half , and on the other . The solution set to a linear inequality will be a half-plane, and to show the solution set we shade part of the coordinate plane where the points lie in the solution set.

To Graph the Solution to a Linear Inequality

- If necessary, rewrite the linear inequality into a form convenient for graphing, like slope-intercept form.
- Graph the corresponding linear equation.
- For a strict inequality (< or >), draw a dashed line to show that the points on the line are not part of the solution
- For an inequality that includes the equal sign ( or ), draw a solid line to show that the points on the line are part of the solution.

- Choose a test point, not on the line. (0,0) or (0,1) are the easiest!
- Substitute the test point into the inequality
- If the inequality is true at the test point, shade the half plane on the side including the test point
- If the inequality is not true at the test point, shade the half plane on the side that doesn’t include the test point.

Example of Graphing the Solutions of a Linear Inequalities

**a. Graph the solution to**

Since this is a strict inequality, we will graph as a dashed line.

Now we choose a test point not on the line, like (0,0).

Substituting (0,0) into the inequality, we get

This is a true statement, so we will shade the side of the plane that includes (0,0).

**b. Graph the solution to**

This is not written in a form we are used to using for graphing, so we might solve it for first.

Since this inequality includes the equals sign, we will graph as a solid line.

Now we choose a test point not on the line. (0,0) is a convenient choice. Substituting (0,0) in the inequality, we get

NO!

Since this is a false statement, we shade the half of the plane that does not include (0,0).

Try it Now 1

Graph the solution to

Example of Applications of Linear Equalities

A store sells peanuts for $4/pound and cashews for $8/pound, and plans to sell a new mixed-nut blend in a jar. What combinations of peanuts and cashews are possible, if they want the mix to cost $6 or less?

We start by defining our variables:

: The number of pounds of peanuts in 1 pound of mix

: The number of pounds of peanuts in 1 pound of mix

The cost of one pound of mix will be , so all the mixes costing $6 or less will satisfy the inequality .

We can graph the equation fairly easily by finding the intercepts:

When ,

Which means we have a point is on the line.

When

So we have the point

Notice the test point (0,0) will satisfy the inequality, so we will shade the side of the line including the origin. Because of the context , only values in the first quadrant are reasonable. The graph shows all the possible combinations the store could use, including 1 pound of peanuts with 1/4 pound of cashews, or 1/2 a pound of each.

**Systems of Linear Inequalities**

In the systems of equations chapter, we looked for solutions to a system of linear equations – a point that would satisfy all the equations in the system. Likewise, we can consider a system of linear inequalities. The solution to a system of linear inequalities is the set of points that satisfy all the inequalities in the system.

With a single linear inequality, we can show the solution set graphically. Likewise, with a system of linear inequalities we show the solution set graphically. We find it by looking for where the regions indicated by the individual linear inequalities overlap.

Example of a System of Linear Inequalities

**Graph the solution to the system of linear inequalities**

We can look at graphs of each of the inequalities, but the best way is to graph the solution sets on the same axes reveals the solution to the system of inequalities as the region where the two overlap. You can erase the parts that are only covered once to show the solution set.

With technology, there are some calculators that will graph linear inequalities. Desmos can do this if you type in the or . For systems you can actually put them on the same line with the second one in brackets and it will graph just the solution set of the system. For the example above this is {}.

Try it Now 2

Graph the solution to the system of linear inequalities

The following question is similar to a problem we solved using systems in the systems chapter.

Example of an Application of Systems of Inequalities

**A company produces a basic and premium version of its product. The basic version requires 20 minutes of assembly and 15 minutes of painting. The premium version requires 30 minutes of assembly and 30 minutes of painting. If the company has staffing for 3,900 minutes of assembly and 3,300 minutes of painting each week. How many items can then produce within the limits of their staffing?**

Notice this problem is different than the question we asked in the first section, since we are no longer concerned about fully utilizing staffing, we are only interested in what is possible. As before, we’ll define *b*: The number of basic products made, *p*: The number of premium products made.

Just as we created equations in the first section, we can now create inequalities, since we know the hours used in production needs to be less than or equal to the hours available. This leads to two inequalities:

Graphing these inequalities gives us the solution set.

Since it isn’t reasonable to consider negative numbers of items, we can further restrict the solutions to the first quadrant. This could also be represented by adding the inequalities .

In the solution set we can see the solution to the system of equations we solved in the previous section: 120 basic products and 50 premium products. The solution set shows that if the company is willing to not fully utilize the staffing, there are many other possible combinations of products they could produce.

The techniques we used above are key to a branch of mathematics called linear programming, which is used extensively in business. We will explore linear programming further in the next section.

Try it Now Answers

### Media Attributions

- inequalityegstep1
- inequalityegstep2_LI
- inequalityeq2step1_LI
- inequalityeq2step2
- ineqexampapp
- ineqsystemeg
- tinanswer411
- tinanswer412