practice problems pending
Q1. Find the number of ways to choose an ordered pair ((a,b)) of numbers from the set (1...10) such that (|a-b| <= 5). S1. Answer: 80 Method 1: Direct counting 1: 1,2,3,4,5,6 => count:6 Similarly the count is 6 for 2,3,4,5. So total: 30*2 = 60 pairs. Then for 6,7,8,9,10 there are 5,4,3,2,1 options. So 15*2 = 30 pairs. Total: 90 But we have counted same number pairs twice. So 90-10=80 = answer Method 2: faster and better: complementary counting Total: 10x10 = 100 Subtract invalid: 1: 7,8,9,10 2: 8,9,10 3: 9,10 4: 10 Total: 10*2 = 20 100-20 = 80 = Answer Q2. Suppose that in a poll made of 150 people, the following information was obtained: 70 of them read The Hindu , 80 read The Indian Express and 50 read Deccan Herald . 30 read both The Hindu and The Indian Express ; 20 read both The Hindu and Deccan Herald and 25 read both The Indian Express and Deccan Herald . Find at most how many of them read all the three. S2. Incorrect solution first: Initially I applied PIE without thi...