A Square and A Cube

www.akankshaclasses.com
CLASS VIII Mathematics ~4–5 marks Ch 1 of 14
A Square and A Cube

Class 8 · Mathematics · NCERT chapter notes · Akanksha Classes

Snapshot
  • A square number is a number times itself: $n\times n=n^{2}$ ($1,4,9,16,25,\dots$). A cube is a number times itself thrice: $n\times n\times n=n^{3}$ ($1,8,27,64,\dots$).
  • Square root undoes a square: if $y=x^{2}$ then $x=\sqrt y$. Cube root undoes a cube: if $y=x^{3}$ then $x=\sqrt[3]{y}$.
  • Perfect squares end only in $0,1,4,5,6,9$ — never in $2,3,7,8$. Their last digit is a quick "is it NOT a square?" test.
  • Sum of the first $n$ odd numbers $=n^{2}$. Each prime factor appears in pairs in a square and in triplets in a cube.
  • The locker puzzle: only the lockers numbered by perfect squares stay open — squares are the only numbers with an odd number of factors.
  • Exam weight: ~4–5 marks — finding square/cube roots by prime factorisation, the units-digit test, "smallest number to multiply/divide", and estimation.
Detailed notes

1. The story: Queen Ratnamanjuri's 100 lockers

Queen Ratnamanjuri left her son Khoisnam and $99$ relatives a puzzle. In a secret room are 100 lockers, all closed. Each person ($1$ to $100$) takes a turn:

  • Person 1 opens every locker.
  • Person 2 toggles (open↔close) every 2nd locker — $2,4,6,\dots$
  • Person 3 toggles every 3rd locker — $3,6,9,\dots$, and so on up to Person 100.

A locker ends open only if it is toggled an odd number of times. Locker $k$ is touched once by each person whose number is a factor of $k$. So the question becomes: which numbers have an odd number of factors?

A locker is open at the end $\iff$ its number has an odd number of factors $\iff$ its number is a perfect square.

2. Why squares have an odd number of factors

Factors come in partner pairs whose product is the number. For $6$: $1\times6$ and $2\times3$ — factors $1,2,3,6$, an even count ($4$). For $9$: $1\times9$ and $3\times3$ — here the pair $3\times3$ is a repeat, so the factors $1,3,9$ are odd in count ($3$).

A perfect square always has one "middle" factor that pairs with itself (the square root), leaving the total count odd. Every other number pairs all its factors off neatly, giving an even count.

Open lockers $=1,4,9,16,25,36,49,64,81,100$ — the squares from $1^{2}$ to $10^{2}$.

The passcode clue: "the first five lockers touched exactly twice". Touched twice = exactly two factors = a prime ($1$ and itself). The first five primes give the code 2-3-5-7-11.

3. Square numbers (Section 1.1)

The area of a square of side $n$ units is $n\times n$ unit squares — that is why $1,4,9,16,\dots$ are called squares. We write $n\times n=n^{2}$, read "$n$ squared".

$1^{2}=1,\;\;2^{2}=4,\;\;3^{2}=9,\;\;4^{2}=16,\;\;5^{2}=25,\;\;10^{2}=100$

Squares work for fractions and decimals too: $\left(\tfrac35\right)^{2}=\tfrac{9}{25}$ and $(2.5)^{2}=6.25$. Squares of natural numbers are called perfect squares ($1,4,9,16,25,\dots$).

4. Patterns and properties of perfect squares

(a) Units digit. Every perfect square ends in $0,1,4,5,6$ or $9$. None end in $2,3,7$ or $8$.

If a number ends in $2,3,7$ or $8$ it is definitely NOT a perfect square. (But ending in $0,1,4,5,6,9$ does not guarantee it is one — e.g. $26$ ends in $6$ but is not a square.)

A number ending in $1$ or $9$ has a square ending in $1$ (e.g. $11^{2}=121,\,19^{2}=361$). A number ending in $4$ or $6$ has a square ending in $6$ (e.g. $4^{2}=16,\,6^{2}=36,\,14^{2}=196$).

(b) Trailing zeros. The number of zeros at the end of a square is always even (double the zeros of the base): $10^{2}=100$ (2 zeros), $100^{2}=10000$ (4 zeros). A number with $3$ zeros has a square with $6$ zeros.

(c) Parity. Square of an even number is even; square of an odd number is odd.

(d) Sum of odd numbers. Adding consecutive odd numbers starting from $1$ builds the squares:

$1=1^{2},\;\;1+3=4=2^{2},\;\;1+3+5=9=3^{2},\;\;1+3+5+7=16=4^{2},\;\dots$
The sum of the first $n$ odd numbers is $n^{2}$. The $n^{\text{th}}$ odd number is $2n-1$.

Test by repeated subtraction: keep subtracting $1,3,5,7,\dots$ from a number. If you reach exactly $0$, it is a perfect square; if you cross below $0$, it is not.

(e) Triangular numbers. Two consecutive triangular numbers add to a square: $1+3=4=2^{2}$, $3+6=9=3^{2}$, $6+10=16=4^{2}$.

5. Square roots

If the area of a square is $49$, its side is $7$ because $7^{2}=49$ — we call $7$ the square root of $49$. In general, if $y=x^{2}$ then $x=\sqrt y$.

Every perfect square has two integer square roots, one positive and one negative, since $8^{2}=64$ and $(-8)^{2}=64$.

$\sqrt{64}=\pm8,\quad\sqrt{100}=\pm10,\quad \sqrt{n^{2}}=\pm n.$
In this chapter we take only the positive root unless told otherwise.

Finding a square root by prime factorisation. A number is a perfect square if its prime factors can be split into two equal groups (i.e. every prime occurs an even number of times / can be paired). The product of one group is the square root.

6. Estimating square roots

For a number that is not a perfect square, trap it between two known squares.

To estimate $\sqrt{250}$: since $15^{2}=225$ and $16^{2}=256$, we get $15<\sqrt{250}<16$. As $256$ is much closer to $250$ than $225$, $\sqrt{250}\approx16$ (just under $16$).

For a perfect square like $1936$: it lies between $40^{2}=1600$ and $50^{2}=2500$, and ends in $6$, so the root ends in $4$ or $6$ — it is $44$ or $46$. Since $45^{2}=2025>1936$, the root is below $45$, so $\sqrt{1936}=44$.

7. Cubic numbers (Section 1.2)

A cube of side $n$ is filled by $n\times n\times n=n^{3}$ unit cubes — a $2$-cm cube needs $8$ unit cubes, a $3$-cm cube needs $27$, a $4$-cm cube needs $64$. So $1,8,27,64,125,\dots$ are perfect cubes.

$1^{3}=1,\;2^{3}=8,\;3^{3}=27,\;4^{3}=64,\;5^{3}=125,\;6^{3}=216,\;10^{3}=1000$

Cubes work for fractions/decimals/negatives: $\left(\tfrac46\right)^{3}=\tfrac{64}{216}$, $(13.08)^{3}=2237.810112$, $(-6)^{3}=-216$. The cube of an odd number is odd; the cube of an even number is even.

Consecutive odd numbers build cubes too: $1=1^{3}$, $3+5=8=2^{3}$, $7+9+11=27=3^{3}$, $13+15+17+19=64=4^{3}$, $21+23+25+27+29=125=5^{3}$.

Taxicab / Hardy–Ramanujan number: $1729$ is the smallest number expressible as a sum of two cubes in two ways: $1729=1^{3}+12^{3}=9^{3}+10^{3}$.

8. Cube roots

Since $8=2^{3}$, we say $2$ is the cube root of $8$, written $\sqrt[3]{8}=2$. In general, if $y=x^{3}$ then $x=\sqrt[3]{y}$, and $\sqrt[3]{n^{3}}=n$.

Key fact: each prime factor of a number appears three times in its cube. So a number is a perfect cube if its prime factors split into three identical groups (every prime occurs a multiple of $3$ times).

$3375=3\times3\times3\times5\times5\times5=(3\times5)^{3}=15^{3}\;\Rightarrow\;\sqrt[3]{3375}=15.$

If the primes cannot be grouped into triplets, the number is not a cube: $500=2\times2\times5\times5\times5$ — the two $2$s are left over, so $500$ is not a perfect cube.

9. Successive differences & a pinch of history

Squares: first differences are the odd numbers $3,5,7,9,\dots$; the second differences are all equal to $2$.

Squares $1,4,9,16,25,36$ → diffs $3,5,7,9,11$ → diffs $2,2,2,2$.

Cubes: taking successive differences of $1,8,27,64,125,216$ becomes constant only at the third level (all $6$). The first known lists of squares and cubes were made by the Babylonians around $1700$ BCE. In Sanskrit, varga meant square and ghana meant cube; mula (root of a plant) gave us "root".

Worked examples (from the book)
Example 1 — Is $324$ a perfect square? Find $\sqrt{324}$.

$324=2\times2\times3\times3\times3\times3$. Pair the primes: $(2\times2)$, $(3\times3)$, $(3\times3)$ — all pair up, so $324$ is a perfect square.

Group into two equal halves: $324=(2\times3\times3)\times(2\times3\times3)=18^{2}$. Therefore $\sqrt{324}=18.$

Example 2 — Smallest number to multiply $9408$ by to get a perfect square; then $\sqrt{}$.

$9408=2^{6}\times3\times7^{2}$. The $2$s pair (six of them) and the $7$s pair, but $3$ is alone. Multiply by $3$: $9408\times3=28224=2^{6}\times3^{2}\times7^{2}$.

$\sqrt{28224}=2^{3}\times3\times7=168.$ So multiply by $\mathbf{3}$ and the root is $\mathbf{168}$.

Example 3 — Smallest square divisible by $4,9$ and $10$.

$\text{LCM}(4,9,10)=2^{2}\times3^{2}\times5=180$. Here $5$ is unpaired, so $180$ is not a square. Multiply by $5$: $180\times5=900=30^{2}$. The smallest such square is $\mathbf{900}.$

Example 4 — Is $3375$ a perfect cube? Find $\sqrt[3]{3375}$.

$3375=3\times3\times3\times5\times5\times5$. Triplets: $(3\times3\times3)\times(5\times5\times5)=3^{3}\times5^{3}=(15)^{3}$. So $\sqrt[3]{3375}=15.$

Example 5 — Estimate $\sqrt{250}$; largest square handkerchief from cloth of area $125$ cm².

$15^{2}=225$, $16^{2}=256$, so $15<\sqrt{250}<16\approx16$. For the cloth: $125$ is between $11^{2}=121$ and $12^{2}=144$, so the largest square with whole-cm side is $\mathbf{11}$ cm.

Example 6 — Cube roots by factorisation: $\sqrt[3]{27000}$ and $\sqrt[3]{10648}$.

$27000=27\times1000=3^{3}\times10^{3}=(30)^{3}\Rightarrow\sqrt[3]{27000}=30.$

$10648=2^{3}\times11^{3}=(22)^{3}\Rightarrow\sqrt[3]{10648}=22.$

Example 7 — Smallest number to multiply $1323$ by to make a cube.

$1323=3\times3\times3\times7\times7=3^{3}\times7^{2}$. The $3$s form a triplet but $7$ appears only twice — we need one more $7$. Multiply by $\mathbf{7}$: $1323\times7=9261=3^{3}\times7^{3}=21^{3}.$

Practice MCQs
1. Which of these can a perfect square never end in?
  1. $1$
  2. $5$
  3. $8$
  4. $9$
Answer: (C) Squares end only in $0,1,4,5,6,9$ — never $2,3,7,8$.
2. In the locker puzzle, the lockers that remain open are numbered by:
  1. prime numbers
  2. even numbers
  3. perfect squares
  4. multiples of 10
Answer: (C) Only squares have an odd number of factors, so they are toggled an odd number of times.
3. The sum $1+3+5+7+9+11$ equals:
  1. $25$
  2. $36$
  3. $49$
  4. $30$
Answer: (B) Sum of first $6$ odd numbers $=6^{2}=36$.
4. $\sqrt{324}=$
  1. $16$
  2. $17$
  3. $18$
  4. $24$
Answer: (C) $324=(2\times3\times3)^{2}=18^{2}$.
5. How many numbers lie between $16^{2}$ and $17^{2}$ (exclusive)?
  1. $30$
  2. $31$
  3. $32$
  4. $33$
Answer: (C) Between $n^{2}$ and $(n+1)^{2}$ there are $2n$ numbers $=2\times16=32$.
6. Which number is not a perfect square?
  1. $1089$
  2. $2032$
  3. $1024$
  4. $1156$
Answer: (B) $2032$ ends in $2$, so it cannot be a square ($1089=33^{2}$, $1024=32^{2}$, $1156=34^{2}$).
7. The smallest number to multiply $9408$ by to get a perfect square is:
  1. $2$
  2. $3$
  3. $7$
  4. $5$
Answer: (B) $9408=2^{6}\times3\times7^{2}$; only $3$ is unpaired, so multiply by $3$.
8. $\sqrt[3]{3375}=$
  1. $5$
  2. $15$
  3. $25$
  4. $45$
Answer: (B) $3375=(3\times5)^{3}=15^{3}$.
9. Which is not a perfect cube?
  1. $27$
  2. $64$
  3. $500$
  4. $1000$
Answer: (C) $500=2^{2}\times5^{3}$; the two $2$s cannot form a triplet.
10. The Hardy–Ramanujan number $1729$ equals:
  1. $1^{3}+12^{3}=9^{3}+10^{3}$
  2. $2^{3}+11^{3}$
  3. $5^{3}+12^{3}$
  4. $3^{3}+13^{3}$
Answer: (A) It is the smallest number that is a sum of two cubes in two ways.
11. The number of trailing zeros in the square of a number ending in $3$ zeros is:
  1. $3$
  2. $4$
  3. $6$
  4. $9$
Answer: (C) Zeros double: $3\times2=6$.
12. Given $125^{2}=15625$, the value of $126^{2}$ is:
  1. $15625+126$
  2. $15625+26^{2}$
  3. $15625+253$
  4. $15625+251$
Answer: (D) $126^{2}=125^{2}+(125+126)=15625+251$.
13. The square root of an area $441\,\text{m}^{2}$ (side of the square) is:
  1. $19$ m
  2. $21$ m
  3. $23$ m
  4. $24$ m
Answer: (B) $21^{2}=441$, so the side is $21$ m.
14. How many perfect squares lie between $1$ and $100$ (inclusive of $1$ and $100$)?
  1. $9$
  2. $10$
  3. $11$
  4. $8$
Answer: (B) $1^{2}$ to $10^{2}$ — that is $10$ squares.
Assertion–Reason
A: $48$ is not a perfect square.   R: A perfect square cannot end in the digit $8$.
Answer: Both A and R are true and R correctly explains A — squares end only in $0,1,4,5,6,9$.
A: Every perfect cube ends in an even number of zeros.   R: Trailing zeros of a cube come in groups of three.
Answer: A is false (cube zeros come in multiples of $3$, e.g. $1000$ has $3$ zeros), R is true.
Exam-style questions
Q1. Find the smallest number by which $9408$ must be multiplied to get a perfect square, and find the square root of the product. (3 marks)
Answer: $9408=2^{6}\times3\times7^{2}$; only $3$ is unpaired, so multiply by $3$ → $28224=2^{6}\times3^{2}\times7^{2}$, and $\sqrt{28224}=2^{3}\times3\times7=168$.
Q2. Find the smallest square number that is divisible by $4$, $9$ and $10$. (3 marks)
Answer: $\text{LCM}=2^{2}\times3^{2}\times5=180$; $5$ is unpaired, so multiply by $5$ → $900=30^{2}$.
Q3. Find the cube roots of $27000$ and $10648$ using prime factorisation. (3 marks)
Answer: $27000=3^{3}\times10^{3}=30^{3}\Rightarrow\sqrt[3]{27000}=30$; $10648=2^{3}\times11^{3}=22^{3}\Rightarrow\sqrt[3]{10648}=22$.
Q4. What is the smallest number by which $1323$ must be multiplied to make it a perfect cube? (2 marks)
Answer: $1323=3^{3}\times7^{2}$; the $7$ falls short of a triplet, so multiply by $7$ → $9261=21^{3}$.
Want personal coaching in Dwarka?
Book a free demo class
More Class 8 Mathematics chapters
Chat with us