Consider two arbitrary numbers a and b. Let
Rearrange this in two ways to get two new valid equations:
Multiply the corresponding sides of the two equations:
Now add c2 to each side and simplify:
Finally, take the root of both sides:
Consequently, two arbitrarily chosen numbers a and b must be equal!
Please, avoid posting spoilers in the comments. For other sophisms check out this list.