Online Calculators since 2009
Tutorial ID | Title | Tutorial | Video Tutorial | Revision Notes | Revision Questions | |
---|---|---|---|---|---|---|
10.3 | Graphing Inequalities |
In this Math tutorial, you will learn:
In the previous tutorials on this chapter, we dealt extensively with inequalities - both linear and quadratic. We explained a number of methods to solve them, where it became clear that inequalities have more solutions than equations. As such, it would be appropriate to show inequalities in a graph, to have easier access to the solutions, as we did in the previous chapter with linear equations.
Let's begin to explain how to graph the inequalities with the simplest type of inequalities - the first order inequalities with one variable. We learned in tutorial 10.1 that we have four possible inequalities of this type:
and
where a and b are numbers and x is the variable.
Again, we will use the first-order equation with one variable
as a boundary line for the corresponding linear inequalities with one variable deriving from it (the four ones shown above).
From the previous tutorials, it is clear that the graph of a first-order equation with one variable represents a vertical line, as the graph concerns only the position of the coordinate x in a number line. Hence, when we represent graphically this type of equation on a XY coordinate system, it shows a vertical line because the y-coordinate does not matter. Look at the graph below.
The graph shows the equation 4x - 5 = 0, where a = 4 and b = -5. From theory, we know that such equations have a general solution given by
In the specific case, this solution is equal to
as shown in the graph.
Now, let's explain what we obtain when the solutions of the four inequalities deriving from the above equation are required. Thus, if we want to graph the inequality
First, we must isolate the variable x. Thus, taking the coefficient a as positive to avoid changes in the inequality sign, yields
In our example, we have
This means all solutions of this inequality extend to the right of the above value, as shown in the figure.
In this way, it is obvious that the solution set of the inequality
extends to the right of the vertical line
In the figure above, this solution set is shown by the coloured zone that extends on the right of the line x = 1.25.
The dashed line shows that the value x = 1.5 does not belong to the solution set of this inequality, as implied from the sign " > " of the original inequality, which excludes the boundary value as a solution. Hence, we obtain the following rule for this type of inequality:
In linear inequalities of the form ax + b > 0, the solution set represents all values to the right of the boundary value x = -b/a, without including it.
If the original inequality was
instead, i.e. if the solution set was
the solution set would also include the vertical line (the boundary line) that shows the equation 4x - 5 = 0 (i.e. x = 1.25). In this case, the boundary line is not dashed but solid instead, as shown below.
In this way, we reach the following conclusion about the linear inequality with one variable
In linear inequalities of the form ax + b ≥ 0, the solution set represents all values to the right of the boundary value x = -b/a, including it.
Now, let's see what happens if we have to solve graphically the linear inequality with one variable
The general solution for this inequality is
which includes all values on the left of the point
without including it. Therefore, the boundary line x = -b/a is dashed when shown graphically. For example, in the first-order inequality with one variable
the solution set includes all values that are smaller than 3.5 (x < 3.5), as
When shown graphically, this solution set includes all values on the left of x = 3.5, and the corresponding boundary line is dashed, as the value 3.5 does not belong to the solution set of the original inequality. Look at the figure.
In this way, we obtain the following rule for such inequalities:
In linear inequalities of the form ax + b < 0, the solution set represents all values to the left of the boundary value x = -b/a, without including it.
Last, if we have to solve graphically the linear inequality with one variable
the solution set contains all values on the left of the boundary value x = -b/a including this one, as there is the combined inequality sign " ≤ " involved, which means the original inequality must be less than or equal to zero. For example, the solution set of the inequality
includes all values from 3.5 to its left. Therefore the boundary value x = 3.5 is shown by a solid vertical line when solving graphically this inequality. Look at the figure.
Hence, we obtain the following general rule for this case:
In linear inequalities of the form ax + b ≤ 0, the solution set represents all values to the left of the boundary value x = -b/a, including it.
Solve graphically the following inequalities and make the proof by taking one value of the variable from the solution set and another value outside the solution set.
When the variable is not denoted by x but by y, the graph will be horizontal. All the above rules are true except the orientation. Thus, if y > -b/a, the solution set includes the part above the graph without the graph line; if y < -b/a, the solution set includes the part below the graph without the graph line; if y ≥ -b/a, the solution set includes the part above the graph including the graph line as well; and if y ≤ -b/a, the solution set includes the part below the graph as well as the graph line.
For example, the graph of the linear inequality with one variable 4y - 12 ≥ 0 includes the zone above the line y = 3 and the line itself, as a = 4 and b = -12. Thus, since y ≥ -b/a, we have y ≥ - (-12)/4, i.e. y ≥ 3, as shown in the figure below.
From the theory explained in the previous tutorials, it is known that linear inequalities in two variables contain two variables at the first power. Their general form is one of the following
where a and b are coefficients, while c is a constant.
All of them derive from the corresponding linear equation with one variable
an equation which has a linear graph (hence the name "linear"). The slope of this graph (otherwise known as the "gradient") is obtained by the formula
As we know, another form of writing a linear equation with one variable is to isolate the variable y and write it in terms of the other variable x in the form
where m here represents the gradient k, while n is obtained by the formula
It is better to have the linear inequalities written based on the second form of the corresponding linear equation y = mx + n, as this form allows us to better locate the position of the solution set for that inequality. In this way, we obtain the following four possible linear inequalities with two variables:
Thus, if we have the first linear inequality y > mx + n, the solution set includes all values (the zone) above the graph without the graph line, while in the second inequality y < mx + n the solution set includes all values (the zone) below the graph without the graph line.
On the other hand, the solution set of the third inequality y ≥ mx + n includes all values above the graph as well as those on the graph line, while the solution set of the fourth inequality y ≤ mx + n includes all values below the graph including those of the graph itself.
Let's consider an example to clarify this point.
Find graphically the solution set of the linear inequality
Sometimes, we have the graph of a linear inequality given but not the inequality shown by that graph. To find the standard form of that inequality, we must first find the corresponding linear equation representing the boundary line of the inequality. For this, we need the coordinates of two known points A and B of the graph to calculate the gradient k by applying the formula
Then, using the equation of the line
we can find the constant n by substituting the coordinates of any from the known points.
Finally, looking at the highlighted region on the graph, you can determine the standard form of the given inequality.
What inequality is shown in the graph below?
Let's consider two known points A(0, 1) and B(1, 3) as shown in the figure.
The gradient k is
Hence, in the line
We substitute for example the coordinates of point A (x = 0 and y = 1) in the above equation. Thus, we obtain
Therefore, the boundary line (which is included in the solution set of our inequality) has the equation
Since we have the region above the graph highlighted, the inequality shown by this graph is
As we have explained in the previous tutorials, a second-order equation is an extension of the concept of quadratic equations including a new variable y. This means the quadratic equation
is a special case of the second-order equation with two variables
where y = 0. The line that represents the graph of second-order equations with two variables is not straight; this line is called a parabola. For example, the graph of the second-order equation with two variables y = x2 + 3x - 4 is shown in the figure below.
Following the same reasoning used in the previous paragraphs on graphing the other types of inequalities, it is clear that if a second-order equation is expressed in the standard form as the one shown above, the following rules are true for the four corresponding inequalities (the condition is that a > 0):
Let's clarify this point through an example.
Solve graphically the following inequalities.
Since the graph is not linear anymore, we need more than two points to plot it. The more points we consider, the more accurate the graph is. We will not dwell too much on this point, as in the upcoming chapters we will explain extensively how to find some special points contained on a parabola that help us plot the graph easier. However, we anticipate that a parabola graph is plotted by joining at least four special points:
Enjoy the "Graphing Inequalities" math tutorial? People who liked the "Graphing Inequalities" tutorial found the following resources useful:
We hope you found this Math math tutorial "Graphing Inequalities" useful. If you did it would be great if you could spare the time to rate this math tutorial (simply click on the number of stars that match your assessment of this math learning aide) and/or share on social media, this helps us identify popular tutorials and calculators and expand our free learning resources to support our users around the world have free access to expand their knowledge of math and other disciplines.
You may also find the following Math calculators useful.