Question
Question: Use Euclid’s division lemma to prove that the square of any positive integer is either of the form \...
Use Euclid’s division lemma to prove that the square of any positive integer is either of the form 3m or 3m+1 for some integer m .
Solution
Euclid’s division lemma is used when two number’s division results into an expression of
a=bq+r , where a and b are two positive integers, q and r are quotient and remainder.
Complete step-by-step answer:
Let’s consider a positive integer a , whose square is to be determined.
The proof requires a number 3 , so divide the integer a by 3 .
According to the statement of Euclid’s division lemma a and 3 are two integers such that there exists a unique q andr such that,
a=3q+r⋯(1)
Where, q= quotient and r= remainder when a is divided by3.
Where r=0,1,2,3,…
Put r=0 in equation (1),
a=3q⋯(2)
On squaring equation (2),
a2=(3q)2 a2=9q2
Taking as a common factor,
a2=3(3q2) a2=3m⋯(3)
Where, m=3q2
Now, put r=1 in equation (1),
a=3q+1⋯(4)
Square the equation (4),
a2=(3q+1)2
Using the formula for (a+b)2=a2+b2+2ab to expand (3q+1)2
a2=(3q)2+12+3q a2=9q2+1+3q
Adjusting the terms to take out 3 as a common factor,
a2=9q2+6q+1 a2=3(3q2+2q)+1 a2=3m+1⋯(5)
Where, m=3q2+2q
Now, put r=2 in equation (1),
a=3q+2⋯(6)
Square the equation (6),
a2=(3q+2)2
Using the formula for (a+b)2=a2+b2+2ab to expand (3q+2)2
a2=(3q)2+22+12q a2=9q2+4+12q
Adjusting the terms to take out 3 as a common factor ( 4 can be written as 3+1 )
a2=9q2+12q+3+1 a2=3(3q2+4q+1)+1 a2=3m+1⋯(7)
Where, m=3q2+4q+1
Put r=3 in equation (1),
a=3q+3⋯(8)
Square the equation (8),
a2=(3q+3)2
Using the formula for (a+b)2=a2+b2+2ab to expand (3q+3)2
a2=(3q)2+32+18q a2=9q2+9+18q
Adjusting the terms to take out 3 as a common factor
a2=9q2+18q+9 a2=3(3q2+6q+3) a2=3m⋯(9)
Where, m=3q2+6q+3
From equation (3), (5), (7) and (9), it can be concluded that the square of any positive integer is of the form of 3m or 3m+1 .
Hence, proved.
Note: The important thing is to clearly understand the usage of the Euclid’s division lemma theorem.
It is important to adjust the equation as per the statement which has to be proved.