Absolute Value Equations
Absolute value equations are equations that contain an absolute value sign.
Example 1. Solve the following equation: `x=5`.
We know, that absolute value makes any number positive.
What are numbers, that when made positive will give `5`?
They are `5` and `5`.
So, `5` and `5` are the roots of the equation.
How to solve absolute value equation `x=m`?
 It has two roots: `m` and `m`, if `m` is a positive number.
 It has one root 0, if `m=0`.
 It has no roots, if `m` is a negative number (absolute value can't be negative).
In more complex examples, we need to isolate the absolute value and then just use the above rule.
Example 2. Solve the following equation: `x+3=7`.
Absolute value is already isolated, so we have 2 cases:
 `x+3=7`, which gives `x=4`.
 `x+3=7`, which gives `x=10`.
So, `4` and `10` are roots of the equation.
Let's solve a bit more complex equation.
Example 3. Solve the following equation: `2x+58=14`.
First, isolate absolute value.
For this add `8` to both sides of the equation: `2x+5=22`.
Absolute value is isolated, so we have 2 cases:
 `2x+5=22`, which gives `x=17/2`.
 `2x+5=22`, which gives `x=27/2`.
So, `17/2` and `27/2` are roots of the equation.
Until now, we considered equations, where variable is only inside absolute value bars. Let's consider equation, where variable is both inside and outside of absolute value bars.
Example 4. Solve the equation `2x+3=5x`.
We can use above rule, but carefully.
Indeed, rule requires the right side to be positive number, but we don't know whether `5x` is positive or negative.
So, after finding potential roots, we need to check them.
Thus, we have two options:
 `2x+3=5x`, which gives `x=2/3`.
 `2x+3=(5x)`, which gives `x=8`.
We've got two potential solutions, now need to check them.

`2*2/3+3=52/3`
`7/3=7/3`
`7/3=7/3` (OK)

`2*(8)+3=5(8)`
`13=5+8`
`13=13` (OK)
So, `2/3` and `8` are roots of the equation.
Now, let's see an example, when potential solution is not a root.
Example 5. Solve the equation `x+5=2x+1`.
As in example 4 we can use above rule, but carefully.
Indeed, rule requires the right side to be positive number, but we don't know whether `2x+1` is positive or negative.
So, after finding potential roots, we need to check them.
Thus, we have two options:
`x+5=2x+1`, which gives `x=4`.
`x+5=(2x+1)`, which gives `x=2`.
We've got two potential solutions, now need to check them.

`4+5=2*4+1`
`9=9`
`9=9` (OK)

`2+5=2*(2)+1`
`3=3`
`3!=3` (NOT OK)
So, the only root of the equation is `4`.
Finally, equation can contain two absolute values.
Example 6. Solve the equation `2x+3=3x+9`.
It seems, that above rule won't work here. But we don't need it here.
What is absolute value? It makes any number positive.
So, absolute value expressions are equal, when quantities inside absolute value bars are equal or equal with different signs.
We again have two cases here:
 `2x+3=3x+9`, which gives `x=6`
 `2x+3=(3x+9)`, which gives `x=12/5`
Thus, equation has two roots: `6` and `12/5`.
Now it is time to exercise.
Exercise 1. Find roots of the equation `x+2=5`.
Answer: `3` and `7`.
Exercise 2. Find roots of the equation `2x=7`.
Answer: `7/2` and `7/2`.
Exercise 3. Find roots of the equation `2x+1=0`.
Answer: `1/2`.
Exercise 4. Solve the following equation: `3x+5+8=7`.
Answer: no solution.
Exercise 5. Solve the following equation: `3x+7=12`.
Answer: `5/3` and `19/3`.
Exercise 6. Solve the following equation: `4x+82(x+5)1=15`.
Answer: `9` and `7`.
Exercise 7. Solve the following equation: `(2(x+2)5)/3+3=22`.
Answer: `29` and `28`.
Exercise 8. Solve the following equation: `2x+8=12x`.
Answer: `7/4`.
Exercise 9. Solve the following equation: `4x+5=3x+1`.
Answer: no solution.
Exercise 10. Solve the following equation: `5x+10=1x`.
Answer: `11/4` and `3/2`.
Exercise 11. Solve the following equation: `3x+7=4x5`.
Answer: `12` and `2/7`.