Chris Morgan, MATH G160 January 30, 2012 Lecture 9 Chapter 4.1: Combinations 1.

Slides:



Advertisements
Similar presentations
Introduction to Probability
Advertisements

Homework Answers 9) 6/24 + 6/24 = 12/24 or ½ 11) 12/ /24 = 24/24 or 1 23) P(2 and A) = (1/6 * 1/5) = 1/30 P(2 and B) = (1/6 * 1/5) = 1/30 P(2 and.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
A binomial is a polynomial with two terms such as x + a. Often we need to raise a binomial to a power. In this section we'll explore a way to do just.
Theoretical Probability
Addition Facts
CS CS1512 Foundations of Computing Science 2 Lecture 23 Probability and statistics (4) © J.
CS1512 Foundations of Computing Science 2 Week 3 (CSD week 32) Probability © J R W Hunter, 2006, K van Deemter 2007.
Probability and Counting Rules
Discrete Probability Rosen 5.1.
Answers are on the last slide.
Beginning Probability
1 Combination Symbols A supplement to Greenleafs QR Text Compiled by Samuel Marateck ©2009.
1 Econ 240A Power Three. 2 Summary: Week One Descriptive Statistics –measures of central tendency –measures of dispersion Distributions of observation.
Lecture 18 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
Chris Morgan, MATH G160 January 25, 2012 Lecture 7 Chapter 4.1: Combinatorics and Basic Counting Rules 1.
ABC Technology Project
Probability: Mutually Exclusive Events 1. There are 3 red, 4 black and 5 blue cubes in a bag. A cube is selected at random. What is the probability of.
Chris Morgan, MATH G160 January 27, 2012 Lecture 8
9.5 Counting Subsets of a Set: Combinations
Probability Key. You are given a standard deck of 52 playing cards, which consists of 4 suits: diamonds, hearts, clubs, and spades. Each suit has 13 cards.
Copyright © 2002 by Radhika Nagpal and Charles E. Leiserson. All rights reserved. October 30, L9-2.1 Mathematics for Computer Science MIT 6.042J/18.062J.
1A) A bag contains 4 white marbles, 6 black marbles, and 1 green marble. What is the probability of drawing a white marble? A.C. B.D.
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
Business and Economics 6th Edition
1 Combinations & Counting II Samuel Marateck © 2009.
Chris Morgan, MATH G160 January 8, 2012 Lecture 13
{ 11.3 Dependent Events Apply probability concepts such as intersections, unions and complements of events, and conditional probability and independence,
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
Discrete Mathematics Math 6A Homework 5 Solution.
Independent and Dependent Events
Chapter 5 Discrete Probability Distributions 1 Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Addition 1’s to 20.
Probability Ch 14 IB standard Level.
25 seconds left…...
Independent and Dependent Events
Whiteboardmaths.com © 2004 All rights reserved
Week 1.
We will resume in: 25 Minutes.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 14 worksheet.
Copyright © Cengage Learning. All rights reserved.
Compiler Construction
16.4 Probability Problems Solved with Combinations.
How many possible outcomes can you make with the accessories?
1 Counting Rules. 2 The probability of a specific event or outcome is a fraction. In the numerator we have the number of ways the specific event can occur.
Probability And Expected Value ————————————
1 Counting Rules. 2 The probability of a specific event or outcome is a fraction. In the numerator we have the number of ways the specific event can occur.
1 Probability Parts of life are uncertain. Using notions of probability provide a way to deal with the uncertainty.
Chapter 7 - Part Two Counting Techniques Wednesday, March 18, 2009.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
X of Z: MAJOR LEAGUE BASEBALL ATTENDANCE Rather than solving for z score first, we may be given a percentage, then we find the z score, then we find the.
Copyright © Ed2Net Learning Inc.1. 2 Warm Up Use the Counting principle to find the total number of outcomes in each situation 1. Choosing a car from.
15.3 Counting Methods: Combinations ©2002 by R. Villar All Rights Reserved.
Probability What are the chances?.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Independent Events Lesson Starter State in writing whether each of these pairs of events are disjoint. Justify your answer. If the events.
Probability and Counting Rules
Counting Techniques (Dr. Monticino). Overview  Why counting?  Counting techniques  Multiplication principle  Permutation  Combination  Examples.
Chance We will base on the frequency theory to study chances (or probability).
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Counting Principles Ex. Eight pieces of paper are numbered 1 to 8 and placed in a box. One piece of paper is drawn from the box, its number is written.
What Is Probability?.
Probability And Expected Value ————————————
Probability And Expected Value ————————————
Presentation transcript:

Chris Morgan, MATH G160 January 30, 2012 Lecture 9 Chapter 4.1: Combinations 1

2

In some problems (e.g. dealing cards) we do not care about the order that the objects are in. In this case, we deal with combinations rather than permutations: – If order matters Permutations – If order does not matter Combinations Since order doesnt matter, then we are counting some objects multiple times: Here we take into account the fact that we are counting r multiple times. 3

Does order really matter? Say we have three balls in a box – one red, one black, and one white; and we randomly choose 2 balls from the box, one at a time: If order matters, then totally we have 6 possible outcomes: {white, red}, {red, white}, {white, black}, {black, white}, {red, black}, and {black, red } If order does not matter, then totally we have 3 possible results: {white, red}, {white, black} and {black, red} 4

Calculating Combinations There should be a button on most calculators to perform permutations. There should also be a button allowing you to perform combinations. If there is not, all calculators should have a factorial button (!) which allows you to compute using the formula. 5

Combinations example (Ia) A child has 7 different toys in his toy box. He is only allowed to take three of his toys with him on a family outing. How many different sets of toys can he take? – Suppose his toys are T1, T2,T3, T4, T5, T6, T7 Remember: order does NOT matter – Therefore, choosing (T1& T2) is the same as choosing (T2& T1) 6

Combinations example (Ib) Since there are few enough possibilities, lets list them just for fun: T1, T2 T2, T3 T3, T4T4, T5 T5, T6 T6, T7 T1, T3 T2, T4 T3, T5T4, T6 T5, T7 T1, T4 T2, T5 T3, T6T4, T7 T1, T5 T2, T6 T4, T7 T1, T6 T2, T7 T1, T7 Notice, for example, that T1,T2 is counted, but T2,T1 is not counted. This is because the order does not matter; therefore, they are treated as the same event. 7

Combinations example (II) The U.S. Senate consists of 100 senators, 2 from each of the 50 states. A committee consisting of 5 senators is to be formed. - How many different committees are possible? - How many are possible if no state can have more than 1 senator on the committee? 8

Combinations example (III) What is the probability to have at least one king in a 5-card poker hand from 52 cards? - Number of poker hands? - Number of hands with at least one king? [Hint: First find the number of hands with no king and then find the compliment…] P (at least one king) 9

Ordered Partitions 10

Ordered Partitions example (17) Suppose you have six different types of flowers and three planters. In how many ways can you put three flowers in the first planer, two flowers in the second planter, and one flower in the final planter? 11

Ordered Partitions example (17b) Flowers: F1, F2, F3, F4, F5, F6 Planters: P1, P2, P3 Planter 1Planter 2Planter 3 F1, F2, F3F4, F5F6 F1, F2, F3F4, F6F5 F1, F2, F3F5, F6F4 F1, F2, F4F3, F5F6 Etc…. 12

Ordered Partitions example (17c) How many ways are there? We can refer to this as a multinomial coefficient 13

Ordered Partitions example (18a) What is the probability that in a game of Hearts, one player gets all of the Hearts? Hearts is played with 4 people; each player is dealt 13 cards from a standard 52-card deck. 14

Ordered Partitions example (18b) Total possible dealings: One player gets all the hearts: P(one player gets all hearts) = 15

Remember… Always more than one way to solve a problem If you dont know which method to use to solve a problem, thats OK! There is not always one definitive method! A good approach is to imagine yourself doing the event described When you want to count the possible outcomes, keep very close track to ALL the decisions you have to make and apply the basic counting rule General rule of thumb: - choosing with replacement BCR - choosing without replacement, order matters Permutations - choosing without replacement, order does not matter Combinations 16

More examples… A fair coin is flipped 8 times, what is the probability to see exactly 4 heads in the 8 tosses? First, find number of total possible flips: 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 2 8 = 256 Then, find possibilities with exactly four heads: NOT 2 * 2 * 2 * 2! Why not? P(exactly 4 heads) = 70/256 =

More examples… What is the probability to be dealt a poker hand with two Aces? First, find total number of poker hands: Then, find possibilities with exactly 2 Aces: P(2 aces) = 103,776/2,598,960 =

More examples… If five fair die are tossed, what is the probability they will all show different faces? First, find total number of outcomes: 6 * 6 * 6 * 6 * 6 = 6 5 = 7,776 Then, find possibilities (number of die) with different faces: 6 * 5 * 4 * 3 * 2 = 6! = 720 P(different faces) = 720/7,776 =

More examples… 4 tennis players (two teams of two) are to be chosen from 12 players at a club. Two of them really dislike each other and refuse to be on the same court as the other one. How many possible combinations of four players are possible? [Hint: When and why do we add and/or multiply?] We can add together the combinations of when those two players arent on the court and when they are on the court: 20

More examples… What is the probability of winning a jackpot in a lottery that requires that you have 5 correct numbers out of 30 numbers? 21

A final example… An ordinary deck of 52 cards is shuffled and dealt. What is the probability that: (a) the seventh card is an ace? (b) the first ace occurs on the seventh card dealt? 22

A final example… (a)the seventh card is an ace? First, look at all 7 card combos: [notice we used a permutation because order matters] Then, the probability the last card is any specific card: So we take: P(7 th card is an Ace) = 23

A final example… (b) the first ace occurs on the seventh card dealt? Possible outcomes where 1 st Ace is on the 7 th card? P(1 st Ace is on 7 th card) = =