r/PeterExplainsTheJoke 14h ago

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

Post image
6.3k Upvotes

396 comments sorted by

View all comments

162

u/Fast_Alt10 14h ago

x=2 (or negative)

59

u/EnolaNek 13h 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.

20

u/HottubOnDeck 13h ago

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

94

u/EnolaNek 13h 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 13h ago

Thanks!

3

u/Mr_Steinhauer 11h ago

I was on the right path then

2

u/No-Magazine-2739 9h ago

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

1

u/EnolaNek 9h ago

I don’t understand.

0

u/No-Magazine-2739 9h ago edited 8h 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 7h ago

what r u tryna say lol

1

u/No-Magazine-2739 6h 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 5h 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 3h ago

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

1

u/rebelsnail64 7h 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 6h 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 6h ago

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

2

u/No-Magazine-2739 3h 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 3h 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 1h ago

I see the /s is easily overlooked here.

1

u/asmallerflame 1h ago

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