0

I don't really know how to solve the question: if $n^2$ is odd, is $n$ odd? I think it might be odd, because every equation I've done such as $5^2$, $3^2$, etc. End up as odd numbers, is the way I go about answering this question wrong?

2 Answers2

1

Yes, the way you go about answering the question is wrong for two reasons.

First reason is that there are infinitely many odd numbers, and checking them one by one you'll never be able to finish your proof.

Second reason is that you are checking wrong thing, you are picking an odd number $n = 3,5$ or some other and then checking if $n^2 = 3^2,5^2$ is odd, but you are asking: if $n^2$ is odd, is $n$ odd, the other direction.

You have to ask yourself this: can you find even $n$ such that $n^2$ is odd? The answer is no, because product of two even numbers is always an even number. Therefore, if $n^2$ is odd, so must be $n$.

Ennar
  • 23,082
1

Yes. If n^2 is odd then n is odd.

This statement can be proved by proving its contrapositive i.e. p implies q is equivalent to ~q implies ~p.

So we can show if n is even then n^2 is even.

Proof:

If n is even then it can be expressed in the form n=2m for some positive integer m.

Now, n^2 = (2m)^2

     = 4m^2
 =2(2m^2)

 =2k where, k=2m^2 is a positive integer.

Thus n^2 is also even.

So, n is even implies n^2 is even proves that n^2 is odd implies n is odd.

  • Welcome to stackexchange. That said, please do not rush to answer questions where the OP has shown no work of their own. When you do ask or answer, use mathjax: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference – Ethan Bolker Dec 18 '23 at 01:53
  • 1
    ^Answers help everyone reading these questions, not just the OP. Any correct answer should be submitted. – John Dec 18 '23 at 01:59