this post was submitted on 17 Apr 2024
755 points (98.0% liked)

Science Memes

10963 readers
2033 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] dankestnug420@lemmy.ml 18 points 6 months ago (3 children)
[โ€“] UnRelatedBurner@sh.itjust.works 29 points 6 months ago (2 children)

Uhm, actually ๐Ÿค“โ˜๏ธ!

Afaik sqrt only returns positive numbers, but if you're searching for X you should do more logic, as both -3 and 3 squared is 9, but sqrt(9) is just 3.

If I'm wrong please correct me, caz I don't really know how to properly write this down in a proof, so I might be wrong here. :p
(ps: I fact checked with wolfram, but I still donno how to split the equation formally)

[โ€“] criitz@reddthat.com 25 points 6 months ago* (last edited 6 months ago) (2 children)

You're correct. The square root operator only returns the principal root (the positive one).

So if x^2 = 9 then x = ยฑโˆš9 = ยฑ3

That's why in something like the quadratic formula we all had to memorize in school its got a "plus or minus" in it: -b ยฑ โˆš...(etc)

Thanks, I haven't connected the dots to that (+-) sign and this problem.

[โ€“] Routhinator@startrek.website 1 points 6 months ago (1 children)

So I checked this on my smartphone first, and thought maybe the software is just shit.. So then I checked it on a Casio scientific calc, and both agree.

-3^2 = -9... And 9 != -9

.... Are all the calculators somehow wrong? What's the math rule I'm forgetting here...

[โ€“] criitz@reddthat.com 5 points 6 months ago (1 children)

I think your calculator is interpreting that as -(3^2) and not (-3)^2

[โ€“] Routhinator@startrek.website 3 points 6 months ago (1 children)

Oh derp. Yep it is.

Was better when calcs had a +/- button.

And I remembered the math rule too.

[โ€“] Routhinator@startrek.website 1 points 6 months ago

GD I am just realizing how long its been since I did math in my head without a programming language..

I should take a math class again or something and refresh that knowledge.

[โ€“] h3ndrik@feddit.de 22 points 6 months ago* (last edited 6 months ago) (1 children)

x^2 = 9

<=>

|x| = sqrt(9)

would be correct. That way you get both 3 and -3 for x.

That's the way your math teacher would do it. So the correct version of the statement in the picture is: "if x^2 = 9 then abs(x) = 3"

Cool! Makes sense to me. Honestly, I've never done it this way, but it's so clean. Love it. Thanks.

[โ€“] Evil_Shrubbery@lemm.ee 13 points 6 months ago

Fund the sqrter!

[โ€“] Kusimulkku@lemm.ee 2 points 6 months ago