Let m and n be two integers. Prove that:

  • Context: MHB 
  • Thread starter Thread starter KOO
  • Start date Start date
  • Tags Tags
    Integers
Click For Summary
SUMMARY

This discussion focuses on proving that if the sum of the squares of two integers, m and n, is divisible by 4, then both integers must be even. The proof employs the contrapositive method, demonstrating that if m and n are odd, then m² + n² results in a value that is not divisible by 4. The proof is constructed using the expressions m = 2a + 1 and n = 2b + 1, leading to the conclusion that m² + n² = 4q + 2, which confirms the original statement through logical reasoning.

PREREQUISITES
  • Understanding of contrapositive reasoning in mathematical proofs
  • Familiarity with integer properties and parity (even and odd numbers)
  • Basic algebraic manipulation of expressions
  • Knowledge of divisibility rules, specifically for the number 4
NEXT STEPS
  • Study the concept of contrapositive proofs in greater depth
  • Explore integer parity and its implications in number theory
  • Learn about divisibility rules and their applications in proofs
  • Practice constructing proofs involving sums of squares and their properties
USEFUL FOR

Mathematics students, educators, and anyone interested in number theory and proof techniques, particularly those focusing on properties of integers and divisibility.

KOO
Messages
19
Reaction score
0
Let m and n be two integers. Prove that if m2 + n2 is divisible by 4, then both m and n are even numbers

Hint: Prove contrapositiveAttempt:

Proof by Contrapositive. Assume m, n are odd numbers, showing that m^2 + n^2 is not divisible by 4.

let:
m= 2a + 1 (a,b are integers)
n=2b+1

m^2+n^2 = (2a+1)^2 + (2b+1)^2 = 4a^2 +4a + 1 + 4b^2 + 4b +1

let: 4(a^2 + a + b^2 + b) = 4q (q an integer)

m^2 + n^2 = 4q + 2

with 4q + 2 not divisible by 4 since 4 divides 4q + 2 with a remainder of 2.
==> if m and n are odd numbers, m^2 + n^2 is not divisible 4, which by contrapositive reasoning proves that if m^2 + n^2 is divisible by 4, then m and n are odd numbers.
 
Physics news on Phys.org
What is the negation of the statement

"They are both even" ?
 
KOO said:
Let m and n be two integers. Prove that if m2 + n2 is divisible by 4, then both m and n are even numbers

Hint: Prove contrapositiveAttempt:

Proof by Contrapositive. Assume m, n are odd numbers, showing that m^2 + n^2 is not divisible by 4.

let:
m= 2a + 1 (a,b are integers)
n=2b+1

m^2+n^2 = (2a+1)^2 + (2b+1)^2 = 4a^2 +4a + 1 + 4b^2 + 4b +1

let: 4(a^2 + a + b^2 + b) = 4q (q an integer)

m^2 + n^2 = 4q + 2

with 4q + 2 not divisible by 4 since 4 divides 4q + 2 with a remainder of 2.
==> if m and n are odd numbers, m^2 + n^2 is not divisible 4, which by contrapositive reasoning proves that if m^2 + n^2 is divisible by 4, then m and n are odd numbers.

Hi KOO! :)

Your proof looks fine...

But "contrapositive" in this case means that you start from NOT(m and n are even numbers).
That is the case if either m or n is odd, but not necessarily both.
Due to the interchangeability of m and n it will suffice if you pick m odd.

Perhaps you can redo your proof with just m odd and no information as yet about n?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
2
Views
2K
Replies
9
Views
2K