Expand menu menu_open Minimize Go to startpage home Home History history History expand_more
{{ item.displayTitle }}
No history yet!
Progress & Statistics equalizer Progress expand_more
{{ filterOption.label }}
{{ item.displayTitle }}
{{ item.subject.displayTitle }}
No results
{{ searchError }}
{{ courseTrack.displayTitle }} {{ printedBook.courseTrack.name }} {{ printedBook.name }}
{{ statistics.percent }}% Sign in to view progress
search Use offline Tools apps
Digital tools Graphing calculator Geometry 3D Graphing calculator Geogebra Classic Mathleaks Calculator Codewindow
Course & Book Compare textbook Studymode Stop studymode Print course
Tutorials Video tutorials Formulary

Video tutorials

How Mathleaks works

Mathleaks Courses

How Mathleaks works

Study with a textbook

Mathleaks Courses

How to connect a textbook


Mathleaks Courses

Find textbook solutions in the app

Tools for students & teachers

Mathleaks Courses

Share statistics with a teacher


Mathleaks Courses

How to create and administrate classes


Mathleaks Courses

How to print out course materials



Formulary for text courses looks_one

Course 1


Course 2


Course 3


Course 4


Course 5

Login account_circle menu_open

Graphing Linear Inequalities


Linear Inequality

A linear inequality is an inequality involving a linear relation in one or two variables, usually xx and y.y. An example of a linear inequality is 9x+3y6. 9x+3y\leq6.

Linear inequalities are similar to linear equations, but, whereas the solutions to a linear equation are all the coordinates that lie on the line, the solution set to a linear inequality is a region containing one half of the coordinate plane.

Why does the graph of an inequality contain a region?

The solutions of a linear equation form a line in a coordinate plane. Linear inequalities, on the other hand, are sets of coordinates that create an entire region of a coordinate plane. This begs the question ``Why does the graph of an inequality contain a region?" Consider the following inequality. yx y \geq x The boundary line to the inequality is y=x.y = x. It's the line that passes through all points where xx and yy have the same value. These include (-1,-1),(\text{-}1,\text{-}1), (0,0),(0,0), (1,1),(1,1), etc.

The inequality yxy \leq x describes all the points where the yy-coordinate is less than or equal to the xx-value. For x=4,x=4, the inequality becomes y4. y \leq 4. Thus, for all points with x=4,x=4, if the corresponding yy-value is less than or equal to 4,4, the point is a solution to the inequality.

The reasoning can be applied to several xx-values. Applying it to all xx-values creates the entire region below the line y=x.y=x.

This means the area on and below the line y=xy=x contains all pairs of xx and yy that satisfy the inequality yx.y \leq x. Thus, an entire region is created.

Graphing a Linear Inequality

The method to graph a linear inequality is similar to graphing a linear equation in slope-intercept form, but instead of a line, the graph of a linear inequality is an entire region.

To graph the linear inequality 9x+3y6, 9x+3y\leq6, write the inequality in slope-intercept form, draw the boundary line, and shade the region that contains the solutions.


Write the inequality in slope-intercept form
To find the boundary line of the region, start by writing the inequality in slope-intercept form. In other words, solve for y.y.
3y-9x+63y\leq \text{-}9x+6
y-9x+63y \leq \dfrac{\text{-} 9x+6}{3}
y-9x3+63y \leq \text{-} \dfrac{9x}{3} + \dfrac{6}{3}
y-3x+2y\leq\text{-} 3x+2
Written in slope-intercept form, the inequality becomes y-3x+2. y\leq \text{-} 3x+2.


Graph the boundary line

The boundary line of the inequality is the line corresponding to the equation produced if the inequality symbol is replaced by an equals sign. In this case, this is the line y=-3x+2. y=\text{-} 3x+2. If the inequality symbol is << or >>, the boundary line is dashed. If the symbol is \leq or \geq, the line is solid. Here, the line will be solid. The boundary line can be graphed using the yy-intercept and the slope.


Test a point
The region either to the left or the right of the boundary line contains the solution set. To determine which, substitute an arbitrary test point (not on the boundary line) into the inequality to determine if it is a solution. Using (0,0)(0,0) is preferable.
y-3x+2y\leq \text{-} 3x+2
0?-30+2{\color{#009600}{0}}\stackrel{?}{\leq} \text{-} 3\cdot{\color{#0000FF}{0}} + 2
020\leq 2
Since 020 \leq 2 makes a true statement, it is a solution to the inequality.


Shade the correct region

If the test point is a solution to the inequality, the region in which it lies contains the entire solution set. If not, the other region contains the solutions. To show the set, shade the appropriate region.

Here, test point (0,0)(0,0) is a solution to the inequality.

The region containing (0,0)(0,0) lies to the left of the boundary line. Thus, this region shows the solution set of the inequality.


Is the point (4,-2)(4,\text{-}2) a solution to the inequality 2yx>6? 2y-x>6?

A point is a solution to a linear inequality if, when substituting the values of xx and y,y, a true statement is made. Here, we can substitute x=4x=4 and y=-2y=\text{-} 2 into the given inequality and simplify.
2(-2)4>?62({\color{#009600}{\text{-}2}})-{\color{#0000FF}{4}} \stackrel{?}{>} 6
-8\text{-}8 is not greater than 6,6, so (4,-2)(4,\text{-}2) is not a solution to the inequality. We can verify our answer by graphing the inequality and the point.

The point does not lie inside the shaded region, so it's not part of the solution set.

info Show solution Show solution
{{ 'mldesktop-placeholder-grade-tab' | message }}
{{ 'mldesktop-placeholder-grade' | message }} {{ article.displayTitle }}!
{{ grade.displayTitle }}
{{ exercise.headTitle }}
{{ 'ml-tooltip-premium-exercise' | message }}
{{ 'ml-tooltip-programming-exercise' | message }} {{ 'course' | message }} {{ exercise.course }}
{{ 'ml-heading-exercise' | message }} {{ focusmode.exercise.exerciseName }}
{{ 'ml-btn-previous-exercise' | message }} arrow_back {{ 'ml-btn-next-exercise' | message }} arrow_forward