NZ Level 7 (NZC) Level 2 (NCEA)
topic badge
Solutions to 1-variable Linear Absolute Value Functions
Lesson

Like other functions, a function that has the absolute value symbols in its definition becomes an equation when its function value is specified. The equation may then be solved in order to find the values of the domain variable that are mapped to the specified function value.

Example 1

The function defined over the real numbers by $y(x)=2|x-1|+3$y(x)=2|x1|+3 becomes an equation that can be solved when the value of the function $y$y is specified. We might have, say, $y=21$y=21. Then we look for solutions to the equation $2|x-1|+3=21$2|x1|+3=21.

To be sure of finding all the solutions to such an equation, we must recognise that the function definition contains the definitions of two different functions that are applicable over separate parts of the domain.

In the example given above, we see that $y(x)=2x+1$y(x)=2x+1 when $x\ge1$x1, and $y(x)=5-2x$y(x)=52x when $x\le1$x1. Thus, there are two equations that need to be solved.

We solve $2x+1=21$2x+1=21 and $5-2x=21$52x=21 separately and find that the solutions are $x=10$x=10 and $x=-8$x=8, respectively.

The existence of these solutions can be seen in the following graphical representation.

 

An equation with linear components may have $0$0, $1$1, $2$2, $3$3 or infinitely many solutions. Care is needed to be sure that all solutions have been found in each case.

Example 2

To illustrate some of the complications to could conceivably arise, we consider the equation

$3|x+1|-3|x|-2x=1$3|x+1|3|x|2x=1

We might think of rearranging this to $3|x+1|-(x+1)=3|x|+x$3|x+1|(x+1)=3|x|+x and then considering the left and the right sides as separate functions that take the same values for certain values of $x$x. That is, the graphs intersect. 

The left-hand function is equivalent to $-4-4x$44x when $x\le-1$x1 and to $2x+2$2x+2 when $x\ge-1$x1

The right-hand function is equivalent to $-2x$2x when $x\le0$x0 and to $4x$4x when $x\ge0$x0

The graphs of these four separate functions intersect in three points.

To find the three intersection points algebraically, we form three pairs of linear equations - one for each pair of intersecting segments.

We wish to know for what value of $x$x it is true that $-4-4x=-2x$44x=2x, we wish to know when $2x+2=-2x$2x+2=2x and, we wish to know when $2x+2=4x$2x+2=4x

These equations have, respectively, the solutions $x=-2$x=2, $x=-\frac{1}{2}$x=12 and $x=1$x=1, which should be verified by substitution into the left-hand-side of the original equation.

 

The equation $3|x+1|-3|x|-2x=1$3|x+1|3|x|2x=1 can also be solved without reference to its graph. The equation has three different representations, depending on whether $x\le-1$x1, $-1\le x\le0$1x0 or $0\le x$0x.

These are respectively:
$3(-x-1)-3(-x)-2x=1$3(x1)3(x)2x=1, which after simplification is $-3-2x=1$32x=1;
$3x+3+3x-2x=1$3x+3+3x2x=1, which is the same as $4x+3=1$4x+3=1, and
$3x+3-3x-2x=1$3x+33x2x=1, which simplifies to $3-2x=1$32x=1.

The solutions are as before.

 

Worked Examples

Question 1

Solve the equation $9\left|x\right|=4$9|x|=4.

Write both solutions as equations on the same line separated by a comma.

Question 2

Consider the equation $\left|5x\right|=15$|5x|=15.

  1. On the same set of axes, graph the functions $y=\left|5x\right|$y=|5x| and $y=15$y=15.

    Loading Graph...

  2. Hence determine the solutions to the equation $\left|5x\right|=15$|5x|=15. Write the solutions on the same line, separated by a comma.

Question 3

Solve $\left|4x-8\right|+1=13$|4x8|+1=13.

Write both solutions as equations on the same line separated by a comma.

Outcomes

M7-2

Display the graphs of linear and non-linear functions and connect the structure of the functions with their graphs

91257

Apply graphical methods in solving problems

What is Mathspace

About Mathspace