Proving that a square of an odd integer is also odd

  • Thread starter Thread starter hackedagainanda
  • Start date Start date
  • Tags Tags
    Integer Square
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
hackedagainanda
Messages
52
Reaction score
11
Prove that for any arbitrary odd x, that x^2 is also odd.

By definition an odd number is an integer that can be written in the form of 2k + 1 for some integer k. This means that x = 2k + 1 where k is an integer

So let x^2 = (2k + 1)^2 we then get 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1, This is where I get lost, I understand that k is an integer but how does it follow that 2k^2 + 2k is an integer?
 
Physics news on Phys.org
The product of an integer and an integer is an integer.
The sum of an integer and an integer is an integer.

More formally, integers are closed under addition and multiplication.
 
Thanks! I totally overlooked that :eek:
 
hackedagainanda said:
Prove that for any arbitrary odd x, that x^2 is also odd.

By definition an odd number is an integer that can be written in the form of 2k + 1 for some integer k. This means that x = 2k + 1 where k is an integer

So let x^2 = (2k + 1)^2 we then get 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1, This is where I get lost, I understand that k is an integer but how does it follow that 2k^2 + 2k is an integer?
Another way is to use the fact that ##2## is a prime and then apply the definition of a prime.