Why is the square root of x^2 = |x|?

Click For Summary
SUMMARY

The equation √(x²) = |x| holds true for all real numbers x, as the square root function is defined to return only the principal (positive) square root. In the discussion, a common misconception arises when interpreting the square root of a squared number, leading to confusion between the values ±2 and the single value 2. The correct interpretation emphasizes that while x² can yield both positive and negative roots, the square root function itself is inherently single-valued, thus √(x²) = |x|. This distinction is crucial for understanding the properties of square roots and absolute values.

PREREQUISITES
  • Understanding of basic algebraic operations, including squaring and square roots.
  • Familiarity with the concept of absolute value and its properties.
  • Knowledge of functions and their definitions, particularly the square root function.
  • Basic understanding of quadratic equations and their solutions.
NEXT STEPS
  • Study the properties of the square root function and its definition in mathematics.
  • Learn about absolute values and their applications in solving equations.
  • Explore quadratic equations and methods for solving them, including factoring and the quadratic formula.
  • Investigate the differences between functions and relations in mathematics.
USEFUL FOR

Students of mathematics, educators teaching algebra, and anyone seeking to clarify their understanding of square roots and absolute values in mathematical equations.

Ebby
Messages
41
Reaction score
14
Homework Statement
Why is the square root of x^2 = |x|?
Relevant Equations
sqrt(x^2) = |x|
If I reason this as follows, I run into problems. Please help me understand what is wrong with reasoning like this.

a) I start with the left hand side of the equation and let that x be -2.
b) I square it. This gives me 4. So I now have the square root of 4.
c) The square root of 4 is +/- 2. The left hand side is now +/-2.
d) I now let the x of the right hand side of the equation be -2.
e) I take the magnitude, which is 2. The right hand side is now 2.

Overall, I now have +/-2 = -2, which is wrong.
 
Physics news on Phys.org
Ebby said:
The square root of 4 is +/- 2.
Yes, but sqrt(), or√, is a function and therefore single valued. It is defined as the positive square root.
 
  • Like
Likes   Reactions: Ebby
Ebby said:
Homework Statement: Why is the square root of x^2 = |x|?
Relevant Equations: sqrt(x^2) = |x|

If I reason this as follows, I run into problems. Please help me understand what is wrong with reasoning like this.

a) I start with the left hand side of the equation and let that x be -2.
b) I square it. This gives me 4. So I now have the square root of 4.
c) The square root of 4 is +/- 2. The left hand side is now +/-2.
d) I now let the x of the right hand side of the equation be -2.
e) I take the magnitude, which is 2. The right hand side is now 2.

Overall, I now have +/-2 = -2, which is wrong.
It depends somewhat on what you are trying to do.

The ##\sqrt{}## function is a function: it must be single valued. By convention, we choose to take the positive branch, so ##\sqrt{4} = 2##, not ##\pm2##.

If you want to solve ##x^2 = 4## then what you need to do is this:
##x^2 = 4##

##x^2 - 4 = 0##

##(x + 2)(x - 2) = 0##

Thus either ##x + 2 = 0 \implies x = -2## or ##x - 2 = 0 \implies x = 2##, so ##x = \pm 2##.

-Dan
 
  • Like
Likes   Reactions: Ebby
Ebby said:
Homework Statement: Why is the square root of x^2 = |x|?
Relevant Equations: sqrt(x^2) = |x|

c) The square root of 4 is +/- 2.
This statement is problematic because "+/- 2" is not a number. It is a pair of numbers, namely, "+2, -2". We cannot equate a pair of numbers on one side with one number on the other side of an equation. Thus, we cannot conclude that, "The left hand side is now +/-2", and consequently, cannot conclude the rest of the reasoning, i.e., parts d) and e).
 
  • Like
Likes   Reactions: Ebby, jack action and topsquark
With both ##x^2## and ##|x|## you have a pair of numbers (positive and negative values) that leads you to the same answer.

On the left-hand side, you are solving ##x^2## and then reversing it, giving you the pair of numbers. To be fair, you should do the same on the right-hand side:
$$\sqrt{x^2} = ±|x|$$
 
  • Like
Likes   Reactions: Ebby, DaveE and Hill
jack action said:
With both ##x^2## and ##|x|## you have a pair of numbers (positive and negative values) that leads you to the same answer.

On the left-hand side, you are solving ##x^2## and then reversing it, giving you the pair of numbers. To be fair, you should do the same on the right-hand side:
$$\sqrt{x^2} = ±|x|$$
This is wrong. ##\sqrt x##, by definition, is a positive number.
 
  • Like
Likes   Reactions: Ebby and topsquark
PeroK said:
This is wrong. ##\sqrt x##, by definition, is a positive number.
Let me rewrite that for the purists while still considering the OP's questioning:
$$±\sqrt{x^2} = ±|x|$$
https://en.wikipedia.org/wiki/Square_root said:
Every positive number ##x## has two square roots: ##\sqrt{x}## (which is positive) and ##-\sqrt {x}## (which is negative). The two roots can be written more concisely using the ##±## sign as ##±\sqrt {x}##.
 
  • Like
Likes   Reactions: Ebby
jack action said:
Let me rewrite that for the purists while still considering the OP's questioning:
$$±\sqrt{x^2} = ±|x|$$
That says no more or less than ##\sqrt{x^2} = |x|##. If ##a =b## then ##-a = -b##.
 
  • Like
Likes   Reactions: Ebby
PeroK said:
That says no more or less than ##\sqrt{x^2} = |x|##. If ##a =b## then ##-a = -b##.
Your equation says basically ##a=a## where ##a## is the absolute value of ##x##. Mine says##\{-x, x\} = \{-x, x\}##. The OP is mixing both concepts by saying ##\{-x, x\} = a##.
 
  • Like
Likes   Reactions: Ebby
  • #10
jack action said:
Your equation says basically ##a=a## where ##a## is the absolute value of ##x##. Mine says##\{-x, x\} = \{-x, x\}##. The OP is mixing both concepts by saying ##\{-x, x\} = a##.
Or rather, ##\{-x, x\} = \{a\}##
 
  • Like
Likes   Reactions: Ebby and jack action
  • #11
For the equation x^2-1=0, there are two answers, 1 and -1.

You can solve the equation by quadratic formula:

x= (0 +/- sqrt(0-4(1)(-1)) / 2(1) =+/-sqrt(4)/2
x= +/-1

or solve by simpler factorization

(x+1)(x-1)=0

which is true for:

(-1+1)(-1-1)
and for
(1+1)(1-1)

But definitionally, the square root function is the positive answer to the question of what number squared is x^2. The quadratic formula gives the +/- outside of the square root function.

Your confusion is between the answer to what number squared is 1 and what is the square root of 1. The square root is 1. There are two numbers that when squared are 1, +1 and -1. It is a trivial difference and that is easy to get sloppy about.
 
  • Like
Likes   Reactions: Ebby
  • #12
votingmachine said:
Your confusion is between the answer to what number squared is 1 and what is the square root of 1
I disagree. “The square root" is not a function. There are two square roots, just as there are n nth roots of unity. sqrt and √ are functions, returning the positive square root.
 
  • Like
Likes   Reactions: Ebby
  • #13
jack action said:
Your equation says basically ##a=a## where ##a## is the absolute value of ##x##. Mine says##\{-x, x\} = \{-x, x\}##. The OP is mixing both concepts by saying ##\{-x, x\} = a##.
That's not right, either. ##\pm## denotes an ordered pair, whereas a set is unordered.
 
  • Like
Likes   Reactions: Ebby
  • #14
To summarise what I believe to be the mainstream mathematical view on this. It's important for any student to understand that for all real numbers ##x##
$$\sqrt {x^2} = |x|$$Without any quibbles or embellishments.
 
  • Like
Likes   Reactions: Ebby
  • #15
This was interesting to read. Thank you all for helping.
 
  • Like
Likes   Reactions: Lnewqban and PeroK

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
9
Views
754
  • · Replies 3 ·
Replies
3
Views
3K
Replies
4
Views
2K
Replies
28
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
Replies
8
Views
1K
  • · Replies 7 ·
Replies
7
Views
796