aspose file tools*
The moose likes Programming Diversions and the fly likes I will prove 1=0 ; spot the fallacy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "I will prove 1=0 ; spot the fallacy" Watch "I will prove 1=0 ; spot the fallacy" New topic
Author

I will prove 1=0 ; spot the fallacy

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Let X = Y

Subtract both sides by Y

X-Y = Y-Y

Divide both sides by X-Y

X-Y Y-Y
--- = ---
X-Y X-Y

Simplify the equation
Left side is 1 since numerator and denomenator are the same.
Right side is 0 because the numerator is Y-Y which is 0.

Therefore,

1 = 0
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Divide by zero After that, everything else is invalid.
We had an interesting 'discussion' on the effects of dividing by zero a while back, but I won't go looking for a link since it mostly revolved around one person saying computers should check for divide by zero errors, and the rest of us saying they should
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
My dad used to prove 1==2 with some trick like that, but he filled the blackboards all the way around his classroom to do it.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
it was my father too who showed this to me.

i wont be surprised if i show this to my future children; at least to those interested in math.
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
5=6


My blood is tested +ve for Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I will prove 1=0 ; spot the fallacy