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

196

16574 readers
1903 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
[–] [email protected] 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.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)
[–] [email protected] 2 points 11 months ago (3 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.

[–] [email protected] 9 points 11 months ago

if you've touched polynomials ever, you'd expect the exponent to be before the negation. If you write x³-x² you don't mean x³ + (-x)² = x³+x², you mean x³-(x²)

[–] [email protected] 3 points 11 months ago (1 children)

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

[–] [email protected] 2 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.

[–] [email protected] 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

[–] [email protected] 1 points 11 months ago (1 children)

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

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago (1 children)

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

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 1 points 11 months ago

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