Lesson Explainer: One-Variable Absolute Value Inequalities Mathematics

In this explainer, we will learn how to solve one-variable inequalities that contain absolute values.

Equations with absolute values cannot be solved in the same way as linear equations. Similarly, inequalities with absolute values require a specific method to be solved.

Definition: The Absolute Value

The absolute value of any number ๐‘ฅ is defined algebraically as follows: |๐‘ฅ|=๏ญ๐‘ฅ๐‘ฅโ‰ฅ0,โˆ’๐‘ฅ๐‘ฅ<0.ifif

From the definition of absolute value, we see that there are always two numbers with the same nonzero absolute value, while only 0 has an absolute value of 0. For instance, the solutions to |๐‘ฅ|=4 are both numbers at a distance 4 from 0 located on either side of 0, that is, 4 and โˆ’4. Algebraically, we can transform this equation into two equations, namely, ๐‘ฅ=4 for ๐‘ฅโ‰ฅ0 and โˆ’๐‘ฅ=4 for ๐‘ฅ<0.

Absolute value inequalities are inequalities involving the absolute value of a number expressed in terms of the unknown, ๐‘ฅ. The simplest absolute value inequalities are of the form |๐‘ฅ|<๐‘,|๐‘ฅ|โ‰ค๐‘,|๐‘ฅ|>๐‘,|๐‘ฅ|โ‰ฅ๐‘, where ๐‘ is a constant.

Consider, for example, |๐‘ฅ|โ‰ค4. Using the definition of the absolute value of a number as being the distance between 0 and the number, the solution to this inequality is the set of numbers that are located at a distance from 0 less than or equal to 4. We can represent this on the number line.

This set of numbers is [โˆ’4,4]. Alternatively, we can write โˆ’4โ‰ค๐‘ฅโ‰ค4.

It is worth noting that if ๐‘ is negative, then there are no solutions to the inequality, since the absolute value of a number is always nonnegative.

A slightly more complex form of absolute value inequality is |๐‘ฅโˆ’๐‘Ž|<๐‘,|๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘,|๐‘ฅโˆ’๐‘Ž|>๐‘,|๐‘ฅโˆ’๐‘Ž|โ‰ฅ๐‘, where ๐‘ is a constant.

Instead of having the absolute value of ๐‘ฅ, we have here the absolute value of ๐‘ฅโˆ’๐‘Ž. Let us call this number ๐‘›. So, ๐‘›=๐‘ฅโˆ’๐‘Ž, which can be rearranged to ๐‘Ž+๐‘›=๐‘ฅ. Therefore, ๐‘› is the number that, added to ๐‘Ž, gives ๐‘ฅ.

Let us have a cursor located at ๐‘Ž on a number line; moving it by ๐‘› will position the cursor at ๐‘ฅ. If ๐‘› is positive, then ๐‘ฅ is greater than ๐‘Ž (it is located on the right with respect to ๐‘Ž), and if ๐‘› is negative, then ๐‘ฅ is less than ๐‘Ž (it is located on the left with respect to ๐‘Ž).

The absolute value of ๐‘›, that is, |๐‘ฅโˆ’๐‘Ž|, can thus be interpreted as the distance between ๐‘ฅ and ๐‘Ž. Consider, for instance, the inequality |๐‘ฅโˆ’2|โ‰ค3.

Its solution set is the set of numbers that are located at a distance from number 2 less than or equal to 3. The two numbers that are at a distance of exactly 3 from 2 are โˆ’1 and 5. Therefore, all numbers between โˆ’1 and 5 are located at a distance from 2 of maximum 3. The solution set is [โˆ’1,5].

Let us now reverse the inequality, so |๐‘ฅโˆ’2|>3. The solution to this inequality is the set of numbers that are at a distance from 2 greater than 3. These are all the numbers that are less than โˆ’1 or greater than 5. In set notation, that is ]โˆ’โˆž,โˆ’1[โˆช]5,+โˆž[.

Let us summarize our findings.

Standard Result: Solution Set of a Simple Absolute Value Inequality

The solution set of absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ (with ๐‘โ‰ฅ0) is an interval centered at ๐‘Ž with length 2๐‘: [๐‘Žโˆ’๐‘,๐‘Ž+๐‘].

Similarly, |๐‘ฅโˆ’๐‘Ž|<๐‘ (with ๐‘โ‰ฅ0) has the solution set ]๐‘Žโˆ’๐‘,๐‘Ž+๐‘[.

The solution set of absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|>๐‘ is complementary to the solution set of the reversed inequality |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ described above: โ„โˆ’[๐‘Žโˆ’๐‘,๐‘Ž+๐‘]=]โˆ’โˆž,๐‘Žโˆ’๐‘[โˆช]๐‘Ž+๐‘,+โˆž[.

Similarly, |๐‘ฅโˆ’๐‘Ž|โ‰ฅ๐‘ has the solution set โ„โˆ’]๐‘Žโˆ’๐‘,๐‘Ž+๐‘[=]โˆ’โˆž,๐‘Žโˆ’๐‘]โˆช[๐‘Ž+๐‘,+โˆž[.

This can be represented on a number line.

This type of inequalities corresponds to real-life situations of tolerance to a specific measurable attribute of an object. For instance, imagine a carpenter who cuts pieces of wood to a length of 2.54 m with a tolerance of 1 cm. This means that the length does not need to be exactly 2.54 m but can be up to 1 cm larger or shorter than 2.54 m. Therefore, any piece with a length between 2.53 m and 2.55 m has the required length; we say that these lengths are within the tolerance range.

Let us see in our first example how such a situation is described with an absolute value inequality.

Example 1: Solving Word Problems by Finding the Boundaries of the Solution Set of an Absolute Value Inequality

A factory produces cans with weight ๐‘ฅ grams. To control the production quality, the cans are only allowed to be sold if |๐‘ฅโˆ’183|โ‰ค6. Determine the heaviest and the lightest weight of a can that can be sold.

Answer

Let us first interpret the given inequality, |๐‘ฅโˆ’183|โ‰ค6. As ๐‘ฅ is the weight of a can in grams, ๐‘ฅโˆ’183 represents the difference between the canโ€™s actual weight and the weight of 183 g. |๐‘ฅโˆ’183| is then the difference between the canโ€™s actual weight and 183 g. The inequality |๐‘ฅโˆ’183|โ‰ค6 means that this difference can be up to 6 grams in either direction; that is, it means that the weight of a can be up to 6 grams heavier or lighter than 183 g.

Therefore, the heaviest possible weight is given by 183+6=189,g and the lightest possible weight is given by 183โˆ’6=177.g

In the previous example, we have dealt with a situation where a factory aims to produce cans with a weight of 183 g; this weight is then called the nominal weight. However, as it is probably difficult to produce cans with a specific weight, some variation around the nominal weight is allowed, here 6 grams; we say that there is a tolerance of 6 grams. For each can, the difference between its weight and the nominal weight is called the deviation from the nominal weight.

Let us now solve with our next example the inverse problem to our previous example, namely, write an absolute value inequality to describe an interval.

Example 2: Forming Absolute Value Inequalities in a Word Problem

Given that studentsโ€™ grades in an exam range from 69 to 93, write an absolute value inequality to express the range of grades.

Answer

The given range can be first written as a closed interval, [69,93]. Recall that the solution set of an absolute value inequality of the form |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ is a closed interval centered at ๐‘Ž with length 2๐‘. We can therefore find this inequality by finding the center, ๐‘Ž, of [69,93] and its half-length, ๐‘.

The length of [69,93] is given by 2๐‘=93โˆ’69=24.

Its center can be found either by using the half-length (๐‘=12) and adding it to the lower boundary or subtracting it from the higher boundary: ๐‘Ž=69+12=93โˆ’12=81, or by working out the midpoint between 69 and 93 (which is the mean of the two values): ๐‘Ž=12(69+93)=12ร—162=81.

Thus, we can express the range from 69 to 93 as the absolute value inequality |๐‘ฅโˆ’81|โ‰ค12.

In the next example, we will see how some complex inequalities are equivalent to a simple absolute value inequality.

Example 3: Rewriting an Inequality as an Absolute Value Inequality

Fill in the blank: The solution set in โ„ of the inequality โˆš4๐‘ฅโˆ’8๐‘ฅ+4โ‰ค8๏Šจ equals .

  1. {โˆ’3,5}
  2. โ„โˆ’[โˆ’3,5]
  3. ]โˆ’3,5[
  4. [โˆ’3,5]
  5. โ„โˆ’]โˆ’3,5[

Answer

To start with, let us remember that a square root is always nonnegative. Therefore, we have 0โ‰คโˆš4๐‘ฅโˆ’8๐‘ฅ+4โ‰ค8.๏Šจ

We can now square each side of the inequality, leading to 0โ‰ค4๐‘ฅโˆ’8๐‘ฅ+4โ‰ค64.๏Šจ

Dividing each side by 4 gives us 0โ‰ค๐‘ฅโˆ’2๐‘ฅ+1โ‰ค16,๏Šจ and factoring ๐‘ฅโˆ’2๐‘ฅ+1๏Šจ then leads to 0โ‰ค(๐‘ฅโˆ’1)โ‰ค16.๏Šจ

Taking the square root of each side finally gives us 0โ‰ค|๐‘ฅโˆ’1|โ‰ค4.

Recall that the solution set of an absolute value inequality of the form |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ is a closed interval centered at ๐‘Ž with length 2๐‘, that is, [๐‘Žโˆ’๐‘,๐‘Ž+๐‘].

Therefore, it is here [โˆ’3,5], which is option D.

In the previous example, graphing the parabola ๐‘ฆ=๐‘ฅโˆ’4๐‘ฅ+4๏Šจ and the horizontal line ๐‘ฆ=16 allows us to visualize that, given the line of symmetry of a parabola, the solution set of an inequality of the form ๐‘Ž๐‘ฅ+๐‘๐‘ฅ+๐‘โ‰ค๐‘‘๏Šจ is always centered at the ๐‘ฅ-coordinate of the vertex of the parabola.

It is worth noting that the inequality 0โ‰คโˆš4๐‘ฅโˆ’16๐‘ฅ+16โ‰ค8๏Šจ could have been solved as well by finding the boundaries of the interval, that is, the ๐‘ฅ-coordinates of the points of intersections of the parabola with the line ๐‘ฆ=16. These are the solutions of the equation: ๐‘ฅโˆ’4๐‘ฅ+4=16,๐‘ฅโˆ’4๐‘ฅโˆ’12=0,๏Šจ๏Šจ that is, โˆ’2 and 6.

As the coefficient of the ๐‘ฅ๏Šจ-term in ๐‘ฅโˆ’4๐‘ฅ+4๏Šจ is positive, the parabola ๐‘ฆ=๐‘ฅโˆ’4๐‘ฅ+4๏Šจ opens upward, which means, as it is clear from looking at the graph, that the solution set of the inequality ๐‘ฅโˆ’4๐‘ฅ+4โ‰ค16๏Šจ is [โˆ’2,6].

If the parabola opened downward and still crossed the line ๐‘ฆ=16 at the same points, it would be below the line for all ๐‘ฅ in the set โ„โˆ’]โˆ’2,6[.

We are now going to learn how we can solve such inequalities graphically and algebraically. These methods will then allow us to solve more complex inequalities. Let us first recap how to plot a graph of the absolute value function. To do this, we can complete a table of value for ๐‘ฆ=|๐‘ฅ|:

๐‘ฅโˆ’3โˆ’2โˆ’10123
๐‘ฆ3210123

Then, we can plot the coordinates on a pair of coordinate axes to draw the graph:

The ability to apply the definition of the absolute value and plot absolute value graphs is very useful when solving absolute value inequalities. So, practicing these skills is very important.

Consider the inequality |๐‘ฅ+1|โ‰ค3.

Let us solve it graphically first. So, on the same set of axes, we plot the graphs ๐‘ฆ=|๐‘ฅ+1| and ๐‘ฆ=3:

From this graph, we can see that the red graph, ๐‘ฆ=|๐‘ฅ+1|, is less than or equal to 3 when ๐‘ฅ is greater than or equal to โˆ’4 and less than or equal to 2. So, the solution to the inequality is โˆ’4โ‰ค๐‘ฅโ‰ค2.

The solution set is [โˆ’4,2].

Note how the graph ๐‘ฆ=|๐‘ฅ+1| is symmetric with respect to ๐‘ฅ=โˆ’1, which is consistent with the interpretation of |๐‘ฅ+1|=|๐‘ฅโˆ’(โˆ’1)| as the distance between ๐‘ฅ and โˆ’1 as we have learned earlier.

Now, we can also see from the graph how we might approach solving this inequality graphically. The red graph contains part of each of the graphs of ๐‘ฆ=๐‘ฅ+1 and ๐‘ฆ=โˆ’(๐‘ฅ+1). So, solving |๐‘ฅ+1|โ‰ค3 is equivalent to solving the set of compound inequalities ๐‘ฅ+1โ‰ค3 and โˆ’(๐‘ฅ+1)โ‰ค3. By multiplying each side of the latter inequality by โˆ’1, we find ๐‘ฅ+1โ‰ฅโˆ’3.

Hence, |๐‘ฅ+1|โ‰ค3 is equivalent to โˆ’3โ‰ค๐‘ฅ+1โ‰ค3.

Let us solve it algebraically by first subtracting 1 from the three terms: โˆ’3โˆ’1โ‰ค๐‘ฅ+1โˆ’1โ‰ค3โˆ’1โˆ’4โ‰ค๐‘ฅโ‰ค2.

This agrees with our initial findings from inspecting the graphs.

Both methods are equally acceptable for solving absolute value inequalities, but it is worth practicing both, particularly solving graphically, as this helps you to visualize the solution. It is also worth practicing giving your answer in various forms, including as simplified inequalities on number lines and as intervals.

Let us look at a couple more examples.

Example 4: Solving Absolute Value Inequalities

Find the solution set of the inequality |๐‘ฅ+4|<9.

Answer

We will solve this question first by using a graphical approach and then by using an algebraic approach. To solve the inequality graphically, we need to plot the graphs ๐‘ฆ=|๐‘ฅ+4| and ๐‘ฆ=9 on the same set of axes.

To plot the graph ๐‘ฆ=|๐‘ฅ+4|, we first solve ๐‘ฅ+4=0, finding that ๐‘ฅ=โˆ’4. When ๐‘ฅโ‰ฅโˆ’4, ๐‘ฅ+4โ‰ฅ0; therefore, |๐‘ฅ+4|=๐‘ฅ+4 and so our graph is the same as ๐‘ฆ=๐‘ฅ+4 in this region. For ๐‘ฅ<โˆ’4, ๐‘ฅ+4<0; thus, |๐‘ฅ+4|=โˆ’(๐‘ฅ+4) and the graph ๐‘ฆ=|๐‘ฅ+4| is the same as the graph ๐‘ฆ=โˆ’๐‘ฅโˆ’4 in this region. Plotting these two lines along with ๐‘ฆ=9 on a graph, we get the following.

We observe that the two graphs intersect at (โˆ’13,9) and (5,9) and that the graph ๐‘ฆ=|๐‘ฅ+4| is below the line ๐‘ฆ=9 for โˆ’13<๐‘ฅ<5. Therefore, we conclude that the solution to the inequality is โˆ’13<๐‘ฅ<5.

The question, however, asks for the solution set of the inequality, which would be written as ]โˆ’13,5[.

If we want to solve the inequality algebraically, we rewrite |๐‘ฅ+4|<9 as the compound inequality: โˆ’9<๐‘ฅ+4<9.

Subtracting 4 from each side gives โˆ’13<๐‘ฅ<5.

Hence, the solution set is ]โˆ’13,5[.

Let us look now at an example where the inequality needs rearranging before being solved as we have just done.

Example 5: Solving Absolute Value Inequalities

Find algebraically the solution set of the inequality |7โˆ’๐‘ฅ|+3โ‰คโˆ’6.

Answer

Notice here that the question explicitly asks us to calculate the solution set algebraically; however, for the benefit of explaining the solution, we will also present the graph. If we start by subtracting 3 from each side of the inequality, we get |7โˆ’๐‘ฅ|โ‰คโˆ’9.

Now, the left-hand side of the inequality is an absolute value which is always greater than or equal to zero, and the right-hand side is a negative number, so there is no solution as the left-hand side can never be less than or equal to the right-hand side. This can be seen clearly by drawing the graphs of ๐‘ฆ=โˆ’9 and ๐‘ฆ=|7โˆ’๐‘ฅ| on the same set of axes:

The red graph here is obviously never less than the blue graph. Therefore, the solution set for the inequality is the empty set, โˆ….

In our final example, we are going to solve algebraically a more complex absolute value inequality.

Example 6: Solving Absolute Value Inequalities Algebraically

Find algebraically the solution set of the inequality |๐‘ฅโˆ’3|+|๐‘ฅโˆ’5|>6.

Answer

We have here an inequality with two absolute value terms, |๐‘ฅโˆ’3| and |๐‘ฅโˆ’5|. Applying the formal definition of the absolute value for each term gives |๐‘ฅโˆ’3|=๏ฎ๐‘ฅโˆ’3๐‘ฅโˆ’3โ‰ฅ0,๐‘ฅโ‰ฅ3,โˆ’(๐‘ฅโˆ’3)๐‘ฅโˆ’3<0,๐‘ฅ<3,iforifor and |๐‘ฅโˆ’5|=๏ฎ๐‘ฅโˆ’5๐‘ฅโˆ’5โ‰ฅ0,๐‘ฅโ‰ฅ5,โˆ’(๐‘ฅโˆ’5)๐‘ฅโˆ’5<0,๐‘ฅ<5,iforifor

We see that we need to divide โ„ into two intervals for each absolute value term, so that โ„ is split into 3 intervals in total: ]โˆ’โˆž,3[โˆช[3,5[โˆช[5,+โˆž[. To avoid mistakes, let us use a table to write the value of each absolute value term for each interval and thus rewrite our inequality for each interval.

]โˆ’โˆž,3[[3,5[[5,+โˆž[
|๐‘ฅโˆ’3|โˆ’(๐‘ฅโˆ’3)๐‘ฅโˆ’3๐‘ฅโˆ’3
|๐‘ฅโˆ’5|โˆ’(๐‘ฅโˆ’5)โˆ’(๐‘ฅโˆ’5)๐‘ฅโˆ’5
|๐‘ฅโˆ’3|+|๐‘ฅโˆ’5|>6โˆ’(๐‘ฅโˆ’3)โˆ’(๐‘ฅโˆ’5)>6๐‘ฅโˆ’3โˆ’(๐‘ฅโˆ’5)>6๐‘ฅโˆ’3+๐‘ฅโˆ’5>6

We now have an inequality to solve for each of the three intervals.

For ๐‘ฅ<3, we have โˆ’(๐‘ฅโˆ’3)โˆ’(๐‘ฅโˆ’5)>6.

Expanding the parentheses gives โˆ’๐‘ฅ+3โˆ’๐‘ฅ+5>6, which simplifies to โˆ’2๐‘ฅ+8>6.

Subtracting 8 from each side yields โˆ’2๐‘ฅ>โˆ’2.

And, finally, multiplying each side by โˆ’12 gives ๐‘ฅ<1.

For 3โ‰ค๐‘ฅ<5, we have ๐‘ฅโˆ’3โˆ’(๐‘ฅโˆ’5)>6.

Expanding the parentheses gives ๐‘ฅโˆ’3โˆ’๐‘ฅ+5>6, which simplifies to 2>6.

This inequality is not true. Therefore, ๐‘ฅ cannot be in the interval [3,5[.

For ๐‘ฅโ‰ฅ5, we have ๐‘ฅโˆ’3+๐‘ฅโˆ’5>6, which simplifies to 2๐‘ฅโˆ’8>6.

Adding 8 to each side yields 2๐‘ฅ>14.

And, finally, dividing each side by 2 gives ๐‘ฅ>7.

Combining our 3 solutions, we find that ๐‘ฅ<1๐‘ฅ>7,or which corresponds to the solution set ]โˆ’โˆž,1[โˆช]7,+โˆž[=โ„โˆ’[1,7].

Let us now summarize what we have learned in this explainer.

Key Points

  • The absolute value of a number can be interpreted as its distance from zero.
  • Absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|<๐‘ or |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ (with ๐‘โ‰ฅ0) can be solved algebraically by writing them as a compound inequality of the form โˆ’๐‘<๐‘ฅโˆ’๐‘Ž<๐‘ or โˆ’๐‘โ‰ค๐‘ฅโˆ’๐‘Žโ‰ค๐‘.
  • Absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|>๐‘ (or |๐‘ฅโˆ’๐‘Ž|โ‰ฅ๐‘) are the complementary inequalities of |๐‘ฅโˆ’๐‘Ž|<๐‘ or |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘, which means that their solution sets are complementary.
  • The solution set of absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|โ‰ค๐‘ (with ๐‘โ‰ฅ0) is an interval centered at ๐‘Ž with length 2๐‘: [๐‘Žโˆ’๐‘,๐‘Ž+๐‘]; similarly, |๐‘ฅโˆ’๐‘Ž|<๐‘ (with ๐‘โ‰ฅ0) has the solution set ]๐‘Žโˆ’๐‘,๐‘Ž+๐‘[.
  • The solution set of absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|>๐‘ is โ„โˆ’[๐‘Žโˆ’๐‘,๐‘Ž+๐‘] and that of |๐‘ฅโˆ’๐‘Ž|โ‰ฅ๐‘ is โ„โˆ’]๐‘Žโˆ’๐‘,๐‘Ž+๐‘[.
  • Absolute value inequalities of the form |๐‘ฅโˆ’๐‘Ž|<๐‘ (or any other inequality symbol) can be solved graphically by graphing the corresponding absolute value function ๐‘ฆ=|๐‘ฅโˆ’๐‘Ž| and the line ๐‘ฆ=๐‘ and inspecting for which ๐‘ฅ-values the absolute value function is below (for inequalities with < or โ‰ค) or above (for inequalities with > or โ‰ฅ) the line ๐‘ฆ=๐‘.
  • More complex absolute value inequalities can be solved algebraically by splitting โ„ into intervals in which the signs of the numbers inside the absolute value bars of all absolute value terms in the inequality do not change. The inequalities can then be rewritten for each of these intervals using the formal definition of the absolute value and solved separately. The final solution is obtained by combining all solutions.

Download the Nagwa Classes App

Attend sessions, chat with your teacher and class, and access class-specific questions. Download the Nagwa Classes app today!

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.