Counting and Probability

Slides:



Advertisements
Similar presentations
Simple Probability and Odds
Advertisements

Arrange -ments Single Events Compound ConditionalOther Final Jeopardy.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
How many possible outcomes can you make with the accessories?
Counting Elements in a List How many integers in the list from 1 to 10? How many integers in the list from m to n? (assuming m
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
 Probability- the likelihood that an event will have a particular result; the ratio of the number of desired outcomes to the total possible outcomes.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Finding Probability Using Tree Diagrams and Outcome Tables
CONFIDENTIAL 1 Algebra1 Theoretical Probability. CONFIDENTIAL 2 Warm Up 1) choosing a heart. 2) choosing a heart or a diamond. An experiment consists.
MATRICES Jeffrey Bivin Lake Zurich High School Last Updated: October 12, 2005.
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.
The probability that it rains is 70% The probability that it does NOT rain is 30% Instinct tells us that for any event E, the probability that E happens.
PROBABILITY. Counting methods can be used to find the number of possible ways to choose objects with and without regard to order. The Fundamental Counting.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Chapter  Determine how many different possibilities are possible:  1. There are 3 different ice cream flavors and 5 different toppings. You.
Permutations, Combinations, and Counting Theory AII.12 The student will compute and distinguish between permutations and combinations and use technology.
Aim: How do we use permutations and combinations to solve probability problems? Do Now: Six students are arranged at random on a bench. What is the probability.
Warm Up 1. Determine whether each situation involves permutations or combinations 2. Solve each problem (set up…if you can simplify…you’re great!) Arrangement.
Quiz 10-1, Which of these are an example of a “descrete” set of data? 2.Make a “tree diagram” showing all the ways the letters ‘x’, ‘y’, and ‘z’
Combinatorics and Probability
Quiz 10-3 You have the following bills in your wallet: three $20’s, four $10’s, five $5’s, and six $1’s. What is the number of distinct ways you could.
7th Probability You can do this! .
Algebra II 10.4: Find Probabilities of Disjoint and Overlapping Events HW: HW: p.710 (8 – 38 even) Chapter 10 Test: Thursday.
Counting Principles. Counting examples Ex 1: A small sandwich café has 4 different types of bread, 5 different types of meat and 3 different types of.
12/13/2015MATH 106, Section 41 Section 4 Permutations Questions about homework? Submit homework!
Unit VI Discrete Structures Permutations and Combinations SE (Comp.Engg.)
ProbabilityProbability Counting Outcomes and Theoretical Probability.
Do Now. Introduction to Probability Objective: find the probability of an event Homework: Probability Worksheet.
Permutations, Combinations, and Counting Theory
Binomial Expansion And More
Jeff Bivin -- LZHS Permutation, Combinations, Probability, Oh My… Jeff Bivin Lake Zurich High School ICTM Conference October 21, 2011.
Matrix Working with Scalars by Jeffrey Bivin Lake Zurich High School Last Updated: October 11, 2005.
Lesson 0.4 (Counting Techniques)
Aim: Combinations Course: Alg. 2 & Trig. Do Now: Aim: How do we determine the number of outcomes when order is not an issue? Ann, Barbara, Carol, and.
MATH 2311 Section 2.1. Counting Techniques Combinatorics is the study of the number of ways a set of objects can be arranged, combined, or chosen; or.
Algebra-2 Counting and Probability. Quiz 10-1, Which of these are an example of a “descrete” set of data? 2.Make a “tree diagram” showing all.
Permutations and Combinations
Unit 4 Probability Day 3: Independent and Dependent events.
Question #1 A bag has 10 red, 3 yellow, and 5 blue marbles. You pick one. What is the probability that you select a blue marble?
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
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.
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Set Theory, Permutations, Combinations and Probability
Permutations and Combinations
Counting Unit 1.
What Is Probability?.
MATH 2311 Section 2.1.
Algebra 2/Trig Name: ________________________
Section 8.1 When Does Order Matter?
Unit 4 – Combinatorics and Probability Section 4
Probability.
How to Count Things “There are three kinds of people in the world: those who can count and those who cannot.” 11/21/2018.
Math 2 Probability Lesson 10.2
Probability: Test Tomorrow
Permutations and Combinations
Permutations and Combinations
Combination and Permutations Quiz!
Permutations and Combinations
First lecture fsalamri Faten alamri.
Counting Principle.
Probability.
Probability: Test Tomorrow
Permutations and Combinations
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Presentation transcript:

Counting and Probability By: Jeffrey Bivin Lake Zurich High School jeff.bivin@lz95.org Last Updated: April 16, 2008

Fundamental Counting Principal How many different meals can be made if 2 main courses, 3 vegetables, and 2 desserts are available? Let’s choose a main course 2 M1 M2 Now choose a vegetable 3 x V1 V2 V3 V1 V2 V3 Finally choose A dessert 2 x D1 D2 D1 D2 D1 D2 D1 D2 D1 D2 D1 D2 12 1 2 3 4 5 6 7 8 9 10 11 12

Linear Permutations 30 29 28 27 * * * 657,720 A club has 30 members and must select a president, vice president, secretary, and treasurer. How many different sets of officers are possible? 30 29 28 27 * * * president vice-president secretary treasurer 657,720

30P4 Linear Permutations Alternative 1 2 3 4 30 29 28 27 * * * A club has 30 members and must select a president, vice president, secretary, and treasurer. How many different sets of officers are possible? 1 2 3 4 30 29 28 27 * * * Try with your calculator president vice-president secretary treasurer 657,720 30P4

Permutation Formula 657,720

1.5511 x 1025 Linear Permutations 25 24 23 22 21 * * * * . . . 25! There are 25 students in a classroom with 25 seats in the room, how many different seating charts are possible? 25 24 23 22 21 * * * * . . . seat 1 seat 2 seat 3 seat 4 seat 5 1.5511 x 1025 25!

25P25 1.5511 x 1025 Linear Permutations Alternative 25 24 23 22 21 * * There are 25 students in a classroom with 25 seats in the room, how many different seating charts are possible? 25 24 23 22 21 * * * * . . . seat 1 seat 2 seat 3 seat 4 seat 5 1.5511 x 1025 25! 25P25

Permutation Formula 1.5511 x 1025

More Permutations There are 5 people sitting at a round table, how many different seating arrangements are possible? straight line Divide by 5 A B C D E E A B C D D E A B C C D E A B B C D E A

More Permutations REVIEW There are 5 people sitting at a round table, how many different seating arrangements are possible? straight line When circular, divide by the number of items in the circle A B C D E E A B C D D E A B C Now consider the circular issue Treat all permutations as if linear C D E A B B C D E A

More Permutations A B C D E F G H I There are 9 people sitting around a campfire, how many different seating arrangements are possible? straight line Yes, divide by 9 Treat all permutations as if linear Is it circular? A B C D E F G H I

More Permutations NOT CIRCULAR There are 5 people sitting at a round table with a captain chair, how many different seating arrangements are possible? straight line NOT CIRCULAR A B C D E E A B C D D E A B C NOTE: C D E A B B C D E A Each table has someone different in the captian chair!

More Permutations How many ways can you arrange 3 keys on a key ring? straight line Yes, divide by 3 Treat all permutations as if linear Is it circular? A B C Now, try it. . . PROBLEM: Turning it over results in the same outcome. So, we must divide by 2.

More Permutations How many ways can you arrange the letters MATH ? How many ways can you arrange the letters ABCDEF ?

Permutations with Repetition How many ways can you arrange the letters AAAB? Divide by 3! Let’s look at the possibilities: If a permutation has repeated items, we divide by the number of ways of arranging the repeated items (as if they were different). AAAB AABA What is the problem? Are there any others? ABAA BAAA

If all were different, how may ways could we arrange 20 items? How many ways can you arrange 5 red, 7 blue and 8 white flags on the tack strip across the front of the classroom? If all were different, how may ways could we arrange 20 items? There are 5 repeated red flags  Divide by 5! There are 7 repeated blue flags  Divide by 7! There are 8 repeated white flags  Divide by 8!

If all were different, how may ways could we arrange 17 items? How many ways can you arrange the letters AABBCCCCDEFGGGGGG ? If all were different, how may ways could we arrange 17 items? There are 2 repeated A’s  Divide by 2! There are 2 repeated B’s  Divide by 2! There are 4 repeated C’s  Divide by 4! There are 6 repeated G’s  Divide by 6!

! ? ? ? Permutations ORDER Multiply the possibilities Assume the items are in a straight line ! or Use the nPr formula (if no replacement) Are the items in a circle? ? Divide by the number of items in the circle Can the item be turned over? ? Divide by 2 Are there duplicate items in your arrangement? ? Divide by the factorial of the number of each duplicated item

33 How many ways can you put 5 red and 7 brown beads on a necklace? How may ways could we arrange 12 items in a straight line? Is it circular? Yes  divide by 12 Can it be turned over? Yes  divide by 2 33 Are there repeated items? Yes  divide by 5! and 7!

How many ways can you arrange 5 red and 7 brown beads on a necklace that has a clasp? How may ways could we arrange 12 items in a straight line? Is it circular? N0  the clasp makes it linear Can it be turned over? Yes  divide by 2 396 Are there repeated items? Yes  divide by 5! and 7!

How different license plates can have 2 letters followed by 3 digits (no repeats)? 26 ∙ 25 10 9 8 letter number A straight line? Is it circular? No 468,000 Can it be turned over? No Are there repeated items? No

How different license plates can have 2 letters followed by 3 digits with repeats? 26 ∙ 10 letter number A straight line? Is it circular? No 676,000 Can it be turned over? No Are there repeated items? Yes, but because we are using multiplication and not factorials, we do not need to divide by anything.

Combinations NO order NO replacement Use the nCr formula

Combinations An organization has 30 members and must select a committee of 4 people to plan an upcoming function. How many different committees are possible? 27,405

Combinations A plane contains 12 points, no three of which are co-linear. How many different triangles can be formed? 220

Combinations An jar contains 20 marbles – 5 red, 6 white and 9 blue. If three are selected at random, how many ways can you select 3 blue marbles? 84

Combinations An jar contains 20 marbles – 5 red, 6 white and 9 blue. If three are selected at random, how many ways can you select 3 red marbles? 10

The OR factor. An jar contains 20 marbles – 5 red, 6 white and 9 blue. If three are selected at random, how many ways can you select 3 blue marbles or 3 red marbles? OR  ADD

OR  ADD The OR factor. have want want OR An jar contains 20 marbles – 5 red, 6 white and 9 blue. If three are selected at random, how many ways can you select 3 red marbles or 3 blue marbles? OR  ADD have want want 5 red 6 white 9 blue 3 red OR 3 blue

OR  ADD The OR factor. have want want OR An jar contains 13 marbles – 5 red and 8 blue. If four are selected at random, how many ways can you select 4 red marbles or 4 blue marbles? OR  ADD have want want 5 red 8 blue 4 red OR 4 blue

Probability – “or” { Pr(3R or 3B) = = A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that all three are red or all three are blue? # of success 5C3 + 8C3 Pr(3R or 3B) = = total # of outcomes 13C3 have want want 5 red 8 blue 3 red { OR 3 blue Total: 13  3

AND  MULTIPLY The AND factor. An jar contains 20 marbles – 5 red, 6 white and 9 blue. If three are selected at random, how many ways can you select 2 blue marbles and 1 red marble? AND  MULTIPLY

At least 3 or 4 or 5 blue 3B2NB or 4B1NB or 5B An jar contains 20 marbles – 5 red, 6 white and 9 blue. If five marbles are selected at random, how many ways can you select at least 3 blue marbles? 3 or 4 or 5 blue 3B2NB or 4B1NB or 5B

At most An jar contains 20 marbles – 5 red, 6 white and 9 blue. If five marbles are selected at random, how many ways can you select at most 1 red marbles? 0 or 1 red 0R5Nr or 1R4NR

PROBABILITY Definition: The ratio  total number of outcomes number of success The ratio  total number of outcomes

Probability A coin is tossed, what is the probability that you will obtain a heads? Look at the sample space/possible outcomes: { H , T } number of success 1 Pr(H) = = total number of outcomes 2

Probability A die is tossed, what is the probability that you will obtain a number greater than 4? Look at the sample space/possible outcomes: { 1 , 2 , 3 , 4 , 5 , 6 } number of success 2 1 Pr(>4) = = = total number of outcomes 6 3

Probability – Success & Failure A die is tossed, what is the probability that you will obtain a number greater than 4? number of success 2 1 Pr(>4) = = = total number of outcomes 6 3 What is the probability that you fail to obtain a number greater than 4? number of failures 4 2 Pr(>4) = = = 6 3 total number of outcomes 1 Pr(success) + Pr(failure) = 1 TOTAL =

Probability A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that all three are red? number of success 5C3 Pr(3R) = = total number of outcomes 13C3 have want 5 red 8 blue 3 red Total: 13  3

Probability A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that all three are blue? number of success 8C3 Pr(3B) = = total number of outcomes 13C3 have want 5 red 8 blue 3 blue Total: 13  3

Probability – “and” multiply A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that one is red and two are blue? number of success 5C1 ● 8C2 Pr(1R2B) = = total number of outcomes 13C3 have want 5 red 8 blue 1 red 2 blue Total: 13  3

A jar contains 5 red, 8 blue and 7 white marbles A jar contains 5 red, 8 blue and 7 white marbles. If 3 marbles are selected at random, what is the probability that one of each color is selected? 1 red, 1 blue, & 1 white # of success 5C1●8C1●7C1 Pr(1R,1B,1W) = = total # of outcomes 20C3 have want 5 red 8 blue 7 white and 1 red 1 blue and 1 white Total: 20  3

A jar contains 7 red, 5 blue and 3 white marbles A jar contains 7 red, 5 blue and 3 white marbles. If 4 marbles are selected at random, what is the probability that 2 red and 2 white marbles are selected? # of success 7C2 ● 3C2 Pr(2R,2W) = = total # of outcomes 15C4 have want 7 red 5 blue 3 white 2 red and 2 white Total: 15  4

Five cards are dealt from a standard deck of cards Five cards are dealt from a standard deck of cards. What is the probability that 3 hearts and 2 clubs are obtained? # of success 13C3 ● 13C2 Pr(3H,2C) = = total # of outcomes 52C5 have want 13 diamonds 13 hearts 13 clubs 13 spades and 3 hearts 2 clubs Total: 52  5

Probability – “or” { Pr(3R or 3B) = = A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that all three are red or all three are blue? # of success 5C3 + 8C3 Pr(3R or 3B) = = total # of outcomes 13C3 have want want 5 red 8 blue 3 red { OR 3 blue Total: 13  3

A jar contains 5 red and 8 blue marbles and 7 yellow marbles A jar contains 5 red and 8 blue marbles and 7 yellow marbles. If 3 marbles are selected at random, what is the probability that all three are the same color? 3 red or 3 blue or 3 yellow ? 5C3 + 8C3 + 7C3 # of success Pr(3R or 3B or 3w) = = total # of outcomes 20C3 have want want { want 5 red 8 blue 7 yellow 3 red OR OR 3 blue 3 yellow Total: 20  3

Probability – “or” with overlap If two cards are selected from a standard deck of cards, what is the probability that both are red or both are kings? Pr(2R or 2B) = Pr(2R) + Pr(2K) – Pr(2RK) # of success 26C2 + 4C2 – 2C2 = total # of outcomes 52C2 have want want { overlap 26 red 26 black 2 red OR 2 red kings 4 kings 48 other 2 kings Total: 52  2

Probability – “and” with “or” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that two are red and one is blue or that one is red and two are blue? 5C2● 8C1 + 5C1 ● 8C2 # of success Pr(2R1B or 1R2B) = = 13C3 total # of outcomes have want want 5 red 8 blue 2 red 1 red { OR and and 1 blue 2 blue Total: 13  3

Probability – “at least” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that at least two red marbles are selected? 2 red or 3 red 2 red and 1 blue or 3 red 5C2● 8C1 + 5C3 # of success Pr(2R1B or 3R) = Pr(at least 2Red) = = 13C3 total # of outcomes Wait, we need 3 marbles! have want want 5 red 8 blue 2 red 3 red { OR and 1 blue Total: 13  3

Probability – “at least” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that at least one red marble is selected? 5C1● 8C2 + 5C2 ● 8C1 + 5C3 Pr(1R2B or 2R1B or 3R) = Pr(at least 1Red) = 13C3 Remember, we need 3 marbles! have want want want { 5 red 8 blue 1 red 2 red 3 red OR OR and and 2 blue 1 blue Total:13  3

Probability – “at least” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that NO red marbles are selected? 8C3 Pr(0R3B) = 13C3 In the previous example we found have want 5 red 8 blue 3 blue Pr(success) + Pr(failure) = 1 Total:13  3

Probability – “at least” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that at least one red marble is selected? Pr(success) + Pr(failure) = 1 Pr(success) = 1 - Pr(failure) Pr(>1 red) = 1 – Pr( 0 red ) Pr(3 blue)

Probability – “at least” A jar contains 8 red and 9 blue marbles. If 7 marbles are selected at random, what is the probability that at least one red marbles is selected? FASTEST success Pr(at least 1Red) Pr(1R6B or 2R5B or 3R4B or 4R3B or 5R2B or 6R1B or 7R) failure Pr(0Red) Pr( 0R7B ) Pr(at least 1Red) = 1 - Pr(0R7B) =

Probability – “at least” A jar contains 8 red, 9 blue and 3 white marbles. If 7 marbles are selected at random, what is the probability that at least three red marbles are selected? FASTEST success Pr(> 3Red)  Pr(3-7 red) failure Pr(< 3Red)  Pr(0-2 red) 1 - Pr(0R7NR or 1R6NR or 2R5NR)

Probability – “with replacement” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that one red followed by two blue marbles are selected if each marble is replaced after each selection? Note: In this example an order is specified Must use fractions! R B B

Probability – “with replacement” A jar contains 5 red and 8 blue marbles. If 3 marbles are selected at random, what is the probability that one red and two blue marbles are selected if each marble is replaced after each selection? Problem: Fractions imply order! Must use fractions! R B B Must account of any order!