Absolute Value Equations and Inequalities

Learning Objectives

  • Evaluate expressions that contain absolute value
  • Solve absolute value equations
  • Solve absolute value inequalities

We saw that numbers such as [latex]5[/latex] and [latex]-5[/latex] are opposites because they are the same distance from [latex]0[/latex] on the number line. They are both five units from [latex]0[/latex]. The distance between [latex]0[/latex] and any number on the number line is called the absolute value of that number.

Because distance is never negative, the absolute value of any number is never negative.

The symbol for absolute value is two vertical lines on either side of a number. So the absolute value of [latex]5[/latex] is written as [latex]|5|[/latex], and the absolute value of [latex]-5[/latex] is written as [latex]|-5|[/latex] as shown below.

This figure is a number line. The points negative 5 and 5 are labeled. Above the number line the distance from negative 5 to 0 is labeled as 5 units. Also above the number line the distance from 0 to 5 is labeled as 5 units.

Absolute Value

The absolute value of a number is its distance from [latex]0[/latex] on the number line.
The absolute value of a number [latex]n[/latex] is written as [latex]|n|[/latex].

[latex]|n|\ge 0[/latex] for all numbers

Simplify:

  1.  [latex]|3|[/latex]
  2.  [latex]|-44|[/latex]
  3.  [latex]|0|[/latex]

In the video below we show another example of how to find the absolute value of an integer.

Solve Equations Containing Absolute Value

When solving absolute value equations, we are asking about when the distance of an expression from [latex]0[/latex] is a particular value. Because both positive and negative values have a positive absolute value, solving absolute value equations means finding the solution for both the positive and the negative values.

Consider the equation [latex]|x|=5[/latex]. This equation asks you to find all numbers whose distance is [latex]5[/latex] units from [latex]0[/latex]. Its solutions are [latex]5[/latex] and [latex]-5[/latex].

Solving Equations of the Form [latex]|x|=a[/latex]

For any positive number [latex]a[/latex], the solution of [latex]\left|x\right|=a[/latex] is

[latex]x=a[/latex]  or  [latex]x=−a[/latex]

[latex]x[/latex] can be a single variable or any algebraic expression.

You can solve a more complex absolute value problem in a similar fashion.

Example

Solve [latex]\displaystyle \left| x+5\right|=15[/latex].

The following video provides worked examples of solving linear equations with absolute value terms.

Now we will see how to solve equations with absolute value that include multiplication.

Example

Solve [latex]\displaystyle \left| 2x\right|=6[/latex].

In the following video, you will see two examples of how to solve an absolute value equation, one with integers and one with fractions.

Sometimes an absolute value equation has no solution. For example, [latex]|x| = -2[/latex] has no solution since the absolute value of a number is never negative.

Solve Inequalities Containing Absolute Value

Let us apply what you know about solving equations that contain absolute value and what you know about inequalities to solve inequalities that contain absolute value. Let us start with a simple inequality.

[latex]\left|x\right|\leq 4[/latex]

This inequality is read, “the absolute value of x is less than or equal to [latex]4[/latex].” If you are asked to solve for x, you want to find out what values of x are [latex]4[/latex] units or less away from [latex]0[/latex] on a number line. You could start by thinking about the number line and what values of x would satisfy this equation.

[latex]4[/latex] and [latex]−4[/latex] are both four units away from [latex]0[/latex], so they are solutions. [latex]3[/latex] and [latex]−3[/latex] are also solutions because each of these values is less than [latex]4[/latex] units away from [latex]0[/latex]. So are [latex]1[/latex] and [latex]−1[/latex], [latex]0.5[/latex] and [latex]−0.5[/latex], and so on—there are an infinite number of values for x that will satisfy this inequality.

The graph of this inequality will have two closed circles, at [latex]4[/latex] and [latex]−4[/latex]. The distance between these two values on the number line is colored in blue because all of these values satisfy the inequality.

Number line. Closed blue circles on negative 4 and 4. Blue line between closed blue circles.

The solution can be written this way:

Inequality notation: [latex]-4\leq x\leq4[/latex]

Interval notation: [latex]\left[-4,4\right][/latex]

The situation is a little different when the inequality sign is “greater than” or “greater than or equal to.” Consider the simple inequality [latex]\left|x\right|>3[/latex]. Again, you could think of the number line and what values of x are greater than [latex]3[/latex] units away from zero. This time, [latex]3[/latex] and [latex]−3[/latex] are not included in the solution, so there are open circles on both of these values. [latex]2[/latex] and [latex]−2[/latex] would not be solutions because they are not more than [latex]3[/latex] units away from [latex]0[/latex]. But [latex]5[/latex] and [latex]−5[/latex] would work, and so would all of the values extending to the left of [latex]−3[/latex] and to the right of [latex]3[/latex]. The graph would look like the one below.

Number line. Open blue circles on negative three and three. Blue arrow through all numbers less than negative 3. Blue arrow through all numbers greater than 3.

The solution to this inequality can be written this way:

Inequality notation: [latex]x<−3[/latex] or [latex]x>3[/latex].

Interval notation: [latex]\left(-\infty, -3\right)\cup\left(3,\infty\right)[/latex]

For any positive value of and x, a single variable, or any algebraic expression:

Absolute Value Inequality Equivalent Inequality Interval Notation
[latex]\left|{ x }\right|\le{ a}[/latex] [latex]{ -a}\le{x}\le{ a}[/latex] [latex]\left[-a, a\right][/latex]
[latex]\left| x \right|\lt{a}[/latex] [latex]{ -a}\lt{x}\lt{ a}[/latex] [latex]\left(-a, a\right)[/latex]
[latex]\left| x \right|\ge{ a}[/latex] [latex]{x}\le\text{−a}[/latex] or [latex]{x}\ge{ a}[/latex]  [latex]\left(-\infty,-a\right]\cup\left[a,\infty\right)[/latex]
[latex]\left| x \right|\gt\text{a}[/latex] [latex]\displaystyle{x}\lt\text{−a}[/latex] or [latex]{x}\gt{ a}[/latex]  [latex]\left(-\infty,-a\right)\cup\left(a,\infty\right)[/latex]

Let’s look at another example.

Example

Solve for [latex]x[/latex]: [latex]\left|x+3\right|\gt4[/latex]

Caution: One difference between solving an equation and solving an inequality, is that if we multiply or divide both sides by a negative number, the sense of the inequality is reversed. For example, [latex]-1 < 3[/latex]. Suppose we multiply each of these numbers by [latex]-2[/latex]. [latex](-2)(-1)=2[/latex], and [latex](-2)(3)=-6[/latex]. Now we have [latex]2 > -6[/latex].