# XVIII.  Absolute Value Functions

We use straight line brackets to signify absolute value, such as |-7|.  This means that anything within those brackets gets changed to positive.  So |-7| = |7| = 7.  That's really all there is to it.  The trick is that you have to solve the expression within the brackets before you can change it to positive.  If you want an exact definition, refer to Dictionary.com.

## Absolute Values in the Everyday World

Distance is almost never given as a negative number.  The distance to Uncle Bob's house is probably not -23 miles.  But there are a lot of other reasons why you may require a positive number.  If you are programming a game, there's a good chance you're program can't plot a negative coordinate.

## Equations

Since both the negative and the positive of any expression are turned positive by the brackets, most problems have at least two answers.  Let's start with a simple example

|x| = 6

Let's set this up as two separate problems:

x = 6 and in the case x is negative  x = -6

Both of these roots will satisfy the equation.  Let's try one that is slightly harder.

---------

|3x - 3| + 10 = 1

Remember, we are only turning the expression within the brackets positive.  So, step 1 is to get the bracketed expression by itself.  We do this by subtracting 10 from both sides.

|3x - 3| = -9

This was kind of a trick question.  3x - 3 is in brackets, so it has to be positive.  It cannot equal a negative number.  This problem has no solution.

---------

O'k, one more, this time there is an answer:

4|2x - 8| +2 = 10

We have to isolate the absolute.  So, we subtract 2 from both sides and get

4|2x - 8| = 8

The 4 in front of the bracket, means multiply.  The same as if it was 4*|2x - 8|.  We no longer use x for multiplication because we're doing algebra and x is often a variable.  (I say that, but some books still use x for multiplication.  They also use it when defining matrices).  The next step is to divide both sides by 4

|2x - 8| = 2

Now we're ready to solve the problems.  I say problems because we have two problems to solve

2x - 8 = 2           and      2x - 8 = -2

Some are confused by this.  Instead of writing -(2x - 8) = 2, I wrote 2x - 8 = -2.  Do you see that they are the same thing?  It's as if I multiplied both sides of the equation by -1.

In the first problem, we add 8 to both sides and get  2x = 10.  Now we divide both sides by 2 and get x = 5.

In the second problem, we add 8 to both sides and get 2x = 6.  Now we divide both sides by 2 and get x = 3.

Plug them both into the original equation to make sure they work, and we're done.

## Want More Information?  Check out the Algebra 2 section click on Absolutes.

III. Algebra

VI  Equations

VII. Exponents

IX Fractions

XIII.  Linear Equations

XVII.  Real Numbers

XIV.  Math Terms

XVIII.  Percentages

XV.  Matrices

XIX.  PEMDAS Order of Operations

XXII. Slope