Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
x² and √x aren't inverse operations, because for every x=y² there are two potential y-s, and √x is defined to be the positive one. You can't just take the square root of both sides, first you have to assert that neither can be negative.
-
crisz81915yThe result of sqrt(x^2) isn't x, but it's |x|.
My calculus teacher kept repeating it all the time.
Wolfram Alpha proof:
https://wolframalpha.com/input/...
So sqrt((-1)^2) equals to |-1|, which is 1 -
I was going to make a JavaScript joke, but since some people are taking this seriously I'll just quietly back out of the comments now...
Related Rants
Explain this
joke/meme
math