Keeping the sign when undoing a square
Squaring a real number erases its sign, and the principal square root returns only the nonnegative value. This guide follows negative 7 through both steps and explains why the answer is the absolute value.
What gets lost when you square
Squaring maps two different real numbers to the same result whenever they are opposites. Negative 7 times negative 7 is 49, and 7 times 7 is also 49. After the squaring step, the number 49 carries no record of which one you started with. That is why the operation cannot be undone uniquely. The square-root calculator on this site returns 7 for an input of 49, the nonnegative root. If your original value was negative 7, the round trip gives you back its magnitude and drops the sign. The behavior follows from how the square root is defined for real numbers, and it explains a fact that surprises many people the first time they see it written out: the square root of x squared equals the absolute value of x.
The principal root is a single value
In algebra the phrase square root can mean two different things. The principal square root of a nonnegative number is the one nonnegative number whose square equals it. The radical symbol denotes this principal root, so the square root of 49 is 7, and only 7. The negative number minus 7 is also a number whose square is 49, but it is not what the radical symbol returns. Keeping this convention straight avoids a lot of confusion. A calculator needs one answer for each input, and the principal root supplies it. The tool does not guess which sign you might have wanted, and nothing in the input of 49 tells it. The two cases listed below the article confirm the behavior: square negative 7 and positive 7 and both give 49, and the root of 49 is 7.
Expression versus equation
Evaluating an expression and solving an equation are different tasks. The expression square root of 49 has one value, 7. The equation x squared equals 49 asks for every real number that satisfies it, and there are two: negative 7 and positive 7. Writing the solution of the equation as x equals plus or minus the square root of 49 shows where the second sign comes from. It is added by the solver, since the radical alone would not supply it. Many errors in homework come from mixing the two. Someone who evaluates the square root of 49 and writes plus or minus 7 has answered a different question. Someone who solves x squared equals 49 and writes only 7 has lost a solution. Use the calculator for the evaluation, and add the sign yourself when the problem is an equation.
The absolute-value identity
For any real x, the square root of x squared equals the absolute value of x. The proof is short. The square x² is nonnegative, so its principal root exists. That root is nonnegative by definition, and its square is x². The absolute value of x is nonnegative and its square is also x². Two nonnegative numbers with the same square must be equal, so the root equals |x|. With x = 7 the result is 7. With x = negative 7 the result is again 7. A common shortcut says the root and the square cancel, leaving x, and that shortcut is correct only when x is already nonnegative. The absolute value is the careful statement that covers both signs, and it is what the calculator effectively computes when you chain the two steps.
Another example with a decimal
The same behavior holds for values that are not whole numbers. Take x = negative 2.5. Squaring gives 6.25. The principal square root of 6.25 is 2.5, which is the absolute value of the starting number and not the number itself. For a larger example use negative 12. Its square is 144, and the root of 144 is 12. In each case the output is positive and equal in size to the input. If the starting value were positive, the round trip would return the same number. You can try any value of either sign on the power calculator and then feed the result into the square-root calculator. The outputs will always be nonnegative, which makes this a quick test for whether a chain of operations has lost a sign.
Where the lost sign matters in practice
Distance is a good example. The distance between two points on a line is the square root of the squared difference between their coordinates. If the points are at 3 and 10, the difference is negative 7 or 7 depending on the order, and squaring both gives 49. The root is 7 either way, which is exactly what you want from a distance, since it should not depend on which point you name first. The absolute value behavior is a feature there. In other settings the lost sign is a problem. If a signed error is squared in a calculation, a later square root cannot tell you whether the measurement was too high or too low. When direction matters, carry the signed value separately and use the squared form only for magnitude.
Parentheses and the sign of the base
Written notation can hide the sign question. The expression negative 7 squared is ambiguous in plain text. With parentheses, (−7)², the base is negative 7 and the result is 49. Without them, −7² is usually read as the negative of 7 squared, which is negative 49. The power calculator receives a base and an exponent as separate fields, so entering negative 7 as the base with exponent 2 corresponds to the parenthesized form and returns 49. The first case below the article uses exactly that setup. When you copy an expression from a textbook or a spreadsheet, check how the minus sign is attached before concluding that a square can be negative. In real arithmetic, a number multiplied by itself is never below zero.
Odd roots behave differently
The loss of sign belongs to even powers. A cube keeps the sign of its base: negative 2 cubed is negative 8, and the real cube root of negative 8 is negative 2. There is no ambiguity, because only one real number has a given cube. For that reason the cube root of x cubed equals x for every real x, with no absolute value needed. The square root is special because the squaring map folds the number line in half at zero, sending both sides to the same nonnegative values. Higher even powers, such as the fourth power, fold it the same way. Knowing which family a power belongs to tells you right away whether the inverse operation can recover a sign.
A wrong simplification that looks similar
The absolute-value rule has a close relative that fails more dramatically. The square root of a squared plus b squared is not a plus b. For 3 and 4, the squares add to 25, and the principal root of 25 is 5. The sum of the original numbers is 7. The first is the length of the hypotenuse of a right triangle with legs 3 and 4, and the second is the distance walked along the legs. Checking such a step with a calculator takes seconds and avoids carrying a false identity through a longer derivation. A useful test is to ask whether the simplified form gives the same number for one easy input. If it does not, the step is invalid, regardless of how natural it looks on the page.
Root-mean-square and the same sign loss
Many practical measures square values first and take a root afterward, and they inherit the loss of sign. Consider the two values negative 3 and positive 3. Their squares are both 9, the mean of the squares is 9, and the root is 3. The ordinary average of the original values is 0, which hides the spread. The root-mean-square value reports a typical magnitude, and it cannot say anything about direction. That property is intended in contexts such as the effective value of an alternating signal, where the sign swings back and forth. When you chain squaring and rooting by hand with the power and square-root calculators, you reproduce this behavior in miniature. The sign is gone after the first step, and no later step can bring it back.
Reading the three cases in order
The cases shown under the article form a small chain. The first squares negative 7 with the power calculator, so the base carries its sign and the exponent is 2. The result, 49, has no sign left. The second passes 49 to the square-root calculator and gets 7. The third squares positive 7 and again gets 49. Comparing the first and third cases shows that two different inputs produced one output, which is the loss of information that makes the inverse ambiguous. Comparing the first and second shows the path back, which lands on 7 and not on negative 7. If you add a fourth step of your own, such as comparing the original input with the final output, the difference between them is exactly the sign that was dropped.
Staying inside real arithmetic
The worksheet uses real numbers only. The square root of a negative real number is not a real number, and extending the idea to complex numbers brings its own conventions for a principal value. That is a separate topic, and the linked tools are not used here to explore it. The cases shown with this article never ask for the root of a negative input. They square a negative number and then take the root of the positive result. If you work with symbolic expressions, remember that the identity needs the absolute value unless a domain restriction, such as x being nonnegative, is stated. Without that restriction, simplifying the root of x squared to x can change the meaning of the expression.
Reproduce the checks
Square a negative value
Open the Power calculator and enter:
- Base
-7- Exponent
2
Expected output:
Power
49The sign is lost in the squared result.
Principal root
Open the Square Root Calculator and enter:
- Value
49
Expected output:
result
7The root expression returns the nonnegative value.
Square the positive value
Open the Power calculator and enter:
- Base
7- Exponent
2
Expected output:
Power
49A second original sign gives the same square.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- MathWorld ↗ · 2026-10-08