Absolute Value

Absolute value makes any number positive.

On a number line we saw positive (to the right of zero) and negative (to the left of zero) numbers. There direction matters.

Absolute value doesn't care about direction. It only shows how far from zero number is.

Notation for absolute value: `huge color(red)(|a|)`.

Keep in mind that absolute value is denoted by vertical bars, not square brackets or something else.

absolute value

Let's do a couple of examples.

Example 1. `|5|=5` (already positive number, so absolute value does nothing).

Example 2. `|-10|=10` (negative number becomes positive).

Be careful with minus sign.

Example 3. `-|7|=-7` (absolute value contains positive number, minus is outside).

Example 4. `-|-18|=-18` (absolute value "eats" inner minus, but doesn't influence outer one).

Example 5. `-|5-7|=-|-2|=-2` (we can perform operations inside absolute value as well).

Try to solve a couple of problems.

Exercise 1. Find `|-8|`.

Answer: `8`.

Exercise 2. Find `|0|`.

Answer: `0`. Hint: how far is zero from itself?

Exercise 3. Find `|25/18|`.

Answer: `25/18`.

Exercise 4. Find `-|(-2)^5|`.

Answer: `-32`.

Exercise 5. Find `-|3*1/2|`.

Answer: `-3/2`.