Solving a System of Linear Inequalities By Graphing
Solving 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: How to Solve a System of Linear inequalities
Solve the system by graphing.
\(\begin{array}{c}y\ge 2x-1\hfill \\ ySolution
Solve a system of linear inequalities by graphing.
- Graph the first inequality.
- Graph the boundary line.
- Shade in the side of the boundary line where the inequality is true.
- 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.
- The solution is the region where the shading overlaps.
- Check by choosing a test point.
Example
Solve the system by graphing. \(\begin{array}{c}x-y>3\hfill \\ y<-\frac{1}{5}x+4\hfill \end{array}\)
Solution
| Graph x − y > 3, by graphing x − y = 3 and testing a point. The intercepts are x = 3 and y = −3 and the boundary line will be dashed. Test (0, 0). It makes the inequality false. So, shade the side that does not contain (0, 0) red. |
| Graph \(y<-\frac{1}{5}x+4\) by graphing \(y=-\frac{1}{5}x+4\) using the slope \(m=-\frac{1}{5}\) and y−intercept b = 4. The boundary line will be dashed. Test (0, 0). It makes the inequality true, so shade the side that contains (0, 0) blue. Choose a test point in the solution and verify that it is a solution to both inequalities. |
The point of intersection of the two lines is not included as both boundary lines were dashed. The solution is the area shaded twice which is the darker-shaded region.
Example
Solve the system by graphing. \(\begin{array}{c}x-2y<5\hfill \\ y>-4\hfill \end{array}\)
Solution
| Graph \(x-2y<5\), by graphing \(x-2y=5\) and testing a point. The intercepts are x = 5 and y = −2.5 and the boundary line will be dashed. Test (0, 0). It makes the inequality true. So, shade the side that contains (0, 0) red. |
| Graph y > −4, by graphing y = −4 and recognizing that it is a horizontal line through y = −4. The boundary line will be dashed. Test (0, 0). It makes the inequality true. So, shade (blue) the side that contains (0, 0) blue. |
The point (0, 0) is in the solution and we have already found it to be a solution of each inequality. The point of intersection of the two lines is not included as both boundary lines were dashed.
The solution is the area shaded twice which is the darker-shaded region.
Systems of linear inequalities where the boundary lines are parallel might have no solution. We’ll see this in the example below.
Example
Solve the system by graphing. \(\begin{array}{c}4x+3y\ge 12\hfill \\ y<-\frac{4}{3}x+1\hfill \end{array}\)
Solution
| Graph \(4x+3y\ge 12\), by graphing \(4x+3y=12\) and testing a point. The intercepts are x = 3 and y = 4 and the boundary line will be solid. Test (0, 0). It makes the inequality false. So, shade the side that does not contain (0, 0) red. |
|
| Graph \(y<-\frac{4}{3}x+1\) by graphing \(y=-\frac{4}{3}x+1\) using the slope \(m=\frac{4}{3}\) and the y-intercept b = 1. The boundary line will be dashed. Test (0, 0). It makes the inequality true. So, shade the side that contains (0, 0) blue. |
There is no point in both shaded regions, so the system has no solution. This system has no solution.
Example
Solve the system by graphing. \(\begin{array}{c}y>\frac{1}{2}x-4\hfill \\ x-2y<-4\hfill \end{array}\)
Solution
| Graph \(y>\frac{1}{2}x-4\) by graphing \(y=\frac{1}{2}x-4\) using the slope \(m=\frac{1}{2}\) and the intercept b = −4. The boundary line will be dashed. Test (0, 0). It makes the inequality true. So, shade the side that contains (0, 0) red. |
|
| Graph \(x-2y<-4\) by graphing \(x-2y=-4\) and testing a point. The intercepts are x = −4 and y = 2 and the boundary line will be dashed. Choose a test point in the solution and verify that it is a solution to both inequalities. |
No point on the boundary lines is included in the solution as both lines are dashed.
The solution is the region that is shaded twice, which is also the solution to \(x-2y<-4\).
This lesson is part of:
Systems of Linear Equations I