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

Show that the cube of any positive integer is of the form $4m, 4m+1$ or $4m+3$ for some integer $m$.

Difficult
View Solution

Prove that one and only one out of every three consecutive positive integers is divisible by $3$.

Difficult
View Solution

Find the $g.c.d.$ of the following numbers using Euclid's division algorithm: $117$ and $65$.

The value of $\text{g.c.d.}(18, 24) \times \text{l.c.m.}(18, 24) = \dots$

Find the largest number which divides $615$ and $963$ leaving remainder $6$ in each case.

Difficult
View Solution

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