wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Show that the square of any positive integer is either of the form 4q or 4q+1 for some integer q.


Open in App
Solution

To prove the square of any positive integer is either of the form 4q or 4q+1 for some integer q.

Euclid's Division Lemma: For any two positive integers a and b, there exists unique integer m and satisfying a=bm+r, where 0r<b.

If b=4 then a=4m+r where 0r<4.

So, r=0,1,2,3.

Case 1: When r=0,

a=4m+0=4m

Square both sides.

a2=4m2a2=16m2a2=4qwhere,[q=4m2]

Case 2: When r=1,

a=4m+1

Square both sides.

a2=4m+12a2=16m2+1+8ma2=44m2+2m+1a2=4q+1where,[q=4m2+2m]

Case 3: When r=2,

a=4m+2

Square both sides.

a2=4m+22a2=16m2+4+16ma2=44m2+4m+1a2=4qwhere,[q=4m2+4m+1]

Case 4: When r=3,

a=4m+3

Square both sides.

a2=4m+32a2=16m2+9+24ma2=44m2+6m+2+1a2=4q+1where,[q=4m2+6m+2]

Hence, it is shown that the square of any positive integer is either of the form 4q or 4q+1 for some integer q.


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Number Systems
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon