MATHS130_Study_Guide_Part1
MATHS130_Study_Guide_Part1
1–20)
1. Proof Techniques
Direct Proof: Start by assuming the hypothesis is true, then use logical steps to prove the
conclusion.
Example: Prove that if x is even, then x^2 is even.
Proof: Let x = 2k for some integer k. Then x^2 = (2k)^2 = 4k^2 = 2(2k^2), which is even.
4. Functions
Function: A relation where every input has exactly one output.
Types of functions:
- Injective (one-to-one): No two inputs map to the same output.
- Surjective (onto): Every output has at least one input.
- Bijective: Both injective and surjective.
Function Composition: (f ∘ g)(x) = f(g(x))
Inverse Functions: Only exist for bijective functions.
Exercises
1. Prove that if n is odd, then n^2 is odd.
2. Let A = {1, 2, 3}, B = {a, b}. Find A × B.
3. Is the function f(x) = x^2 injective on R? On R^+?
4. Use induction to prove: 1 + 2 + ... + n = n(n+1)/2
5. Prove: If a | b and a | c, then a | (b + c)
6. Negate: 'For all x in R, x^2 ≥ 0'
7. Write the contrapositive: 'If x is rational, then x can be written as a/b'
Answers
1. Proof: Let n = 2k + 1 (odd). Then n^2 = (2k + 1)^2 = 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1 →
odd.
2. A × B = {(1,a), (1,b), (2,a), (2,b), (3,a), (3,b)}
3. f(x) = x^2 is not injective on R (e.g., f(2) = f(-2)) but is injective on R^+.
4. Base case: n = 1. 1 = 1(1+1)/2 = 1. Inductive step follows as standard.
5. b = ak, c = al ⇒ b + c = a(k + l), so a divides b + c.
6. There exists x in R such that x^2 < 0.
7. Contrapositive: If x cannot be written as a/b, then x is not rational.