Practise induction, greatest common divisors and Bézout identities, integer equations, congruences, and complex roots. Review the worked examples, then try six exercises written by Nablio. Each exercise has a full solution and a suggested marking guide.
How to choose a method
- A statement is indexed by every integer n starting at a fixed value: consider induction. First see whether a direct proof is simpler.
- You need , or integers u and v with : use the Euclidean algorithm and back-substitution.
- You need all integer solutions of : check the gcd divisibility condition before searching for solutions.
- You need a remainder or a congruence solution: reduce modulo m; check invertibility before dividing.
- You need a complex quotient: multiply by the denominator's conjugate. For powers or roots, polar form is often simpler.
Throughout, integers are elements of . The notation means for some integer k. Congruences use a positive integer modulus greater than 1.
1 Proving a statement by induction
To prove for all integers , establish , then show that implies for an arbitrary integer . The induction hypothesis is an assumption used inside that implication; it is not permission to assume the conclusion.
For a complete worked proof, review the induction method, then check the starting index and base case.
Check your proof. Did you name the starting value, state the hypothesis, use it, and finish with the exact expression required at ? Checking several numerical cases is useful for spotting errors, but does not prove a statement for infinitely many n.
2 Greatest common divisors and Bézout identities
For integers not both zero, is their greatest positive common divisor. Bézout's identity states that there are integers such that .
The Euclidean algorithm works because implies : a divisor of both a and b divides , and a divisor of both b and r divides .
Worked example
Find and a Bézout identity:
The last nonzero remainder is 18. Back-substitute:
Thus , with and . The final equality also gives a quick arithmetic check: .
3 Linear Diophantine equations
A linear Diophantine equation asks for integer solutions . For positive integers , let . Solutions exist exactly when .
Why the condition is necessary. Since d divides a and b, it divides every integer combination , hence must divide c.
Why it is sufficient. A Bézout identity , multiplied by , gives a solution when .
From one solution , every solution is
To see completeness, subtract the equations for two solutions and divide by d. The resulting coprime coefficients imply that divides ; substituting this difference forces the stated change in y.
Worked example
Solve . Here divides 35. Divide by 7 to obtain . One solution is , so all solutions are
Substitution gives . If x and y must also be nonnegative, the inequalities and leave only . The only nonnegative solution is .
4 Congruences and legitimate cancellation
The statement means . Addition and multiplication preserve congruences. Division needs care: a has a multiplicative inverse modulo m exactly when .
More generally, has a solution exactly when divides b. If divides b and , every integer x is a solution. If d divides b and , divide and m by d to get an equivalent congruence modulo . Keeping the original modulus after cancellation can lose solutions.
Worked example
Solve . Since , multiply by 7:
Check: , a multiple of 12. All integer solutions are , .
Cancellation warning. From , the correct reduced statement is . Modulo 6 this gives two residues, 1 and 4. Writing only misses a solution.
5 Complex arithmetic and roots
A complex number is with real and . Its conjugate is and its modulus is . Thus .
For powers and roots, review Cartesian and polar forms, De Moivre’s formula and how to find every root. Use those methods in Exercise 6 below.
Worked example
Simplify . Multiply numerator and denominator by :
Check by multiplying the answer by ; it returns . For roots, also check that you have the required number of distinct answers and that each has the correct modulus.
Six original practice exercises
Try these before reading the solutions. The points are a suggested self-assessment rubric, not an official Waterloo grading scheme.
Exercise 1 Foundation induction · 4 points
Prove by induction that for every integer .
Show solution 1 and scoring
At , , which is divisible by 3. Suppose for some integer q and arbitrary . Then
Since is an integer, divisibility holds at . Induction proves the claim for every .
Scoring: base case 1; explicit hypothesis 1; correct step 1; conclusion and domain 1.
Exercise 2 Induction with algebra · 5 points
Prove by induction that, for every integer ,
Show solution 2 and scoring
At , both sides equal 2. Assume the formula holds at an arbitrary . Then
This is the desired formula at , so induction establishes the result for every integer .
Scoring: base case 1; hypothesis 1; adding the correct next term 1; factoring 1; conclusion 1.
Exercise 3 Euclidean algorithm and inverse · 5 points
Find , exhibit a Bézout identity, and explain whether 391 has an inverse modulo 299.
Show solution 3 and scoring
Thus .
Back-substitution gives
An inverse would require , equivalently for some integers . Every expression on the left is divisible by 23, but 1 is not. Therefore no inverse exists.
Scoring: Euclidean divisions 2; gcd 1; Bézout identity 1; inverse explanation 1.
Exercise 4 Integer and nonnegative solutions · 5 points
Find every integer solution of . Then identify all solutions with and .
Show solution 4 and scoring
The gcd is 6 and , so solutions exist. Divide by 6:
A particular solution is . The coprime coefficients give all integer solutions
For completeness, subtract from any solution: . Hence , giving and .
For nonnegative solutions, implies , and implies . The only integer in that interval is 0. Thus is the only nonnegative solution. Check: .
Scoring: existence/reduction 1; particular solution 1; complete family with justification 2; nonnegative restriction 1.
Exercise 5 Congruence and simultaneous constraints · 6 points
First solve , listing the distinct residues modulo 30. Then find all integers satisfying both this congruence and .
Show solution 5 and scoring
divides 8. Divide the coefficients and modulus by 2:
Since , . The distinct residues modulo 30 are 7 and 22.
For the second condition, write . Modulo 4 this becomes , hence . Multiplying by 3 gives . Set :
Conversely, every such x satisfies both original congruences: is divisible by 30, and is divisible by 4. This proves both validity and completeness.
Scoring: valid reduction 1; inverse and reduced residue 1; both residues modulo 30 1; substitution into second condition 1; complete family 1; verification 1.
Exercise 6 Complex roots · 5 points
Find all complex solutions of in exact Cartesian form. Explain why your list is complete.
Show solution 6 and scoring
Write
The cube roots have modulus 2 and arguments
They are therefore
Their arguments are distinct modulo , so these are three distinct roots. Cubing each polar form triples its argument and cubes its modulus, producing . Every root must have modulus 2 and argument satisfying , which gives precisely these three classes. Here an angular congruence modulo means equality up to an integer multiple of ; it is distinct from the integer congruences above.
Scoring: polar form 1; root modulus and arguments 1; three Cartesian values 2; completeness 1.
More practice: Waterloo MATH135, Fall 2009
These Waterloo papers are from Fall 2009. Choose questions on topics covered in your current course.
Useful direct links:
- Term Test 1: Question 2 for induction; Question 5(a) for the Euclidean algorithm and a Bézout identity. Official solutions.
- Final exam: Question 2(b) for integer equations; Question 3(b) for simultaneous congruences; Question 7 for complex numbers. Official solutions.
Try a question before opening its solution. Compare the reasoning, then redo any step you could not justify on your own.
Choose your next step
Start with a concept or one of these exercises. If you have an attempt, you can use it to show where you got stuck. Get help with proofs and discrete mathematics.
Useful for
Work on the step you’re missing.
Tell us the subject and your preferred time. Nablio confirms the details by text or email.
Request a lesson