A Square and A Cube

Chapter 110 topics, part by part7 min read

The locker puzzle, square numbers and their patterns, squares as sums of odd numbers, square roots by subtraction, prime factorisation and estimation, cube numbers, the Hardy–Ramanujan taxicab number, cube roots, and the Indian words varga, ghana and mula.

🟦
Part

Squares and Square Roots

6 topics to learn here

Squares and Square Roots · Topic 1 of 6

The locker puzzle

Squares have an odd number of factors.

  1. 1

    100 people toggle 100 lockers: person k toggles every kth locker. A locker is toggled once for each of its factors.

  2. 2

    Factors come in partner pairs whose product is the number (6 = 1 × 6 = 2 × 3), so most numbers have an even number of factors and end up closed.

  3. 3

    When a factor pairs with itself (36 = 6 × 6), the number has an odd number of factors – these are exactly the square numbers.

  4. 4

    Open lockers: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.

  5. 5

    Lockers touched exactly twice have only two factors – the primes: 2-3-5-7-11 was the passcode.

❓ Can you answer?

Which lockers are touched exactly twice?

Squares and Square Roots · Topic 2 of 6

Square numbers and their notation

n² as the area of a square.

  1. 1

    The area of a square of side n units is n × n square units, so 1, 4, 9, 16, 25… are called squares.

  2. 2

    Notation: n × n = n², read ‘n squared’. Squares of natural numbers are perfect squares.

  3. 3

    Fractions and decimals can be squared too: (3/5)² = 9/25, (2.5)² = 6.25.

nn²nn²nn²
111112121441
241214422484
391316923529
4161419624576
5251522525625
6361625626676
7491728927729
8641832428784
9811936129841
101002040030900
❓ Can you answer?

What is (0.3)²?

Squares and Square Roots · Topic 3 of 6

Patterns in perfect squares

Units digits, zeros, parity.

  1. 1

    Units digit of a square is always 0, 1, 4, 5, 6 or 9. A number ending in 2, 3, 7 or 8 is never a square (but ending in 6 doesn’t prove it is one: 26 isn’t).

  2. 2

    A number ending in 1 or 9 has a square ending in 1; ending in 4 or 6 → square ends in 6 (34², 46², 56², 74² all end in 6).

  3. 3

    Zeros: the square has twice as many zeros at the end (3 zeros → 6 zeros). So a square can only end in an even number of zeros.

  4. 4

    Parity: an even number has an even square; an odd number has an odd square.

❓ Can you answer?

Can 4,327 be a perfect square?

Squares and Square Roots · Topic 4 of 6

Squares and odd numbers

Sum of first n odd numbers = n².

  1. 1

    Differences of consecutive squares are the odd numbers: 4 − 1 = 3, 9 − 4 = 5, 16 − 9 = 7…

  2. 2

    So the sum of the first n odd numbers is n² – each inverted L of dots adds the next odd number.

  3. 3

    The nth odd number is 2n − 1. So (n + 1)² = n² + (2n + 1).

  4. 4

    Test for a square: keep subtracting 1, 3, 5, … If you reach exactly 0, it is a square; the number of steps is the root. (25: 5 steps → √25 = 5; 38 overshoots, so not a square.)

  5. 5

    Between n² and (n + 1)² there are 2n non-square numbers (between 16² and 17² there are 32).

  6. 6

    Two consecutive triangular numbers add to a square: 1 + 3 = 4, 3 + 6 = 9, 6 + 10 = 16.

135791 = 1 = 1²1 + 3 = 4 = 2²1 + 3 + 5 = 9 = 3²1 + 3 + 5 + 7 = 16 = 4²1 + 3 + 5 + 7 + 9 = 25 = 5²Each new L adds the next odd number, 2n − 1.
🧮 Worked example

Given 35² = 1225, find 36².

  1. 1225 is the sum of the first 35 odd numbers.
  2. The 36th odd number is 2 × 36 − 1 = 71.

Answer: 36² = 1225 + 71 = 1296.

❓ Can you answer?

Sum of the first 10 odd numbers?

Squares and Square Roots · Topic 5 of 6

Square roots

√ by subtraction or prime pairs.

  1. 1

    If y = x², then x is a square root of y. A square of area 49 cm² has side 7 cm.

  2. 2

    Every perfect square has two integer square roots: 8² = 64 and (−8)² = 64. The symbol √ means the positive root; this chapter uses only that.

  3. 3

    Ways to find a square root: list squares until you reach the number; subtract successive odd numbers; or use prime factorisation.

  4. 4

    Prime factorisation test: a number is a perfect square if its prime factors can be split into two identical groups (or written in pairs).

💡 UnderstandSquare roots let you find the side of any square plot from its area – used in every land map.

🧮 Worked example

Is 324 a perfect square?

  1. 324 = 2 × 2 × 3 × 3 × 3 × 3 = (2 × 2) × (3 × 3) × (3 × 3).
  2. Every factor pairs up; one group is 2 × 3 × 3 = 18.

Answer: Yes: √324 = 18. (156 = 2 × 2 × 3 × 13 can’t be paired, so it isn’t a square.)

⚠️ Common mistake

✗Every number ending in 1, 4, 5, 6 or 9 is a perfect square.

✓Those endings are only possible for squares; 26, 21, 39 are not squares. Only endings 2, 3, 7, 8 settle the matter (never squares).

❓ Can you answer?

Is 156 a perfect square?

Squares and Square Roots · Topic 6 of 6

Estimating square roots

Trap between two squares.

  1. 1

    To find √1936: 40² = 1600 < 1936 < 2500 = 50², so the root is between 40 and 50.

  2. 2

    It ends in 6, so the root ends in 4 or 6 → 44 or 46. Since 45² = 2025 > 1936, it is 44.

  3. 3

    Useful trick: (40 + 5)² = 40² + 2 × 40 × 5 + 5² = 2025.

  4. 4

    For non-squares we estimate: 15² = 225 < 250 < 256 = 16², so √250 is a little less than 16.

  5. 5

    Akhil’s 125 cm² cloth: 11² = 121 < 125 < 144 = 12², so the biggest whole-number square hanky has side 11 cm.

❓ Can you answer?

Between which whole numbers is √50?

🧊
Part

Cubes and Cube Roots

4 topics to learn here

Cubes and Cube Roots · Topic 1 of 4

Cube numbers

n³ as unit cubes in a cube.

  1. 1

    A cube of side 2 needs 8 unit cubes; side 3 needs 27; side 4 needs 4 layers of 16 = 64. These are perfect cubes.

  2. 2

    Notation: n × n × n = n³. 9 is not a cube (8 < 9 < 27), nor is any number from 10 to 26.

  3. 3

    Cubes can end in any digit. There are 2 one-digit cubes (1, 8), 2 two-digit (27, 64) and 5 three-digit cubes (125 … 729).

  4. 4

    A cube can’t end in exactly two zeros: zeros at the end of a cube come in threes.

  5. 5

    Fractions, decimals and negatives can be cubed: (4/6)³ = 64/216; (−6)³ = −216.

3 × 3 × 3 = 27 unit cubeseach layer has 3 × 3 = 9 cubes,and there are 3 layersIn general: n × n × n = n³1, 8, 27, 64, 125 … are perfect cubes
nn³nn³
11111331
28121728
327132197
464142744
5125153375
6216164096
7343174913
8512185832
9729196859
101000208000
❓ Can you answer?

How many 3-digit perfect cubes are there?

Cubes and Cube Roots · Topic 2 of 4

Taxicab numbers and odd-number patterns for cubes

1729 and odd-number cubes.

  1. 1

    Hardy called taxi number 1729 ‘dull’; Ramanujan replied it is the smallest number that is a sum of two cubes in two different ways: 1729 = 1³ + 12³ = 9³ + 10³ – the Hardy–Ramanujan number.

  2. 2

    Next taxicab numbers: 4104 = 2³ + 16³ = 9³ + 15³ and 13832 = 2³ + 24³ = 18³ + 20³.

  3. 3

    Littlewood said every positive integer was one of Ramanujan’s personal friends.

  4. 4

    Cubes as sums of consecutive odd numbers: 1 = 1³; 3 + 5 = 2³; 7 + 9 + 11 = 3³; 13 + 15 + 17 + 19 = 4³ … The 10 odd numbers 91 + 93 + … + 109 add to 10³ = 1000.

💡 UnderstandRamanujan saw in seconds what took others hours – a reminder that patterns in numbers are everywhere.

1729smallest sum of two cubes in two ways
❓ Can you answer?

Write 4104 as a sum of two cubes.

Cubes and Cube Roots · Topic 3 of 4

Cube roots

∛ by prime triplets.

  1. 1

    If y = x³, then x is the cube root of y, written ∛y. ∛8 = 2, ∛1000 = 10, ∛(n³) = n.

  2. 2

    Test: a number is a perfect cube if its prime factors can be split into three identical groups (or grouped in triplets).

  3. 3

    In a cube, each prime factor of the original number appears three times: 12 = 2 × 2 × 3, so 12³ = 1728 = 2³ × 2³ × 3³.

  4. 4

    500 = 2 × 2 × 5 × 5 × 5 – the 2s don’t make a triplet, so 500 is not a cube.

  5. 5

    Successive differences of squares become constant at level 2; for cubes they become constant at level 3 (all 6s).

🧮 Worked example

Is 3375 a perfect cube?

  1. 3375 = 3 × 3 × 3 × 5 × 5 × 5 = (3 × 5) × (3 × 5) × (3 × 5).

Answer: Yes: 3375 = 15³, so ∛3375 = 15.

❓ Can you answer?

∛27000 = ?

Cubes and Cube Roots · Topic 4 of 4

A pinch of history

Varga, ghana, mula.

  1. 1

    The Babylonians listed squares and cubes on clay tablets around 1700 BCE for land measurement and building.

  2. 2

    Sanskrit varga meant both a square figure and the square power; ghana the solid cube and the cube power; varga-varga the fourth power – used in India from at least the 3rd century BCE.

  3. 3

    Aryabhata (499 CE) described varga as a four-sided equal figure and its area, and also the product of two equal quantities.

  4. 4

    Mula (root of a plant) gave varga-mula (square root) and ghana-mula (cube root); Arabic jidhr and Latin radix copied the idea. Brahmagupta (628 CE) used pada for root.

❓ Can you answer?

What does ‘ghana-mula’ mean?

🔤 Key words

Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.

  • Square numberवर्ग संख्या

    A number multiplied by itself, n × n = n².

  • Perfect squareपूर्ण वर्ग

    Square of a natural number: 1, 4, 9, 16…

  • Square rootवर्गमूल

    x is the square root of y if x² = y.

  • Cube numberघन संख्या

    A number multiplied by itself three times, n³.

  • Cube rootघनमूल

    x is the cube root of y if x³ = y.

  • Prime factorisationअभाज्य गुणनखंडन

    Writing a number as a product of primes.

  • Factorगुणनखंड

    A number that divides another exactly.

  • Odd numberविषम संख्या

    Not divisible by 2; the nth is 2n − 1.

  • Triangular numberत्रिकोणीय संख्या

    1, 3, 6, 10, 15… (dots in a triangle).

  • Taxicab numberटैक्सीकैब संख्या

    Sum of two cubes in two different ways.

🛂 One-look revision

One card per idea. Read the key point, then try to recall the whole topic.

  • Squaren × n = n²7² = 49
  • Odd factorsOnly squares have them36: 1,2,3,4,6,9,12,18,36
  • Units digitSquares end 0,1,4,5,6,9…7 is never a square
  • ZerosEven number at the end700² = 490000
  • Odd numbers1 + 3 + … (n terms) = n²36² = 35² + 71
  • Between squares2n numbers between n², (n+1)²32 between 16², 17²
  • Square testPrime factors in pairs√324 = 18
  • Cuben³15³ = 3375
  • Cube testPrime factors in triplets500 is not a cube
  • Taxicab1729 = 1³ + 12³ = 9³ + 10³Ramanujan
  • Historyvarga, ghana, mulaAryabhata

❔ Questions and answers

Tap a question to see the answer. Try answering in your head first.

In-text questions

QDoes every number have an even number of factors?
A
No – square numbers have an odd number, because one factor pairs with itself.
QWhich of 38², 34², 46², 56², 74², 82² end in 6?
A
34², 46², 56², 74² (numbers ending in 4 or 6). 38² and 82² end in 4.
QA number has 3 zeros at the end. How many zeros does its square have?
A
Six – the square always has double the zeros, so squares end in an even number of zeros.
QHow many numbers lie between two consecutive squares?
A
Between n² and (n + 1)² there are 2n numbers (in general q − p − 1 between squares p and q).
QHow many perfect squares are in each block of 100 up to 1000? Largest square below 1000?
A
1–100: 10; 101–200: 4; 201–300: 3; 301–400: 3; 401–500: 2; 501–600: 2; 601–700: 2; 701–800: 2; 801–900: 2; 901–1000: 1. Largest below 1000: 961 = 31².
QIs 1156 a perfect square? Is 2800?
A
1156 = 2 × 2 × 17 × 17 → yes, 34². 2800 = 2⁴ × 5² × 7 – the 7 is unpaired, so no.
QCan a cube end with exactly two zeros?
A
No – each zero in the number gives three in its cube, so cubes end in 0, 3, 6, … zeros.
QFind ∛64, ∛512, ∛729.
A
4, 8, 9.

Figure it Out (page 10)

QWhich are not perfect squares: 2032, 2048, 1027, 1089?
A
2032, 2048 and 1027. (2032 and 2048 aren’t squares: 45² = 2025, 46² = 2116; 1027 ends in 7.) 1089 = 33².
QWhich among 64², 108², 292², 36² has last digit 4?
A
108² and 292² (ending in 8 or 2 gives 4). 64² and 36² end in 6.
QGiven 125² = 15625, 126² = ?
A
(iv) 15625 + 251 – add the 126th odd number, 2 × 126 − 1 = 251. So 126² = 15876.
QSide of a square of area 441 m²?
A
441 = 3 × 3 × 7 × 7 → √441 = 21 m.
QSmallest square divisible by 4, 9 and 10?
A
LCM = 180 = 2² × 3² × 5. Make the 5 a pair: 180 × 5 = 900 (= 30²).
QSmallest number to multiply 9408 by to get a square; its square root?
A
9408 = 2⁶ × 3 × 7². The 3 is unpaired, so multiply by 3: 28224 = (2³ × 3 × 7)² = 168².
QHow many numbers lie between the squares of (i) 16 and 17 (ii) 99 and 100?
A
(i) 2 × 16 = 32. (ii) 2 × 99 = 198.
QFill in: 4² + 5² + 20² = ( )²; 9² + 10² + ( )² = ( )²
A
4² + 5² + 20² = 21²; 9² + 10² + 90² = 91². (The third term is the product of the first two, and the answer is one more.)
QHow many tiny squares are in the picture? Prime factorisation?
A
81 blocks of 5 × 5 = 81 × 25 = 2025 = 3 × 3 × 3 × 3 × 5 × 5 = 3⁴ × 5² (= 45²).

Figure it Out (page 16)

QCube roots of 27000 and 10648?
A
27000 = 30³ → 30. 10648 = 2³ × 11³ → 22.
QWhat should 1323 be multiplied by to make a cube?
A
1323 = 3³ × 7². One more 7 makes a triplet: multiply by 7 (9261 = 21³).
QTrue or false: (i) cube of an odd number is even (ii) no cube ends with 8 (iii) cube of a 2-digit number may have 3 digits (iv) may have 7 or more digits (v) cubes have an odd number of factors
A
All false. (i) Odd × odd × odd is odd. (ii) 2³ = 8, 12³ = 1728. (iii) The smallest, 10³ = 1000, already has 4 digits. (iv) The largest, 99³ = 970299, has 6 digits. (v) 8 has factors 1, 2, 4, 8 – four.
QGuess cube roots of 1331, 4913, 12167, 32768.
A
11, 17, 23, 32. (Last digit of the cube fixes the last digit of the root; the leading part tells the tens.)
QGreatest: 67³ − 66³, 43³ − 42³, 67² − 66², 43² − 42²?
A
67³ − 66³. Differences of consecutive cubes grow much faster than those of squares: 67³ − 66³ = 13267, 43³ − 42³ = 5419, 67² − 66² = 133, 43² − 42² = 85.

Back to the full listAll Class 8 Mathematics