Mathematical-Reasoning ยท Unit 10 ยท Video 2 ยท Interactive Practice

One Quotient, One Remainder: The Division Algorithm

IKey Formulas

FormulaNameMeaning
a=bq+ra = bq + r, ย 0โ‰คr<b\ 0 \le r < bDivision Algorithm (taken as an axiom)For all integers aa and bb with b>0b > 0, exactly one pair of integers qq, rr satisfies both conditions
r=aโˆ’bqr = a - bqFinding the remainderbqbq is the largest multiple of bb that does not exceed aa
a=b(qโˆ’1)+(r+b)a = b(q - 1) + (r + b)Shifting the quotientLowering qq by 11 raises rr by bb
rโˆˆ{0,1,โ€ฆ,bโˆ’1}r \in \{0, 1, \dots, b - 1\}Possible remaindersExactly bb of them; for b=2b = 2, a=2qa = 2q (even) or a=2q+1a = 2q + 1 (odd)

Key Insight: Many pairs satisfy a=bq+ra = bq + r, and the condition 0โ‰คr<b0 \le r < b keeps exactly one. For a=โˆ’17a = -17 and b=5b = 5 that pair is โˆ’17=5โ‹…(โˆ’4)+3-17 = 5 \cdot (-4) + 3, not the calculator's โˆ’17=5โ‹…(โˆ’3)+(โˆ’2)-17 = 5 \cdot (-3) + (-2).

IIVisualization 1 โ€” Only One Pair Survives

Every integer qq gives an rr with a=bq+ra = bq + r, but only one of those rr satisfies 0โ‰คr<b0 \le r < b.

IIIVisualization 2 โ€” Remainders Cycle Through 0 to b โˆ’ 1

The quotient comes from the largest multiple of bb not exceeding aa, so rr is always one of 0,1,โ€ฆ,bโˆ’10, 1, \dots, b - 1.

IVQuiz Questions

Problem 1 ยท Which Pair Is the Division Algorithm's?

Given: a=94a = 94 and b=8b = 8. Each equation below is true. Which one gives the quotient and the remainder guaranteed by the Division Algorithm?

โœ… Correct! q=11q = 11 and r=6r = 6 are integers with 0โ‰ค6<80 \le 6 < 8, so the quotient is 1111 and the remainder is 66.
โŒ Not quite. The arithmetic is right, but r=โˆ’2r = -2 is negative, so it fails 0โ‰คr<80 \le r < 8. Lower qq by 11 and rr rises by 88.
โŒ Not quite. The arithmetic is right, but r=14r = 14 is not less than 88. Raise qq by 11 and rr drops by 88.
โŒ Not quite. The quotient must be an integer, and 11.7511.75 is not one. The Division Algorithm works inside the integers.
Show solution

The largest multiple of 88 that does not exceed 9494 is 88=8โ‹…1188 = 8 \cdot 11, so

r=94โˆ’88=6,94=8โ‹…11+6.r = 94 - 88 = 6, \qquad 94 = 8 \cdot 11 + 6.

Both q=11q = 11 and r=6r = 6 are integers and 0โ‰ค6<80 \le 6 < 8. The other equations are true but fail a condition: r=โˆ’2<0r = -2 < 0, r=14โ‰ฅ8r = 14 \ge 8, and q=11.75q = 11.75 is not an integer.

Problem 2 ยท A Negative Dividend

Given: a=โˆ’38a = -38 and b=6b = 6. Find the quotient qq and the remainder rr guaranteed by the Division Algorithm.

โœ… Correct! โˆ’38=6โ‹…(โˆ’7)+4-38 = 6 \cdot (-7) + 4 and 0โ‰ค4<60 \le 4 < 6.
โŒ Close, butโ€ฆ This is the calculator's answer: โˆ’38/6โ‰ˆโˆ’6.33-38/6 \approx -6.33 truncates to โˆ’6-6, giving โˆ’38=6โ‹…(โˆ’6)+(โˆ’2)-38 = 6 \cdot (-6) + (-2). The remainder โˆ’2-2 is negative, so lower qq by 11.
โŒ Not quite. This copies 38=6โ‹…6+238 = 6 \cdot 6 + 2 and flips only the quotient, but 6โ‹…(โˆ’6)+2=โˆ’346 \cdot (-6) + 2 = -34, not โˆ’38-38.
โŒ Not quite. 6โ‹…(โˆ’8)+10=โˆ’386 \cdot (-8) + 10 = -38 is true, but 10โ‰ฅ610 \ge 6. The quotient went one step too low.
Show solution

The multiples of 66 near โˆ’38-38 are โˆ’42-42 and โˆ’36-36. Since โˆ’36>โˆ’38-36 > -38, the largest multiple of 66 that does not exceed โˆ’38-38 is โˆ’42=6โ‹…(โˆ’7)-42 = 6 \cdot (-7). Then

r=โˆ’38โˆ’(โˆ’42)=4,โˆ’38=6โ‹…(โˆ’7)+4,r = -38 - (-42) = 4, \qquad -38 = 6 \cdot (-7) + 4,

and 0โ‰ค4<60 \le 4 < 6. So q=โˆ’7q = -7 and r=4r = 4. Choosing q=โˆ’6q = -6 gives r=โˆ’2r = -2, which is negative and not allowed.

Problem 3 ยท Remainder of an Expression

Given: When the integer aa is divided by 77, the remainder is 55. Find the remainder when 3a+43a + 4 is divided by 77.

โœ… Correct! 3a+4=7(3q+2)+53a + 4 = 7(3q + 2) + 5 with 0โ‰ค5<70 \le 5 < 7, so the remainder is 55.
โŒ Not quite. 3a+4=21q+193a + 4 = 21q + 19, but 1919 is not less than 77, so it cannot be the remainder. Split 19=14+519 = 14 + 5.
โŒ Not quite. 11 is the remainder of 3a3a alone, since 3โ‹…5=15=14+13 \cdot 5 = 15 = 14 + 1. The +4+4 still has to be added.
โŒ Not quite. The 22 in 7(3q+2)+57(3q + 2) + 5 belongs to the quotient 3q+23q + 2, not to the remainder.
Show solution

By the Division Algorithm there is an integer qq with a=7q+5a = 7q + 5. Then

3a+4=3(7q+5)+4=21q+19=21q+14+5=7(3q+2)+5.3a + 4 = 3(7q + 5) + 4 = 21q + 19 = 21q + 14 + 5 = 7(3q + 2) + 5.

Here 3q+23q + 2 is an integer and 0โ‰ค5<70 \le 5 < 7. Because the pair is unique, the quotient is 3q+23q + 2 and the remainder is 55. Check with a=12a = 12: 3โ‹…12+4=40=7โ‹…5+53 \cdot 12 + 4 = 40 = 7 \cdot 5 + 5.

Problem 4 ยท Cases by Remainder

Given: With b=3b = 3, the Division Algorithm says every integer aa is exactly one of 3q3q, 3q+13q + 1, 3q+23q + 2 for some integer qq. Which statement is true?

โœ… Correct! The three cases give remainders 00, 11 and 11, so 22 never occurs.
โŒ Not quite. The case a=3qa = 3q breaks it: a=3a = 3 gives a2=9=3โ‹…3+0a^2 = 9 = 3 \cdot 3 + 0.
โŒ Not quite. The case a=3q+2a = 3q + 2 breaks it: a=2a = 2 leaves remainder 22, but a2=4=3โ‹…1+1a^2 = 4 = 3 \cdot 1 + 1 leaves remainder 11.
โŒ Not quite. Square each of the three forms and rewrite as 3k+r3k + r with 0โ‰คr<30 \le r < 3: the remainder 22 never appears.
Show solution

Use proof by cases on the remainder of aa.

Case a=3qa = 3q: a2=9q2=3(3q2)+0a^2 = 9q^2 = 3(3q^2) + 0, remainder 00.

Case a=3q+1a = 3q + 1: a2=9q2+6q+1=3(3q2+2q)+1a^2 = 9q^2 + 6q + 1 = 3(3q^2 + 2q) + 1, remainder 11.

Case a=3q+2a = 3q + 2: a2=9q2+12q+4=3(3q2+4q+1)+1a^2 = 9q^2 + 12q + 4 = 3(3q^2 + 4q + 1) + 1, remainder 11.

In each case the quotient is an integer and the remainder lies in {0,1,2}\{0, 1, 2\}, so by uniqueness these are the remainders. Every integer falls in one case, so a2a^2 always leaves remainder 00 or 11, never 22.

Solved: 0 / 4