Mathematical-Reasoning Β· Unit 10 Β· Video 1 Β· Interactive Practice
Many Ways to Write 27 = 4q + r, and a Mod 6 Proof
IKey Formulas
Statement
Name
What it says
a=bq+r, so r=aβbq
Writing a with b
Every integer q gives exactly one integer r; raising q by 1 lowers r by b
27=4β 6+3, Β β17=5(β4)+3
Quotient and remainder
The remainder is the smallest nonnegative r (zero allowed); the quotient is the q that goes with it
aβ‘b(modn)βΊnβ£(aβb)
Congruence modulo n
For nβN: aβb=nk, that is, a=b+nk, for some kβZ
(a+b)β2=6(k+m+1)
The mod 6 proof
If aβ‘3 and bβ‘5(mod6), then a+bβ‘2(mod6)
Key Insight: Many pairs (q,r) satisfy a=bq+r; insisting that r 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 q gives one r=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) and bβ‘5(mod6), every sum a+b lands 2 past a multiple of 6.
π‘ 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), the leftover 3+5=8 is one more 6 plus 2.
Step 1 β Unpack the hypothesesaβ3=6k,bβ5=6m,k,mβZa=3+6k,b=5+6m
Step 2 β Add the two equationsa+b=(3+6k)+(5+6m)=8+6k+6m
Step 3 β Subtract 2 from both sides(a+b)β2=6+6k+6m
Step 4 β Factor out the modulus(a+b)β2=6(k+m+1),k+m+1βZ
The integers are closed under addition, so 6β£(a+b)β2, and therefore a+bβ‘2(mod6). β
VQuiz Questions
Problem 1 Β· Which Pair Is the Remainder?
Given: all four equations below are true. Which one shows the quotient and remainder when 38 is divided by 7, using the convention that the remainder is the smallest nonnegative r with 38=7q+r?
β Correct!r=3 is nonnegative, and one more 7 would make it 3β7=β4, which is negative. So the quotient is 5 and the remainder is 3.
β Not quite. Here r=β4 satisfies the equation, but it is negative, so the convention rules it out.
β Not quite.r=10 is nonnegative, but it still contains a 7: taking q=5 leaves r=3, which is smaller and still nonnegative.
β Not quite.r=17 still contains two more 7s; raising q lowers r by 7 each time, down to r=3 at q=5.
Show solution
Solve 38=7q+r for r: r=38β7q. Raising q by 1 lowers r by 7:
q=3,4,5,6βΆr=17,10,3,β4
The nonnegative values are 17, 10 and 3, and the smallest is 3, at q=5. So 38=7β 5+3: the quotient is 5 and the remainder is 3, as long division gives.
Problem 2 Β· Dividing a Negative Integer
Given:β23 is divided by 6. Using the convention that the remainder is the smallest nonnegative r with β23=6q+r, find the quotient q and remainder r.
β Correct!6(β4)+1=β24+1=β23, and r=1 is the smallest nonnegative choice.
β Close, butβ¦6(β3)+(β5)=β23 is true, but r=β5 is negative. The convention requires a nonnegative remainder.
β Not quite. Check the equation: 6(β3)+5=β18+5=β13, not β23. The remainder of β23 is not the remainder of 23 with a sign attached.
β Not quite.6(β5)+7=β23 is true and r=7 is nonnegative, but it is not the smallest: q=β4 leaves r=1.
Show solution
From β23=6q+r we get r=β23β6q. Each step up in q lowers r by 6:
q=β6,β5,β4,β3βΆr=13,7,1,β5
The smallest nonnegative value is r=1, at q=β4. Hence
β23=6(β4)+1,
so the quotient is β4 and the remainder is 1. The pair q=β3, r=β5 also satisfies the equation, but β5 is negative, so it is ruled out.
Problem 3 Β· The Same Proof, Modulo 7
Given: integers a and b with aβ‘4(mod7) and bβ‘6(mod7), written as a=4+7k and b=6+7m with k,mβZ.
Which integer r with 0β€r<7 satisfies a+bβ‘r(mod7) for every such a and b?
Which integer t makes (a+b)βr=7t?
β Correct!(a+b)β3=7+7k+7m=7(k+m+1), and k+m+1 is an integer, so a+bβ‘3(mod7).
β Not quite.a+bβ‘10(mod7) is true, but 10 is not less than 7: 10=7+3.
β Not quite.2 was the answer for the mod 6 example. Here the leftover is 4+6=10=7+3.
β Not quite.10β6=4 removes a 6, the video's modulus; here the modulus is 7, so remove a 7.
β Not quite. Add the leftovers 4+6 and remove as many 7s as possible.
β Not quite.7(k+m)=7k+7m, but (a+b)β3=7+7k+7m; the extra 7 from 10=7+3 is missing.
β Not quite.7(k+m+3)=21+7k+7m, which is 14 too big. Only one extra 7 comes out of 10β3.
β Not quite.7(10+k+m)=70+7k+7m. The 10 is the leftover before subtracting r, and it is not multiplied by 7.
β Not quite. Expand (a+b)β3 and factor out 7.
Show solution
By the definition of congruence, 7β£(aβ4) and 7β£(bβ6), so a=4+7k and b=6+7m for some integers k and m. Adding,
a+b=10+7k+7m.
Since 10=7+3, subtracting 3 from both sides gives
(a+b)β3=7+7k+7m=7(k+m+1).
Because k+m+1βZ, 7β£(a+b)β3, so a+bβ‘3(mod7), with r=3 and t=k+m+1. Check: a=4, b=6 gives 10β3=7=7β 1, matching t=0+0+1.
Problem 4 Β· Spot the Flaw in a Proof
Given: a student proving "if aβ‘3(mod6) and bβ‘5(mod6), then a+bβ‘2(mod6)" writes: "There is an integer k with a=3+6k and b=5+6k. Then (a+b)β2=6+12k=6(2k+1), so 6β£(a+b)β2." What is wrong?
β Correct! The two hypotheses each supply their own integer: aβ3=6k and bβ5=6m. Reusing k silently adds the assumption k=m, which forces b=a+2.
β Not quite. Once a is fixed, k=(aβ3)/6 is fixed too. With the same k, b must equal a+2; for a=15, b=11 we have k=2 but (11β5)/6=1.
β Not quite. That still ties b to a (it forces b=a+8). The integer for b 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) the definition gives some integer k with aβ3=6k. From bβ‘5(mod6) it gives some integer with bβ5=6β (thatΒ integer), and nothing says it equals k. Writing b=5+6k assumes bβa=2, so the argument proves the statement only for pairs like a=9, b=11.
Corrected: let bβ5=6m with mβZ. Then
(a+b)β2=(3+6k)+(5+6m)β2=6+6k+6m=6(k+m+1),
and k+m+1βZ, so a+bβ‘2(mod6) for every such pair.