Contradictions when dividing by zero.

Consider the following mathematical demonstration (which is also my signature):

Let

Then:

Okay, I know that the issue here is a division by zero in the 3rd line down, since . This problem was shown to me in a textbook, and I found it really interesting how the fact that something illogical (division by zero) will force another illogical statement (2 = 1). I was wondering if anybody knew of some other clever, but simple, deomnstration of this type, because these are very interesting to me. Plus, I kinda wanted as many people to post them on here as possible, and then for the most clever yet simple example to be choosen as the winner. So, lets begin. (Also, it can involve calculus, it doesn't have to be super simple. I'm just hoping to not have to start talking about Rings and Fields, or Topological spaces and Isomorphisims in these examples; thats all I mean by "simple")

Post your favorite little algebraic/calculus demonstration of how a seemingly proper mathematical process can end up in a logical contradiction here, please. Also, please don't point out the "catch" (the 'catch' in the demonstration I supplied is the division by zero in line three), I'd like to see how many of them I can figure out on my own, and I'm sure others would like a chance to try and figure it out on their own also. Thanks in advance for any posts.

Bacterius's example in the latter thread in post #5 involving complex numbers is a good example, I think. I suppose the more intricate and subtle you can make the error, the less my claim in post #4 of that thread

Originally Posted by undefined

It's good to realise though that to people experienced in mathematics, the errors in these types of "proofs" tend to stand out immediately and appear rather silly.

applies. As someone who writes lots of computer programs, I know just how easy it can be to miss some small mistake that can lead to strange results.

By the way, in logic the contradiction "a and not a" implies the truth of any statement, that is

Here's one I stumbled upon a few weeks ago. See if you can get it. We define a rational number in the following way: iff there exist integers and with such that

Let and be real numbers with . Let the product of and be a rational number:
(i)
so that there exist integers and with such that
(ii)
Multiply both sides by (remember that ), and get
(iii)
Therefore, by the definition of a rational number, is rational:
(iv)
From (i) and disjunctive addition, we get
(v)
By De Morgan's Law, this is equivalent to
(vi)

So, by conditional proof, we've derived the following formula
(vii)
the contrapositive of which is
(viii)
Now we can simplify this a bit. Assume the antecedent of the conditional.
(ix)
Then modus ponens gives us
(x)
Which is equivalent to
(xi)
We know by our initial assumption that , so
(xii)
Thus by conditional proof from our assumption (ix) and (xii)
(xiii)

Obviously, there is a counterexample to this "theorem." Let and . Then , which is rational.

Let and be real numbers with . Let the product of and be a rational number:
(i)
so that there exist integers and with such that
(ii)
Multiply both sides by (remember that ), and get
(iii)
Therefore, by the definition of a rational number, is rational:
(iv)

The definition of rational number does not apply; the author magically assumes bn is an integer!

Thank you everybody for your posts, although I was only able to figure out one of the problems on my own, it was still all very interesting. I also came across another one that you guys may or may not have seen before. Here it is:

[1] Consider a ladder of length standing up against the wall of a building. The ladder, the ground, and the wall of the building each together form a right triangle, with the wall and the ground as the sides, and the ladder as the hypoteneous.

[2] Also consider that a person on the ground level grabs the ladder at the bottom, and pulls out-ward horizontally with a constant velocity of .

[3] Now, let denote the horizontal distance from the ladder to the wall, at time

[4] Let denote the vertical distance of the part of the ladder touching the building to the ground, at time

[5] Now, from all the above, the following relationship can be derived:

[6] From that we can easily get to:

[7] Differentiating with respect to , we get:

[8] Since the bottom of the ladder is being pulled away with constant velocity we have ; which implies:

[9] As the ladder is pulled backwards, obviously the vertical distance to the ground is being reduced, actually its seemingly and intuitively going to zero. In other words:

In fact, since the ladder is being pulled away from the wall, its getting closer to the ground. If the ladder were lying on the ground, but touching the wall, then we'd have ; so, to decribe it's movements more precisely:

Now, in the expression:

Allow for the following simplification in notation:

and

so that

Now, we have the following limits:

and

[10] Therefore, it follows that:

In other words, the ladder's top end with fall downward (negitive infront of the infinity) infinitely fast as the bottom end comes closer and closer to being the same distance away from the wall that the ladders length is ; like I said, such that .

Phew, that seemed like allot to write for one problem. Anyway, there it is, I found it on the internet earlier today.