# Absolute value |x|

## Summary and examples

The absolute value is often seen as ackward. It is defined as follows: if  if The absolute value indicates the magnitude of , thus the value of without  a or sign.

##### Example 1

As an example, we look at the function . According to the definition above we have if , so a straight line, and if . ##### Example 2

Draw the graph of the function: According to the definition we have: if , call this case A. if , call this case B. if , call this case C. if , call this case D.

Now we consider the following intervals for .

If , then the cases B and D hold, so: If , then the cases B and C hold, so: If , then the cases A and C hold, so: The following graph is the result: ##### Example 3

Now we apply the absolute value function to a quadratic function: The graph of the function is a parabola with -intercepts or . The parabola opens up and in the interval it will lie below the -axis. Because the function relates to the absolute value of this parabola, the negative part will be replaced by the positive equivalent, see the figure.

When this insight is lacking, also the definition of the absolute value can be applied: if or  if  0