topic badge

1.05 Absolute value equations

Absolute value equations

The absolute value of a number is the distance of that number from 0 on a number line. Distance is expressed as a positive value, so the absolute value of a number is always positive. Absolute value is sometimes called magnitude.

A number line ranging from negative 10 to 10. Three vertical lines line up with the negative 6 mark, 0 mark, and 6 mark. An arrow extends from the line at the 0 mark to the line at the negative 6 mark. A second arrow extends from the line at the 0 mark to the line on the 6 mark.

6 is six away from 0 and -6 is six away from 0, so the absolute value of both 6 and -6 is 6.

To denote the absolute value of a quantity, we use a single vertical bar on either side. \\|6|=6 and \left|-6\right|=6.

Absolute value equation

An equation that contains a variable expression inside absolute value bars

Example:

\left|x\right|=4

Extraneous solution

A solution of an equation that emerges from the process of solving the problem, but is not a valid solution to the problem

Consider the equation \left|x-2\right|=3. We read this as the distance between some value, x, and 2 is three spaces on a number line.

A number line ranging from negative 5 to 5 with points at negative 1 and 5. Two vertical dashed lines, both labeled x, line up with the negative 1 mark and the 5 mark. Another vertical line that lines up with the 2 mark. An arrow extends from the line at the 2 mark to the dashed line at the negative 1 mark. A second arrow extends from the line at the 2 mark to the dashed line on the 5 mark.

On a number line, the values that are a distance of three from 2 are -1 and 5. The solution to the equation \left|x-2\right|=3 is x=-1 and x=5.

To solve an absolute value equation that results in two solutions, we begin by isolating the absolute value expression. Once the expression is isolated, we write and solve two separate equations without the absolute value bars: one equation equal to the distance in a positive direction, and one equation equal to the distance in a negative direction.\begin{alignedat}{3}x-2&=3&\qquad\qquad x-2&=-3\\x&=5 &\qquad\qquad x&=-1\end{alignedat}

The solutions to absolute value equations can be verified graphically. Once the absolute value expression is isolated, we can create a table of values for the corresponding absolute value function.

In the previous example, the isolated absolute value expression is \left|x-2\right|, so the corresponding function is y=\left|x-2\right|.

x-1012345
f\left(x\right)3210123

We can create a table of values by choosing x-values and substituting them into the function to find the corresponding y-values.

-2
-1
1
2
3
4
5
6
x
1
2
3
4
5
y

Next, we can plot these points on a coordinate grid, and connect the points to graph the function.

The solution(s) to the absolute value equation will be the x-value(s) of the points where the output of the absolute value function is equal to 3.

To help us find these points, we can graph the constant function y=3.

This verifies that the solutions to \left|x-2\right|=3 are x=-1 and x=5.

Examples

Example 1

Solve each absolute value equation.

a

\left|x\right|=10

Worked Solution
Apply the idea

The solutions to this equation will be any values of x that have an absolute value of 10.

The solutions are x=10 and x=-10. or \{-10,10\}.

Reflect and check

Notice that this equation has different solutions from the equation \left|x-10\right|=0 which has only a single solution of x=10. This shows that adding or subtracting terms in or out of the absolute value bars changes the equation, similar to parentheses.

b

\left|2.5x\right|=5

Worked Solution
Create a strategy

Since the absolute value expression is isolated, we create and solve the following two equations: 2.5x=5 \\ 2.5x=-5

Apply the idea

Solve the first equation:

\displaystyle 2.5x\displaystyle =\displaystyle 5First equation
\displaystyle \dfrac{2.5x}{2.5}\displaystyle =\displaystyle \dfrac{5}{2.5}Divide both sides by 2.5
\displaystyle x\displaystyle =\displaystyle 2Evaluate the division

Solve the second equation:

\displaystyle 2.5x\displaystyle =\displaystyle -5Second equation
\displaystyle \dfrac{2.5x}{2.5}\displaystyle =\displaystyle \dfrac{-5}{2.5}Divide both sides by 2.5
\displaystyle x\displaystyle =\displaystyle -2Evaluate the division

The solutions to this equation will be any values of x that make 2.5x have an absolute value of 5.

The solutions are x=2 and x=-2 or \{-2,2\}.

Reflect and check

We can verify that the solutions are viable solutions to the absolute value equation by graphing the function y=|2.5x| and y=5 and finding the points of intersection.

To graph the function y=|2.5x|, we will begin by creating a table of values and substituting the x values into the function to find the corresponding y values.

x-2-1012
f\left(x\right)52.502.55

Next, we will plot the points on the coordinate plane and connect the points to graph the function. To help us find the solutions, we can graph the constant function y=5

The constant line intersects with the absolute value function at (-2,5) and (2,5) which verifies that the solution set \{-2,2\} is correct. Both x=-2 and x=2 are viable solutions.

-4
-3
-2
-1
1
2
3
4
x
1
2
3
4
5
y
c

\left|4x-8\right|=-12

Worked Solution
Apply the idea

The absolute value of an expression can never be a negative number since absolute value is a distance. In this case, there are no solutions.

Reflect and check

We can attempt to solve this equation, but checking our solutions will reveal that both are extraneous.

\displaystyle 4x-8\displaystyle =\displaystyle -12First equation
\displaystyle 4x-8+8\displaystyle =\displaystyle -12+8Add 8 to both sides
\displaystyle 4x\displaystyle =\displaystyle -4Evaluate the addition
\displaystyle \dfrac{4x}{4}\displaystyle =\displaystyle \dfrac{-4}{4}Divide both sides by 4
\displaystyle x\displaystyle =\displaystyle -1Evaluate the division

When we substitute x=-1 in \left|4x-8\right|=-12, we get \left|4\left(-1\right)-8\right|=\left|-4-8\right|=\left|-12\right|=12. The solution is not equal to -12, therefore this solution is extraneous.

\displaystyle 4x-8\displaystyle =\displaystyle 12Second equation
\displaystyle 4x-8+8\displaystyle =\displaystyle 12+8Add 8 to both sides
\displaystyle 4x\displaystyle =\displaystyle 20Evaluate the addition
\displaystyle \dfrac{4x}{4}\displaystyle =\displaystyle \dfrac{20}{4}Divide both sides by 4
\displaystyle x\displaystyle =\displaystyle 5Evaluate the division

When we substitute x=5 in \left|4x-8\right|=-12, we get \left|4\left(5\right)-8\right|=\left|20-8\right|=\left|12\right|=12. The solution is not equal to -12, so this solution is also extraneous.

d

2\left|x+1\right|+3=21

Worked Solution
Create a strategy

First, we need to perform inverse arithmetic operations to isolate the absolute value expression. From there, we can create two separate equations and solve them.

Apply the idea
\displaystyle 2\left|x+1\right|+3\displaystyle =\displaystyle 21Original equation
\displaystyle 2\left|x+1\right|+3-3\displaystyle =\displaystyle 21-3Subtract 3 from both sides
\displaystyle 2\left|x+1\right|\displaystyle =\displaystyle 18Evaluate the subtraction
\displaystyle \dfrac{2\left|x+1\right|}{2}\displaystyle =\displaystyle \dfrac{18}{2}Divide both sides by 2
\displaystyle \left|x+1\right|\displaystyle =\displaystyle 9Evaluate the division

Now that the absolute value expression is isolated, we can solve the following two equations: \begin{aligned}x+1&=9 \\ x+1&=-9\end{aligned}

Solve the first equation:

\displaystyle x+1\displaystyle =\displaystyle 9First equation
\displaystyle x+1-1\displaystyle =\displaystyle 9-1Subtract 1 from both sides
\displaystyle x\displaystyle =\displaystyle 8Evaluate the subtraction

Solve the second equation:

\displaystyle x+1\displaystyle =\displaystyle -9Second equation
\displaystyle x+1-1\displaystyle =\displaystyle -9-1Subtract 1 from both sides
\displaystyle x\displaystyle =\displaystyle -10Evaluate the subtraction

The solutions are x=8 and -10. In set notation, this is written as \{-10,8\}.

Reflect and check

We can verify that the solutions to the absolute value equation are viable solutions by using technology to graph the function y=\left|x+1\right| and the line y=9. Then, we will look for the x-values of the points of intersection.

-10
-8
-6
-4
-2
2
4
6
8
x
2
4
6
8
10
12
14
y

The constant line intersects with the absolute value function at (-10,9) and (8,9) which verifies that the solution set \{-10,8\} is correct.

Both x=-10 and x=8 are viable solutions.

Example 2

A machine is used to fill each of several bags with 16 ounces of sugar. After the bags are filled, another machine weighs them. The bag can only weigh 0.3 ounces heavier or lighter than the desired weight, otherwise, the bag is rejected. Write the equation for the heaviest and lightest bag the machine will approve.

Worked Solution
Create a strategy

In general, we can determine the minimum and maximum weight allowances for a bag of sugar based on the problem. The minimum and maximum weight allowances are the solutions to the absolute value equation, so the equation we write should lead to those two solutions.

Apply the idea

A bag of sugar can weigh 16-0.3 or 15.7 ounces at its lightest, and 16+0.3 or 16.3 ounces at its heaviest. On a number line, we can see that the weights are 0.3 from 16:

15\text{ oz}15.5\text{ oz}16\text{ oz}16.5\text{ oz}17\text{ oz}

The absolute value equation that represents the difference between the bag's weight, 16 ounces, and its weight allowances is 0.3 ounces.

Therefore, the equation that represents the minimum and maximum weight allowances for a bag of sugar is |x-16|=0.3.

Reflect and check

Using a number line to identify the solutions and distance from a particular value on the number line for a problem in context helps us visualize the problem.

Idea summary

An absolute value equation is an equation where at least one expression contains an absolute value. Consider the absolute value equation

\left|ax+b\right| = k

When k\gt0, an absolute value equation has two solutions. When k=0, an absolute value equation has one solution. When k\lt0, an absolute value equation has no solutions.

Viable solutions for an absolute value equation also depend on context. If a solution is mathematically valid but does not make sense in the context then we say it is non-viable.

Outcomes

A2.EI.1

The student will represent, solve, and interpret the solution to absolute value equations and inequalities in one variable.

A2.EI.1a

Create an absolute value equation in one variable to model a contextual situation.

A2.EI.1b

Solve an absolute value equation in one variable algebraically and verify the solution graphically.

A2.EI.1e

Verify possible solution(s) to absolute value equations and inequalities in one variable algebraically, graphically, and with technology to justify the reasonableness of answer(s). Explain the solution method and interpret solutions for problems given in context.

What is Mathspace

About Mathspace