CalculatorSignAll calculators

Square Root Squared Calculator for Both Operation Orders

Compare squaring after taking a real square root with taking the principal square root after squaring a signed number.

Square Root Squared Calculator for Both Operation Orders

Result
—

Use this calculator on your site

Paste the full code, including the CalculatorSign credit, into a Custom HTML block on your site.

Preview widget

This square root squared calculator compares two expressions with opposite orders of operation. It shows the result of squaring the principal square root of x and the result of taking the principal square root of x squared. Enter a signed real number. The table makes the different domain rules visible, especially when the starting value is negative.

Read the grouping before evaluating

In (√x)², the square root is inside the parentheses. It is evaluated first. Once a real square root exists, multiplying it by itself recovers the original nonnegative x. For real arithmetic you therefore need x to be at least zero before beginning this order of operations.

In √(x²), the exponent belongs to the expression under the root. Square x first. Every real x gives a nonnegative square, including a negative starting value. The principal root then returns the nonnegative distance of x from zero. In symbols, that is the absolute value of x.

The placement of the square and parentheses is important when entering a negative value by hand. Writing (−5)² squares the complete signed number and gives 25. If the minus sign is outside the squared expression, as in −(5²), the result is −25. Identify which expression your problem means before checking it.

Worked example starting from −13.5

Let x = −13.5. For the square-first expression, multiply −13.5 by −13.5. This gives 182.25. The principal square root of 182.25 is 13.5. The output is positive because it chooses the nonnegative root of the squared number.

For the root-first expression, the initial operation would be √(−13.5). There is no real value whose square equals −13.5. The first step is therefore undefined over the reals. Since the inner operation has no real result, there is no number to square in this version of the problem.

That difference explains why the two expressions are often confused. Starting with −13.5 and squaring first changes the sign information. After the square, −13.5 and +13.5 would give the same 182.25. The principal square root has no way to tell which of the two originally led to that value.

Compare a positive example and zero

Change the input to 13.5. Both rows now give 13.5. In the first row, taking its principal root produces a positive value and re-squaring it recovers the input. In the second row, the square is 182.25 and its principal root is 13.5. Since 13.5 is already nonnegative, its absolute value equals the original number.

At zero, both methods also give zero. This is a shared boundary for the root-first method. Positive numbers and zero belong to the real square root's domain. Negative numbers still work in the square-first method because its radicand comes from the prior squaring step.

As another exact check, enter −8 and consider the square-first sequence. Squaring gives 64, and its principal square root is 8. The negative value −8 is a solution to the equation u² = 64, as is 8. The radical symbol √64 denotes the principal value, so the operation gives 8.

Use the distinction to simplify algebra

For a variable whose sign is unknown, √(x²) simplifies to |x| in real arithmetic. If a problem tells you x is nonnegative, the absolute value can be written as x. If it tells you x is negative, the absolute value is −x because changing the sign makes the value positive.

The same reasoning can apply to a larger expression. For example, √((y − 4)²) becomes |y − 4|. With y = 1, the expression inside the square is −3, and the root after squaring gives 3. Without knowing the sign of y − 4, dropping the absolute value could change the answer. OpenStax background on radical expressions.

The tool evaluates the identities directly for a real numeric input. In the square-first expression it can report the magnitude without rounding a large square as an intermediate result. This still implements the mathematical sequence because the square followed by its principal root is the original magnitude.

Frequently asked questions

Why does the output of √(x²) never have a negative sign?

The principal square root is the value at or above zero. When the input is negative, the squared number has a positive root equal to the input's magnitude.

Does squaring always reverse a square root?

Over the real numbers, squaring the principal square root returns its nonnegative input. The input must belong to the root's domain for that statement to apply.

Can I type a negative decimal?

Yes. The results use the same rules for decimal inputs as for integer ones. A value such as −0.2 gives 0.2 when squared first and then passed through the principal root.

Is this the same as finding both roots of an equation?

These are expression evaluations. A quadratic equation can have two real solutions, even though a principal radical expression specifies one value. The table focuses on the two operation orders.

OpenStax on square roots, radicals and real-number expressions