Why does SQRT((-3)^2) equal 3 instead of -3?

  • Context: High School 
  • Thread starter Thread starter DMBdyn
  • Start date Start date
  • Tags Tags
    Exponents
Click For Summary

Discussion Overview

The discussion centers around the expression SQRT((-3)^2) and why it equals 3 instead of -3. Participants explore the properties of square roots, the implications of squaring negative numbers, and the order of operations involved in evaluating such expressions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about why SQRT((-3)^2) equals 3 and questions the cancellation of exponents.
  • Another participant explains that the square root function is typically defined to yield the positive root, suggesting that SQRT(x^2) = |x|.
  • A participant points out that if x is defined as -3, then SQRT(x^2) could yield -3, raising questions about the order of operations.
  • Some participants clarify that the principal square root is defined as the positive root, and thus SQRT(9) equals 3, not -3.
  • There is a discussion about the non-invertibility of the squaring function over negative numbers, as both -3 and 3 map to the same value when squared.
  • One participant mentions that the square root of a squared negative number can lead to confusion, emphasizing that the square root function is defined over non-negative reals.
  • Another participant highlights that the expression SQRT(x^2) does not equal x for all real numbers, particularly when considering negative inputs.

Areas of Agreement / Disagreement

Participants generally agree that SQRT((-3)^2) equals 3, but there is disagreement about the implications of defining x as negative and the order of operations. The discussion remains unresolved regarding the broader implications of square roots and squaring negative numbers.

Contextual Notes

Some participants note that the square root function is only defined for non-negative numbers, which affects the interpretation of expressions involving negative inputs. There are also references to the potential for confusion when dealing with the principal square root versus other possible values.

DMBdyn
Messages
7
Reaction score
0
I am having trouble understanding why the following expression is equal to 3:

SQRT((-3)^2)

What prevents me from cancelling the exponent 2 by the exponent 1/2 introduced by the square root, which yields a value of -3?

Thanks for the help!
 
Mathematics news on Phys.org
What does SQRT() do?

Usually the surd is defined so that ##\sqrt{x}## is the positive square root, when taken by itself like you seem to have.
Computer scripts usually evaluate it the same way. When it appears in an expression, you can use the context to help.
You can tie yourself in knots doing the other way.

Put ##x=\sqrt{(-3)^2}## ... what values of x make this expression true?

By order of operation you do the inner brackets first ... so you could write:
##x = ((-3)^2)^{1/2}## and still get the same out.
 
SQRT(x^2) = |x|

SQRT((-3)^2) = |-3| = 3

I hope I could help.
 
Okay... so from what I'm understanding so far you should work from the inside out when dealing with parentheses inside parentheses. This allows me to get the value of 3. However, suppose I define x = -3. I then have SQRT(x^2) which yields just x. This simplification yields -3 as the result of the expression. What gives?

Thanks again for all the help.

*EDIT: Reading some more online it looks as though a square root more explicitly defined has two solutions, both a positive and negative. This doesn't necessarily answer my question on correct order of operations in this scenario, however. Any help there is still appreciated.
 
You did the maths wrong.
x==-3, x^2 = 9, SQRT(9)=3 = -x
i.e. if x<0, then SQRT(x^2)=-x
i.e. SQRT(x^2) = |x|

note: if x < 0, then ##\sqrt{x} = i\sqrt{-x}: i=\sqrt{-1}##
 
Last edited:
DMBdyn said:
Okay... so from what I'm understanding so far you should work from the inside out when dealing with parentheses inside parentheses. This allows me to get the value of 3. However, suppose I define x = -3. I then have SQRT(x^2) which yields just x.
No (as Simon already said). ##\sqrt{(-3)^2} = \sqrt{9} = 3 \ne -3##
DMBdyn said:
This simplification yields -3 as the result of the expression. What gives?

Thanks again for all the help.

*EDIT: Reading some more online it looks as though a square root more explicitly defined has two solutions, both a positive and negative.
No. The principal square root of a number x, which is denoted as ##\sqrt{x}##, is the positive number a such that ##a^2 = x##. I'm assuming here that x is a nonnegative real number, so that we don't go off into the imaginary numbers.
DMBdyn said:
This doesn't necessarily answer my question on correct order of operations in this scenario, however. Any help there is still appreciated.
Your question was already answered. ##((-3)^2)^{1/2}## should be evaluated from the inner-most parentheses outward.
 
You can't cancel them because they aren't inverse functions over the domain of negative numbers. The square function isn't one to one. Both -3 and 3 map to the same number 9. So it doesn't have an inverse. It only has an inverse when taken over a limited domain (such as non-negative real numbers).
 
You can simplify it under sqrt as,
√(-3)2 ⇒ √(-3)×(-3) = √9 = ±3

I hope it' ll help.
 
  • Like
Likes   Reactions: Rajesh Bhuria
Deepak suwalka said:
You can simplify it under sqrt as,
√(-3)2 ⇒ √(-3)×(-3) = √9 = ±3
That last part is incorrect, but it is a very common mistake. √9 = 3. The symbol √9 represents the principal square root of 9, which is 3.
 
  • Like
Likes   Reactions: Simon Bridge
  • #10
... for example: the quadratic formula has a ##\pm## before the root symbol [##2ax = -b^2\pm\sqrt{b^2-4ac}##]... which makes no sense if the ##\pm## is implicit in it.

Now if you were to say ##x^2=9## then the solution is ##x=\pm\sqrt{9} = \pm 3## or ##x\in\{-3,3\}## ... that's where the ##\pm## gets used.
 
  • Like
Likes   Reactions: DrClaude
  • #11
##\sqrt{(-3)^2}##
##=\sqrt{9}##
=3
 
Last edited by a moderator:
  • #12
The problem is that √(x2) ≠ x, if we're considering all real numbers (-∞, ∞).

The square root function is only defined over the non-negative real numbers, which is fine because the squaring function always gives us non-negative reals.

The function f(x) = x2, takes us from any real number (-∞, ∞) to a non-negative real number [0, ∞).

The function g(x) = √x, takes us from a non-negative real number [0, ∞) to a non-negative real number [0, ∞).

Applying the square, followed by the square root, should give us a function that goes:

g(f(x)) = ? : (-∞, ∞) -> [0, ∞) -> [0, ∞)

However the expression 'x' as a function goes like:

h(x) = x : (-∞, ∞) -> (-∞, ∞)

Which is not what we expect from our composed function. We can resolve this by realizing that

f(x) = x2 = |x|2

In which case

g(f(x)) = √(|x|2) = |x| : (-∞, ∞) -> [0, ∞)

Take my explanation with a grain of salt, as I too am still learning the rules.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
8
Views
1K