Saturday, 26 January 2013

TOC CHapter 1 Problems

Problems and Solutions

Problem 1It is known that at the university 60 percent of the professors play tennis, 50 percent of them play bridge, 70 percent jog, 20 percent play tennis and bridge, 30 percent play tennis and jog, and 40 percent play bridge and jog. If someone claimed that 20 percent of the professors jog and play bridge and tennis, would you believe this claim? why?
Solution.Let T denote the percentage of professors who play tennis.
Let B denote the percentage of professors who play bridge.
Let J denote the percentage of professors who jog.
Given that |T| = 60, |B| = 50, |J| = 70,
|TB| = 20, |TJ| = 30, |BJ| = 40.
|TBJ| = |TBJ| − |T| − |B| − |J| + |TB| + |TJ| + |BJ|.
|TBJ| = 100 − 60 − 50 − 70 + 20 + 30 + 40 = 10. Given claim is wrong.
Problem 2Use mathematical induction to prove for all positive integers n, n(n2 + 5) is an integer multiple of 6.
Solution.Base: n = 1, 1(1 + 5) = 6, is an integer multiple of 6.
Hypothesis: Let us assume that it is true for n.
Induction Step: We need to prove that it is true for n + 1. Consider . By hypothesis we know that n(n2 + 5) is divisible by 6. Clearly the last expression is divisible by 6. Therefore for all n, n(n2 + 5) is an integer multiple of 6.
Problem 3Suppose that we have a system of currency that has $3 and $5 bills. Show that any debt of $n can be paid with only $3 and $5 bills for each integer n ≥ 8. Do the same problem for $2 and $7 bills and n ≥ 9.
Solution.Base: n = 8, clearly it can be paid with $3 and $5 bills.
Hypothesis: Assume that debt of $n can be with $3 and $5 bills.
Induction Step:
Consider a debt of $n + 1. Let n = 3k1 + 5k2
  1. If k1 ≥ 3, then n + 1 = (k1 − 3) 3 + (k2 + 2) 5.
  2. If k1 = 2, then n + 1 = 4 × 3 + (k2−1) 5.
  3. If k1 = 1, then n + 1 = 3 × 3 + (k2 − 1) 5.
  4. If k1 = 0, then n + 1 = 2 × 3 + (k2 − 1) 5.
(Note that k2 ≥ 1 in cases 2, 3 and 4 as we need to prove only for n ≥ 8.)
Hence n + 1 = k3. 3 + k4. 5 where k3 and k4 are integers. Hence the result.
Problem 4Let A be a set with n distinct elements. How many different binary relations on A are there?
  1. How many of them are reflexive?
  2. How many of them are symmetric?
  3. How many of them are reflexive and symmetric?
  4. How many of them are total ordering relation?
Solution.There are n2 elements in the cross product A × A. Since relation is a subset of cross product, the number of different binary relations on A are 2n2.
  1. There are 2n2n reflexive relations.
  2. There are 2n(n+1)/2 symmetric relations.
  3. There are relations which are both reflexive and symmetric.
  4. There are n! total ordering relations.
Problem 5Let R be a symmetric and transitive relation on set A. Show that if for everyain A there existsbin A, such that (a, b) is in R, then R is an equivalence relation.
Solution.Given that R is a symmetric and transitive relation on A. To prove that R is an equivalence relation, we need to prove that R is reflexive. By hypothesis we know that ∀ab(a, bA ∧ (a, b) ∊ R). Since R is symmetric, it follows that if (a, b) ∊ R then (b, a) ∊ R. Also given that R is transitive, it follows that (a, a) ∊ R. This implies that ∀aA, (a, a) ∊ R. This proves that R is reflexive. Therefore, R is an equivalence relation.

No comments:

Post a Comment