Mathematics Book 1 Exercises: Arithmetic and NumbersMaths Book 1 · Exercises
0 / 0

Workbench / Mathematics Book 1 Exercises: Arithmetic and Numbers

B1·04

Multiplying and Dividing

Exercises for chapter 4: times-table facts built from neighbours, why long multiplication shifts, the length of a product, the division algorithm and what a remainder means, three conventions for negative remainders coded side by side, multiplication by halving and doubling, a restaurant bill split to the paisa with GST, unit prices compared without dividing, and senior exercises on overflow, pagination and sharding.

19 topics · ~5 min read
Updated Suggest a correction

Start here: how these exercises work

Write your answer in the box first; hints open one at a time as you write, and the solution a couple of minutes after the last hint. Theory is in your own words, practice and programs come with real output (Python 3.13), cumulative projects use chapters 1 to 4 together, what the chapter leaves out explains what it skips, and senior exercises put the ideas into designs and reviews.

Theory

T1. Facts from neighbours

You've forgotten 7×8 and 6×7. Rebuild each in two different ways from facts you're sure of, naming the rule each way uses. Then explain why every fact in the table can be rebuilt from the twos, fives and tens.

T2. Why the second row moves left

In 347×26, explain the shifted second row to someone who has only memorised it as a rule. Use the tiles picture from the chapter and the words "place value".

T3. How big before you start

Without multiplying, say how many digits each product has (or which two lengths are possible), and explain how you know: (a) 9×9; (b) 99,999×2; (c) a 7-digit number times a 5-digit number; (d) 3162×3163 versus 3163×3163.

T4. What the remainder means

Give one everyday situation each where 100÷7 should be answered as (a) 14, (b) 15, (c) "14 remainder 2", (d) 1427, and (e) "no".

T5. Why "bring down" works

Explain each "bring down" in 5,478÷6 in terms of thousands, hundreds, tens and ones, the way the chapter explains 7,346÷23.

T6. One division, three remainders

Python says −17mod5=3; JavaScript says −17%5=−2. Show that both satisfy a=qb+r, say what each language chose, and say which is safer for wrapping an index round a circular buffer, and why.

Practice and programs

P1. Mental multiplication and division

Name the strategy for each: (a) 25×48; (b) 99×64; (c) 37×11; (d) 52×48; (e) 1,000÷8; (f) 7,200÷25; (g) 4,444÷4.

P2. Long multiplication, row by row

Write a function that does long multiplication by printing one row per digit of the second number, each the one-digit product shifted by its place value, and returns the sum. Run it on 347×26 and 608×407. What does the row for a 0 digit look like, and why does long multiplication on paper skip it?

P3. Three conventions for the remainder

Write three division functions for whole numbers that may be negative: floored (Python's), truncated (C, Java and JavaScript's) and Euclidean (the remainder is never negative). Check that every result satisfies a=qb+r, and print all three for ±17 divided by ±5.

P4. Multiplying by halving and doubling

The "Russian peasant" method multiplies by writing two columns: halve the left number (dropping remainders) and double the right, then add the right-hand numbers on the rows where the left is odd. Code it, show the rows for 47×38, check it on 100,000 random pairs, and explain why it works using binary.

Cumulative projects (chapters so far: 01–04)

C1. A restaurant bill split to the paisa

Three friends share a meal: two ₹180 thalis between Asha and Ravi, a ₹240 biryani for Meena, four ₹35 lassis and a ₹99.50 dessert for all three, with 5% GST on everything. Each person pays for what they had (shared items split equally among those who shared them), the shares must be whole paise, and they must add up to the bill exactly. Write split(items, people, gst_percent).

C2. Which pack is cheaper, without dividing

Compare packs by price per gram without division: ₹186 for 750 g against ₹240 for 1 kg; ₹45 for 200 g against ₹105 for 500 g; ₹99 for 450 g against ₹220 for 1 kg. Explain why cross-multiplying gives the same answer as dividing, and why it's better in code.

What the chapter leaves out

Division in hardware is slow

Processors add and multiply in a few clock cycles but take noticeably longer to divide, because division is long division: each quotient bit depends on the previous step's remainder, so the steps can't all run at once. Compilers therefore replace division by a constant with a multiplication by a precomputed "magic number" and a shift (dividing by 10 becomes multiplying by roughly 235/10 and shifting right by 35, with care about rounding), which is exact for every input of the type. It's the same idea as dividing by 25 by multiplying by 4 and dividing by 100.

Faster multiplication beyond Karatsuba

Karatsuba's three-products trick generalises: Toom–Cook splits numbers into more pieces, and the fastest methods for huge numbers use the fast Fourier transform, treating numbers as polynomials (chapter 2's positional notation is a polynomial in the base) and multiplying them by evaluating at special points. The Schönhage–Strassen algorithm (1971) and Harvey and van der Hoeven's O(nlogn) method (2019) are in this family. Libraries switch methods as numbers grow, because each is fastest in a different range.

Division is about remainders as much as quotients

The chapter's division algorithm is the foundation of chapter 5 (divisibility, gcd), chapter 7 (decimals that repeat), and much of computing: hashing (key % buckets), clocks and calendars, check digits and cryptography all use the remainder and discard the quotient. In mathematics this becomes modular arithmetic, chapter 5's subject.

Senior exercises

S1. Price times quantity overflowed

An inventory service written in Java computes order value as int price * int quantity in paise. A bulk order of 1,20,000 units at ₹25,000 each produced a negative order value. Explain with the chapter's length rule, and fix it.

S2. Pagination arithmetic

An API returns results in pages of size items. Write the formulas for the number of pages, the offset of page p (pages numbered from 1), and which page item number i (numbered from 0) is on. Then list the edge cases that cause off-by-one bugs.

S3. Sharding by remainder

Users are assigned to one of 10 database shards by user_id % 10. The team adds an 11th shard and changes the rule to user_id % 11. Estimate what fraction of users move, measure it for 100,000 IDs, and propose a design that moves far fewer.