In this explainer, we will learn how to solve systems of linear inequalities by graphing them and identify the regions representing the solution.

A system of inequalities (represented by , and ) is a set of two or more linear inequalities in several variables and they are used when a problem requires a range of solutions and there is more than one constraint on those solutions.

In a graph representing a system of inequalities, shading above means *greater than*
while shading below means *less than*. In addition, we should also take the boundary of
the region into account, where a solid line means *equal to*, while a dashed line
means *not equal to*.

Inequalities of the form or will be represented as a vertical dashed line at (parallel to the -axis) since the line itself is not included in the region representing the inequality, and the shaded region will be either on the right, for , or on the left, for . The same would apply for or , except that now, the region would also include the line , which would be represented by a solid line, but the direction of shading would be the same.

Similarly, inequalities of the form or will be represented as a horizontal dashed line at (parallel to the -axis) since the line itself is not included in the region representing the inequality, and the shaded region will be either above, for , or below, for , the line . The same would apply for or , except that now, the region would also include the line , which would be represented by a solid line, but the direction of shading would be the same.

For example, consider the inequalities and represented on a graph:

The inequality is a solid line at , since we have ; hence, the line itself is included in the region and the shaded region is on the right of the line, representing all values of greater than 3. If we had , we would have the same thing, except that the line at would be dashed as it would not itself be included in the region. For or , the shading would be on the left, representing all numbers less than 3, and the line would be solid or dashed respectively, depending on whether the line is included in the region.

The inequality is represented as a dashed line at , since we have ; hence, the line itself is not included in the region and the shaded region is below the line, representing all values of less than 5. If we had , we would have the same thing, except that the line at would be solid as it would itself be included in the region. For or , the shading would be above, representing all numbers greater than 5, and the line would be solid or dashed respectively, depending on whether the line is included in the region.

The intersection of the regions of each of the inequalities in a system is where the set of solutions lie, as this region satisfies every inequality in the system. We only include the values at the edges of intersections of the region if there is a solid line on both, as all inequalities need to be satisfied and a strict inequality, represented by a dashed line, excludes it from the solution set. For the example above, the two lines intersect at the point , but this is excluded from the solution set since it does not satisfy the strict inequality .

The first quadrant can be represented by nonnegative values of and and, hence, the region where and . Let’s consider an example, to see how this is visually interpreted from a graph.

### Example 1: Determining the System of Inequalities Represented by a Given Graph

State the system of inequalities whose solution is represented by the following graph.

### Answer

The shaded area represents all nonnegative values of and , which can be translated to the inequalities

In order to see this, let’s consider each inequality separately and see where they overlap. , which is all nonnegative values of including the -axis, is shaded in the first and fourth quadrants.

Similarly, , which is all nonnegative values of including the -axis, is shaded in the first and second quadrants.

The region where both inequalities overlap is in the first quadrant, represented by where the shaded regions of each inequality overlap.

The overlapping region is exactly the solution represented by the graph given.

We may have multiple inequalities of this form, bounding the values from above and/or below. For example, if we had the system of inequalities where the second inequality is all the values of between and 7, which can also be written seperately as and . This system of inequalities can be represented as follows:

Now, there is a solid line at but a dashed line at , which shows that is included in the region, while is not, as shown in blue in the plot above. Again, the set of solutions for the system of inequalities is where the shaded regions of the inequalities intersect.

There are four points of intersection at , , , and at the edge of the regions. However, only the point is included in the solution set, since the other points do not satisfy the strict inequalities.

We can also have inequalities with the equation of a line. For example, an inequality of the form is presented by a solid line, where the shaded region will be above the straight line , whereas the inequality has the same shaded region but the boundary is presented by a dashed line. Similarly, the same would apply for or , except that the shaded region would be below the straight line. For example, the region for , which is equivalent to in the form above, would be as follows:

Meanwhile, the region for or would be shaded below with a solid line. If there are multiple inequalities (i.e., a system of inequalities), then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities.

Let’s consider an example where we state the system of inequalities represented by a given graph.

### Example 2: Determining the System of Inequalities Represented by a Given Graph

State the system of inequalities whose solution is represented by the following graph.

### Answer

Recall that, in a graph representing a system of inequalities, shading above or
to the right means *greater than*, while shading below or to the left means
*less than* a particular line defined by , ,
or the general line . In addition, we should also take the boundary
of the region into account, where a solid line means *equal to*, while a
dashed line means *not equal to*.

If there is a system of inequalities, then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities in the system. We only include the edges of intersections of all the inequalities in the solution set if we have a solid line for both lines, as all inequalities need to be satisfied and a strict inequality, represented by a dashed line, on either or both sides would exclude it from the solution set.

The shaded region is in the first quadrant for all nonnegative values of and , which can be translated as the inequalities

The vertical lines parallel to the -axis are and . Since the boundary on the left of the red region, at , is represented by a solid line and the boundary on the right of the red region, at , is represented by a dashed line, we have the inequalities and , which is equivalent to

Similarly, the horizontal lines parallel to the -axis are and . Since the lines on both sides of the blue region are solid, we have the inequalities and , which is equivalent to

The equation of the line that passes through the points and is given by , which is a solid line on the graph. Since the shaded region, in yellow, is below this line, we have the inequality which can be rearranged as

Thus, the system of inequalities represented by the graph is

Now, let’s consider another system of inequalities that includes the equation of a line. Consider the system of inequalities

The inequality is shown by a dashed line at and a shaded region (in red) on the right, and the inequality is shown by a solid line at and a shaded region (in blue) below. Finally, the inequality is shown by a solid line with the equation and a shaded region below (in green).

The shaded regions where they all intersect are where all of the inequalities in the system are satisfied; all the solutions can be found in that region.

Let’s consider an example where we determine an inequality of this type from a given graph and the shaded region that represents the solution set.

### Example 3: Determining the Inequality Represented by a Given Graph

Fill in the blank: The shaded area represents the solution set of the inequalities , , and .

### Answer

The equation of the line that passes through and is given by . Since the shaded region lies below this line, this represents the region , which is equivalent to the inequality

This is option B.

Now, let’s look at a few examples to practice and deepen our understanding to solve systems of linear inequalities by graphing them and identify the regions representing the solution.

The first few examples involve determining the system of inequalities from the region represented on a graph. The next example involves a region bounded by two straight lines.

### Example 4: Determining the System of Inequalities Represented by a Given Graph

State the system of inequalities whose solution is represented by the following graph.

### Answer

Recall that, in a graph representing a system of inequalities, shading above
means *greater than*, while shading below means *less than* a general line
defined by . In addition, we should also take the
boundary of the region into account, where a solid line means *equal to*,
while a dashed line means *not equal to*.

If there is a system of inequalities, then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities in the system. We only include the edges of intersections of all the inequalities in the solution set if we have a solid line on both lines, as all inequalities need to be satisfied and a strict inequality, represented by a dashed line, on either or both sides would exclude it from the solution set.

The equation of the line that passes through the points and is , which is a solid line on the graph. Since the shaded region, in yellow, is above this line, we have the inequality

Similarly, the equation of the line that passes through the points and is , which is a dashed line on the graph. Since the shaded region, in red, is above this line, we have the inequality

Thus, the system of inequalities represented in the graph is given by

In the next example, we will determine the system of inequalities that describes a region in a graph bounded by three straight lines.

### Example 5: Writing a System of Inequalities That Describes a Region in a Graph

Find the system of inequalities that forms the triangle shown in the graph.

### Answer

Recall that, in a graph representing a system of inequalities, shading above means
*greater than*, while shading below means *less than* a general line defined by
. In addition, we should also take the
boundary of the region into account, where a solid line means *equal to*, while a
dashed line means *not equal to*.

If there is a system of inequalities, then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities in the system. We only include the edges of intersections of all the inequalities in the solution set if we have a solid line on both lines, as all inequalities need to be satisfied and a strict inequality, represented by a dashed line, on either or both sides would exclude it from the solution set.

The equation of the line that passes through the origin and intersects the other lines at and is , which is a solid line on the graph. Since the shaded region is above this line, we have the inequality

Similarly, the equation of the line with a positive gradient that intersects the other lines at and is , which is a dashed line on the graph. Since the shaded region is below this line, we have the inequality

Finally, the equation of the line with a negative gradient that intersects the other lines at and is , which is a solid line on the graph. Since the shaded region is below this line, we have the inequality

Thus, the system of inequalities represented by the graph is

Now, let’s look at a few examples where we identity particular regions shown on a graph from a given system of inequalities instead of determining them from the graph. In the next example, we will identify the region that represents the solution to a single inequality.

### Example 6: Identifying Regions That Represent the Solutions to a System of Inequalities

Which of the regions on the graph contain the solutions to the inequality ?

### Answer

Recall that, in a graph representing a system of inequalities, shading above means
*greater than*, while shading below means *less than* a general line defined by
. In addition, we should also take the boundary of
the region into account, where a solid line means *equal to*, while a dashed
line means *not equal to*.

If there is a system of inequalities, then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities in the system. We only include the edges of intersections of all the inequalities in the solution set if we have a solid line on both lines, as all inequalities need to be satisfied and a strict inequality, represented by a dashed line, on either or both sides would exclude it from the solution set.

In the graph, there are three distinct lines on the boundaries of the regions shown. Two of the lines are dashed, while one is solid. There are two lines with a positive gradient, one of which passes through the origin, and a third one with a negative gradient.

The inequality can be represented by a solid line, since the boundary of the region, , is included in the region and the shaded area will be the region above the line due to the inequality . This is the solid line that passes through the points and with a positive gradient, as shown on the graph.

Thus, the regions on the graph that contain solutions to the inequality are A, B, C, and D.

Now, let’s consider an example where we identify the regions that represent solutions to a system of inequalities, this time defined by two straight lines.

### Example 7: Identifying Regions That Represent the Solutions to a System of Inequalities

Which regions on the graph contain solutions that satisfy both of the inequalities

### Answer

*greater than*, while shading below means *less than* a general line
defined by . In addition, we should also take
the boundary of the region into account, where a solid line means *equal to*,
while a dashed line means *not equal to*.

The inequality can be represented by a dashed line, since the boundary of the region, , is not included in the region and the shaded area will be the region below the line due to the inequality . This is the dashed line that passes through the origin with a positive gradient.

Similarly, the inequality can be represented by a solid line, since the boundary of the region, , is included in the region and the shaded area will be the region above the line due to the inequality . This is the solid line that passes through the points and , as shown on the graph.

Thus, the regions on the graph that contain solutions to the system of inequalities and are C and D.

Finally, let’s consider an example where we identify the region that represents the solutions to a system of inequalities represented by three inequalities.

### Example 8: Identifying Regions That Represent the Solutions to a System of Inequalities

Which region on the graph contains solutions to the set of inequalities

### Answer

Recall that, in a graph representing a system of inequalities, shading above or
to the right means *greater than*, while shading below or to the left means
*less than* a particular line defined by ,
, or the general line . In addition, we should also take the boundary of the region into account,
where a solid line means *equal to*, while a dashed line means *not equal to*.

The inequality can be represented by a dashed line, since the boundary of the region, , is not included in the region and the shaded area will be the region above the line due to the inequality . This is the dashed line parallel to the -axis, as shown on the graph.

Similarly, the inequality can be represented by a solid line, since the boundary of the region, , is included in the region and the shaded area will be the region above the line due to the inequality . This is the solid line that passes through the origin with a negative gradient.

Finally, the inequality can be represented by a dashed line, since the boundary of the region, , is not included in the region and the shaded area will be the region below the line due to the inequality . This is the dashed line parallel to the -axis, as shown on the graph.

The region that satisfies all of the inequalities will be the intersection of all the shaded regions of the individual inequalities.

Thus, the region on the graph that contain solutions to the system of inequalities is D.

### Key Points

- Shading to the right means
*greater than*, while shading to the left means*less than*a particular line parallel to the -axis defined by . - Shading above means
*greater than*, while shading below means*less than*a particular line parallel to the -axis defined by . - Shading above means
*greater than*, while shading below means*less than*the general line defined by . - The line itself is not included in the shaded region if we have a strict inequality.
- If there is a system of inequalities, then the possible solutions will lie inside the intersection of the shaded regions for all the inequalities in the system.
- In addition, we should also take the boundary of the region into account,
where a solid line means
*equal to*, while a dashed line means*not equal to*. - The intersection of the boundaries is included in the solution set only if both lines are solid (i.e., they contain no strict inequalities).