Introduction to Probability: Counting MethodsWhy Probability?ApplicationsMethods of CountingCombinatoricsSlide 6Set Theory and ProbabilityVenn DiagramsAn Example from Card GamesSample Space/Event SpaceCalculating the ProbabilityProbabilities from CombinationsProbabilities from SubexperimentsAn Example from Dice RollingSlide 15Calculating ProbabilitySide NoteIntroduction to Probability: Counting MethodsRutgers UniversityDiscrete Mathematics for ECE14:332:202Why Probability?We can describe processes for which the outcome is uncertainBy their average behaviorBy the likelihood of particular outcomesAllows us to build models for many physical behaviorsSpeech, images, traffic …ApplicationsCommunicationsSpeech and Image ProcessingMachine LearningDecision MakingNetwork SystemsArtificial IntelligenceUsed in many undergraduate courses (every grad course)Methods of CountingOne way of interpreting probability is by the ratio of favorable to total outcomesMeans we need to be able to count both the desired and the total outcomesFor illustration, we explore only the most important applications:Coin flippingDice rollingCard GamesCombinatoricsMathematical tools to help us count:How many ways can 12 distinct objects be arranged?How many different sets of 4 objects be chosen from a group of 20 objects?-- Extend this to find probabilities …CombinatoricsNumber of ways to arrange n distinct objects n!Number of ways to obtain an ordered sequence of k objects from a set of n: n!/(n-k)! -- k permutationNumber of ways to choose k objects out of n distinguishable objects:)!(!!knknknThis one comes up a lot!Set Theory and ProbabilityWe use the same ideas from set theory in our study of probabilityExperiment Roll a diceOutcome – any possible observation of an exp.Roll a sixSample Space – the set of all possible outcomes1,2,…6Event – set of outcomesDice rolled is oddVenn DiagramsOutcomes are mutually exclusive – disjoint124536SEvent AOutcomesAn Example from Card GamesWhat is the probability of drawing two of the same card in a row in a shuffled deck of cards?ExperimentPulling two cards from the deckEvent SpaceAll outcomes that describe our event:Two cards are the sameSample Space All Possible OutcomesAll combinations of 2 cards from a deck of 52Sample Space/Event SpaceVenn DiagramSEvent Space (set of favorable outcomes){A,A}{K,2}all possible outcomesCalculating the ProbabilityP(Event) =Expressed as the ratio of favorable outcomes to total outcomes -- Only when all outcomes are EQUALLY LIKELYspacesamp leinoutcomesspaceeventinoutcom es___#___#Probabilities from CombinationsRule of Product:Total number of two card combinations?We need to find all the combinations of suit and value that describe our event set: use rule of product to find the number of combinationsFirst, we find number of values – 13 choices, and choices of suits:to give our number of possible outcomes 13*6 = 78Probability(Event) = 78/1326 = 0.05881326)!252(!2!522526)!24(!2!424Probabilities from SubexperimentsOnly holds for independent experimentsLet’s look at the last problem:Two subexperiments:First can be anything 52/52 = 1 Second, must be one of the 3 remaining cards of the same value from 51 remaining cards 3/51 = 0.588An Example from Dice RollingExperiment: Roll Two (6-sided) DiceEvent: Numbers add to 7Sample Space: (all possible outcomes)S =1,1 1, 2 1,3 1, 4 1,5 1,62,1 2, 2 2,3 2, 4 2,5 2,63,1 3, 2 3,3 3, 4 3,5 3,64,1 4, 2 4,3 4, 4 4,5 4,65,1 5, 2 5,3 5, 4 5,5 5,66,1 6, 2 6,3 6, 4 6,5 6,6� �� �� �� �� �� �� �� �� �� ��Sample Space/Event SpaceVenn DiagramSEvent SpaceCalculating ProbabilityP(Event) == 6/36 = 1/6 spacesamp leinoutcomesspaceeventinoutcomes___#___#Side NoteProbability is something we calculate “theoretically” as a value between 0 and 1, it is not something calculated through experimentation (that is more statistics).Just because you roll a dice 100 times, and it came up as a 1 20 times, does not make P(roll a 1) = 0.2It would be the limiting case in doing an infinite number of experiments, but this is impossible. So, call your calculated values the “probability”, and your experimental values the “relative
View Full Document