Docsity

Math Logic, Set Theory, Induction, Functions, Divisibility, Congruences: Practice Problems, Exams of Mathematics

Toggle sidebar
bg1
Practice Examples
The final exam is comprehensive. You will be expected to know the definitions and methods discussed
in lecture, homework, and previous exams. The questions below are all similar to homework examples.
These example should not be your only source of study material.
1. Mathematical Statements
(a) Give definitions of all of the following: Converse, Contrapositive, Proof by Contradiction,
Tautology
(b) Suppose that Pand Qare true statements and Rand Sare false statements. Which of the
following are given a truth value of TRUE?
i. R⇒P.
ii. (Por R) and S.
iii. Q⇒(P⇒ ¬S)
iv. ¬(Ror Q)⇔S.
(c) Use a truth table to show that the statement ¬P⇒ ¬Qis equivalent to the statement
Q⇒P.
2. Set Problems Let A,B, and Cbe sets.
(a) Prove that (A∪B)−C⊆(A−C)∪B. And give an example where (A∪B)−C6= (A−C)∪B
(b) Prove that A∪(A∩B) = A.
(c) Prove that (A∪B)∩Ac=B−A.
(d) Recall: For a function f:A→B, we define
f(S) = {y∈B:y=f(x) for some x∈S}where S⊆A. Let S, T ⊆A.
i. Prove that f(S∩T)⊆f(S)∩f(T). And give an example where these sets are not equal.
ii. Prove that if fis an injection, then f(S∩T) = f(S)∩f(T).
3. Induction Problems
(a) Prove that 12+ 22+ 32+···+n2=n(n+1)(2n+1)
6for all n∈N.
(b) Prove that 1 + 3 + 5 + 7 + ···+ (2n−1) = n2for all n∈N.
(c) Prove that 5n+ 5 <5n+1 for all n∈N.
(d) Prove that if 1 + x > 0, then (1 + x)n≥1 + nx for all n∈N.
4. Function Problems
(a) If the function f: [0,∞)→[0,1) given by f(x) = x
x+1 injective? Prove your answer.
(b) For all of the following give a function h:Z→Zthat satisfy the given properties:
i. his injective but not surjective.
ii. his surjective but not injective.
iii. his a bijection.
(c) Give proofs for the true statements and counterexamples for the false statements:
i. Every unbounded function from Rto Ris not a sujection.
pf3

Partial preview of the text

Download Math Logic, Set Theory, Induction, Functions, Divisibility, Congruences: Practice Problems and more Exams Mathematics in PDF only on Docsity!

Practice Examples The final exam is comprehensive. You will be expected to know the definitions and methods discussed in lecture, homework, and previous exams. The questions below are all similar to homework examples. These example should not be your only source of study material.

  1. Mathematical Statements (a) Give definitions of all of the following: Converse, Contrapositive, Proof by Contradiction, Tautology (b) Suppose that P and Q are true statements and R and S are false statements. Which of the following are given a truth value of TRUE? i. R ⇒ P. ii. (P or R) and S. iii. Q ⇒ (P ⇒ ¬S) iv. ¬(R or Q) ⇔ S. (c) Use a truth table to show that the statement ¬P ⇒ ¬Q is equivalent to the statement Q ⇒ P.
  2. Set Problems Let A, B, and C be sets. (a) Prove that (A∪B)−C ⊆ (A−C)∪B. And give an example where (A∪B)−C 6 = (A−C)∪B (b) Prove that A ∪ (A ∩ B) = A. (c) Prove that (A ∪ B) ∩ Ac^ = B − A. (d) Recall: For a function f : A → B, we define f(S) = {y ∈ B : y = f(x) for some x ∈ S} where S ⊆ A. Let S, T ⊆ A. i. Prove that f(S ∩ T ) ⊆ f(S) ∩ f(T ). And give an example where these sets are not equal. ii. Prove that if f is an injection, then f(S ∩ T ) = f(S) ∩ f(T ).
  3. Induction Problems (a) Prove that 1^2 + 2^2 + 3^2 + · · · + n^2 = n(n+1)(2 6 n+1)for all n ∈ N. (b) Prove that 1 + 3 + 5 + 7 + · · · + (2n − 1) = n^2 for all n ∈ N. (c) Prove that 5n^ + 5 < 5 n+1^ for all n ∈ N. (d) Prove that if 1 + x > 0, then (1 + x)n^ ≥ 1 + nx for all n ∈ N.
  4. Function Problems (a) If the function f : [0, ∞) → [0, 1) given by f(x) = (^) xx+1 injective? Prove your answer. (b) For all of the following give a function h : Z → Z that satisfy the given properties: i. h is injective but not surjective. ii. h is surjective but not injective. iii. h is a bijection. (c) Give proofs for the true statements and counterexamples for the false statements: i. Every unbounded function from R to R is not a sujection.

ii. Every surjective function from R to R is montone. iii. Every monotone function from R to R is injective. iv. Every strictly monotone function from R to R is a bijection. (d) Let f : A → B, g : B → C and h = g ◦ f. Prove or give a counterexample for the following: i. If h is injective, then f is injective. ii. If h is injective, then g is injective. iii. If h is sujective, then f is surjective. iv. If h is surjective, then g is surjective. v. If g and f are bijections, then h is a bijection. (e) Cardinality Stuff: Review the homework and the last exam.

  1. Divisibility Problems

(a) If n is divisible by 2 and m is not divisible by 2, then m + n is not divisible by 2. (b) If a and b are odd integers, then a^2 − b^2 is divisible by 8. (c) If a is an odd integer, then a^2 + (a + 2)^2 + (a + 4)^2 + 1 is divisible by 12. (d) If n = a^2 + b^2 , then n cannot be of the form n = 4m + 3 for any m ∈ Z. (e) Let m and n be any positive integers. Show that if m and n have no common prime factor, then m + n and m have no common prime factor. (Hint: For practice, try proving the contrapositive.) (f) Use the Euclidean Algorithm to compute the greatest common divisor of 234 and 366. (g) Give all integer solutions to 234x + 366y = 126.

  1. Binomial Coefficients

(a) What is the value of B =

∑^11

k=

k

7 k(−8)^11 −k? Give a formula, in terms of n, that gives

the value of B =

∑^ n k=

( (^) n k

wk^ (w + 1)n−k^.

(b) Using the result from Exam 2, Prove that if

( (^) n − 2 k

and

( (^) n − 2 k − 2

are both odd, then ( (^) n k

is even. (c) Use the binomial theorem to prove, (m + 1)k^ − 1 is always divisible by m.

  1. Congruences

(a) Let n ∈ N. Prove that 7 divides 6n^ + 1 if and only if n is odd. (b) Solve 5x ≡ 3 (mod 18) by finding a multiplicative inverse of 5 modulo 18 and multiplying both sides. (c) Find the remainder when 18200000014743273^4 is divided by 10. (d) Prove that if bc ≡ bd (mod p), where p is a prime such that p does not divide b, then c ≡ d (mod p).