Proof by contrapositive; if (m^2+n^2) div by 4, then m,n are even numbers

Click For Summary
SUMMARY

The discussion centers on proving that if \( m^2 + n^2 \) is divisible by 4, then both integers \( m \) and \( n \) must be even. The proof employs the contrapositive approach, demonstrating that if \( m \) and \( n \) are odd, then \( m^2 + n^2 \) yields a remainder of 2 when divided by 4, thus confirming it is not divisible by 4. The participant also notes a potential oversight in their proof, questioning whether they need to address cases where \( m \) and \( n \) have opposite parity, as the negation of "both \( m \) and \( n \) are even" is "at least one of \( m \) or \( n \) is odd."

PREREQUISITES
  • Understanding of basic number theory concepts, specifically parity of integers.
  • Familiarity with proof techniques, particularly proof by contrapositive.
  • Knowledge of algebraic manipulation involving squares of integers.
  • Ability to work with divisibility rules, especially concerning modular arithmetic.
NEXT STEPS
  • Study the principles of proof by contrapositive in mathematical logic.
  • Explore the concept of parity in integers and its implications in proofs.
  • Learn about modular arithmetic and its applications in number theory.
  • Investigate additional cases for divisibility proofs, particularly involving opposite parity.
USEFUL FOR

Students of mathematics, particularly those studying number theory and proof techniques, as well as educators looking to enhance their understanding of mathematical logic and divisibility concepts.

jeszo
Messages
6
Reaction score
0

Homework Statement



Let m and n be two integers. Prove that if m^2 + n^2 is divisible by 4, then both m and n are even numbers

Homework Equations





The Attempt at a Solution



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.

----------------------------------

I finished my proof there, but had a note underneath that said that it was incomplete, since I was missing "other cases". Does this mean I have to also show that m and n can't be of opposite parity either? I've been under the impression that the negation of "m and n are even numbers" was "m and n are odd numbers". Is this logic wrong?
 
Physics news on Phys.org
Thenegation of "both m and n are even" is "at least 1 of m or n is odd".
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
27
Views
4K