In short

Solving |x - a| = r is the same question as asking: where does the V-shaped graph y = |x - a| cross the horizontal line y = r? The graph of |x - a| is a V with its vertex sitting on the x-axis at (a, 0), both arms rising at 45°. A horizontal line y = r cuts that V in two places when r > 0 (two solutions), in one place when r = 0 (the V's tip), and in zero places when r < 0 (the line is below the x-axis, the V never goes there). The number of solutions is just the number of crossings.

You have already seen the algebraic move. Faced with |x - 3| = 5, you split into two cases — x - 3 = 5 giving x = 8, and x - 3 = -5 giving x = -2 — and you write down the two solutions. It works every time.

But there is a second way to see what is happening, and once you see it, you will never be confused about how many solutions an absolute value equation has. The trick is to stop thinking of |x - 3| = 5 as one equation in one unknown, and start thinking of it as two graphs in the xy-plane meeting each other.

Two graphs, one question

Take the left side, |x - 3|, and call it a function: y = |x - 3|. For every value of x, this gives you a value of y. Plot all those (x, y) pairs. What you get is a V.

Take the right side, 5, and call it a function too: y = 5. This is constant — the same value of y for every x. Plot it. You get a horizontal line, 5 units above the x-axis.

Now your original equation |x - 3| = 5 is asking: at which x-values do these two graphs hit the same y? That is, where do they intersect? Each intersection point gives one solution, because at that x, the V's height equals 5, which is exactly what the equation demands.

V-shaped graph of y equals absolute value of x minus 3 intersecting the horizontal line y equals 5A coordinate plane with x-axis and y-axis. The graph of y equals the absolute value of x minus 3 forms a V with its vertex on the x-axis at the point three comma zero, with both arms rising at forty-five degrees. A dashed horizontal line at y equals 5 cuts the V at two points: negative two comma five on the left arm and eight comma five on the right arm. Both intersection points are circled and labelled. x y −2 0 3 6 8 5 y = 5 (−2, 5) (8, 5) vertex (3, 0)
The V-shape $y = |x - 3|$ has its tip on the x-axis at $(3, 0)$. The dashed line $y = 5$ slices through both arms, hitting the V at $(-2, 5)$ and $(8, 5)$. The two $x$-coordinates of those crossings — $-2$ and $8$ — are the two solutions of $|x - 3| = 5$.

Why a V at all? Because |x - 3| is "x - 3" when x \ge 3 (a line with slope +1) and "-(x - 3) = 3 - x" when x < 3 (a line with slope -1). The two pieces meet at x = 3, where both equal zero. That is the V's vertex. The right arm goes up at 45° to the right; the left arm goes up at 45° to the left. The graph never dips below the x-axis because the absolute value is never negative.

Why this picture is so useful

You can read the number of solutions straight off the picture, without doing any algebra:

This is the same trichotomy you learned algebraically — |x - a| = r has two, one, or zero solutions depending on whether r is positive, zero, or negative — but now it sits in front of you as a picture you cannot misread.

CBSE Class 11 introduces graphing |x| as a V precisely because this picture unlocks every absolute value equation and inequality you will meet later. Once the V is in your head, the algebra never feels arbitrary.

Play with it

Drag the two sliders. The first moves the centre a of the V left and right (the vertex slides along the x-axis). The second raises and lowers the horizontal line y = r. Watch how the crossings appear, vanish, and merge.

Try r = 0 exactly. The horizontal line lands flat on the x-axis, and the V's tip is the only meeting point — one solution. Now drag r below zero. The line slides below the x-axis, the V stays above, and the live readout flips to "no solution". Slide a left or right; the V slides with it, but the number of crossings does not change — only their positions.

Why does sliding a never change the count? Because horizontally translating the V does not change its shape or how high it sits. The V always opens upward from the x-axis. The horizontal line y = r is also unchanged. So how many times the line cuts the V depends only on r, never on a.

Three worked examples

Example 1 — two intersections: |x − 3| = 5

The V is y = |x - 3|, vertex at (3, 0). The line is y = 5, well above the x-axis.

Read the picture. The line y = 5 is positive, so it crosses both arms of the V. Two intersections coming.

Find them. On the right arm, where x \ge 3, the V is the line y = x - 3. Setting y = 5: x - 3 = 5, so x = 8. That gives the point (8, 5). On the left arm, where x < 3, the V is the line y = 3 - x. Setting y = 5: 3 - x = 5, so x = -2. That gives the point (-2, 5).

Why those two formulas for the arms? The right arm has slope +1 rising from the vertex; the left arm has slope -1. Together they make the V symmetric about x = 3.

Solutions. x = -2 and x = 8 — the x-coordinates of the two intersection points. The picture shows them as red dots sitting on the dashed line at height 5.

Sanity check. Both are equidistant from the vertex: |-2 - 3| = 5 and |8 - 3| = 5. The 5-unit symmetry around x = 3 is the geometric meaning of the equation.

Example 2 — one intersection: |x − 3| = 0

Now the right side is zero. The horizontal line is y = 0, which is the x-axis itself.

Read the picture. The V's vertex sits on the x-axis at (3, 0). Every other point of the V is strictly above the x-axis (because |x - 3| > 0 whenever x \ne 3). So the only point where the V touches the line y = 0 is the vertex.

Solution. Exactly one: x = 3.

Why one and not two? Two intersections require the horizontal line to cut across both arms. The line y = 0 does not cut across — it just kisses the V at a single point, the tip. This is the borderline case between "two solutions" (line above the axis) and "no solution" (line below).

This matches the algebra perfectly: |x - 3| = 0 forces x - 3 = 0, with no second case to consider.

Example 3 — no intersection: |x − 3| = −5

The right side is negative. The horizontal line is y = -5, sitting 5 units below the x-axis.

Read the picture. The V y = |x - 3| lives entirely in the upper half-plane (or on the x-axis at the vertex). The line y = -5 lives entirely in the lower half-plane. They cannot possibly meet.

Solution. None. The equation |x - 3| = -5 has no real solution.

Why is the V never below the x-axis? Because |x - 3| is an absolute value — by definition it is \ge 0 for every input. There is no way to feed a real number into |\cdot| and get a negative result. The picture makes this geometric: a V opening upward from the x-axis cannot dip below it.

This is the case that catches students who solve absolute value equations purely mechanically. If you split |x - 3| = -5 into cases — x - 3 = -5 giving x = -2, and x - 3 = 5 giving x = 8 — and then do not check, you walk away with two phantom answers. Plug them back in: |-2 - 3| = 5 \ne -5, and |8 - 3| = 5 \ne -5. Both fail. The picture catches this in one glance.

What changes when you change the inside

The interactive only lets the centre a slide, but real exam problems vary the V in two more ways. A quick summary:

In every case, the same picture-question works: "how many times does this V get cut by the horizontal line y = r?" The answer is always 0, 1, or 2 — never more — because a V has only two arms, and a horizontal line can cross each arm at most once.

Why this picture matters for what comes next

Once you see absolute value equations as "V meets horizontal line", three other topics open up immediately:

This is the geometric thread that ties every absolute-value problem together.

References

  1. NCERT, Mathematics Textbook for Class 11, Chapter 6: Linear Inequalities, Section on graphical solutions .
  2. Khan Academy, "Graphing absolute value functions" .
  3. Paul's Online Math Notes, "Absolute Value Equations" .
  4. Wikipedia, "Absolute value" — graph of the absolute value function .