MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES

Similar documents
Venn Diagram Problems

6.1 Basics of counting

7.1 Experiments, Sample Spaces, and Events

Discrete Mathematics. Spring 2017

Intermediate Math Circles November 1, 2017 Probability I

Developed by Rashmi Kathuria. She can be reached at

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

4.1 Sample Spaces and Events

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

DISCUSSION #8 FRIDAY MAY 25 TH Sophie Engle (Teacher Assistant) ECS20: Discrete Mathematics

More Probability: Poker Hands and some issues in Counting

THE PIGEONHOLE PRINCIPLE. MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin

Today s Topics. Sometimes when counting a set, we count the same item more than once

8.2 Union, Intersection, and Complement of Events; Odds

Poker Hands. Christopher Hayes

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

Jong C. Park Computer Science Division, KAIST

Poker: Probabilities of the Various Hands

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

Discrete Finite Probability Probability 1

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics

Probability: introduction

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets

Topics to be covered

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

Counting integral solutions

Poker: Probabilities of the Various Hands

Introduction to probability

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

Classical vs. Empirical Probability Activity

With Question/Answer Animations. Chapter 6

19.4 Mutually Exclusive and Overlapping Events

Elementary Combinatorics

COUNTING AND PROBABILITY

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

Dealing with some maths

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

Def: The intersection of A and B is the set of all elements common to both set A and set B


Whatcom County Math Championship 2017 Probability + Statistics 4 th Grade

Chapter 1: Sets and Probability

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Activity 1: Play comparison games involving fractions, decimals and/or integers.

The probability set-up

5.8 Problems (last update 30 May 2018)

Math 1313 Section 6.2 Definition of Probability

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

4. Are events C and D independent? Verify your answer with a calculation.

Chapter 1. Probability

4.3 Rules of Probability

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

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Math 1111 Math Exam Study Guide

The probability set-up

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Counting integral solutions

Intermediate Math Circles November 1, 2017 Probability I. Problem Set Solutions

Counting: Basics. Four main concepts this week 10/12/2016. Product rule Sum rule Inclusion-exclusion principle Pigeonhole principle

Principle of Inclusion-Exclusion Notes

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

Unit 9: Probability Assignments

Important Distributions 7/17/2006

Mutually Exclusive Events

3 The multiplication rule/miscellaneous counting problems

Sec 5.1 The Basics of Counting

CSE 312: Foundations of Computing II Quiz Section #2: Combinations, Counting Tricks (solutions)

INDIAN STATISTICAL INSTITUTE

Reading 14 : Counting

RANDOM EXPERIMENTS AND EVENTS

Conditional Probability Worksheet

Simple Probability. Arthur White. 28th September 2016

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Section 6.5 Conditional Probability

I. WHAT IS PROBABILITY?

Probability and Randomness. Day 1

Probability is often written as a simplified fraction, but it can also be written as a decimal or percent.

UNIT 4 APPLICATIONS OF PROBABILITY Lesson 1: Events. Instruction. Guided Practice Example 1

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.)

Section Introduction to Sets

M146 - Chapter 5 Handouts. Chapter 5

SALES AND MARKETING Department MATHEMATICS. Combinatorics and probabilities. Tutorials and exercises

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

Chapter 2. Permutations and Combinations

Page 1 of 22. Website: Mobile:

Unit 1 Day 1: Sample Spaces and Subsets. Define: Sample Space. Define: Intersection of two sets (A B) Define: Union of two sets (A B)

Math 1111 Math Exam Study Guide

Finite Mathematical Structures A

Here are two situations involving chance:

MATH 1115, Mathematics for Commerce WINTER 2011 Toby Kenney Homework Sheet 6 Model Solutions

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall

NAME : Math 20. Midterm 1 July 14, Prof. Pantone

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

Probability. The Bag Model

n(s)=the number of ways an event can occur, assuming all ways are equally likely to occur. p(e) = n(e) n(s)

PROBABILITY. Example 1 The probability of choosing a heart from a deck of cards is given by

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

Transcription:

MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES Thursday, 4/17/14 The Addition Principle The Inclusion-Exclusion Principle The Pigeonhole Principle Reading: [J] 6.1, 6.8 [H] 3.5, 12.3 Exercises: [H] pp. 81-82: 1-6 [J] pp. 328-329: 1-8, p. 331: 28 Thursday, 4/17/14, Slide #1

Adding sizes of sets What is wrong with the following formula, where and are any two finite sets? = + Give an example where it s correct and another where it s incorrect. Thursday, 4/17/14, Slide #2

The Addition Principle For sets: If and are two sets, and =, then = + For events: If an event can occur in ways, and an event can occur in ways, and A and B cannot occur at the same time, then the number of ways that event A or event B can occur is: + If events A and B cannot occur at the same time, they are called mutually exclusive. Thursday, 4/17/14, Slide #3

The Inclusion-Exclusion Principle For sets: If and are two sets, then = + For events: If an event can occur in ways, and an event can occur in ways, and there are can occur at the same time, then the number of ways that event A or event B can occur is: + Thursday, 4/17/14, Slide #4

Example Suppose we roll a pair of 6-sided dice: How many possible rolls are there? How many ways are there for the dice to be equal ( doubles ) or to add up to 9? How many ways are there for the dice to be equal ( doubles ) or to add up to 10? Thursday, 4/17/14, Slide #5

Standard decks of cards 52 cards in 4 suits: 2 Black Suits: Spades ( ) and Clubs ( ) 2 Red Suites: Hearts ( ), Diamonds ( ) 13 cards in each suit: Ace > King > Queen > Jack > 10 > 9 > 8 > 7 > 6 > 5 > 4 > 3 > 2 King, Queen, & Jack are face cards Thursday, 4/17/14, Slide #6

Clicker Question From a standard deck of cards, how many ways are there to choose 2 cards so that either both are hearts or both cards are face cards. A. 25 B. 66 C. 78 Remember:, = ( )/ D. 141 E. 144 Thursday, 4/17/14, Slide #7

More Inclusion-Exclusion Examples How many numbers from 0 to 100 are divisible by 6 or by 8? How many possible zip codes are there that begin with 1 or end with 1? Can we generalize the inclusion-exclusion formula to 3 sets, A, B, C? I.e., How do we correct + + to avoid counting things more than once? Thursday, 4/17/14, Slide #8

Pigeonhole Principle Example Suppose we have people in a room, > 0, and some pairs of people shake hands. It s possible that anybody shakes hands with any number of other people, from 0 to 1 people. Prove: There must be two people who shake the same number of hands. Hint: Use two cases, and categorize each person by the number of hands she/he shakes. Case 1 is when everybody shakes at least one hand. Case 2 is when there is at least one person who shakes no hands. Thursday, 4/17/14, Slide #9

The Pigeonhole Principle phrased 3 ways Pigeonhole Principle (bird version): If pigeons each fly into one of h holes, and >h, then some hole must contain at least two pigeons. Pigeonhole Principle (shoebox version): If shoes are each placed into one of h boxes, and >h, then some box must contain at least two shoes. Pigeonhole Principle (category version): If objects are divided into h categories, and >h, then at least two objects must be in the same category. Thursday, 4/17/14, Slide #10

Examples In using the Pigeonhole Principle, it s important to be clear what the objects are, and what the categories/boxes are. In each example, first say what the objects and categories are. My mitten drawer has 10 pairs of mittens, all different. How many might I have to remove at random, before I m sure to get a matching pair? Let n be a positive integer, and suppose we have k > n arbitrary positive integers. Prove that there must be two of them whose difference is divisible by n. Hint: Think about the k numbers mod n. Let n be a positive integer. Prove that n must have some multiple each of whose decimal digits is either 0 or 1. Hint: Think about the last exercise with the numbers 1, 11, 111, 1111,. Thursday, 4/17/14, Slide #11

Strengthening the Pigeonhole Principle Example: Our class has 28 students. The Pigeonhole Principle says there must be at least two students who were born in the same month. But we can say more: There must be at least three born in the same month. Why? Suppose we had 50 students. What s the least number that are born in the same month. Thursday, 4/17/14, Slide #12

The Strong Pigeonhole Principle Strong Pigeonhole Principle: If p objects are placed into h boxes, then some box contains at least objects. Proof by contradiction: Suppose every box has < objects. Add up all the objects in all the boxes. Note: If an integer, then, so we can replace with in the theorem. Thursday, 4/17/14, Slide #13

Clicker Question Suppose 200 people exit a theater and walk to their cars, but there are only 65 cars in the lot. The Strong Pigeonhole Principle guarantees that at least how many people will go in one car together? A. 1 B. 2 C. 3 D. 4 E. 5 Thursday, 4/17/14, Slide #14