Topics in this sectionModulus of a Function2 topics
- Graphs of Modulus Functions
- Application of Modulus
Understanding Modulus Functions Through Their Graphs
When we apply the modulus (or absolute value) to a function, we force all its output values to become positive. This changes the shape of the graph dramatically — any part of the original graph that lies below the x-axis gets flipped upward. The result is a graph that always sits on or above the horizontal axis, no matter what x-values we choose.
The modulus of a number is its distance from zero on the number line, ignoring any negative sign. In mathematics, we write the modulus of x as |x|. This means:
- |5| = 5 (positive stays positive)
- |−5| = 5 (negative becomes positive)
- |0| = 0
For a function, applying modulus means taking the absolute value of whatever the function produces. If y = f(x), then y = |f(x)| will always give a positive (or zero) result.
Let us start with the straightforward function y = 3x, which produces a straight line passing through the origin with a positive slope.
When we apply modulus, we get y = |3x|. This means:
- When 3x is positive (x > 0), |3x| = 3x
- When 3x is negative (x < 0), |3x| = −3x (which becomes positive)
To draw y = |3x|, we keep the part of the line above the x-axis and reflect the part below the axis upward. The result looks like a "V" shape with its vertex at the origin.
Comparing the two graphs:
| x | y = 3x | y = |3x| | |---|--------|-------| | −3 | −9 | 9 | | −2 | −6 | 6 | | −1 | −3 | 3 | | 0 | 0 | 0 | | 1 | 3 | 3 | | 2 | 6 | 6 | | 3 | 9 | 9 |
Notice that y = |3x| never produces a negative number — the range is now only non-negative values.
A more interesting case is y = |x² − 4|. First, consider the original parabola y = x² − 4, which opens upward and crosses the x-axis at x = −2 and x = 2. Below the x-axis, between −2 and 2, the function produces negative values.
When we apply the modulus:
- For x ≤ −2 and x ≥ 2, the original y = x² − 4 is already positive, so y = |x² − 4| = x² − 4 (the same as before)
- For −2 < x < 2, the original y = x² − 4 is negative. The modulus flips these values to become positive, creating a "bump" above the x-axis
The resulting graph looks like a "W" shape — the original parabola stays the same outside the interval [−2, 2], while the middle section gets reflected upward.
This clearly shows that the modulus operation reflects any negative portion of the graph across the x-axis to make it positive.
From these examples, we observe three important characteristics:
- The range is always non-negative — the graph never goes below the x-axis
- Reflection happens at the x-axis — any part of the original graph below the x-axis gets flipped upward
- Points on the x-axis stay fixed — where the original graph crosses the x-axis, the modulus graph also crosses there
These properties help us draw any modulus graph without plotting many points: keep the positive parts unchanged and reflect the negative parts upward.
Given the function y = x² − 9:
- First sketch y = x² − 9 (a parabola crossing the x-axis at x = −3 and x = 3)
- Then sketch y = |x² − 9| by keeping the outer parts above the x-axis and reflecting the middle part (between −3 and 3) upward
- Notice how the shape changes from a single "U" to a "W" with the middle section lifted above the axis
This practice helps build intuition for how modulus transforms any function's graph.
In everyday life, modulus functions describe situations where only the size or amount matters, not whether it is positive or negative. For example, when measuring the water level in the Nile River relative to a flood warning point, the deviation above or below the safe level matters equally — we care about how far away the level is, not whether it is above or below. Engineers use absolute value calculations when designing water pumps that must handle both positive pressure and vacuum conditions equally, ensuring the equipment works safely regardless of the direction of flow.
Question
What happens to a negative value when the modulus function is applied?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet