Mathematical puzzle
Sep. 11th, 2006 11:56 amThis thing popped up as a fortune cookie on Linux this morning. It took me a while to figure out where the error was. Let's see who can find it first.
Proof that 2 equals 1:
I'll supply the answer after folks take a crack at it. It isn't as hard as it looks, and someone may get it right away, soreplies are screened for now. It was credited to Omni Magazine.
Answer:
I declare
quaxo the first to put his paw right on the heart of the error, though you were all on the right track. If X = Y, then (X - Y) = 0. And the fourth step ("Cancel out (X - Y) term") is actually a divide by zero error. Up to that point, everything was perfectly kosher, even though some of it was nonsensical. After that, nothing is right.
Proof that 2 equals 1:
| x = y | [Given] |
| x2 = xy | [Multiply both sides by x] |
| x2 - y2 = xy - y2 | [Subtract y2 from both sides] |
| (x + y)(x - y) = y(x - y) | [Factor] |
| (x + y) = y | [Cancel out (x - y) term] |
| 2y = y | [Substitute x for y, by original equation] |
| 2 = 1 | [Divide both sides by y] |
I'll supply the answer after folks take a crack at it. It isn't as hard as it looks, and someone may get it right away, so
Answer:
I declare
no subject
Date: 2006-09-11 05:21 pm (UTC)no subject
Date: 2006-09-11 05:28 pm (UTC)The "Factor" step is the key. If X=Y then X-Y=0 and anything multiplied by 0 is 0.
no subject
Date: 2006-09-11 05:36 pm (UTC)Can't divide by 0...
no subject
Date: 2006-09-11 05:57 pm (UTC)no subject
Date: 2006-09-11 06:01 pm (UTC)no subject
Date: 2006-09-11 06:03 pm (UTC)X^2 = XY ok
X^2 - Y^2 = XY - Y^2 <----- If X = Y both sides of this must be 0
(X+Y)(X-Y) = Y(X-Y) <--- if X = Y, X-Y = 0, both sides multiplied by 0, 0 = 0.
(X+Y) = Y <---- false, factor does not apply as you can factor any term out of an equation with a 0 term on both sides as 0 * N = 0 where N is a real number.
2Y = Y <--- false unless Y = 0
2 = 1 <---- always false
no subject
Date: 2006-09-11 06:06 pm (UTC)..
...
DEVIDE BY 0 ERROR
64K OK
Crap now I know why I slept through that class
no subject
Date: 2006-09-11 06:10 pm (UTC)Unfortunately, it was established as the given on line 1 that X == Y. Therefore, as soon as the division step occurs, the expression becomes a contradiction with an empty range of validity; the entire expression becomes the Contradiction, F.
Amusingly, there's another wrong-er move available that instead concludes that all numbers are zero. 2Y=Y, if it appears in a real expression, is not an invitation to divide by Y. It is, instead, a conclusion that Y = 0, because it's the only number that works for, but it's more obvious when instead of trying to divide (which is actually the second divide-by-zero in the same formula), subtract Y from each side (which is always a legal move as long as the expression isn't yet F): you get Y = 0. Of course, since the only given was X = Y, then you could use this to instead conclude that all numbers are zero, because any number can be set equal to itself since there are no constraints on X.
This is why we don't divide by zero.
no subject
Date: 2006-09-11 06:12 pm (UTC)Actually, it makes some sense when I do it on paper like my teachers taught me, but I still don't get it. Go ahead and laugh, I know I suck at numbers and algebraic equations. :)
Ode To Omni
Date: 2006-09-11 06:15 pm (UTC)My first slick mag love.
Today, Wired holds that slot, but Omni did something that Wired
doesn't. Omni had some amazing Science Fiction, introducing
us to Cyberpunk among other things.
It was published by a pornographer.
http://en.wikipedia.org/wiki/Bob_Guccione
Top shelf girls was what he got, along with things Playboy
didn't allow; namely pussy and erections.
So any mag Bob was gonna spring for was gonna have
the BEST. And really, Omni did have the very best
fiction you could ask for.
Along with great articles, science intervies, and
things that even today (looking at my collection) are
still forward looking as of this late date.
Bob didn't end well, at least in terms of his family.
Its hard to imagine him taking the kids out for
ice cream without some naked dark haired woman coming
along, naked, on his arm. Thats why he never did
the family thing, he was too busy destroying it.
And it showed in his personal life, his kids turned
against him, the same way most kids of powerful,
corrupt, intelligent, men do.
But as for the question.
This is why I don't work for NASA.
XD
no subject
Date: 2006-09-11 06:15 pm (UTC)no subject
Date: 2006-09-11 06:19 pm (UTC)X=Y; X-Y=0; (X+Y)(X-Y)=Y(X-Y); ((X+Y)(X-Y))/(X-Y)=(Y(X-Y))/(X-Y)
((X+Y)(0))/0)=(Y(0))/(0) - DIV BY ZERO ERR.
^.^
no subject
Date: 2006-09-11 06:23 pm (UTC)no subject
Date: 2006-09-11 06:52 pm (UTC)then again... math was never my strong point *grins*
no subject
Date: 2006-09-11 06:59 pm (UTC)The error is in the "cancel out (X-Y) term" step, and lies in the fact that it isn't actually just "cancelled out", but that you must divide both sides of the equation by that term, and since X=Y you are dividing by zero, thus invalidating the entire operation.
Whee! I like occasionally knowing answers :)
Light and laughter,
SongCoyote
no subject
Date: 2006-09-11 07:03 pm (UTC)no subject
Date: 2006-09-11 07:04 pm (UTC)no subject
Date: 2006-09-11 07:05 pm (UTC)no subject
Date: 2006-09-11 07:05 pm (UTC)no subject
Date: 2006-09-11 07:05 pm (UTC)no subject
Date: 2006-09-11 07:06 pm (UTC)no subject
Date: 2006-09-11 07:07 pm (UTC)no subject
Date: 2006-09-11 07:09 pm (UTC)Somewhere at home I have a poster that was released by Byte magazine, done by their frequent cover artist. It shows what goes on inside a computer, and is full of absurdities, but my favorite piece is way at the bottom. It's a dungeon cell with eyes peering out of the darkness behind the bars, and scary claws poking out under the door. The sign on the door says "To divide by zero, lift latch.)
no subject
Date: 2006-09-11 07:09 pm (UTC)no subject
Date: 2006-09-11 07:10 pm (UTC)no subject
Date: 2006-09-11 07:11 pm (UTC)no subject
Date: 2006-09-11 07:13 pm (UTC)no subject
Date: 2006-09-11 07:14 pm (UTC)no subject
Date: 2006-09-11 07:16 pm (UTC)Re: Ode To Omni
Date: 2006-09-11 07:19 pm (UTC)no subject
Date: 2006-09-11 07:37 pm (UTC)no subject
Date: 2006-09-11 08:43 pm (UTC)no subject
Date: 2006-09-11 08:46 pm (UTC)It's really a pretty sneaky thing they did there, it *almost* had me going until I was working it through in my mind, saw all the zeros (very suspicious!), and then thought out the real method of dropping a term from an equation. Still, it was a fun exercise, I've always had a knack for mathematics even if I haven't had to deal with the more complex varieties much recently.
no subject
Date: 2006-09-11 08:56 pm (UTC)no subject
Date: 2006-09-11 08:57 pm (UTC)no subject
Date: 2006-09-11 10:10 pm (UTC)P.S. Never saw this one before, guess I should have subscribed to more old computer magazines.
no subject
Date: 2006-09-11 10:45 pm (UTC)Life is full of surprises! WHEE!
Light and laughter,
SongCoyote
no subject
Date: 2006-09-12 02:15 am (UTC)no subject
Date: 2006-09-12 05:17 am (UTC)no subject
Date: 2006-09-12 05:21 am (UTC)Oh god I'm bored at work......really bored
no subject
Date: 2006-09-12 11:12 am (UTC)0 = 0
2 * 0 = 1 * 0 (Dumb but true)
2 = 1 (Divide by zero to get rid of the extra term)
*ducks and runs*
We need to get you another user pic that doesn't look so serious all the time. XD
no subject
Date: 2006-09-12 11:16 am (UTC)no subject
Date: 2006-09-12 11:19 am (UTC)no subject
Date: 2006-09-12 04:22 pm (UTC)This is valid:
5/0 = cheese
But it ain't math. ;D
no subject
Date: 2006-09-12 05:45 pm (UTC)But you see, if you're an engineer, you're used to thinking at a higher level of math than most of us ordinary schmucks. I left all that behind when I finished my last astronomy elective course in about 1970. I was impressed that I could find the flaw at all.
no subject
Date: 2006-09-12 06:39 pm (UTC)Oh, wait. Wrong context :D
Now that I think on it I was more interested in teaching junior high (algebra, geometry, and trig), for all the difference that makes. Besides, schools weren't quite so scary 18+ years ago when all this was bubbling in my brain.
To quote Tor the Calculate: 2+2=4!
Light and laughter,
SongCoyote