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

Determine whether the rational number $\frac{77}{210}$ has a terminating or non-terminating repeating decimal expansion. If it is terminating,write down its decimal expansion.

The last digit of $2^{m} \cdot 5^{n}$ (where $m, n \in N$) is . . . . . . .

According to Euclid's division lemma,for given positive integers $a$ and $b,$ there exist unique non-negative integers $q$ and $r$ such that $a = bq + r,$ where ...........

Difficult
View Solution

Express the number $3825$ as a product of its prime factors.

Why are the following numbers composite? Explain: $7 \times 11 \times 17 + 17$.

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