In exercise 2.13 of page 43 of the book Mathematical Proofs: A Transition to Advanced Mathematics the reader is asked to state the logical negation of some statements. Of these, I find the authors' answer to one of them baffling.
The statement to negate is:
"Two sides of the triangle have the same length."
The authors' negation of the statement is:
"The sides of the triangle have different lengths".
Am I mistaken in assuming that when negating a statement, one is supposed to state what previously presumed false as true and vice versa? If one assumes the proposition "Two sides of the triangle have the same length." to be true, is it erroneous to conclude that the negation would be "The sides of the triangle have different lengths" or (exclusively) 'Three sides of the triangle have the same length'? I thank your aid in advance.
Your difficulty arises from your interpreting the sentence "two sides are equal" as "two sides are equal (and the third side is a different length)". However that is not what "two sides are equal" means. "two sides are equal" means "there are two sides that are equal... we don't know which two sides are equal and we don't know anything about whether the third is or is not also equal to those two sides".
Hopefully if you view it that way you can say why the answer was what it was.
.... read on if you wish......
If all three sides are equal then any two sides will be equal so all three sides is compatible with (and is a subspace of) two sides being equal.
The negation of "two sides are equal" is "there are no two sides that are equal" and that is equivalent to "all sides are different".
However if we take the statement "EXACTLY two sides are equal" that would mean that two sides are equal and the third is a different length. The negation of that would be: That it is not the case that exactly two sides are equal so either there are fewer than two sides that are equal (no two sides are equal) or there are more than two sides that are equal (there are three sides).
So the negation of "EXACTLY two sides are equal" would be "Either all sides are different or all sides are the same".
.....
But "two sides are equal" does NOT mean "exactly two sides are equal". "two sides are equal" means "there exists at least one pair of equal sides". And the negation IS "all sides are different".