Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 05-08-2009 , 06:38 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738

Math question

It's not for school, just something I don't understand and it really bothers me -

When I have this expression:
'y = (x^2)^0.5'
Solving it carefully will result in 'y = |x|'
'y = (x^0.5)^2'
Will result in 'y = x, x>=0'

However, we've been taught in school that it's possible to multiply 2 by 0.5 so the result in this case should be
'y = x^1' or simply 'y = x'

What am I missing? Hope I made my question clear...
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 2 05-08-2009 , 07:39 AM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125
it's been a while but at a guess, can you comfirm my interpretation of your notation?

|x| is the absolute value of x yes?

then i say...

assuming |x| is the absolute value of x (that is, x will always be positive)
then in that case if x >= 0 then x = |x|
therefore
y = |x| is the same as y = x, x >= 0
because you can't have a negative number if it's absolute

therefore
y = |x| is the same as y = x

if you're asking why it will always be positive then you could probably solve it by proof by induction... or proof by contradiction




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
# 3 05-08-2009 , 08:28 AM
Mayaniac's Avatar
As Zbrushiac sounds stupid!
Join Date: Nov 2007
Location: Derby
Posts: 1,241

Originally posted by Chirone
it's been a while but at a guess, can you comfirm my interpretation of your notation?

|x| is the absolute value of x yes?

then i say...

assuming |x| is the absolute value of x (that is, x will always be positive)
then in that case if x >= 0 then x = |x|
therefore
y = |x| is the same as y = x, x >= 0
because you can't have a negative number if it's absolute

therefore
y = |x| is the same as y = x

if you're asking why it will always be positive then you could probably solve it by proof by induction... or proof by contradiction

I concur.

**Takes puff from pipe**


www.stevenegan-cgi.com

"Your weapons are no match for ours! People of Mars, surrender!"
"Um, this isn't Mars. This is Earth."
"Earth? Earth-with-nuclear-weapons Earth?"
"Yes."
[long pause] "Friend!!"
# 4 05-08-2009 , 08:47 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Yup thats right.


"No pressure, no diamonds" Thomas Carlyle
# 5 05-08-2009 , 09:07 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
ah, no :\

y=x and y=|x| are not the same. that's the whole problem...
Let me simplify:
Here is 'y = x'
user added image
'y = x^2'
user added image
'y = (x^2)^0.5'
user added image

One more option -
'y = x^0.5'
user added image
'y = (x^0.5)^2
[IMG]https://img14.imageshack.us/img14/444...eaterthen0.png[/IMG]

non of these is actually the same as 'y=x' which you can get to by multiplying the 0.5 and 2...
(y=(x^2)^0.5 -> y= x^(2*0.5) -> y=x^1 -> y=x)


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 6 05-08-2009 , 09:10 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738

Originally posted by Chirone
...
then in that case if x >= 0 then x = |x|
therefore
y = |x| is the same as y = x, x >= 0
...

But it's not - that's your mistake...


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 7 05-08-2009 , 04:06 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
I think the answer comes from the fact that "in school, you've been taught that you can simply multiply exponents..." which works in 99.99% of cases, but obviously you've come up with a special case where it doesn't quite work out.

I think it's a bit like canceling out variables (though I could be mistaken here) where you actually lose a solution, so it's not really allowed.

Hope that sheds light on your conundrum... user added image

# 8 05-08-2009 , 09:50 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
I thought it's something like that...
Thanks, that made that clear user added image

So the formula (a^n)^m = a^n*m isn't always correct?
can you point me to some reading material?

Thanks,
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 9 05-08-2009 , 09:51 PM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125
aaah, now i remember what it means to do a ^0.5 on something... it's the square root

when you take the square root of something you get two of the same numbers and they are either both negative or positive

so... that means that what i said is correct, and also y = x when x < 0 as well because x could have been negative or positive

eg
y = ((-2)^2)^0.5 = 2 or -2

not exactly a proof but i think the idea is right




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
# 10 05-08-2009 , 10:37 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
Chirone, no offense, but I think you should stay out of this one user added image

((-2)^2)^0.5 can only be worth 2 (not -2) (see second post with drawings)...

Never mind that now... stwert has already answered my question.

Thanks anyway user added image Go join Mayaniac and his pipe

Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 11 05-08-2009 , 11:19 PM
Mayaniac's Avatar
As Zbrushiac sounds stupid!
Join Date: Nov 2007
Location: Derby
Posts: 1,241

Originally posted by BennyK

Thanks anyway user added image Go join Mayaniac and his pipe

Hey!.... I ain't sharing!








... user added image


www.stevenegan-cgi.com

"Your weapons are no match for ours! People of Mars, surrender!"
"Um, this isn't Mars. This is Earth."
"Earth? Earth-with-nuclear-weapons Earth?"
"Yes."
[long pause] "Friend!!"
# 12 05-08-2009 , 11:27 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Actually Chirone does sort of have a point in that when you square root something, (or ^0.5) there are technically two answers. Thus, if you have x^2 = 4, x could be either +2 or - 2...

That's why your angular graph extends into the negative x's... and therefore
y=(x^2)^0.5 does not necessarily equal |x|... and so I take back my earlier statement. Basically I'm just confusing myself and probably you too... but I think the conclusion I've reached is that you can't simplify those exponents to an absolute value, despite how it works in practice (e.g. on a calculator), because those won't give you both answers, though the graph does.

Further... my point still stands that many times the "rules" you learn in school often only apply to the majority of cases, but the multiplying exponents rule may be correct after all.

I guess my question for you, Benny, would be, what does your solution look like?

"Solving it carefully will result in 'y = |x|'"

# 13 05-08-2009 , 11:29 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Oh yeah, and I don't have any reading material for you... :p cause I'm not really a math person...

# 14 05-08-2009 , 11:32 PM
Mayaniac's Avatar
As Zbrushiac sounds stupid!
Join Date: Nov 2007
Location: Derby
Posts: 1,241

Originally posted by stwert
...I'm not really a math person...

That's OK, I'll share my pipe with you user added image


www.stevenegan-cgi.com

"Your weapons are no match for ours! People of Mars, surrender!"
"Um, this isn't Mars. This is Earth."
"Earth? Earth-with-nuclear-weapons Earth?"
"Yes."
[long pause] "Friend!!"
# 15 05-08-2009 , 11:33 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
...thanks... can you mail it to me??

user added image

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads