I've recently begun teaching myself some higher mathematics, and am using the textbook Transition to Higher Mathematics, Structure and Proof (2nd Ed.) by Dumas and McCarthy. I've read through the first chapter on set theory and am working on the exercises. The first exercise is below:
Show that the following set is empty: $$\{ n \in \mathbb{N} \mid \text{$n$ is odd} \land \text{$n = k(k + 1)$ for some $k \in \mathbb{N}$} \}.$$
Being unfamiliar with the proper way to answer such problems, the solution I would provide is as follows:
- When $k$ is neither $-1$ nor $0$, $k(k+1)$ is equal to the product of a an odd and an even number, which is always even.
- When $k$ is either $-1$ or $0$, $k(k+1)$ is equal to 0, which is neither odd nor even.
- $k$ is never odd, thus the set is empty.
I would very much appreciate if someone could provide advice on how to answer this and similar problems in a more "mathematical" way.
Since, as you identified, either $k$ is even or $k+1$ is even, it follows that $n=k(k+1)$ is even, but the set specifies that $n$ is odd; thus the set is indeed empty.
One defines an even number $m$ as any integer that can be written as $m=2r$ for some $r\in\Bbb Z$.
Exercise: How would one then define a number as odd?
Hint:
Can you take it from here?