(-27)^2/3

This is the kind of shower thought I have. I am envious of those that have real shower thoughts

23 points · 12 comments · view on lemmy.world

12 Comments

akunohana@piefed.blahaj.zone · 7 pts · 17d (8 replies)

Sincere question: why do you put that negative -27 in parentheses?

mschae@discuss.mschae23.de · 14 pts · 17d (3 replies)

-27^2/3 would come out to a different number, because the exponentiation has a higher precedence than the negation

akunohana@piefed.blahaj.zone · 5 pts · 17d (2 replies)

Ah, so without parentheses, it would be:
x = -27^2
x / 3?
That doesn't sound very intuitive though...

mschae@discuss.mschae23.de · 5 pts · 17d (1 reply)

yup:

(-27)^2/3 = ((-27) ^ 2) / 3

-27^2/3 = (-(27 ^ 2)) / 3

The reason is that you almost always want the negation to happen after the exponentiation, because it otherwise wouldn't have any effect (at least when the exponent is even).

akunohana@piefed.blahaj.zone · 3 pts · 17d

Thanks! 😃

bob_omb_battlefield@sh.itjust.works · 2 pts · 17d

Presumably to avoid ambiguity as to whether the thing to exponentiate is 27 or -27.

nocturne@slrpnk.net · 2 pts · 17d (2 replies)

-27^2/3^ is a different answer and problem than (-27)^2/3^.

(-27)^2^ is (-27)(-27) while -27^2^ is (-27)(27).

TranquilTurbulence@lemmy.zip · 3 pts · 17d (1 reply)

I like to think of -27^2 as -(27^2).

wholookshere@lemmy.blahaj.zone · 3 pts · 17d

That's the common shorthand yes, but its still treated like its there.

The other interpretation is just as valid though.

AHemlocksLie@lemmy.zip · 7 pts · 17d

(-27)^2/3^

3^3^ = 27 => 3 = 27^1/3^ => -3 = (-27)^1/3^ => (-27)^2/3^ = ((-27)^1/3^)^2^ = (-3)^2^ = 9

TranquilTurbulence@lemmy.zip · 5 pts · 17d

You're having some complex thoughts.

TrippinMallard@lemmy.ml · 3 pts · 17d
=(-1)^(2/3) * (3^3)^(2/3) 

= e^(2*i*pi/3) * 9 

= (cos(2pi/3) + i * sin(2pi/3)) * 9

= (-1/2 + i * sqrt(3)/2) * 9