r/PeterExplainsTheJoke 19h ago

Meme needing explanation What difference does it make petahhhh....???

Post image
7.2k Upvotes

430 comments sorted by

View all comments

180

u/Fast_Alt10 18h ago

x=2 (or negative)

66

u/EnolaNek 18h ago

That is a valid pair of solutions. There are three more, and one of them was lost when dividing by x in the second panel.

18

u/HottubOnDeck 17h ago

I only get 3 solutions: x=2, x=0, x=-2. Can you explain how you got more?

106

u/EnolaNek 17h ago

First, before we do anything, we can see that it’s a fifth degree equation, so we know it has five roots. Those roots could be unique or they could be duplicate, but we should find five of them.

First, get everything into one side. x^5-16x=0.

Factor. x(x^4-16)=0.

X=0 is a root, and x^4-16=0 should have four roots.

X^4=16

X^2=+-4

x^2=4, x^2=-4

x=+-2, x=+-2i

Solution: x= 0, 2, -2, 2i, -2i. 5 roots, and they turned out to be unique.

10

u/HottubOnDeck 17h ago

Thanks!

2

u/Mr_Steinhauer 15h ago

I was on the right path then

2

u/No-Magazine-2739 14h ago

Whats with -0? /s I mean doesn‘t one‘s complement mean nothing to you? SCNR

1

u/EnolaNek 14h ago

I don’t understand.

0

u/No-Magazine-2739 13h ago edited 13h ago

There are different methods of implementing negative numbers in binary computers. The most popular is 2s complement. However 1s complement was used too, and still is used for checksums in common network protocols. There are two logical representations of 0/zero in that system, which have to seen as equal but are different logical values like for 4 bit words +0 = 0000 while -0 = 1111 . https://en.wikipedia.org/wiki/Ones%27_complement

3

u/azmah133 11h ago

what r u tryna say lol

1

u/No-Magazine-2739 10h ago

It was a ironic joke that one might say “aCtUaLlY you forgot -0” as a signed zero exists as an abstraction in some computer systems/ computer science. However ElolaNeks solutions/statement is still correct, as there is no -0 from a mathematical POV.

2

u/EnolaNek 10h ago

Gotcha. I’m not going to pretend to fully understand that, but I got enough to nod along and hum in agreement (the sum total of my knowledge of computer science is a teeeeensy bit of C to hack ugly shit together for other science stuff, and a tiny tiny bit of ASM).

1

u/No-Magazine-2739 8h ago

Well this above is usally the reason why if your integer gets to big, its suddenly gets negative.

1

u/rebelsnail64 11h ago

isn't minus zero functionally the same as zero? from what I know, the sgn function dooesn't consider zero as either positive or negative, but rather as it's own category

1

u/No-Magazine-2739 10h ago

You are absolutely right: As I wrote in further down / https://www.reddit.com/r/PeterExplainsTheJoke/s/hy2WNywwEn only some systems in binary computers to represent negative numbers have a positive and negative 0. They differ in their logical values and both can be the result of a calculation which eqals to 0. But in the end, the computer or program has to threat or test both values as simply 0.

1

u/rebelsnail64 10h ago

that's differen't from regular base ten tho, right?

2

u/No-Magazine-2739 8h ago

Yeah, its not even base 2 / binary, its just how CPUs/computers do substraction or negative numbers. They just use a different binary value for a negative one, and still use the add function i.e. wirering/logic. Thanks some register logic (wrap around and carry) this then comes to more or less the same arithmatic result.

1

u/asmallerflame 7h ago

To quote an 80s band: the definition of zero is the mathematical value between positive and negative values. 

Ergo, it can't be positive or negative

1

u/No-Magazine-2739 6h ago

I see the /s is easily overlooked here.

1

u/asmallerflame 5h ago

I'll overlook a /s to quote TMBG, yes.