Topic 2: Modulus and Piecewise Graphs
The starting point for every modulus expression is
When a modulus appears in an equation, the first question is:
When is the expression inside the modulus non-negative, and when is it negative?
These conditions determine which parts of the equation apply in different regions.
A modulus graph can therefore be understood by constructing its pieces. Reflections and symmetries then follow from the algebra rather than needing to be memorised as separate rules.
The general approach is
1. Modulus Applied to the Output
Consider .
The expression inside the modulus is .
By definition,
This means that the graph of is constructed from the graph of as follows:
- Keep the parts on or above the -axis unchanged.
- Reflect the parts below the -axis upwards.
- Keep the roots in their original positions.
Example: A Quadratic Graph
Let .
The original graph crosses the -axis at .
The quadratic is non-negative when , and negative when .
Therefore,
The roots divide the original graph into three pieces. Only the middle piece is reflected.
Original graph: the roots separate the positive and negative regions.
Transformed graph: the negative middle piece is reflected above the x-axis.
The vertex becomes , while the roots remain at and .
Key principle
The decision depends on the sign of the output , not on the sign of .
2. Modulus Applied to the Input
Now consider .
This time the modulus is applied to the input.
Since
we obtain
For non-negative inputs, nothing changes.
For negative inputs, the function receives the corresponding positive input instead.
Consequently, the graph for determines the entire transformed graph.
Example: Constructing the Graph from Its Right-Hand Part
Let .
Then .
For , .
For , .
Thus
Original graph: its right-hand part for x ≥ 0 determines the transformed graph.
Transformed graph: reflect the right-hand part across the y-axis.
The transformed graph is symmetric about the -axis because .
Key principle
Comparing the Two Transformations
Although the expressions look similar, they act differently.
For , the input remains unchanged. Negative outputs become positive.
For , negative inputs are replaced by their positive counterparts.
In particular:
- is always non-negative.
- is always symmetric about the -axis.
- can still take negative values.
- need not be symmetric about the -axis.
Always identify whether the modulus acts on the input or the output before drawing the graph.
3. Nested Modulus Graphs
Some expressions contain more than one modulus sign.
For these graphs, work from the inside out. Construct the result of each operation before applying the next one.
Consider .
The outer modulus acts on the whole expression , not just on .
Step 1: Draw the Inner Graph
Start with .
This is a V-shaped graph with vertex .
Step 2: Translate the Graph Down by 1
Next construct .
Every point moves down by one unit.
The vertex becomes .
To find where the graph crosses the -axis, solve .
Thus , giving .
The intermediate graph is negative precisely when .
Step 3: Apply the Outer Modulus
Now construct .
The outer modulus leaves the non-negative parts of the intermediate graph unchanged.
It reflects the negative section between and upwards.
Therefore:
- The graph is unchanged for and .
- The section between and is reflected in the -axis.
- The roots at and remain fixed.
- The point becomes .
The final graph has two global minima: .
It also has a local maximum at .
The outer branches continue upwards, so this local maximum is not a global maximum.
Step 4: Confirm the Graph Using a Piecewise Expression
The inner modulus changes its rule at :
After subtracting , the intermediate graph is
The outer modulus introduces two further boundaries at and .
Hence
The four straight-line pieces meet at , as shown in the graph.
The piecewise expression confirms the construction. It is not necessary to derive every piece before beginning the graphical transformation.
General Principle
For a nested modulus of the form , construct the graph in three stages.
First draw .
Next translate it down by : .
Finally, reflect any part of this intermediate graph below the -axis upwards.
Before the final reflection, identify the zeros and determine where the intermediate expression is negative.
The essential rule is to apply each operation to the current graph, not to all the modulus signs simultaneously.
4. Putting the Modulus on (y)
Now consider .
This is different from .
Since , solutions of are possible only when .
If , there are two possible values: .
If , there is only one value: .
If , there are no solutions.
Thus
Example: A Relation with Two Branches
Consider .
The right-hand side must be non-negative: .
Therefore, .
There are no points satisfying the relation when .
For the allowed values of , .
Original graph: its negative middle section produces no points in the final relation.
Final relation: each positive output produces two points, one above and one below the x-axis.
The graph is symmetric about the -axis.
However, it is generally a relation rather than a function of , because a single input may correspond to two different outputs.
For example, when , , so .
Compare the Two Expressions
For , every input in the domain of produces exactly one output. The graph lies on or above the -axis.
For , inputs where produce no points, while inputs where produce two points.
The distinction is:
5. Two Modulus Signs Divide the Plane into Regions
Modulus can also appear in equations involving both coordinates.
Consider .
There are two expressions inside modulus signs.
Their forms depend on the signs of both and , so the coordinate axes divide the plane into four regions.
| Region | Equation |
|---|---|
| x ≥ 0, y ≥ 0 | x + y = 4 |
| x < 0, y ≥ 0 | −x + y = 4 |
| x ≥ 0, y < 0 | x − y = 4 |
| x < 0, y < 0 | −x − y = 4 |
Each equation must be drawn only in its corresponding region.
Step 1: Construct the First-Quadrant Piece
In the first quadrant, .
Therefore, , and the equation becomes .
The relevant part is only the segment joining .
The rest of the infinite line does not belong to this sign case.
Step 2: Construct the Other Three Pieces
In the second quadrant, .
This gives the segment from to .
In the fourth quadrant, .
This gives the segment from to .
In the third quadrant, .
This gives the segment from to .
Together, the four segments form a diamond.
The four pieces can be written as
Each boundary point belongs to the graph and is included by the relevant non-strict inequalities.
Step 3: Recognise the Symmetry
Now examine the original equation.
Since , changing the sign of either coordinate leaves the equation unchanged.
Therefore the graph is symmetric about both coordinate axes.
Once the first-quadrant segment is understood, the remaining three segments can be constructed by reflection.
This gives a faster method:
The sign cases explain why the graph has this structure. Symmetry allows us to complete it without separately solving every case.
From an Equation to a Region
A closely related inequality is .
The equation gives the diamond-shaped boundary.
The inequality includes all points inside that boundary as well.
For example, in the first quadrant, , describes the triangular region between the coordinate axes and the segment .
Reflecting this triangular region across both axes produces the full diamond-shaped region.
The distinction between the boundary and the entire region is important in problems involving intersections and areas.
6. The General Relation (f(|x|,|y|)=0)
The same reasoning extends beyond expressions such as .
Consider a relation , where is an expression involving two variables.
Because both modulus inputs are non-negative, begin with the relation .
This identifies the part of the graph in the first quadrant, including the axes.
The Four Sign Regions
The original equation has the following forms.
| Region | Relation |
|---|---|
| x ≥ 0, y ≥ 0 | f(x,y) = 0 |
| x < 0, y ≥ 0 | f(−x,y) = 0 |
| x ≥ 0, y < 0 | f(x,−y) = 0 |
| x < 0, y < 0 | f(−x,−y) = 0 |
These four cases construct the complete relation.
However, once the first-quadrant piece is known, symmetry gives a shorter route.
Suppose , satisfies .
Then the four points all satisfy .
This is because each point gives the same pair of modulus values: .
Points on the axes are shared by reflected pieces and should be counted only once.
The resulting relation is symmetric about both coordinate axes because and .
General method
This method applies to equations and inequalities involving and , provided the original relation is defined for the required non-negative inputs.
The first-quadrant piece may be a curve, a line segment or an entire region. The same symmetry principle applies.
Practical Approach
When faced with an unfamiliar modulus graph or relation, begin with the definition of modulus rather than a memorised reflection rule.
-
Identify the expression inside each modulus sign. Decide whether the modulus acts on an input, an output or a coordinate.
-
Find where that expression is non-negative or negative. Roots and coordinate axes often determine the boundaries.
-
Rewrite the expression in the relevant regions. Each piece must be used only where its sign conditions hold.
-
Construct the graph from those pieces. Check the roots, endpoints and points where the rule changes.
-
Use symmetry when appropriate. Once the piecewise structure is understood, reflection may eliminate unnecessary repeated calculations.
-
Check whether the result is a function or a relation. In particular, an equation such as can give two outputs for one input.
For nested modulus expressions, apply one operation at a time, beginning with the innermost expression.
The central principle: A modulus graph is first a piecewise graph. Understanding where expressions change sign explains the reflections, symmetries and restrictions that appear in the final graph.