A class IX student's indignant question: "Ma'am, you squared it and then you took the square root. The square and the square root undo each other. So \sqrt{x^2} is just x. Why do you insist on writing |x|?"

It is a reasonable objection, and half of it is right. The square and the square root are inverses — kind of. The catch is hidden in the word inverses: they are inverses only when x \geq 0, and the square-root convention breaks the symmetry when x is allowed to be negative. Working through a single numerical example pins down exactly where the absolute value enters.

The confusion, made concrete

Try x = -3. Compute \sqrt{x^2} step by step.

Step 1. x^2 = (-3)^2 = 9.

Step 2. \sqrt{9} = 3.

So \sqrt{(-3)^2} = 3, not -3.

If the claim "\sqrt{x^2} = x" were true, then plugging in x = -3 would give \sqrt{9} = -3. It does not. The square-root function refuses to return -3; it returns 3. So the shortcut "square and root cancel" is not quite right for negative numbers — the sign gets lost along the way, and the absolute value is what restores the correct sign-free answer.

\sqrt{(-3)^2} = |-3| = 3

The absolute value is not a pedantic decoration. It is the actual output of the square root when the original x was negative.

Where the sign disappears

The problem is squaring, not rooting. Squaring is the step that throws away the sign of the input:

Two different inputs, same output. Once the output is 9, there is no way to tell which of the two inputs produced it. The "9" has forgotten its parent.

The square root then has to pick one number to return — and by the principal-root convention from Roots and Radicals, it picks the non-negative one. So \sqrt{9} = 3, always. The negative ancestor -3 gets silently forgotten.

Why the convention matters: the symbol \sqrt{\,\,} is defined as a function — one input, one output. If it returned both 3 and -3 for input 9, it would not be a function, and every formula using it would become two formulas. The choice of the non-negative output is a convention that makes \sqrt{\,\,} well-defined as a function, and every correct identity involving it obeys that convention.

The two-case breakdown

The identity \sqrt{x^2} = |x| is really two cases stitched together.

So "\sqrt{x^2} equals x" is right for the first case and wrong for the second. "\sqrt{x^2} equals |x|" is right for both, because |x| is exactly the compact notation for "x if non-negative, -x if negative" — which is what the principal square root computes.

Why the absolute value actually protects you

This is not nit-picking. Here is a standard way the mistake costs marks on JEE.

Problem. Solve x^2 = 49.

Careful approach. Take the principal square root of both sides:

\sqrt{x^2} = \sqrt{49} \implies |x| = 7 \implies x = \pm 7

Careless approach. Write "\sqrt{x^2} = x" and conclude x = 7.

The careless approach loses the solution x = -7. Half the answer is missing, which will be half the marks — and in a competitive exam, a single missed solution on one question can change your rank by thousands.

The cleanest JEE-safe reflex is: every time you take the square root of a square, write an absolute value. Then split into cases. The habit is what protects you.

Where students derail: "but I did it right"

The most stubborn version of the misconception shows up in simplification problems.

A student is asked to simplify \sqrt{a^2}, given that a is a negative number. They write:

\sqrt{a^2} = a

Then they substitute, say, a = -5: the answer is -5. But the principal square root was supposed to be positive. The student's answer has the wrong sign.

The correction: \sqrt{a^2} = |a| = -a when a is negative. Plug in a = -5: -a = -(-5) = 5. That is the right (positive) answer.

The sign-flip "|a| = -a for negative a" looks counter-intuitive — "how can the absolute value equal minus-a?" — but it is straightforward. If a = -5, then -a = -(-5) = 5, which is positive. So for negative a, the expression "-a" evaluates to a positive number, and that is the absolute value.

When you can drop the absolute value

The one situation where writing \sqrt{x^2} = x is defensible is when you have a guarantee that x \geq 0. For example:

In all other situations — in particular, when x is a free variable and you are trying to solve an equation — always write the absolute value. It is free information; dropping it can only hurt you.

The slightly deeper reason

Why is there no parallel confusion with the cube root? Nobody says \sqrt[3]{x^3} = |x|. For cube roots, the simpler identity \sqrt[3]{x^3} = x really is correct for every real x — positive or negative.

The difference is that cubing preserves sign: (-3)^3 = -27, sign intact. The cube root reads this signed cube and returns the original -3. There is no information loss, so there is no need for an absolute value.

The even powers (x^2, x^4, x^6, \ldots) destroy sign; their roots have to introduce an absolute value to patch over the damage. The odd powers preserve sign; their roots do not need it. This is the general pattern in Roots and Radicals: even roots come with absolute-value caveats, odd roots do not.

The takeaway

"\sqrt{x^2} = x" is a half-truth that is correct for x \geq 0 and wrong for x < 0. The full-truth version, "\sqrt{x^2} = |x|," is correct for every real x. The absolute value is there because the principal square root is always non-negative, while x itself might not be. Writing the absolute value is not your teacher being pedantic — it is the algebra being honest.

Related: Roots and Radicals · Why √(x²) Draws the Same V as |x| · Can √16 Be Both 4 and −4, or Just 4? · Absolute Value Equations