-1

Definition: An integer $n$ is throdd if $n=3k+1$ for some $k\in\Bbb Z$.

Proposition: For all integers $n$, if $n^2$ is throdd, then $n$ is throdd.

direct proof:

let $n$ be a particular but arbitrarily chosen throdd integer

then $n = 3k + 1$ for some $k \in \mathbb{Z}$

then $n^2 = (3k + 1)^2 = 9k^2 + 6k + 1 = 3(3k^2 + 2k) + 1$

$3k^2 + 2k$ is an integer by closure, $n^2$ meets the definition of threeven.

Wouldn't there be a counter example, or is there a way to prove it by contrapositive?

John
  • 61

1 Answers1

2

You can’t start by assuming that $n$ is throdd: that’s what you’re trying to prove, so any such argument would be circular. For a direct proof you should assume that $n^2$ is throdd, and for a proof of the contrapositive you should assume that $n$ is not throdd and try to prove that $n^2$ is not throdd. That looks more promising, so you might try it. If $n$ is not throdd, then $n$ is not $3k+1$ for any $k\in\Bbb Z$, and therefore either $n=3k$ for some $k\in\Bbb Z$, or $n=3k+2$ for some $k\in\Bbb Z$. If $n=3k$, then $n^2=(3k)^2=9k^2=3(3k^2)$, so $n^2$ is not throdd, just as we hoped to find.

Now investigate what happens if $n=3k+2$. Is $n^2$ always throdd? Never throdd? Sometimes throdd and sometimes not? If it’s never throdd, you’ve proved the proposition; in either of the other two cases you can find a counterexample to show that the proposition isn’t always true.

Brian M. Scott
  • 616,228