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

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Let $a$ be an arbitrary positive integer. By Euclid's division algorithm,for integers $a$ and $4$,there exist non-negative integers $m$ and $r$ such that $a = 4m + r$,where $0 \leq r < 4$.
Squaring both sides,we get $a^2 = (4m + r)^2 = 16m^2 + 8mr + r^2 = 4(4m^2 + 2mr) + r^2$.
Case $I$: If $r = 0$,$a^2 = 4(4m^2) = 4q$,where $q = 4m^2$.
Case $II$: If $r = 1$,$a^2 = 4(4m^2 + 2m) + 1 = 4q + 1$,where $q = 4m^2 + 2m$.
Case $III$: If $r = 2$,$a^2 = 16m^2 + 16m + 4 = 4(4m^2 + 4m + 1) = 4q$,where $q = 4m^2 + 4m + 1$.
Case $IV$: If $r = 3$,$a^2 = 16m^2 + 24m + 9 = 16m^2 + 24m + 8 + 1 = 4(4m^2 + 6m + 2) + 1 = 4q + 1$,where $q = 4m^2 + 6m + 2$.
Thus,the square of any positive integer is of the form $4q$ or $4q + 1$.

Explore More

Similar Questions

State whether the following rational number has a terminating decimal expansion or not. If it has a terminating decimal expansion,find it: $\frac{64}{455}$

$LCM(15, 21, 35) = .........$

Three sets of English,Hindi,and Mathematics books have to be stacked in such a way that all the books are stored topic-wise and the height of each stack is the same. The number of English books is $96$,the number of Hindi books is $240$,and the number of Mathematics books is $336$. Assuming that the books are of the same thickness,determine the number of stacks of English,Hindi,and Mathematics books.

Difficult
View Solution

State whether the following rational number has a terminating decimal expansion or not. If it has,then find it: $\frac{17}{343}$

For some integer $q$,every odd integer is of the form

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo