The absolute value “flips” the negative part of the graph above the xx-axis. To draw the graph of a function with a modulus you rewrite it case by case, according to the sign of the argument: in each interval the function becomes an ordinary polynomial, often a parabola.

Example

y=x2+2x+2x4y=x^2+2|x|+2x-4. It is studied case by case: y={x2+4x4per x0x24per x<0y=\begin{cases} x^2+4x-4 & \text{per } x\ge0 \\ x^2-4 & \text{per } x<0 \end{cases}

Example

y=xx3+x+3y=x|x|-|3+x|+3. The graph is built piecewise: y={x2+x+6per x<3x2xper 3x<0x2xper x0y=\begin{cases} -x^2+x+6 & \text{per } x<-3 \\ -x^2-x & \text{per } -3\le x<0 \\ x^2-x & \text{per } x\ge0 \end{cases}

Topics: Parabola
Concepts: Parabola · Absolute value
Functions: Parabola
Skills: Reasoning by cases · Drawing a graph