They are definitely not equal. (1) is wrong, (2) is correct.