Mathematical-Reasoning Β· Unit 10 Β· Video 1 Β· Interactive Practice

Many Ways to Write 27 = 4q + r, and a Mod 6 Proof

IKey Formulas

StatementNameWhat it says
a=bq+ra = bq + r, so r=aβˆ’bqr = a - bqWriting aa with bbEvery integer qq gives exactly one integer rr; raising qq by 11 lowers rr by bb
27=4β‹…6+327 = 4 \cdot 6 + 3, Β βˆ’17=5(βˆ’4)+3\ -17 = 5(-4) + 3Quotient and remainderThe remainder is the smallest nonnegative rr (zero allowed); the quotient is the qq that goes with it
a≑b(modn)β€…β€ŠβŸΊβ€…β€Šn∣(aβˆ’b)a \equiv b \pmod n \iff n \mid (a - b)Congruence modulo nnFor n∈Nn \in \mathbb{N}: aβˆ’b=nka - b = nk, that is, a=b+nka = b + nk, for some k∈Zk \in \mathbb{Z}
(a+b)βˆ’2=6(k+m+1)(a + b) - 2 = 6(k + m + 1)The mod 6 proofIf a≑3a \equiv 3 and b≑5(mod6)b \equiv 5 \pmod 6, then a+b≑2(mod6)a + b \equiv 2 \pmod 6

Key Insight: Many pairs (q,r)(q, r) satisfy a=bq+ra = bq + r; insisting that rr be the smallest nonnegative one picks out a single pair. A congruence proof runs from congruence to divides, from divides to an equation with an integer that must exist, then algebra, and finally factoring out the modulus.

IIOne Equation, Many Pairs, One Remainder

Every choice of qq gives one r=aβˆ’bqr = a - bq; the remainder is the smallest of these that is not negative.

IIISums from the Sets A and B, Modulo 6

For a≑3(mod6)a \equiv 3 \pmod 6 and b≑5(mod6)b \equiv 5 \pmod 6, every sum a+ba + b lands 22 past a multiple of 66.

πŸ’‘ Any number of checked pairs is evidence, not proof: the conjecture is about infinitely many pairs of integers, so only an argument from the definitions can settle it.

IVWhere the 2 Comes From

In (3+6k)+(5+6m)(3 + 6k) + (5 + 6m), the leftover 3+5=83 + 5 = 8 is one more 66 plus 22.

Goal (working backward) a+b≑2(mod6)β€…β€ŠβŸΊβ€…β€Š6∣(a+b)βˆ’2β€…β€ŠβŸΊβ€…β€Š(a+b)βˆ’2=6β‹…(anΒ integer)a + b \equiv 2 \pmod 6 \iff 6 \mid (a + b) - 2 \iff (a + b) - 2 = 6 \cdot (\text{an integer})
Step 1 β€” Unpack the hypotheses aβˆ’3=6k,bβˆ’5=6m,k,m∈Za - 3 = 6k, \qquad b - 5 = 6m, \qquad k, m \in \mathbb{Z} a=3+6k,b=5+6ma = 3 + 6k, \qquad b = 5 + 6m
Step 2 β€” Add the two equations a+b=(3+6k)+(5+6m)=8+6k+6ma + b = (3 + 6k) + (5 + 6m) = 8 + 6k + 6m
Step 3 β€” Subtract 2 from both sides (a+b)βˆ’2=6+6k+6m(a + b) - 2 = 6 + 6k + 6m
Step 4 β€” Factor out the modulus (a+b)βˆ’2=6(k+m+1),k+m+1∈Z(a + b) - 2 = 6(k + m + 1), \qquad k + m + 1 \in \mathbb{Z}

The integers are closed under addition, so 6∣(a+b)βˆ’26 \mid (a + b) - 2, and therefore a+b≑2(mod6)a + b \equiv 2 \pmod 6. β– \blacksquare

VQuiz Questions

Problem 1 Β· Which Pair Is the Remainder?

Given: all four equations below are true. Which one shows the quotient and remainder when 3838 is divided by 77, using the convention that the remainder is the smallest nonnegative rr with 38=7q+r38 = 7q + r?

βœ… Correct! r=3r = 3 is nonnegative, and one more 77 would make it 3βˆ’7=βˆ’43 - 7 = -4, which is negative. So the quotient is 55 and the remainder is 33.
❌ Not quite. Here r=βˆ’4r = -4 satisfies the equation, but it is negative, so the convention rules it out.
❌ Not quite. r=10r = 10 is nonnegative, but it still contains a 77: taking q=5q = 5 leaves r=3r = 3, which is smaller and still nonnegative.
❌ Not quite. r=17r = 17 still contains two more 77s; raising qq lowers rr by 77 each time, down to r=3r = 3 at q=5q = 5.
Show solution

Solve 38=7q+r38 = 7q + r for rr: r=38βˆ’7qr = 38 - 7q. Raising qq by 11 lowers rr by 77:

q=3,4,5,6⟢r=17,10,3,βˆ’4q = 3, 4, 5, 6 \quad\longrightarrow\quad r = 17, 10, 3, -4

The nonnegative values are 1717, 1010 and 33, and the smallest is 33, at q=5q = 5. So 38=7β‹…5+338 = 7 \cdot 5 + 3: the quotient is 55 and the remainder is 33, as long division gives.

Problem 2 Β· Dividing a Negative Integer

Given: βˆ’23-23 is divided by 66. Using the convention that the remainder is the smallest nonnegative rr with βˆ’23=6q+r-23 = 6q + r, find the quotient qq and remainder rr.

βœ… Correct! 6(βˆ’4)+1=βˆ’24+1=βˆ’236(-4) + 1 = -24 + 1 = -23, and r=1r = 1 is the smallest nonnegative choice.
❌ Close, but… 6(βˆ’3)+(βˆ’5)=βˆ’236(-3) + (-5) = -23 is true, but r=βˆ’5r = -5 is negative. The convention requires a nonnegative remainder.
❌ Not quite. Check the equation: 6(βˆ’3)+5=βˆ’18+5=βˆ’136(-3) + 5 = -18 + 5 = -13, not βˆ’23-23. The remainder of βˆ’23-23 is not the remainder of 2323 with a sign attached.
❌ Not quite. 6(βˆ’5)+7=βˆ’236(-5) + 7 = -23 is true and r=7r = 7 is nonnegative, but it is not the smallest: q=βˆ’4q = -4 leaves r=1r = 1.
Show solution

From βˆ’23=6q+r-23 = 6q + r we get r=βˆ’23βˆ’6qr = -23 - 6q. Each step up in qq lowers rr by 66:

q=βˆ’6,βˆ’5,βˆ’4,βˆ’3⟢r=13,7,1,βˆ’5q = -6, -5, -4, -3 \quad\longrightarrow\quad r = 13, 7, 1, -5

The smallest nonnegative value is r=1r = 1, at q=βˆ’4q = -4. Hence

βˆ’23=6(βˆ’4)+1,-23 = 6(-4) + 1,

so the quotient is βˆ’4-4 and the remainder is 11. The pair q=βˆ’3q = -3, r=βˆ’5r = -5 also satisfies the equation, but βˆ’5-5 is negative, so it is ruled out.

Problem 3 Β· The Same Proof, Modulo 7

Given: integers aa and bb with a≑4(mod7)a \equiv 4 \pmod 7 and b≑6(mod7)b \equiv 6 \pmod 7, written as a=4+7ka = 4 + 7k and b=6+7mb = 6 + 7m with k,m∈Zk, m \in \mathbb{Z}.

Which integer rr with 0≀r<70 \le r \lt 7 satisfies a+b≑r(mod7)a + b \equiv r \pmod 7 for every such aa and bb?

Which integer tt makes (a+b)βˆ’r=7t(a + b) - r = 7t?

βœ… Correct! (a+b)βˆ’3=7+7k+7m=7(k+m+1)(a + b) - 3 = 7 + 7k + 7m = 7(k + m + 1), and k+m+1k + m + 1 is an integer, so a+b≑3(mod7)a + b \equiv 3 \pmod 7.
❌ Not quite. a+b≑10(mod7)a + b \equiv 10 \pmod 7 is true, but 1010 is not less than 77: 10=7+310 = 7 + 3.
❌ Not quite. 22 was the answer for the mod 6 example. Here the leftover is 4+6=10=7+34 + 6 = 10 = 7 + 3.
❌ Not quite. 10βˆ’6=410 - 6 = 4 removes a 66, the video's modulus; here the modulus is 77, so remove a 77.
❌ Not quite. Add the leftovers 4+64 + 6 and remove as many 77s as possible.
❌ Not quite. 7(k+m)=7k+7m7(k + m) = 7k + 7m, but (a+b)βˆ’3=7+7k+7m(a + b) - 3 = 7 + 7k + 7m; the extra 77 from 10=7+310 = 7 + 3 is missing.
❌ Not quite. 7(k+m+3)=21+7k+7m7(k + m + 3) = 21 + 7k + 7m, which is 1414 too big. Only one extra 77 comes out of 10βˆ’310 - 3.
❌ Not quite. 7(10+k+m)=70+7k+7m7(10 + k + m) = 70 + 7k + 7m. The 1010 is the leftover before subtracting rr, and it is not multiplied by 77.
❌ Not quite. Expand (a+b)βˆ’3(a + b) - 3 and factor out 77.
Show solution

By the definition of congruence, 7∣(aβˆ’4)7 \mid (a - 4) and 7∣(bβˆ’6)7 \mid (b - 6), so a=4+7ka = 4 + 7k and b=6+7mb = 6 + 7m for some integers kk and mm. Adding,

a+b=10+7k+7m.a + b = 10 + 7k + 7m.

Since 10=7+310 = 7 + 3, subtracting 33 from both sides gives

(a+b)βˆ’3=7+7k+7m=7(k+m+1).(a + b) - 3 = 7 + 7k + 7m = 7(k + m + 1).

Because k+m+1∈Zk + m + 1 \in \mathbb{Z}, 7∣(a+b)βˆ’37 \mid (a + b) - 3, so a+b≑3(mod7)a + b \equiv 3 \pmod 7, with r=3r = 3 and t=k+m+1t = k + m + 1. Check: a=4a = 4, b=6b = 6 gives 10βˆ’3=7=7β‹…110 - 3 = 7 = 7 \cdot 1, matching t=0+0+1t = 0 + 0 + 1.

Problem 4 Β· Spot the Flaw in a Proof

Given: a student proving "if a≑3(mod6)a \equiv 3 \pmod 6 and b≑5(mod6)b \equiv 5 \pmod 6, then a+b≑2(mod6)a + b \equiv 2 \pmod 6" writes: "There is an integer kk with a=3+6ka = 3 + 6k and b=5+6kb = 5 + 6k. Then (a+b)βˆ’2=6+12k=6(2k+1)(a + b) - 2 = 6 + 12k = 6(2k + 1), so 6∣(a+b)βˆ’26 \mid (a + b) - 2." What is wrong?

βœ… Correct! The two hypotheses each supply their own integer: aβˆ’3=6ka - 3 = 6k and bβˆ’5=6mb - 5 = 6m. Reusing kk silently adds the assumption k=mk = m, which forces b=a+2b = a + 2.
❌ Not quite. Once aa is fixed, k=(aβˆ’3)/6k = (a - 3)/6 is fixed too. With the same kk, bb must equal a+2a + 2; for a=15a = 15, b=11b = 11 we have k=2k = 2 but (11βˆ’5)/6=1(11 - 5)/6 = 1.
❌ Not quite. That still ties bb to aa (it forces b=a+8b = a + 8). The integer for bb must be a new, independent letter.
❌ Not quite. Examples are evidence, never part of a proof. The flaw is in how the hypotheses were translated into equations.
Show solution

From a≑3(mod6)a \equiv 3 \pmod 6 the definition gives some integer kk with aβˆ’3=6ka - 3 = 6k. From b≑5(mod6)b \equiv 5 \pmod 6 it gives some integer with bβˆ’5=6β‹…(thatΒ integer)b - 5 = 6 \cdot (\text{that integer}), and nothing says it equals kk. Writing b=5+6kb = 5 + 6k assumes bβˆ’a=2b - a = 2, so the argument proves the statement only for pairs like a=9a = 9, b=11b = 11.

Corrected: let bβˆ’5=6mb - 5 = 6m with m∈Zm \in \mathbb{Z}. Then

(a+b)βˆ’2=(3+6k)+(5+6m)βˆ’2=6+6k+6m=6(k+m+1),(a + b) - 2 = (3 + 6k) + (5 + 6m) - 2 = 6 + 6k + 6m = 6(k + m + 1),

and k+m+1∈Zk + m + 1 \in \mathbb{Z}, so a+b≑2(mod6)a + b \equiv 2 \pmod 6 for every such pair.

Solved: 0 / 4