The modulus function
The modulus, or absolute value, of a real number leaves a non-negative value unchanged and reverses the sign of a negative value.
For example, and , while . A modulus is therefore non-negative, not necessarily positive.
The graph has two straight branches meeting at the vertex . The left branch is and the right branch is ; the graph is symmetric about the -axis.
A linear expression inside the bars
To sketch with , first consider . Keep the part with non-negative -values and reflect the part with negative -values in the -axis.
| Feature | How to locate it |
|---|---|
| Vertex and -intercept | Solve ; the two branches meet where the expression inside the bars is zero. |
| -intercept | Set and evaluate the modulus. |
| Equation of each branch | Use when it is non-negative and when it is negative. |
Worked example — identify the branches
Consider . The corner occurs when , so its coordinates are . At , , giving the -intercept .
For , the expression is non-negative. For , reverse the sign of the whole expression:
Draw these two straight branches meeting at the vertex; neither branch goes below the -axis.