this post was submitted on 03 Dec 2023
203 points (100.0% liked)

196

667 readers
35 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Limitless_screaming@kbin.social 5 points 11 months ago* (last edited 11 months ago) (2 children)

I don't think you encounter this one very often, but the technically correct -2^2 = -4 has a higher chance of ruining your day.

[–] hallettj 1 points 11 months ago

Oh goddammit! Why doesn't PEMDAS prepare us for unary negation??

[–] onion@feddit.de 1 points 11 months ago* (last edited 11 months ago) (1 children)
[–] Limitless_screaming@kbin.social 2 points 11 months ago (2 children)

No, you'd expect that -2^2 would equal 4, but calculators solve it as -(2)^2 not (-2)^2. But the case you mentioned is also pretty common.

[–] 0ops@lemm.ee 3 points 11 months ago (1 children)

I think they mean that you said the correct answer is -8 in your first comment. Typo?

[–] Limitless_screaming@kbin.social 1 points 11 months ago (1 children)

I was taught that negative numbers should be written as (-2) with the parentheses when using exponents. So I assume that the calculators are doing it right, or maybe it's just a measure against calculators doing it wrong? I cannot be sure. Also-2 = 0-2 so -2^2 = 0-2^2.

[–] 0ops@lemm.ee 1 points 11 months ago (1 children)

No you misunderstand. I'm not talking about the negative. 2² = 4. But in your original comment you said -2² = -8 ? I think you meant -2² = -4

[–] Limitless_screaming@kbin.social 1 points 11 months ago (1 children)

Oh, right. It should have been -4. Thanks.

[–] 0ops@lemm.ee 1 points 11 months ago
[–] onion@feddit.de 1 points 11 months ago (1 children)

My calculators have a separate sign button labeled "(–)"

[–] Limitless_screaming@kbin.social 1 points 11 months ago

Mine have it too, but it doesn't change the results.