Sub topic 15
Why the square root of x squared is |x|
This chapter assumes you can square numbers, solve linear equations, and read absolute value as distance from zero. It builds on three earlier ideas: the definition of absolute value, the meaning of a root, and the sign of even powers. The goal is to make one identity automatic: for every real number x, √(x²) = |x|.
The identity and why it holds
Many students learn that "the square root undoes the square," so √(x²) = x. That holds only when x is zero or positive. If x is negative, it fails.
Try x = −5:
- Square it: (−5)² = 25.
- Take the square root: √25 = 5.
The result is 5, not −5. The output is the distance of −5 from zero, which is |−5|.
The identity follows from two facts:
- The symbol √ means the principal square root. It always returns a number that is zero or positive.
- x² is zero or positive for every real x, and its square root is the nonnegative number whose square is x².
Both x and −x square to x². Of the two, exactly one is nonnegative, and that one is |x|. So √(x²) = |x|.
You can also split it into cases:
| Case | x² | √(x²) | Equals | Column | Column |
|---|---|---|---|---|---|
| x ≥ 0 | x² | x | x, which is | x | |
| x < 0 | x² | −x (positive) | −x, which is | x |
When x is negative, −x is positive. That is why the second case works.
import math
x = -5
# sqrt returns the nonnegative root, so sqrt(x**2) equals |x|, not x
assert math.sqrt(x**2) == abs(x) == 5
# x**2 == 9 has two solutions, but sqrt(9) is only the principal root
assert sorted(n for n in range(-10, 11) if n**2 == 9) == [-3, 3]
assert math.sqrt(9) == 3Square root versus solving x² = k
Two different questions are easy to confuse.
- Evaluate √9. The answer is 3 only. The radical symbol asks for the principal root.
- Solve x² = 9. The answer is x = 3 or x = −3. Here you are finding every number whose square is 9.
The second answer comes from the identity. Take the square root of both sides of x² = 9 and you get √(x²) = √9, so |x| = 3. An absolute value equation then gives two solutions. The "±" in the quadratic solution is the absolute value showing up.
Related identities
The same logic applies to any even root of an even power.
- √(x²) = |x|
- ⁴√(x⁴) = |x|
- For odd roots, the sign is kept: ∛(x³) = x. For example, ∛((−2)³) = ∛(−8) = −2. No absolute value is needed because an odd root of a negative number is negative.
Also remember that √(x²) is not the same as (√x)². The expression (√x)² = x requires x ≥ 0 to be defined at all, because you cannot take the real square root of a negative number. The expression √(x²) is defined for every real x.
| Expression | Defined for | Value | Column | Column |
|---|---|---|---|---|
| √(x²) | all real x | \ | x\ | |
| (√x)² | x ≥ 0 | x | ||
| ∛(x³) | all real x | x |
Using the identity in problems
Simplifying an expression
Simplify √((x − 4)²). The answer is |x − 4|, not x − 4. If you are told x < 4, then x − 4 is negative, so |x − 4| = 4 − x.
Using a given sign
Suppose x < 0 and you must simplify √(x²) + x.
- √(x²) = |x| = −x, because x is negative.
- The sum is −x + x = 0.
If you had written √(x²) = x, you would have gotten 2x, which is wrong.
Solving an equation
Solve √((2x − 1)²) = 7.
- Apply the identity: |2x − 1| = 7.
- Split into two cases: 2x − 1 = 7 or 2x − 1 = −7.
- Solve: x = 4 or x = −3.
Check x = −3: 2(−3) − 1 = −7, and √((−7)²) = √49 = 7. It works.
import math
# sqrt((2x - 1)^2) = 7 has solutions x = 4 and x = -3
for x in (4, -3):
assert math.sqrt((2 * x - 1) ** 2) == 7
# Confirm there are no other integer solutions in a range
sols = [x for x in range(-50, 51) if math.sqrt((2 * x - 1) ** 2) == 7]
assert sols == [-3, 4]Quantitative Comparison
A typical setup gives these two quantities:
- Quantity A: √(x²)
- Quantity B: x
with no information about x. Test special values:
- x = 3: A = 3, B = 3. They are equal.
- x = −3: A = 3, B = −3. A is greater.
Different values give different relationships, so the answer is "the relationship cannot be determined." If the problem had said x < 0, A would always be greater. If it had said x ≥ 0, they would always be equal.
Common mistakes
- Dropping the absolute value. Writing √(x²) = x for all x.
- Confusing √9 with the solutions of x² = 9. The radical gives 3. The equation gives 3 and −3.
- Mixing up where the sign comes from. The expression −√9 equals −3. Here the negative sign sits outside the radical, which is a different situation from a negative result inside it.
- Applying the identity to odd roots. ∛(x³) = x, with no absolute value.
- Forgetting the domain of (√x)². This expression only exists for x ≥ 0.
- Assuming a variable is positive. A variable is only positive if the problem says so. Unstated signs are a standard GRE trap.
Quick checklist
- See √ of something squared: write the absolute value.
- See an even root of an even power: write the absolute value.
- See an odd root of an odd power: no absolute value.
- Know the sign of x: remove the absolute value by cases.
- Do not know the sign: test positive, negative, and zero values.
Exercise
If x < 0, simplify √(x²) − 2x. Then state, for x = −4, whether the value of √(x²) − 2x is equal to √16 − 2(−4).
Show answer
Since x < 0, √(x²) = |x| = −x. The expression becomes −x − 2x = −3x. For x = −4, that is −3(−4) = 12. The direct computation is √16 − 2(−4) = 4 + 8 = 12. So the two values are equal.
Exercise
Quantity A is √((x − 6)²). Quantity B is 6 − x. You are told x > 6. Which quantity is greater, or are they equal, or can the relationship not be determined?
Show answer
Since x > 6, x − 6 is positive, so √((x − 6)²) = |x − 6| = x − 6. Quantity B is 6 − x, which is negative. Quantity A is positive, so Quantity A is greater. Example check: for x = 10, A = 4 and B = −4.
Exercise
Solve √((x + 2)²) = 5 and list every solution.
Show answer
The identity gives |x + 2| = 5, so x + 2 = 5 or x + 2 = −5. Therefore x = 3 or x = −7.