When does the square root of x squared equal x?

The square root of x squared equals |x| for every real x. It equals x when x is nonnegative, and −x when x is negative. The difference matters as soon as an exercise contains an unknown sign or a shifted expression such as x − 4. This guide gives a complete paper-and-pencil method: identify the whole squared quantity, preserve its magnitude with absolute value, and use the stated interval to choose a valid expression. All examples and practice tasks below are original.

Two blue wooden arrows of similar length point in opposite directions beside a white square frame

Read the square root of x squared as a magnitude

Start with a counterexample to automatic cancellation. Set x = −6. Squaring first gives x² = 36; the principal square root of 36 is 6. The original input was −6, so the result is not x. Both signs produce the same square, but the radical symbol selects the nonnegative root. Zero is included in nonnegative: √0 = 0.

Use the small table to compare inputs rather than relying on one positive test. It shows exactly where the shortcut works and where it fails. The negative input does not make the radicand negative, because the square has already been calculated. Parentheses around a negative number help keep that order visible.

Original substitution checks over the real numbers
xx²√(x²)
−6366
000
6366

The photographs use teaching props to illustrate direction, magnitude and grouping. They are not graphs or numerical evidence. The mathematical checks come from the expressions and substitutions. If you need a broader starting point for notation, the algebra homework guide connects symbols with the quantity being calculated.

An adult hand stretches a blue cord between two white pegs as a length analogy

Justify the absolute value before removing it

For any real number a, absolute value is its distance from zero. In symbols, |a| = a if a ≥ 0, and |a| = −a if a < 0. The second expression is nonnegative because a is negative in that case. A minus sign in front of a variable does not tell you the sign of the resulting number without knowing the variable’s value.

Here is a compact justification of √(a²) = |a|. The number |a| is nonnegative, and its square is a². Those two properties identify the principal square root of a². Squaring the proposed answer alone is insufficient: a and −a have the same square. You must also check that the proposed square-root value is nonnegative.

OpenStax’s treatment of roots with variables supplies the definition and absolute-value convention. Our practical use of it is to keep the bars until the sign of the whole inner quantity is known. An unstated assumption that every variable is positive would change the exercise. If your textbook explicitly supplies that assumption, record it before simplifying.

Keep a shifted expression together

Consider E(x) = √(9(x − 4)²). Rewrite the radicand as [3(x − 4)]². The square root is therefore |3(x − 4)| = 3|x − 4|, because the outside factor 3 is positive. The quantity whose sign matters is x − 4, not x alone. A positive x can still produce a negative x − 4.

At x = 1, the original radicand is 9 × (−3)² = 81, so E(1) = 9. Writing 3(x − 4) would instead give −9 and fail the nonnegative-output check. At x = 6, the radicand is 36 and the value is 6; here 3(x − 4) works. At x = 4, the value is zero. These checks locate the sign change at four.

Do not distribute the absolute value across subtraction: |x − 4| is not generally |x| − 4. At x = 1, the first is 3 and the second is −3. Brackets are doing essential work. In your notes, draw one box around the entire expression before replacing its square root with an absolute value.

A folded blue ribbon lies entirely inside a white square frame

Use an interval to choose the correct case

The expression x − 4 is negative to the left of four and nonnegative at or to its right. Thus E(x) = 12 − 3x for x < 4, and E(x) = 3x − 12 for x ≥ 4. Both formulas give zero at four, so assigning the boundary to either case is possible if the cases cover it once and clearly state their conditions.

If the exercise states x ≤ 1, then every permitted x lies below four. You may use E(x) = 12 − 3x throughout that stated domain. If it states 2 ≤ x ≤ 7, the interval crosses four. One branch cannot represent the entire interval; retain 3|x − 4| or write both cases with the appropriate restricted intervals.

This is a sign decision, not a preference for the simpler-looking formula. Test a permitted value on each side of the boundary and check the endpoint separately. The math problem-solving guide offers a broader setup-and-check routine; here the setup is the sign of the complete squared factor, and the final check must respect the interval printed in the task.

Try the next step with your own homework.

Bring your question and attempt into Lirno. Ask for a hint, discuss the reasoning, then try the next step yourself.

Get Lirno for iOS

Distinguish the two orders of operations

Compare √(x²) with (√x)² over the real numbers. In the first expression, x is squared before the square root is taken. Every real input is allowed, and the result is |x|. In the second expression, the inner square root must exist first. That requires x ≥ 0, and squaring its nonnegative value returns x on that domain.

For x = −6, the first expression is 6; the second has no real value. For x = 9, both equal 9. Agreement at positive inputs therefore cannot establish that the two expressions have the same real domain. Write the order in words if the notation feels visually similar: square, then root; or root, then square.

The distinction also explains why erasing a root sign and a square without examining their positions is unreliable. An algebraic identity includes its permitted inputs. A transformed expression that produces a number where the original is undefined does not preserve the original function. Keep domain and value as separate lines in your solution, rather than trying to hide both decisions in a cancellation mark.

Two differently shaded blue cords lie on opposite sides of a white divider

Check what is actually being squared

For √(x⁴), group the radicand as (x²)². Its principal root is |x²| = x², since x² is already nonnegative for every real x. Absolute-value bars may therefore disappear here without assuming x itself is nonnegative. For √(x⁶), the inner squared quantity is x³, giving |x³|. A negative x makes x³ negative, so removing those bars needs a sign condition.

At x = −2, √(x⁴) = √16 = 4 = x², whereas √(x⁶) = √64 = 8, not x³ = −8. This pair is useful because it changes the sign of the inner quantity while keeping the outside root the same. Identify that inner quantity before applying an exponent shortcut.

A sum needs a different check. √(x² + 9) does not simplify to |x| + 3. At x = 4, the original is √25 = 5, whereas the proposed split is 7. The square-root operation does not distribute across addition. Locate the grouping under the radical before deciding whether the whole radicand is a square.

Preserve exclusions when an expression is divided

A nearby exercise is R(x) = √((x − 4)²)/(x − 4). The numerator becomes |x − 4|, but the denominator still excludes x = 4. For x > 4, numerator and denominator match, so R(x) = 1. For x < 4, the numerator is −(x − 4), so R(x) = −1. At four the original quotient is undefined.

Calling the quotient one everywhere would confuse magnitude with signed value. Calling it zero at four would ignore division by zero. Check R(1) = 3/(−3) = −1 and R(6) = 2/2 = 1 directly. Do not substitute four into a simplified branch that was derived only for values strictly on one side of it.

When a check fails, label the error precisely: missing absolute value, wrong inner sign, incorrect grouping or lost exclusion. The mistake-review method helps turn that label into a new attempt. A useful correction includes the condition that makes the repaired line true, rather than merely adding bars wherever a radical appears.

Finish with a fresh sign decision

Try H(t) = √((2t + 6)²) without looking back at E. First write a result valid for all real t. Then remove the absolute value under the restriction t < −3. Finally, decide whether that same branch remains valid on −5 ≤ t ≤ 0. Show at least one substitution before reading the check below.

The general form is |2t + 6|. When t < −3, the inner expression is negative, so H(t) = −2t − 6. At t = −5 this gives 4, matching √16. At t = 0 the original value is 6, while that negative branch would give −6. The interval from −5 to zero crosses the boundary −3, so it needs both cases. At the boundary, H(−3) = 0.

For one last check, explain why |x²| may become x² for every real x while |x − 4| cannot become x − 4 without a condition. Your explanation should name the complete inner quantity and establish its sign. That is the reusable method: group, take magnitude, apply the stated sign information, and verify the original expression.

An adult learner checks a notebook on a white courtyard bench

Questions about this method

Does √(x²) have a plus-or-minus answer?

The expression has one nonnegative value, |x|. The equation y² = x² asks a different question and may have two distinct solutions when x is nonzero. At x = 0 those two candidates coincide.

Can I assume that a variable under a square root is positive?

Use only the assumptions actually stated in the task or its textbook convention. In √(x²), the radicand is nonnegative for every real x, so the mere presence of the radical does not force x to be nonnegative.

How can I check a simplified square root?

Check its domain, nonnegative output and square against the original radicand. Test a negative inner quantity and a boundary. One successful positive substitution cannot prove an identity for all real inputs.

Topics
  • Square roots
  • Absolute value
  • Signs
  • Real numbers
  • Algebraic expressions
  • Intervals
  • Piecewise rules
  • Substitution checks