According to my textbook, the statement $n^2-n-2=0 \Leftarrow (n=2 \text{ and } n=-1)$ is true (full solution was not provided).
I am not sure why the statement must be true. My reasoning is as follows:
$$n^2-n-2=0 \Leftarrow (n=2 \text{ and } n=-1)$$
is the same as
$$(n=2 \text{ and } n=-1) \Rightarrow n^2-n-2=0$$
The hypothesis $(n=2 \text{ and } n=-1)$ is false, since $n$ can only take on 1 value at a time. Since the hypothesis is always false, the implication will always be true regardless of the truth value of the conclusion.
Is that how I am suppose to deduce the answer?
EDIT:
The textbook I am referring to is "An Introduction to Mathematical Reasoning: numbers, sets and functions" by Peter J. Eccles.