a = b
a2 = ab = b2
a2 - b2 = a2 – ab
(a+b)(a-b) = a(a-b) so (a-b) on both sides cancel each other leaving
a+b = a
but a = b
a + a = a
2a = a
so 2 = 1
mathematically impossible..!!
I used to leave that written on a blackboard in my classroom and say nothing about it. It was interesting to see which pupils would be the first to read it and start asking questions. (Of course, 'divide by zero' errors can have more serious consequences. Do you remember the panic over 'Y2K Millennium Bug'?)
This is one of those lovely "results" that's worth looking at now and again. Despite the fact that it's fairly well-known you'd be surprised how often similar errors are made, dividing by zero etc. Usually what happens is that alternative answers are missed, rather than the resulting answers are wrong, but still it's a mistake that's made too often.
Fallacy!
(a+b)(a-b)= a(a-b)...correct so far - algebraically;
'so (a-b) on both sides cancel each other' is not true as, in mathematics, you may not divide by 0,
therefore, the result of 2=1 is not proven.