Introduction to Counting and Probability

Similar documents
Chapter 4: Patterns and Relationships

MAT points Impact on Course Grade: approximately 10%

Kenken For Teachers. Tom Davis January 8, Abstract

Combinatorics: The Fine Art of Counting

Intermediate Mathematics League of Eastern Massachusetts

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST

2. Nine points are distributed around a circle in such a way that when all ( )

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

1. For which of the following sets does the mean equal the median?

A Probability Work Sheet

Winter Quarter Competition

Compound Probability. Set Theory. Basic Definitions

Solutions for the Practice Final

Warm-Up 15 Solutions. Peter S. Simon. Quiz: January 26, 2005

Combinatorics: The Fine Art of Counting

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

MANIPULATIVE MATHEMATICS FOR STUDENTS

Twenty-fourth Annual UNC Math Contest Final Round Solutions Jan 2016 [(3!)!] 4

Simple Counting Problems

CS 237: Probability in Computing

IMLEM Meet #5 March/April Intermediate Mathematics League of Eastern Massachusetts

2 A fair coin is flipped 8 times. What is the probability of getting more heads than tails? A. 1 2 B E. NOTA

Making Middle School Math Come Alive with Games and Activities

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

Math is Cool Masters

Combinatorics. PIE and Binomial Coefficients. Misha Lavrov. ARML Practice 10/20/2013

Dependence. Math Circle. October 15, 2016

Park Forest Math Team. Meet #5. Self-study Packet

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC)

n r for the number. (n r)!r!

Combinatorics and Intuitive Probability

6. In how many different ways can you answer 10 multiple-choice questions if each question has five choices?

Intermediate Mathematics League of Eastern Massachusetts

Introduction to Mathematical Reasoning, Saylor 111

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Discrete Structures for Computer Science

B 2 3 = 4 B 2 = 7 B = 14

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

NRP Math Challenge Club

Counting Things. Tom Davis March 17, 2006

Intermediate Math Circles November 1, 2017 Probability I

When a number cube is rolled once, the possible numbers that could show face up are

3 The multiplication rule/miscellaneous counting problems

Finite Mathematics MAT 141: Chapter 8 Notes

Making Middle School Math Come Alive with Games and Activities

UNC Charlotte 2012 Comprehensive

Mathematical Olympiads November 19, 2014

Summer Math Calendar

CPM Educational Program

1. How many diagonals does a regular pentagon have? A diagonal is a 1. diagonals line segment that joins two non-adjacent vertices.

Shuli s Math Problem Solving Column

TEST A CHAPTER 11, PROBABILITY

PROBABILITY TOPIC TEST MU ALPHA THETA 2007

Counting Things Solutions

Algebra II- Chapter 12- Test Review

MATHCOUNTS Mock National Competition Sprint Round Problems Name. State DO NOT BEGIN UNTIL YOU HAVE SET YOUR TIMER TO FORTY MINUTES.

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13

Grade 7/8 Math Circles. Visual Group Theory

POKER (AN INTRODUCTION TO COUNTING)

November 6, Chapter 8: Probability: The Mathematics of Chance

HIGH SCHOOL - PROBLEMS

Exploring Concepts with Cubes. A resource book

TEAM CONTEST. English Version. Time 60 minutes 2009/11/30. Instructions:

arxiv: v2 [math.ho] 23 Aug 2018

Exactly Evaluating Even More Trig Functions

International Contest-Game MATH KANGAROO Canada, 2007

CS1800: More Counting. Professor Kevin Gold

Raise your hand if you rode a bus within the past month. Record the number of raised hands.

Solutions to Problem Set 7

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Caltech Harvey Mudd Mathematics Competition February 20, 2010

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

MATHCOUNTS Yongyi s National Competition Sprint Round Problems Name. State DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO.

Multiplying Three Factors and Missing Factors

NAME DATE. b) Then do the same for Jett s pennies (6 sets of 9 pennies with 4 leftover pennies).

Use of Sticks as an Aid to Learning of Mathematics for classes I-VIII Harinder Mahajan (nee Nanda)

For all questions, answer choice E) NOTA means that none of the above answers is correct.

1. Answer: 250. To reach 90% in the least number of problems involves Jim getting everything

CIS 2033 Lecture 6, Spring 2017

CS 237 Fall 2018, Homework SOLUTION

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

1. Answer: 250. To reach 90% in the least number of problems involves Jim getting everything

MULTIPLES, FACTORS AND POWERS

Name Class Date. Introducing Probability Distributions

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

AMC 8/10: Principles and Practice

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram

Combinatorics: The Fine Art of Counting

NAME DATE PERIOD. Study Guide and Intervention

Probability & Statistics - Grade 5

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

Patterns and Graphing Year 10

Counting and Probability Math 2320

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

Week 1: Probability models and counting

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Transcription:

Randolph High School Math League 2013-2014 Page 1 If chance will have me king, why, chance may crown me. Shakespeare, Macbeth, Act I, Scene 3 1 Introduction Introduction to Counting and Probability Counting and probability is often one of the most difficult subjects for math students to master. There are a variety of different techniques that one can use to approach a problem, and determining how to effectively and accurate count the number of ways for something to occur can be quite a challenge. In today s practice, I will explain and walk through problems relating to three different and important techniques; however, the problem sets will not delineate which technique goes with which problem, as that is all part of the difficulty in these problems. 2 Technique 1: Constructive Counting Constructive counting is as basic as it sounds. The main goal of this technique is to determine how many integers/objects/etc. there are in a set by figuring out how to construct any element in the set. Throughout the way, we keep track of the number of possibilities for each step, then perform the necessary manipulations in order to find the answer to the question. This is essentially what is taught before Precalculus, although the problems can get very difficult. Example 1 (AIME 2003). Define a good word as a sequence of letters that consists only of the letters A, B, and C - some of these letters may not appear in the sequence - and in which A is never immediately followed by B, B is never immediately followed by C, and C is never immediately followed by A. How many seven-letter good words are there? Solution. There are three choices for the first letter in the word. For each letter that we choose, there are two possibilities for the next letter. (For example, if the first letter is an A, then the second letter can either be an A or a C.) Similarly, there are two choices for the third letter, and so on. Thus, there are 3 2 6 = 192 total seven-letter good words. 3 Technique 2: Casework This technique is the messiest of the three. Basically, it suggests that sometimes, there are multiple distinct cases that behave in their own special ways, and in order to consider all possibilities we have to divide the calculation into several smaller pieces. Example 2 (AIME 2014). An urn contains 4 green balls and 6 blue balls. A second urn contains 16 green balls and N blue balls. A single ball is drawn at random from each urn. The probability that both balls are of the same color is 0.58. Find N. Solution. We do casework based on which color is picked. CASE 1: Both marbles are green. Then the requested probability is 4 4+6 16 N+16 = 32 5(N+16). CASE 2: Both marbles are blue. Then the requested probability is 6 4+6 N N+16 = 3N 5(N+16). Adding both cases and setting the resulting expression equal to the desired probability gives the linear equation 32 + 3N 5(N + 16) = 58 100 = 3N + 32 N + 16 = 29 10. Solving for N gives N = 144.

Randolph High School Math League 2013-2014 Page 2 4 Technique 3: Complementary Counting The third technique is the hardest to spot but also the most versatile. Basically, it suggests that in order to find the number of elements in a set, we can instead find the number of elements not in the set and then subtract from the total. It s easiest to see with an example. Example 3. How many ordered (i.e. the order of the books matters) sets of three of the eight Anne of Green Gables books are there if we insist that Anne of Avonela be one? Solution. We instead count how many possible ordered sets do not have Anne of Avonela. There are seven possibilities for the first book, six for the second, and five for the third, for a total of 7 6 5 = 210 sets. Since there are 8 7 6 = 336 possible ordered sets in total, exactly 336 210 = 126 of these sets will have them. 5 Some More Difficult Problems In this final section, we conclude with two problems that focus more on combinatorical ingenuity than simple application of the above techniques. (Don t worry, you ll get your chance to test your skills in the Problem Sets.) If these two problems interest you, I encourage you to participate in a round or two of the Mandelbrot competition next year! Example 4 (Mandelbrot 2013-2014). In the diagram at right, how many ways are there to color two of the dots red, two of the dots blue, and two of the dots green so that dots of the same color are joined by a segment? Solution. First, we claim that any valid coloring of the outer equilateral triangle produces a unique coloring for the inner equilateral triangle. There are two distinct cases that can occur: CASE 1: All three points have different colors. Consider the point that is colored red. There are three segments that connect this point to other points in the diagram, and two of them are colored with different colors. Thus, there exists a unique location for the second red dot: the corresponding point on the inner equilateral triangle. Similar reasoning exists for the blue and green dots, and so the claim is proven for this case. CASE 2: Two of the three points have the same color. Suppose without loss of generality that the common color is red and that the third dot colored is green. By the reasoning in Case 1, there exists a unique position for the green dot. Once this is colored, there are two dots left to color blue, and they are connected by a segment so we are done. It then suffices to determine the number of ways to color three points with three colors such that no color is applied to more than two points, which is 3 3 3 = 24. Example 5 (Mandelbrot 2013-2014). How many paths are there from A to B through the network shown if you may only move up, down, right, and up-right? A path also may not traverse any portion of the network more than once. A sample path is highlighted. A B Solution. The important part of this problem is that the path can not move to the left in any way, shape, or form. Once it leaves the first column, it can not traverse back there again. Thus, it is advantageous to consider each column independently. Note that there are seven ways to travel from the first column to the second column: meander through either the three diagonal sides or the four horizontal ones. Once this first column is left, it can be ignored, and the problem is reduced to determining the number of ways to travel from the second column to the third one. But note that this is the exact same problem as before! No matter where the path enters the second column, there are seven ways the path can go to the third column. Similarly, there are seven ways the math can go from the third to the fourth column, at which point the path drops down to B. This is thus an algorithm to construct any of the 7 3 = 343 possible paths.

Randolph High School Math League 2013-2014 Page 3 6 Tips Practice, practice, practice! As you may have seen, probability problems come in a wide variety of assortments. In order to become good at these types of problems, it helps to develop a sense of intuition, and this can only be achieved through solving problems. Also, when you re done solving a problem, ask yourself which techniques worked and why they worked, as well as which techniques failed and why they did not succeed. This is a repeat from last lecture, but when in doubt, try something! Great math problems are ones in which the path to the solution is not immediately obvious at first glance. Now, I m not suggesting to try simply anything but rather work with the end in mind. What s difficult about this problem? How can I get around this? (In fact, wishful thinking can often be a huge help this way.) 7 Problems 7.1 Problem Set A 1. [AoPSIntroC&P] How many 4-digit numbers have only odd digits? 2. [AoPSIntroC&P] How many 3-letter words can we make from the letters A, B, C, and D, if we are allowed to repeat letters, and we must use the letter A at least once? Hint: 4 3. [AMC 10A 2012] A pair of six-sided fair dice are labeled so that one die has only even numbers (two each of 2, 4, and 6), and the other die has only odd numbers (two each of 1, 3, and 5). The pair of dice is rolled. What is the probability that the sum of the numbers on top of the two dice is 7? 4. [AMC 12B 2006] Mr. and Mrs. Lopez have two children. When they get into their family car, two people sit in the front, and the other two sit in the back. Either Mr. Lopez or Mrs. Lopez must sit in the driver s seat. How many seating arrangements are possible? 5. [Purple Comet HS 2013] How many four-digit positive integers have exactly one digit equal to 1 and exactly one digit equal to 3? Hint: 8 6. [AMC 10B 2013] Let S be the set of sides and diagonals of a regular pentagon. A pair of elements of S are selected at random without replacement. What is the probability that the two chosen segments have the same length? 7. [AMC 10A 2013] A student council must select a two-person welcoming committee and a three-person planning committee from among its members. There are exactly 10 ways to select a two-person team for the welcoming committee. It is possible for students to serve on both committees. In how many different ways can a three-person planning committee be selected? Hint: 7 8. [AMC 10A 2013] A student must choose a program of four courses from a menu of courses consisting of English, Algebra, Geometry, History, Art, and Latin. This program must contain English and at least one mathematics course. In how many ways can this program be chosen? 9. A restaurant has six appetizers, five main courses, and four deserts to choose from its menu. How many possible dinners are there if a main course is required but appetizers and deserts are not? Hint: 1 7.2 Problem Set B 10. [AoPSIntroC&P] A senate committee has 5 Republicans and 4 Democrats. In how many ways can the committee members sit in a row of 9 chairs, such that all 4 Democrats sit together? Hint: 11 11. [AMC 10A 2013] How many three-digit numbers are not divisible by 5, have digits that sum to less than 20, and have the first digit equal to the third digit? 12. In this problem, we calculate the probability that a coin flipped eight times results in exactly five heads.

Randolph High School Math League 2013-2014 Page 4 (a) What is the probability that the sequence HHHHHTTT is flipped, where H stands for heads and T stands for tails? (b) In how many ways is it possible to rearrange the letters in the sequence HHHHHTTT? What is the probability of each of these sequences occuring? (c) What is the probability a coin that is flipped eight times results in exactly five heads? 13. [AIME 2010] Dave arrives at an airport which has twelve gates arranged in a straight line with exactly 100 feet between adjacent gates. His departure gate is assigned at random. After waiting at that gate, Dave is told the departure gate has been changed to a different gate, again at random. Let the probability that Dave walks 400 feet or less to the new gate be a fraction m n, where m and n are relatively prime positive integers. Find m + n. Hint: 9 14. [AIME 2014] Let the set S = {P 1, P 2,, P 12 } consist of the twelve vertices of a regular 12-gon. A subset Q of S is called communal if there is a circle such that all points of Q are inside the circle, and all points of S not in Q are outside of the circle. How many communal subsets are there? (Note that the empty set is a communal subset.) 15. [AIME 2013] In the array of 13 squares shown below, 8 squares are colored red, and the remaining 5 squares are colored blue. If one of all possible such colorings is chosen at random, the probability that the chosen colored array appears the same when rotated 90 around the central square is 1 n, where n is a positive integer. Find n. 7.3 Problem Set C 16. [AMC 12A 2014] A fancy bed and breakfast inn has 5 rooms, each with a distinctive color-coded decor. One day 5 friends arrive to spend the night. There are no other guests that night. The friends can room in any combination they wish, but with no more than 2 friends per room. In how many ways can the innkeeper assign the guests to the rooms? Hint: 10 17. [AMC 10A 2009] Three distinct vertices of a cube are chosen at random. What is the probability that the plane determined by these three vertices contains points inside the cube? 18. [AMC 10A 2010] Bernardo randomly picks 3 distinct numbers from the set {1, 2, 3, 4, 5, 6, 7, 8, 9} and arranges them in descending order to form a 3-digit number. Silvia randomly picks 3 distinct numbers from the set {1, 2, 3, 4, 5, 6, 7, 8} and also arranges them in descending order to form a 3-digit number. What is the probability that Bernardo s number is larger than Silvia s number? Hint: 3 19. Let m, n, and k be positive integers such that k min{m, n}. Prove that ( )( ) ( )( ) ( )( ) ( )( ) m n m n m n m n + + + + 0 k 1 k 1 2 k 2 k 0 This is known as Vandermonde s Identity. Hint: 5 ( m + n = k 20. [AMC 12A 2013] Let S be the set {1, 2, 3,..., 19}. For a, b S, define a b to mean that either 0 < a b 9 or b a > 9. How many ordered triples (x, y, z) of elements of S have the property that x y, y z, and z x? Hints: 2, 6 ).

Randolph High School Math League 2013-2014 Page 5 8 Hints 1. The fact that appetizers and deserts may be required means that we can either have an appetizer and a desert or exactly one of the two. What s an easier way to deal with all these cases? 2. Suppose for now that x > y > z. Then multiply by an appropriate factor when you re done. 3. The only difference between Bernardo s set of numbers and Silvia s set is that Bernardo s contains a 9. What would the answer be if both sets of numbers were the same? How can you compensate for the extra 9? 4. The phrase at least suggests what? 5. It only makes sense that the left hand side represents some sort of casework that alltogether accounts for a more difficult way of counting what the right hand side does in one binomial coefficient. Try to figure out a scenario for which this works. 6. The cyclic nature of the conditions suggests that the difference x z is going to be important. For a fixed difference k, how many places are there for y to slip through in between x and z such that both x y and y z? 7. First thing s first, how many members are there? 8. This is sort of tricky; remember, a 0 cannot occupy the leftmost digit of any four-digit integer. 9. The edge cases are obviously the most difficult part of this problem. Is there really any nice way to account for those? (Is there?) 10. Apply casework based on how many of the rooms are empty. Be very careful to make sure you re not overcounting; a lot of people got this question wrong on the actual test for that reason! 11. Group the Democrats together into one bundle.