The absolute value of a number is its distance from zero on a number line. An absolute value is indicated by vertical lines on either side. For example, the absolute value of -3 is 3, which is written as \left|-3\right| = 3.
An absolute value function is a function that contains a variable expression inside absolute value bars; a function of the form f\left(x\right) = a\left|x - h\right| + k
x | -2 | -1 | 0 | 1 | 2 | 3 | 4 |
---|---|---|---|---|---|---|---|
f\left(x\right) | 3 | 2 | 1 | 0 | 1 | 2 | 3 |
Consider the function f\left(x\right) = \left|3x - 6 \right|.
x | 0 | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|---|
f\left(x\right) |
Complete the table of values for this function.
Sketch a graph of the function.