Solveeit Logo

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 3m3m or 3m+13m + 1 for some integer mm .

Explanation

Solution

Euclid’s division lemma is used when two number’s division results into an expression of
a=bq+ra = bq + r , where aa and bb are two positive integers, qq and rr are quotient and remainder.

Complete step-by-step answer:
Let’s consider a positive integer aa , whose square is to be determined.
The proof requires a number 33 , so divide the integer aa by 33 .
According to the statement of Euclid’s division lemma aa and 33 are two integers such that there exists a unique qq andrr such that,
a=3q+r(1)a = 3q + r \cdots \left( 1 \right)
Where, q=q = quotient and r=r = remainder when aa is divided by33.
Where r=0,1,2,3,r = 0,1,2,3, \ldots
Put r=0r = 0 in equation (1),
a=3q(2)a = 3q \cdots \left( 2 \right)
On squaring equation (2),
a2=(3q)2 a2=9q2  {a^2} = {\left( {3q} \right)^2} \\\ {a^2} = 9{q^2} \\\
Taking as a common factor,
a2=3(3q2) a2=3m(3)  {a^2} = 3\left( {3{q^2}} \right) \\\ {a^2} = 3m \cdots \left( 3 \right) \\\
Where, m=3q2m = 3{q^2}

Now, put r=1r = 1 in equation (1),
a=3q+1(4)a = 3q + 1 \cdots \left( 4 \right)
Square the equation (4),
a2=(3q+1)2{a^2} = {\left( {3q + 1} \right)^2}
Using the formula for (a+b)2=a2+b2+2ab{\left( {a + b} \right)^2} = {a^2} + {b^2} + 2ab to expand (3q+1)2{\left( {3q + 1} \right)^2}
a2=(3q)2+12+3q a2=9q2+1+3q  {a^2} = {\left( {3q} \right)^2} + {1^2} + 3q \\\ {a^2} = 9{q^2} + 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)  {a^2} = 9{q^2} + 6q + 1 \\\ {a^2} = 3\left( {3{q^2} + 2q} \right) + 1 \\\ {a^2} = 3m + 1 \cdots \left( 5 \right) \\\
Where, m=3q2+2qm = 3{q^2} + 2q

Now, put r=2r = 2 in equation (1),
a=3q+2(6)a = 3q + 2 \cdots \left( 6 \right)
Square the equation (6),
a2=(3q+2)2{a^2} = {\left( {3q + 2} \right)^2}
Using the formula for (a+b)2=a2+b2+2ab{\left( {a + b} \right)^2} = {a^2} + {b^2} + 2ab to expand (3q+2)2{\left( {3q + 2} \right)^2}
a2=(3q)2+22+12q a2=9q2+4+12q  {a^2} = {\left( {3q} \right)^2} + {2^2} + 12q \\\ {a^2} = 9{q^2} + 4 + 12q \\\
Adjusting the terms to take out 3 as a common factor ( 44 can be written as 3+13 + 1 )
a2=9q2+12q+3+1 a2=3(3q2+4q+1)+1 a2=3m+1(7)  {a^2} = 9{q^2} + 12q + 3 + 1 \\\ {a^2} = 3\left( {3{q^2} + 4q + 1} \right) + 1 \\\ {a^2} = 3m + 1 \cdots \left( 7 \right) \\\
Where, m=3q2+4q+1m = 3{q^2} + 4q + 1

Put r=3r = 3 in equation (1),
a=3q+3(8)a = 3q + 3 \cdots \left( 8 \right)
Square the equation (8),
a2=(3q+3)2{a^2} = {\left( {3q + 3} \right)^2}
Using the formula for (a+b)2=a2+b2+2ab{\left( {a + b} \right)^2} = {a^2} + {b^2} + 2ab to expand (3q+3)2{\left( {3q + 3} \right)^2}
a2=(3q)2+32+18q a2=9q2+9+18q  {a^2} = {\left( {3q} \right)^2} + {3^2} + 18q \\\ {a^2} = 9{q^2} + 9 + 18q \\\
Adjusting the terms to take out 33 as a common factor
a2=9q2+18q+9 a2=3(3q2+6q+3) a2=3m(9)  {a^2} = 9{q^2} + 18q + 9 \\\ {a^2} = 3\left( {3{q^2} + 6q + 3} \right) \\\ {a^2} = 3m \cdots \left( 9 \right) \\\
Where, m=3q2+6q+3m = 3{q^2} + 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 3m3m or 3m+13m + 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.