Section 2.6: Probability and Expectation Practice HW (not to hand in) From Barr Text p. 130 # 1, 2, 4-12.

Slides:



Advertisements
Similar presentations
Counting Principles Probability.
Advertisements

© 2010 Pearson Education, Inc. All rights reserved Chapter 9 9 Probability.
Probability and Statistics
How many possible outcomes can you make with the accessories?
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
___ ___ ___ ___ ___ ___ ___ ___ ___
Today Today: Reading: –Read Chapter 1 by next Tuesday –Suggested problems (not to be handed in): 1.1, 1.2, 1.8, 1.10, 1.16, 1.20, 1.24, 1.28.
Basics of Probability. Trial or Experiment Experiment - a process that results in a particular outcome or “event”. Simple event (or sample point), E i.
Chapter Two Probability. Probability Definitions Experiment: Process that generates observations. Sample Space: Set of all possible outcomes of an experiment.
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.
College Algebra Fifth Edition
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Week 11 What is Probability? Quantification of uncertainty. Mathematical model for things that occur randomly. Random – not haphazard, don’t know what.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Methods of Counting Outcomes BUSA 2100, Section 4.1.
You probability wonder what we’re going to do next!
Section 2.6 Probability and Expectation Cryptanalyzing the Vigenere cipher is not a trivial process. A probabilistic method that allows one to determine.
Larson/Farber Ch. 3 Weather forecast Psychology Games Sports 3 Elementary Statistics Larson Farber Business Medicine Probability.
Prob/Stats Definition A permutation is an ordered arrangement of objects. (For example, consider the permutations of the letters A, B, C and D.)
CHAPTER 10 Sequences, Induction, & Probability Sequences & Summation Notation Objectives –Find particular terms of sequence from the general term.
Introduction to Probability. 5.1 Experiments, Outcomes, Events, and Sample Spaces Sample space - The set of all possible outcomes for an experiment Roll.
March 10,  Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
Probability Basic Concepts Start with the Monty Hall puzzle
Permutations and Combinations
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Discrete Mathematics, 1st Edition Kevin Ferland Chapter 6 Basic Counting 1.
Permutations, Combinations, and Counting Theory
Counting Principles Multiplication rule Permutations Combinations.
Chapter 4 Probability, Randomness, and Uncertainty.
Lesson 0.4 (Counting Techniques)
37. Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Probability. 3.1 Events, Sample Spaces, and Probability Sample space - The set of all possible outcomes for an experiment Roll a die Flip a coin Measure.
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.
 Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound events  Independent.
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
Permutations and Combinations
1 Lecture 4 Probability Concepts. 2 Section 4.1 Probability Basics.
CS 104: Discrete Mathematics
6/9/2016MATH 106, Section 51 Section 5 Combinations Questions about homework? Submit homework!
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
1 2.3 Counting Sample Points (6)(6)(6)= 216 Example: How many outcome sequences are possible when a die is rolled three times?
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.
Permutations and Combinations
Elementary Probability Theory
MATH 2311 Section 2.1.
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Probability Counting techniques.
12.2 Permutations and Combinations
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
8.3 Counting Apply the fundamental counting principle
Permutations and Combinations
Counting, Permutations, & Combinations
Permutations and Combinations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
First lecture fsalamri Faten alamri.
MATH 2311 Section 2.1.
Bellwork Practice Packet 10.3 B side #3.
Permutations and Combinations
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
MATH 2311 Section 2.1.
Presentation transcript:

Section 2.6: Probability and Expectation Practice HW (not to hand in) From Barr Text p. 130 # 1, 2, 4-12

Cryptanalyzing the Vigenere cipher is not trivial process. The purpose of this section and the next section is to show a probabilistic method that allows one to determine the likely keyword length which is the first step in breaking this cipher. In this section, we review the basics of counting and probability.

Permutations Permutations represent an ordered listing of a set. Before defining what a permutation is, we give an important preliminary definition.

Definition Factorial. If n is a positive integer, then n factorial, denoted as n!, is defined to be Note:

Example 1: Calculate 3!, 5!, and. Solution:

Example 2: John, Mary, and Sue have bought tickets together for a basketball games. In how many ways could they arrange themselves in the 3 seats? In 6 seats? Solution:

Formal Definition of a Permutation A permutation of a set of objects is a listing of the objects in some specified order. Our goal in this section will be to count the number of permutations for specific objects. This next three examples illustrate how this can be done.

Example 3: A baseball team is made up of 9 players and the manager wants to construct batting orders. a.How many total possible batting orders can the manager construct? Solution:

b.How many batting orders can the manager construct if the pitcher must bat last? Solution:

c. How many batting orders can the manager construct if the shortstop and pitcher bats eighth or ninth? Solution:

Example 4: If there are 50 contestants in a beauty pageant, in how many ways can the judges award first, second, and third prizes? Solution:

Example 5: How many license plates can be made if each plate consists of a.two letters followed by three digits and repetition of letters and digits is allowed? Solution:

b.two letters followed by three digits and no repetition of letters or digits is allowed? Solution:

c.if the first digit cannot be a zero and no repetition of letters or digits is allowed? Solution:

Note Given a collection of r objects, the number of ordered arrangements (permutations) of r objects taken from n objects, denoted as P(n, r) is given by (1)

Example 6: Find. Solution:

Equation (1) can be used to count the number of permutations as the next example indicates.

Example 7: Going back to Example 4, find the number of ways that judges award first, second, and third prizes in a beauty contest with 50 contestants using equation (1). Solution:

Combinations We now want to consider how we can count different arrangements when the order of the arrangements does not matter.

Example 8: Suppose you have five clean shirts and are going to pack two for a trip. How many ways can you select the two shirts? Compare the difference in this problem when the order the shirts are packed matters and when it does not. Solution:

Definition of Combinations A combinations is an unordered set of r objects chosen from a set of n is called a combination of r objects chosen from n objects. The number of different combinations of r unordered objects chosen from n unordered objects is (2)

Example 9: Compute and. Solution

Example 10: Referring back to Example 8, use equation (2) to find the number of ways you can choose 2 shirts from 5 total to go on a trip. Solution:

A permutation is a listing of objects where the order of the objects in the list is important. Usually, some ranking or order of the list is given to note its importance. In a combination, the order of the objects in the list is not important. Thus, counting the number of permutations and combinations is different as a result. The following examples illustrate the difference between the two.

Example 11: Suppose Radford’s Honors Academy wants to select four students out of nine total for a committee to go to an honors convention. How many ways can the committee of four be chosen? Solution:

Example 12: Suppose Radford’s Honors Academy wants to select four students out of nine total for a committee to go to an honors convention. For the four students selected, one will serve as President, one as Vice President, one as Secretary, and the other as Treasurer for the committee. How many ways can this committee be selected? Solution:

Basic Probability We now discuss some basic concepts of probability. We start out with a basic definition. Definition: The sample space of an experiment is the set of all possible outcomes of an experiment.

Example 13: Determine the sample space of the single toss of a die. Solution:

Definition An event is any subset of the sample space.

Example 14: List some events for sample space consisting of a single roll of a die. Solution:

Definition of Probability The probability of and event is a number between 0 and 1 that represents the chance of an event occurring. If A is an event, then

Example 15: On a single toss of a die, find the probability of rolling a.a 5. Solution:

b. an even number. Solution: c. the number showing is no less than a 5. Solution:

d. roll that is not a 2. Solution: e. a 7. Solution:

Facts about Probability Given the probability P of an event occurring Given two events A and B that are mutually exclusive (both events A and B are separate, they can’t happen at the same time), then

Example 16: For the single die roll example, explain why rolling a 4 and a 6 are mutually exclusive events. Then find the probability of rolling a 4 or a 6. Solution:

3. Given the probability of an event A, Example 17: For the single die roll example, use fact 3 to determine the probability of not rolling a 5. Solution:

4. The sum of all the probabilities of mutually exclusive events in a sample space is equal to 1. Example 18: Find the probability on a single die roll of rolling a 1, 2, 3, 4, 5, 6. Solution:

Example 19: Suppose you toss two ordinary die and observe the sum of roll. a.What is the sample space of the event? Solution:

b. What is the probability that the sum of the numbers of the die is a 7? A 5? Solution:

c. Find the probability that the sum of the numbers is at most 5. Solution:

d. Find the probability that exactly one of the numbers is a 5. Solution:

Probability of Simultaneous Events Suppose we have two events that can occur simultaneously, that is, can be done independently of one another. Then we can find the probability of both events occurring by using the following multiplication principle of probability.

Multiplication Principle of Probability If two (ordered or labeled) experiments A and B can be conducted independently, that is both can be done simultaneously, then if and represents the probabilities of these separate events occurring, then the probability in the compound experiment of both outcomes occurring is

Example 20: A pot contains alphabet letters consisting of 300 A’s, 154 B’s, 246 C’s, and 500 D’s. Suppose we draw two letters from the pot without replacement. Find the probability that a.both letters are C’s. Solution:

b. both letters are D’s. Solution: c. The first letter is a A and the second is a B. Solution:

d. The two letters are A and B. Solution: e. Neither letter is a C. Solution:

f. The letters are identical. Solution: