maths.free › Algebra › 5. Algebra › Systems of Linear Inequalities in Two Variables
Systems of Linear Inequalities in Two Variables
Demonstrate whether an ordered pair is a solution to a system of linear inequalities.
Learning Objectives
After completing this section, you should be able to:
- Demonstrate whether an ordered pair is a solution to a system of linear inequalities.
- Solve systems of linear inequalities using graphical methods.
- Graph systems of linear inequalities.
- Interpret and solve applications of linear inequalities.
Determining If an Ordered Pair Is a Solution of a System of Linear Inequalities
The definition of a system of linear inequalities is similar to the definition of a system of linear equations. 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.
\[\{\begin{array}{l}x+4y\ge 10 \\ 3x-2y<12\end{array}\]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)\) that make both inequalities true. The solution of a system of linear inequalities is shown as a shaded region in the \(\text{xy}\)-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, substitute the values of the variables into each inequality. If the ordered pair makes both inequalities true, it is a solution to the system.
Determining Whether an Ordered Pair Is a Solution to a System
Try it.
Determine whether the ordered pair is a solution to the system:
\[\{\begin{array}{l}x+4y\ge 10 \\ 3x-2y<12\end{array}\]- \((-2,4)\)
- \((3,1)\)
Solution
-
Is the ordered pair \((-2,4)\) a solution?
We substitute \(x=-2\) and \(y=4\) into both inequalities.
\[\begin{array}{lll}x+4y & \ge & 10 \\ -2+4(4) & \overset{?}{\ge } & 10 \\ 14 & \ge & 10\ \text{true}\end{array}\ \begin{array}{lll}3x-2y & < & 12 \\ 3(-2)-2(4) & \overset{?}{<} & 12 \\ -14 & < & 12\ \text{true}\end{array}\]The ordered pair \((-2,4)\) made both inequalities true. Therefore \((-2,4)\) is a solution to this system.
-
Is the ordered pair \((3,1)\) a solution?
We substitute \(x=3\) and \(y=1\) into both inequalities.
\[\begin{array}{lll}x+4y & \ge & 10 \\ 3+4(1) & \overset{?}{\ge } & 10 \\ 7 & \ge & 10\ \text{false}\end{array}\ \begin{array}{lll}3x-2y & < & 12 \\ 3(3)-2(1) & \overset{?}{<} & 12 \\ 7 & < & 12\ \text{true}\end{array}\]The ordered pair \((3,1)\) made one inequality true, but the other one false. Therefore \((3,1)\) is not a solution to this system.
Solving Systems of Linear Inequalities Using Graphical Methods
The solution to a single linear inequality was 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. We will review graphs of linear inequalities and solve the linear inequality from its graph.
Solving a System of Linear Inequalities by Graphing
Try it.
Use to solve the system of linear inequalities:
\[\{\begin{array}{l}y\ge 2x-1 \\ ySolution
To solve the system of linear inequalities we look at the graph and find the region that satisfies BOTH inequalities. To do this we pick a test point and check. Let's us pick \((-1,-1)\).
Is \((-1,-1)\) a solution to \(y\ge 2x-1?\)
\[\begin{array}{lll}-1 & \overset{?}{\ge } & 2(-1)-1 \\ -1 & \ge & -3\ \text{true}\end{array}\]
Is \((-1,-1)\) a solution to \(y
The region containing \((-1,-1)\) is the solution to the system of linear inequalities. Notice that the solution is all the points in the area shaded twice, which appears as the darkest shaded region.
Graphing Systems of Linear Inequalities
We learned that the solution to a system of two linear inequalities is a region that contains the solutions to both inequalities. To find this region by graphing, we will graph each inequality separately and then locate the region where they are both true. The solution is always shown as a graph.
Step 1: Graph the first inequality.
Graph the boundary line.
Shade in the side of the boundary line where the inequality is true.
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.
Solving a System of Linear Inequalities by Graphing
Try it.
Solve the system by graphing:
\[\{\begin{array}{l}x-y>3 \\ y<-\frac{1}{5}x+4\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)\) which makes the inequality false so shade the side that does not contain \((0,0)\).
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)\) which makes the inequality true, so shade the side that contains \((0,0)\).
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 appears as the darkest shaded region.
Graphing a System of Linear Inequalities
Try it.
Solve the system by graphing:
\[\{\begin{array}{lll}x-2y & < & 5 \\ y & > & -4\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)\), which makes the inequality true, so shade the side that contains \((0,0)\).
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)\), which makes the inequality true so shade the side that contains \((0,0)\).
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 appears as the darkest shaded region.
Graphing Parallel Boundary Lines with No Solution
Try it.
Solve the system by graphing:
\[\{\begin{array}{l}4x+3y\ge 12 \\ y<-\frac{4}{3}x+1\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)\), which makes the inequality false, so shade the side that does not contain \((0,0)\).
Graph \(y<-\frac{4}{3}x+1\) by graphing \(y=-\frac{4}{3}x+1\) using the slope \(m=-\frac{4}{3}\) and \(y\)-intercept \(b=1\) (). The boundary line will be dashed. Test \((0,0)\), which makes the inequality true, so shade the side that contains \((0,0)\).
No shared point exists in both shaded regions, so the system has no solution.
Condensed — the full section is in OpenStax Contemporary Mathematics.
Interpreting and Solving Applications of Linear Inequalities
When solving applications of systems of inequalities, first translate each condition into an inequality. Then 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 add inequalities to the system as additional requirements.
Condensed — the full section is in OpenStax Contemporary Mathematics.
Key Concepts
- To solve a system of linear inequalities means to find the area(s) where the points in that area make all the linear inequalities true.
- Systems of linear inequalities can be solved by graphing the linear equations associated with the inequalities, then 'testing' points to see whether the values of the point make the equation true or not.
Practice (7)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
Determine whether the ordered pair is a solution to the system:
\[\{\begin{array}{l}x+4y\ge 10 \\ 3x-2y<12\end{array}\]- \((-2,4)\)
- \((3,1)\)
Mutasd meg a választ!
-
Is the ordered pair \((-2,4)\) a solution?
We substitute \(x=-2\) and \(y=4\) into both inequalities.
\[\begin{array}{lll}x+4y & \ge & 10 \\ -2+4(4) & \overset{?}{\ge } & 10 \\ 14 & \ge & 10\ \text{true}\end{array}\ \begin{array}{lll}3x-2y & < & 12 \\ 3(-2)-2(4) & \overset{?}{<} & 12 \\ -14 & < & 12\ \text{true}\end{array}\]The ordered pair \((-2,4)\) made both inequalities true. Therefore \((-2,4)\) is a solution to this system.
-
Is the ordered pair \((3,1)\) a solution?
We substitute \(x=3\) and \(y=1\) into both inequalities.
\[\begin{array}{lll}x+4y & \ge & 10 \\ 3+4(1) & \overset{?}{\ge } & 10 \\ 7 & \ge & 10\ \text{false}\end{array}\ \begin{array}{lll}3x-2y & < & 12 \\ 3(3)-2(1) & \overset{?}{<} & 12 \\ 7 & < & 12\ \text{true}\end{array}\]The ordered pair \((3,1)\) made one inequality true, but the other one false. Therefore \((3,1)\) is not a solution to this system.
-
Use to solve the system of linear inequalities:
\[\{\begin{array}{l}y\ge 2x-1 \\ yMutasd meg a választ!
To solve the system of linear inequalities we look at the graph and find the region that satisfies BOTH inequalities. To do this we pick a test point and check. Let's us pick \((-1,-1)\).
Is \((-1,-1)\) a solution to \(y\ge 2x-1?\) \[\begin{array}{lll}-1 & \overset{?}{\ge } & 2(-1)-1 \\ -1 & \ge & -3\ \text{true}\end{array}\]
Is \((-1,-1)\) a solution to \(y
The region containing \((-1,-1)\) is the solution to the system of linear inequalities. Notice that the solution is all the points in the area shaded twice, which appears as the darkest shaded region.
-
Solve the system by graphing:
\[\{\begin{array}{l}x-y>3 \\ y<-\frac{1}{5}x+4\end{array}\]Mutasd meg a választ!
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)\) which makes the inequality false so shade the side that does not contain \((0,0)\).
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)\) which makes the inequality true, so shade the side that contains \((0,0)\).
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 appears as the darkest shaded region.
-
Solve the system by graphing:
\[\{\begin{array}{lll}x-2y & < & 5 \\ y & > & -4\end{array}\]Mutasd meg a választ!
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)\), which makes the inequality true, so shade the side that contains \((0,0)\).
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)\), which makes the inequality true so shade the side that contains \((0,0)\).
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 appears as the darkest shaded region.
-
Solve the system by graphing:
\[\{\begin{array}{l}4x+3y\ge 12 \\ y<-\frac{4}{3}x+1\end{array}\]Mutasd meg a választ!
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)\), which makes the inequality false, so shade the side that does not contain \((0,0)\).
Graph \(y<-\frac{4}{3}x+1\) by graphing \(y=-\frac{4}{3}x+1\) using the slope \(m=-\frac{4}{3}\) and \(y\)-intercept \(b=1\) (). The boundary line will be dashed. Test \((0,0)\), which makes the inequality true, so shade the side that contains \((0,0)\).
No shared point exists in both shaded regions, so the system has no solution.
-
Solve the system by graphing:
\[\{\begin{array}{l}y>\frac{1}{2}x-4 \\ x-2y<-4\end{array}\]Mutasd meg a választ!
Graph \(y>\frac{1}{2}x-4\) by graphing \(y=\frac{1}{2}x-4\) using the slope \(m=\frac{1}{2}\) and the \(y\)-intercept \(b=-4\) (). The boundary line will be dashed. Test \((0,0)\), which makes the inequality true, so shade the side that contains \((0,0)\).
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. Test \((0,0)\), which makes the inequality false, so shade the side that does not contain \((0,0)\).
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\).
-
A photographer sells their prints at a booth at a street fair. At the start of the day, they want to have at least 25 photos to display at their booth. Each small photo they display costs $4 and each large photo costs $10. They do not want to spend more than $200 on photos to display.
- Write a system of inequalities to model this situation.
- Graph the system.
- Could they display 10 small and 20 large photos?
- Could they display 20 large and 10 small photos?
Mutasd meg a választ!
- Let \(x=\) the number of small photos and \(y=\text{the number of large photos}\). To find the system of equations translate the information. They want to have at least 25 photos.
The number of small plus the number of large should be at least 25. \(x+y\ge 25\) $4 for each small and $10 for each large must be no more than $200 \(4x+10y\le 200\) The number of small photos must be greater than or equal to 0. \(x\ge 0\) The number of large photos must be greater than or equal to 0. \(y\ge 0\) We have our system of equations. \(\{\begin{array}{lll}x+y & \ge & 25 \\ 4x+10y & \le & 200 \\ x & \ge & 0 \\ y & \ge & 0\end{array}\) Since \(x\ge 0\) and \(y\ge 0\) (both are greater than or equal to) all solutions will be in the first quadrant. As a result, our graph shows only Quadrant I. To graph \(x+y\ge 25\), graph \(x+y=25\) as a solid line. Choose \((0,0)\) as a test point. Since it does not make the inequality true, shade the side that does not include the point \((0,0)\).
To graph \(4x+10y\le 200\), graph \(4x+10y=200\) as a solid line. Choose \((0,0)\) as a test point. Since it does make the inequality true, shade (bottom left) the side that include the point \((0,0)\).
The solution of the system is the region of that is shaded the darkest. The boundary line sections that border the darkly shaded section are included in the solution as are the points on the \(x\)-axis from \((25,0)\) to \((55,0)\).
- To determine if 10 small and 20 large photos would work, we look at the graph to see if the point \((10,20)\) is in the solution region. We could also test the point to see if it is a solution of both equations. It is not, so the photographer would not display 10 small and 20 large photos.
- To determine if 20 small and 10 large photos would work, we look at the graph to see if the point \((20,10)\) is in the solution region. We could also test the point to see if it is a solution of both equations. It is, so the photographer could choose to display 20 small and 10 large photos. Notice that we could also test the possible solutions by substituting the values into each inequality.
Symbols used here
Inequalities that allow equality; < and > exclude it.
Both signs at once: x = 3 ± 2 means 5 and 1.
The two sides are different.
The non-negative number whose square (n-th power) is x.
Distance from zero: |−3| = 3. For a complex number, distance from the origin.
i² = −1.
The exponent b must be raised to for x; ln uses base e.
Naturals, integers, rationals, reals, complex numbers.
How to: Systems of Linear Inequalities in Two Variables
- Demonstrate whether an ordered pair is a solution to a system of linear inequalities.
- Solve systems of linear inequalities using graphical methods.
- Graph systems of linear inequalities.
- Interpret and solve applications of linear inequalities.
- Write a system of inequalities to model this situation.
- Graph the system.
Questions people ask
What does it mean to solve an equation?
To find every value of the unknown that makes both sides equal. Each step is an operation applied to both sides that keeps the solution set the same, until the unknown stands alone.
Why do I sometimes get two answers?
A quadratic can cross the axis twice, so it can have two solutions. A degree-n polynomial has up to n. The graph shows where each one comes from.
How do I know whether to factor or use the quadratic formula?
Try factoring for a few seconds: look for two numbers that multiply to a·c and add to b. If nothing obvious appears, the discriminant b² − 4ac tells you how many real roots there are, and the formula finds them without guessing.
Próbáld a sajátodat.
Parts of this page are adapted from OpenStax Contemporary Mathematics (CC BY-NC-SA 4.0). Condensed and re-explained here; errors are ours.
Még több Algebra
Linear equationsQuadratic equationsSystems of equationsInequalitiesFactoringExpandingSimplifying expressionsFunctions and graphsExponential and logarithmic equationsPolynomial equationsAbsolute value