There are 18 mathematics majors and 325 computer science majors at a college.
a) In how many ways can two representatives be picked so that one is a mathematics major and the other is a computer science major?
b) In how many ways can one representative be picked who is either a mathematics major or a computer science major?
Show solution
a) 5850 b) 343
a) Two tasks in sequence (pick the math rep, then the CS rep), so use the product rule: .
b) One choice from one of two disjoint groups, so use the sum rule: .