Understanding Absolute Value in Algebra: |x|=+-x Explained

  • Thread starter alenglander
  • Start date
So basically, if ±x is negative, then the "principle" value is the opposite of ±x. So it's not a matter of principle, it is a matter of convention. In summary, the Cliff Notes is incorrect in stating that |±x| = ±x. The absolute value of a number is always positive, so |±x| = +x. However, if we take the convention that the square root always gives the positive value, then we can say that |±x| = √(±x^2).
  • #1
alenglander
7
0
I am using CliffsNotes QuickReview Algebra I (which by the way I find to be fantastic, except that it is very prone to typos) to review the algebra that I haven't learned in almost a decade. It says there that (x^2)^1/2 = |x|, but it also says that (x^2)^1/2 = +-x. But isn't it true that |x| > 0? So how can |x| = +-x? Someone please help me understand this. Thanx.
 
Physics news on Phys.org
  • #2
What happens if x is negative?
 
  • #3
If x is negative then |x| = -x (for example, say x = -3, so |-3| = -(-3) = 3), because the absolute value of a number is always a positive number. But +-x refers to the number you get as a result of putting either a + or a - in front of x. So if x = -3, +-x could equal +(-3) OR -(-3). Only ONE of these is a positive number (-(-3)).

So to use the example of -3, my question is that |-3| = 3, but +-(-3) could equal 3 OR -3, and since 3 obviously does not equal -3, how can you say that |-3| = +-3?

[Sorry if that's a little convoluted. I tried to be clear, but I may not have succeeded.]
 
  • #4
The answer to your thread's question is no, if you're considering nonzero x, and if you mean "plus AND minus." Some consider the symbol √x as the principle value of the square roots of x (ie: only the positive square root). Some consider [tex]x^{\frac{1}{2} [/tex] to represent BOTH the square roots of x, but I have come to think of them as the same. So, |x| ≠ +-x, if x is nonzero.
 
Last edited:
  • #5
Thanks morson.

[By the way, how do you insert mathematical symbols into posts like you just did?]
 
  • #6
alenglander said:
If x is negative then |x| = -x (for example, say x = -3, so |-3| = -(-3) = 3), because the absolute value of a number is always a positive number. But +-x refers to the number you get as a result of putting either a + or a - in front of x. So if x = -3, +-x could equal +(-3) OR -(-3). Only ONE of these is a positive number (-(-3)).

So to use the example of -3, my question is that |-3| = 3, but +-(-3) could equal 3 OR -3, and since 3 obviously does not equal -3, how can you say that |-3| = +-3?

[Sorry if that's a little convoluted. I tried to be clear, but I may not have succeeded.]

No, only one of the signs is allowed, depending on the sign of x. If they wrote [itex]|x| = \pm x [/itex], it was a shorthand for the more completed definition:


OOPS: EDIT: should have been a larger or equal than... I thought that leq was larger or equal but it is less or equal... It's corrected below
[itex]|x| = x \, \rm{if} x \geq 0 [/itex]

and

[itex] |x| = -x \, \rm{if} x <0 [/itex]

(the equality case could have been put on either of those or on both since zero does not care about the sign)
 
Last edited:
  • #7
morson said:
The answer to your thread's question is no, if you're considering nonzero x, and if you mean "plus AND minus." Some consider the symbol √x as the principle value of the square roots of x (ie: only the positive square root). Some consider [tex]x^{\frac{1}{2} [/tex] to represent BOTH the square roots of x, but I have come to think of them as the same. So, |x| ≠ +-x, if x is nonzero.

nrqed said:
No, only one of the signs is allowed, depending on the sign of x. If they wrote [itex]|x| = \pm x [/itex], it was a shorthand for the more completed definition:

[itex]|x| = x \, \rm{if} x \leq 0 [/itex]

and

[itex] |x| = -x \, \rm{if} x <0 [/itex]

(the equality case could have been put on either of those or on both since zero does not care about the sign)

Umm ... is nrqed disagreeing with morson, or did I just misunderstand someone?
 
  • #8
Per your original post, your CliffsNotes say that [tex](x^2)^{1/2} = |x|[/tex] in one place and [tex](x^2)^{1/2} = \pm x[/tex] in another. First, look back at these notes. Does it say that [tex]\sqrt{x^2} = |x|[/itex] rather than [tex](x^2)^{1/2} = |x|[/tex]?

As morson indicated, [tex]\sqrt x[/tex] universally indicates the the principal (i.e., positive) root. If you want to allow negative and positive roots, it is better to use the form [tex]x^{1/2}[/tex]. As you indicated, the CliffNotes are a bit unreliable.
 
  • #9
D H said:
Per your original post, your CliffsNotes say that [tex](x^2)^{1/2} = |x|[/tex] in one place and [tex](x^2)^{1/2} = \pm x[/tex] in another. First, look back at these notes. Does it say that [tex]\sqrt{x^2} = |x|[/itex] rather than [tex](x^2)^{1/2} = |x|[/tex]?

As morson indicated, [tex]\sqrt x[/tex] universally indicates the the principal (i.e., positive) root. If you want to allow negative and positive roots, it is better to use the form [tex]x^{1/2}[/tex]. As you indicated, the CliffNotes are a bit unreliable.

First of all, it does say "square root of x", not (x^2)^1/2, I just haven't figured out yet how to write that with a square root sign!

So according to what you're saying: If I have an equation, say x^2 = y, and I want to solve for x, which means taking the square of both sides, then I need to specify x = "+-(square root of y)" [ahhh! Somebody tell me how to get math symbols in here!] instead of just "square root of y", since although the first way is technically correct, it is not understood without prefacing the square-root symbol with a "+-". Is that correct?
 
  • #10
Click on the square root symbol generated by someone else and that will give you the code. Here it was \sqrt x
 
  • #11
This is bad though.
|±x| ≠ ±x

The absolute value is defined to always ONLY give positive values.
|±x| = +x

But mathematically, the way to do it is to square it and the take the square root. For |±x| = +x
(±x)2 = +x2 but +x2 ≠ +x so
√(+x2) = +x

So we can define that,
|±x| = √(±x2)

Cliff Notes is wrong that,
|±x| = ±x

But the thing is that, √(±x2) = ±x because
√(±x2) = (√±x)2 and
(√±x)2 = ((±x)2)1/2 = (±x)1

However,
|±x| = √(±x2) = +x but
|±x| ≠ (√±x)2 ≠ ±x
 
Last edited:
  • #12
I have always disagreed with the mathematical definition of the square root being single-valued.
But we have to live with it. :smile:

Anyone knows who was the "genius" who came up with that anyway?
 
  • #13
MeJennifer said:
I have always disagreed with the mathematical definition of the square root being single-valued.
But we have to live with it. :smile:

Anyone knows who was the "genius" who came up with that anyway?

Well, i also disagree with that but the problem is that we are still unable to prove that √-x = -x. Until you find a prof, we have to stick with it.
 
  • #14
cshum00 said:
Well, i also disagree with that but the problem is that we are still unable to prove that √-x = -x. Until you find a prof, we have to stick with it.
√-x = -x is obviously false.

But at any rate, you cannot prove or disprove the workings of an operator. It is simply a definition.
 
  • #15
My fault. I thought you were talking about the negative square root; while you meant √(x2) = ±x and not, +x or -x.
 
  • #16
alenglander said:
Umm ... is nrqed disagreeing with morson, or did I just misunderstand someone?

Sorry. My mistake. I corrected it now. I used the latex "leq" thinking it was larger or equal to but it is for less or equal to. Corrected now. Sorry.
 
  • #17
modulus x is always positive yes, but you can replace it with a +-x in calculations i think.
 
  • #18
MeJennifer said:
I have always disagreed with the mathematical definition of the square root being single-valued.
But we have to live with it. :smile:

Anyone knows who was the "genius" who came up with that anyway?

Some people like functions to be well defined...

:smile:

Of course, you could always map it to a 2-tuple, which is what I think you were hinting at. The graphing complications that would naturally arise would make it confusing for a lot of people.
 
  • #19
ZioX said:
Some people like functions to be well defined...

:smile:
I don't see what so funny here, the inverse of y = x2 is not a function.

ZioX said:
The graphing complications that would naturally arise would make it confusing for a lot of people.
And you think that is a valid argument?
 
  • #20
Well, I'm not even really sure what you were suggesting. Are you saying sqrt(x) should map to a 2-tuple, namely (sqrt(x),-sqrt(x))?

Besides, what is your argument for even changing it in the first place?
 
  • #21
ZioX said:
Besides, what is your argument for even changing it in the first place?
I am not arguing for a change.
 
  • #22
Why do you disagree then?

Besides, the curve y=x^2 is invertible on the positive side, which is where we restrict our domain for sqrt(x) in the first place.
 
  • #23
ZioX said:
Besides, the curve y=x^2 is invertible on the positive side, which is where we restrict our domain for sqrt(x) in the first place.
Indeed, and now please demonstrate the logic of that restriction.
 
  • #24
We could arbitrarily choose our domain to be the negative real axis and get the same results. The whole point is to get a functional inverse. It's the same deal with inverses in trigonometry.
 
  • #25
MeJennifer said:
Indeed, and now please demonstrate the logic of that restriction.

Well, for one function to have an inverse, it must be a 1-to-1 function. So, we just choose the domain, where it satisfy the requirement. R+, or R- would do it.

cshum00 said:
This is bad though.
|±x| ≠ ±x

The absolute value is defined to always ONLY give positive values.
|±x| = +x

Errr... What if x is negative? Say x = -1.

So, we have:
|-1| = +(-1) = -1?

But mathematically, the way to do it is to square it and the take the square root. For |±x| = +x
(±x)2 = +x2 but +x2 ≠ +x

What if x = 0? And ,btw, how can you go from this to the following claim?

...so
√(+x2) = +x

Again, what if x = -1?
[tex]\sqrt{(-1) ^ 2} = \sqrt{1} = +(-1) = -1[/tex]?

So we can define that,
|±x| = √(±x2)

-x2 is a negative number for [tex]x \neq 0[/tex], you cannot have: [tex]\sqrt{-x ^ 2} , \ \ \ x \neq 0[/tex]. It's not even defined in the reals.

Cliff Notes is wrong that,
|±x| = ±x

Really?

But the thing is that, √(±x2) = ±x because
√(±x2) = (√±x)2 and
(√±x)2 = ((±x)2)1/2 = (±x)1

However,
|±x| = √(±x2) = +x but

[tex]\sqrt{-x ^ 2}[/tex] is not defined for [tex]x \neq 0[/tex]

|±x| ≠ (√±x)2 ≠ ±x

Are you sure: [tex]|\pm x| \neq ( \sqrt{\pm x} ) ^ 2[/tex]?

-------------------------

@OP:
We know that |x| will always return the positive value, so, we have:
[tex]|x| = \left\{ \begin{array}{l} x , \ \ \ x \geq 0 \\ -x , \ \ \ x < 0 \end{array} \right.[/tex]
To make it short, we can write:
[tex]|x| = \pm x[/tex], i.e depends on x, whether x is negative or not, a "-", or a "+" sign can be chosen.
 
Last edited:
  • #26
VietDao29 said:
Well, for one function to have an inverse, it must be a 1-to-1 function. So, we just choose the domain, where it satisfy the requirement. R+, or R- would do it.
Begging the question why a function supposedly "must" have an inverse function. It is simply the case that some functions do not have an inverse function. I don't see the problem with that.

Anyway it appears we can agree to disagree, I do not think it logical at all to define the square root as an operator that returns a single value, while others here think it is as logical as apple pie. Bottom line is that we have to accept the definition as is. :smile:
 
  • #27
VietDao29 said:
What if x = 0? And ,btw, how can you go from this to the following claim?

Again, what if x = -1?
[tex]\sqrt{(-1) ^ 2} = \sqrt{1} = +(-1) = -1[/tex]?
That is a good one. But then, are implying that |x| ≠ √(x2)?

-x2 is a negative number for [tex]x \neq 0[/tex], you cannot have: [tex]\sqrt{-x ^ 2} , \ \ \ x \neq 0[/tex]. It's not even defined in the reals.

[tex]\sqrt{-x ^ 2}[/tex] is not defined for [tex]x \neq 0[/tex]

Are you sure: [tex]|\pm x| \neq ( \sqrt{\pm x} ) ^ 2[/tex]?
If you take the square root first, it is not defined. But if you play around with the exponents first, it is defined. It is like calculus problems where it is not defined if you substitute limits immediately.

We know that |x| will always return the positive value, so, we have:
[tex]|x| = \left\{ \begin{array}{l} x , \ \ \ x \geq 0 \\ -x , \ \ \ x < 0 \end{array} \right.[/tex]
To make it short, we can write:
[tex]|x| = \pm x[/tex], i.e depends on x, whether x is negative or not, a "-", or a "+" sign can be chosen.
I still don't like the |x| = ±x notation because it is contradicts to what the absolute value does. Once x is outside the absolute value symbol, it means that the absolute value is already taken and show only positive values.

Now, as the example you showed before, √(x2) is not a good representation of |x| because it also gives a -x; which is the same as not taking any absolute value. Then what should be do? Tell the mathematicians to consider removing this bad representation?
 
  • #28
I still don't like the |x| = ±x notation because it is contradicts to what the absolute value does. Once x is outside the absolute value symbol, it means that the absolute value is already taken and show only positive values.
Just because x is outside the |x| doesn't mean its positive at all. We're not using operator algebra like quantum.
|x|=x+4 is possible because x != |x|.


Ok, here's how you have to think of it, "x" can be positive or negative, we don't know.
Given |x| = ±x
The left had side can only be positive right?
But the right had side COULD be either, but the ± makes SURE its positive.
If x = -2, then the "±" becomes a "-". If x=2, then it becomes a "+".
If can, and MUST BE, either the + or the -.
Basically you have to say :
If x is positive, |x| = x
if x is negative, |x| = -x
Therefor at all times |x| = ±x

get it?
 
Last edited:
  • #29
Also [tex] \sqrt{x^{2}} = |x| [/tex]

It is a big difference in just writing the
[tex] \sqrt{... } [/tex]
It implies that we choose only the positive value.

But the equation:
[tex] x ^{2} = 9 [/tex]
has two solutions:
[tex] x = \pm \sqrt{9} [/tex]
 
  • #30
malawi_glenn said:
Also [tex] \sqrt{x^{2}} = |x| [/tex]

It is a big difference in just writing the
[tex] \sqrt{... } [/tex]
It implies that we choose only the positive value.

But the equation:
[tex] x ^{2} = 9 [/tex]
has two solutions:
[tex] x = \pm \sqrt{9} [/tex]

No, i don't think so. Only in square root of natural numbers implies to choose the positive result. But absolute values, we deal with negative numbers too. Although we can set the absolute value to get only the positive number of the square root but then why the whole fuss of squaring it in the first place?

For example:
if a is positive
|-a| = +a by excluding the negative sign
but if |x| = √(x2)
√((-a)2) = √(a2) = ±a = +a by picking the positive one
That is why i say it is not a good representation.

Healey01 said:
Just because x is outside the |x| doesn't mean its positive at all. We're not using operator algebra like quantum.
|x|=x+4 is possible because x != |x|.Ok, here's how you have to think of it, "x" can be positive or negative, we don't know.
Given |x| = ±x
The left had side can only be positive right?
But the right had side COULD be either, but the ± makes SURE its positive.
If x = -2, then the "±" becomes a "-". If x=2, then it becomes a "+".
If can, and MUST BE, either the + or the -.
Basically you have to say :
If x is positive, |x| = x
if x is negative, |x| = -x
Therefor at all times |x| = ±x

get it?

I see. True, but the notation still easily confuse people.
I prefer,
if x = ±a
|x| = +a
 
  • #31
For example:
if a is positive
|-a| = +a by excluding the negative sign
but if |x| = √(x2)
√((-a)2) = √(a2) = ±a = +a by picking the positive one
That is why i say it is not a good representation.

Yes, if a is positive, then this is correct. But, what if a is negative? Shouldn't it be |-a| = -a? So, to find a general formula, we use:
[tex]|a| = \pm a[/tex], i.e, depends on the sign of a, a plus sign (+), or a minus sign (-) can be wisely chosen so that the final result we get is positive.

cshum00 said:
I see. True, but the notation still easily confuse people.
I prefer,
if x = ±a
|x| = +a

Noooo. =.="

The notation is fine. You seem to be confuse between +1, and +a.
+1 means that it is positive, to distinguish it from -1, which is a negative number.

However, the second case is completely different, +a does not mean that it is positive.
It can also be negative, say, if a = -3, then +a = +(-3) = -3, a negative number, whereas, -a = -(-3) = +3, a positive number.
So +a does not mean that it's positive.
 
Last edited:
  • #32
|x| is either positive or negative, but not both at the same time. When taking the square root of both sides of an equation, you must take cases and usually come up with 2 possible solutions, a positive and negative answer
 
  • #33
lol (XD)
When i said = +a i meant the final answer and after substituting it and all.
In other words, |-3| = +3.
 
  • #34
Maybe what they are trying to say is that |x| is what is a "piecewise funcion", in other words made up of more than one piece

If x is greater than or equal to 0, then y=x
If x is less than 0, then y=-x

If you graph that you get that V shape :)
 
  • #35
cshum00 said:
No, i don't think so. Only in square root of natural numbers implies to choose the positive result. But absolute values, we deal with negative numbers too. Although we can set the absolute value to get only the positive number of the square root but then why the whole fuss of squaring it in the first place?
No, you are wrong. the square root of any real number, a, is, by definition, the positive real number x such that x2= a.

For example:
if a is positive
|-a| = +a by excluding the negative sign
but if |x| = √(x2)
√((-a)2) = √(a2) = ±a = +a by picking the positive one
That is why i say it is not a good representation.
Once again, no. whether a is positive or negative, [itex]\sqrt{(-a)^2}= \sqrt{a^2}= |a|[/itex]. The squareroot function has only one value.


I see. True, but the notation still easily confuse people.
I prefer,
if x = ±a
|x| = +a
That's nonsense. If a= -4 that would say "if x= ±(-4), then |a|= -4.
 

Similar threads

Replies
2
Views
1K
Replies
7
Views
1K
Replies
9
Views
1K
Replies
6
Views
1K
Replies
3
Views
1K
Replies
10
Views
1K
Replies
11
Views
1K
Replies
10
Views
1K
Back
Top