Question
Sketch the graph of .
Solution — Step by Step
The absolute value function changes sign based on whether the input is positive or negative. For : when , ; when x < 0, . Same logic applies to .
So the expression behaves differently in each of the four quadrants of the coordinate plane. We handle each quadrant separately.
Quadrant I (, ): , , so the equation becomes .
Quadrant II (x < 0, ): , , so the equation becomes , i.e., .
Quadrant III (x < 0, y < 0): , , so , i.e., .
Quadrant IV (, y < 0): , , so , i.e., .
Each quadrant gives a line segment. Let’s find where these lines intersect the axes and each other:
- , → — lies on Q1/Q4 boundary (x-axis, positive)
- , → — lies on Q1/Q2 boundary (y-axis, positive)
- , → — lies on Q2/Q3 boundary (x-axis, negative)
- , → — lies on Q3/Q4 boundary (y-axis, negative)
These four points are the vertices of the shape.
Connecting with straight lines gives a diamond shape. Specifically, it is a square rotated 45° (a rhombus with equal diagonals), centred at the origin.
The diagonals of this square lie along the coordinate axes, each of length 2 (from to on each axis).
The figure is symmetric about both axes and about the origin — which makes sense because replacing with or with in doesn’t change the equation.
Why This Works
The graph of is a specific case of the norm in two dimensions. More generally, gives a square with diagonals of length along the axes, for any positive constant .
The key insight is that absolute value equations always produce shapes with corners (because the derivative is discontinuous at the origin of the absolute value). The “corner” of is at . Our graph has corners at , , , and — precisely at the axis intercepts.
Compare with (the unit circle, smooth and round). The diamond is the “unit ball” in the taxicab metric — the set of points whose taxicab distance from the origin is exactly 1.
Alternative Method
By symmetry: Note that is symmetric under reflections across both axes and under 90° rotations. So we only need to sketch the first-quadrant portion ( from to ) and then reflect it three times to complete the diamond.
This is faster in an exam: draw the segment from to , then mirror it into the other three quadrants.
Common Mistake
Students often try to solve by squaring both sides or by algebraic manipulation, and end up with complicated expressions. The right approach is always to consider cases based on the signs of and — i.e., consider each quadrant separately. The moment you see an absolute value equation in graphing, split into cases first.
Compare two important graphs: gives a diamond (square tilted 45°), while gives a square aligned with the axes (side length 2, vertices at ). These are the and unit balls — a beautiful duality that sometimes appears in JEE Advanced.