Submitted by Stephen (not verified) on Mon, 06/22/2009 - 11:36.
In algebra, which is a bit older than php, it works this way:
Start with this given:
1) a = b
Multiply by a:
2) a^2 = ab
Subtract b^2
3) a^2 - b^2 = ab - b^2
Factor:
4) (a + b)(a - b) = b(a - b)
Divide by (a - b):
5) a + b = b
Substitute equation 1) (a = b):
6) 2b = b
Divide by b
7) 2 = 1
So, we've known that 2 = 1 for quite awhile.
There are lies. There are damned lies. And then there are statistics. - Mark Twain.
Mathematicians have beaten you to it
In algebra, which is a bit older than php, it works this way:
Start with this given:
1) a = b
Multiply by a:
2) a^2 = ab
Subtract b^2
3) a^2 - b^2 = ab - b^2
Factor:
4) (a + b)(a - b) = b(a - b)
Divide by (a - b):
5) a + b = b
Substitute equation 1) (a = b):
6) 2b = b
Divide by b
7) 2 = 1
So, we've known that 2 = 1 for quite awhile.
There are lies. There are damned lies. And then there are statistics. - Mark Twain.