Sample Spaces, Events, Probability

Similar documents
Chapter 1. Probability

Compound Probability. Set Theory. Basic Definitions

1. The empty set is a proper subset of every set. Not true because the empty set is not a proper subset of itself! is the power set of A.

Sets. Definition A set is an unordered collection of objects called elements or members of the set.

Chapter 1. Probability

Probability. Ms. Weinstein Probability & Statistics

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

Georgia Department of Education Georgia Standards of Excellence Framework GSE Geometry Unit 6

Probability (Devore Chapter Two)

Chapter 1. Set Theory

Class 8 - Sets (Lecture Notes)

8.2 Union, Intersection, and Complement of Events; Odds

Probability Models. Section 6.2

The probability set-up

The probability set-up

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

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

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

Probability: Terminology and Examples Spring January 1, / 22

Section Introduction to Sets

Probability. Dr. Zhang Fordham Univ.

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 3

Chapter 5 - Elementary Probability Theory

CHAPTER 7 Probability

CHAPTERS 14 & 15 PROBABILITY STAT 203

PROBABILITY. 1. Introduction. Candidates should able to:

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Probability I Sample spaces, outcomes, and events.

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

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

Discrete Structures for Computer Science

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

4. Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, X = {2, 3, 4}, Y = {1, 4, 5}, Z = {2, 5, 7}. Find a) (X Y) b) X Y c) X (Y Z) d) (X Y) Z

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Week 3 Classical Probability, Part I

Chapter 4: Probability and Counting Rules

Answer each of the following problems. Make sure to show your work.

In how many ways can the letters of SEA be arranged? In how many ways can the letters of SEE be arranged?

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Strings. A string is a list of symbols in a particular order.

Week 3-4: Permutations and Combinations

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12

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

Algebra 1B notes and problems May 14, 2009 Independent events page 1

Mutually Exclusive Events

4.3 Finding Probability Using Sets

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

Unit 14 Probability. Target 3 Calculate the probability of independent and dependent events (compound) AND/THEN statements

Chapter 6: Probability and Simulation. The study of randomness

Theory of Probability - Brett Bernstein

Counting and Probability Math 2320

Lecture 6 Probability

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

"Well, statistically speaking, you are for more likely to have an accident at an intersection, so I just make sure that I spend less time there.

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

A Probability Work Sheet

Combinatorics and Intuitive Probability

Probability. Engr. Jeffrey T. Dellosa.

BIOL2300 Biostatistics Chapter 4 Counting and Probability

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

PROBABILITY FOR RISK MANAGEMENT. Second Edition

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

CSE 21 Mathematics for Algorithm and System Analysis

Probability and the Monty Hall Problem Rong Huang January 10, 2016

Grade 6 Math Circles Fall Oct 14/15 Probability

CSI 23 LECTURE NOTES (Ojakian) Topics 5 and 6: Probability Theory

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

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?

Combinatorial Proofs

SETS OBJECTIVES EXPECTED BACKGROUND KNOWLEDGE 1.1 SOME STANDARD NOTATIONS. Sets. MODULE - I Sets, Relations and Functions

1MA01: Probability. Sinéad Ryan. November 12, 2013 TCD

5 Elementary Probability Theory

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

1. Anthony and Bret have equal amounts of money. Each of them has at least 5 dollars. How much should Anthony give to Bret so that Bret has 10

Statistics Intermediate Probability

Option 1: You could simply list all the possibilities: wool + red wool + green wool + black. cotton + green cotton + black

12.1 Practice A. Name Date. In Exercises 1 and 2, find the number of possible outcomes in the sample space. Then list the possible outcomes.

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

CHAPTER 8 Additional Probability Topics

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Algebra 2 Notes Section 10.1: Apply the Counting Principle and Permutations

Section : Combinations and Permutations

4.1 Sample Spaces and Events

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

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

CS 237: Probability in Computing

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

CISC 1400 Discrete Structures

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Introductory Probability

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

Bellwork Write each fraction as a percent Evaluate P P C C 6

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ.

ACTIVITY 6.7 Selecting and Rearranging Things

Name Date. Probability of Disjoint and Overlapping Events For use with Exploration 12.4

Probability Quiz Review Sections

Transcription:

Sample Spaces, Events, Probability CS 3130/ECE 3530: Probability and Statistics for Engineers August 28, 2014

Sets A set is a collection of unique objects.

Sets A set is a collection of unique objects. Here objects can be concrete things (people in class, schools in PAC-12), or abstract things (numbers, colors).

Sets A set is a collection of unique objects. Here objects can be concrete things (people in class, schools in PAC-12), or abstract things (numbers, colors). Examples: A = {3, 8, 31}

Sets A set is a collection of unique objects. Here objects can be concrete things (people in class, schools in PAC-12), or abstract things (numbers, colors). Examples: A = {3, 8, 31} B = {apple, pear, orange, grape}

Sets A set is a collection of unique objects. Here objects can be concrete things (people in class, schools in PAC-12), or abstract things (numbers, colors). Examples: A = {3, 8, 31} B = {apple, pear, orange, grape} Not a valid set definition: C = {1, 2, 3, 4, 2}

Sets Order in a set does not matter! {1, 2, 3} = {3, 1, 2} = {1, 3, 2}

Sets Order in a set does not matter! {1, 2, 3} = {3, 1, 2} = {1, 3, 2} When x is an element of A, we denote this by: x A.

Sets Order in a set does not matter! {1, 2, 3} = {3, 1, 2} = {1, 3, 2} When x is an element of A, we denote this by: x A. If x is not in a set A, we denote this as: x / A.

Sets Order in a set does not matter! {1, 2, 3} = {3, 1, 2} = {1, 3, 2} When x is an element of A, we denote this by: x A. If x is not in a set A, we denote this as: x / A. The empty or null set has no elements: = { }

Sample Spaces A sample space is the set of all possible outcomes of an experiment. We ll denote a sample space as Ω.

Sample Spaces A sample space is the set of all possible outcomes of an experiment. We ll denote a sample space as Ω. Examples: Coin flip: Ω = {H, T}

Sample Spaces A sample space is the set of all possible outcomes of an experiment. We ll denote a sample space as Ω. Examples: Coin flip: Ω = {H, T} Roll a 6-sided die: Ω = {1, 2, 3, 4, 5, 6}

Sample Spaces A sample space is the set of all possible outcomes of an experiment. We ll denote a sample space as Ω. Examples: Coin flip: Ω = {H, T} Roll a 6-sided die: Ω = {1, 2, 3, 4, 5, 6} Pick a ball from a bucket of red/black balls: Ω = {R, B}

Some Important Sets

Some Important Sets Integers: Z = {..., 3, 2, 1, 0, 1, 2, 3,...}

Some Important Sets Integers: Z = {..., 3, 2, 1, 0, 1, 2, 3,...} Natural Numbers: N = {0, 1, 2, 3,...}

Some Important Sets Integers: Z = {..., 3, 2, 1, 0, 1, 2, 3,...} Natural Numbers: N = {0, 1, 2, 3,...} Real Numbers: R = any number that can be written in decimal form

Some Important Sets Integers: Z = {..., 3, 2, 1, 0, 1, 2, 3,...} Natural Numbers: N = {0, 1, 2, 3,...} Real Numbers: R = any number that can be written in decimal form 5 R, 17.42 R, π = 3.14159... R

Building Sets Using Conditionals

Building Sets Using Conditionals Alternate way to define natural numbers: N = {x Z : x 0}

Building Sets Using Conditionals Alternate way to define natural numbers: N = {x Z : x 0} Set of even integers: {x Z : x is divisible by 2}

Building Sets Using Conditionals Alternate way to define natural numbers: N = {x Z : x 0} Set of even integers: {x Z : x is divisible by 2} Rationals: Q = { p/q : p, q Z, q 0}

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B.

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples:

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples: {1, 9} {1, 3, 9, 11}

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples: {1, 9} {1, 3, 9, 11} Q R

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples: {1, 9} {1, 3, 9, 11} Q R {apple, pear} {apple, orange, banana}

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples: {1, 9} {1, 3, 9, 11} Q R {apple, pear} {apple, orange, banana} A for any set A

Subsets A set A is a subset of another set B if every element of A is also an element of B, and we denote this as A B. Examples: {1, 9} {1, 3, 9, 11} Q R {apple, pear} {apple, orange, banana} A for any set A A A for any set A (but A A)

Events An event is a subset of a sample space.

Events An event is a subset of a sample space. Examples:

Events An event is a subset of a sample space. Examples: You roll a die and get an even number: {2, 4, 6} {1, 2, 3, 4, 5, 6}

Events An event is a subset of a sample space. Examples: You roll a die and get an even number: {2, 4, 6} {1, 2, 3, 4, 5, 6} You flip a coin and it comes up heads : {H} {H, T}

Events An event is a subset of a sample space. Examples: You roll a die and get an even number: {2, 4, 6} {1, 2, 3, 4, 5, 6} You flip a coin and it comes up heads : {H} {H, T} Your code takes longer than 5 seconds to run: (5, ) R

Set Operations: Union The union of two sets A and B, denoted A B is the set of all elements in either A or B (or both).

Set Operations: Union The union of two sets A and B, denoted A B is the set of all elements in either A or B (or both). When A and B are events, A B means that event A or event B happens (or both).

Set Operations: Union The union of two sets A and B, denoted A B is the set of all elements in either A or B (or both). When A and B are events, A B means that event A or event B happens (or both). Example: A = {1, 3, 5} B = {1, 2, 3} an odd roll a roll of 3 or less

Set Operations: Union The union of two sets A and B, denoted A B is the set of all elements in either A or B (or both). When A and B are events, A B means that event A or event B happens (or both). Example: A = {1, 3, 5} B = {1, 2, 3} A B = {1, 2, 3, 5} an odd roll a roll of 3 or less

Set Operations: Intersection The intersection of two sets A and B, denoted A B is the set of all elements in both A and B.

Set Operations: Intersection The intersection of two sets A and B, denoted A B is the set of all elements in both A and B. When A and B are events, A B means that both event A and event B happen.

Set Operations: Intersection The intersection of two sets A and B, denoted A B is the set of all elements in both A and B. When A and B are events, A B means that both event A and event B happen. Example: A = {1, 3, 5} B = {1, 2, 3} an odd roll a roll of 3 or less

Set Operations: Intersection The intersection of two sets A and B, denoted A B is the set of all elements in both A and B. When A and B are events, A B means that both event A and event B happen. Example: A = {1, 3, 5} B = {1, 2, 3} A B = {1, 3} an odd roll a roll of 3 or less

Set Operations: Intersection The intersection of two sets A and B, denoted A B is the set of all elements in both A and B. When A and B are events, A B means that both event A and event B happen. Example: A = {1, 3, 5} B = {1, 2, 3} A B = {1, 3} an odd roll a roll of 3 or less Note: If A B =, we say A and B are disjoint.

Set Operations: Complement The complement of a set A Ω, denoted A c, is the set of all elements in Ω that are not in A.

Set Operations: Complement The complement of a set A Ω, denoted A c, is the set of all elements in Ω that are not in A. When A is an event, A c means that the event A does not happen.

Set Operations: Complement The complement of a set A Ω, denoted A c, is the set of all elements in Ω that are not in A. When A is an event, A c means that the event A does not happen. Example: A = {1, 3, 5} an odd roll

Set Operations: Complement The complement of a set A Ω, denoted A c, is the set of all elements in Ω that are not in A. When A is an event, A c means that the event A does not happen. Example: A = {1, 3, 5} A c = {2, 4, 6} an odd roll an even roll

Set Operations: Difference The difference of a set A Ω and a set B Ω, denoted A B, is the set of all elements in Ω that are in A and are not in B. Example: A = {3, 4, 5, 6} B = {3, 5} A B = {4, 6} Note: A B = A B c

DeMorgan s Law Complement of union or intersection: (A B) c = A c B c (A B) c = A c B c

DeMorgan s Law Complement of union or intersection: (A B) c = A c B c (A B) c = A c B c What is the English translation for both sides of the equations above?

Exercises Check whether the following statements are true or false. (Hint: you might use Venn diagrams.) A B A (A B) c = A c B A B B (A B) C = (A C) (B C)

Probability A probability function on a finite sample space Ω assigns every event A Ω a number in [0, 1], such that 1. P(Ω) = 1 2. P(A B) = P(A) + P(B) when A B = P(A) is the probability that event A occurs.

Equally Likely Outcomes The number of elements in a set A is denoted A.

Equally Likely Outcomes The number of elements in a set A is denoted A. If Ω has a finite number of elements, and each is equally likely, then the probability function is given by P(A) = A Ω

Equally Likely Outcomes The number of elements in a set A is denoted A. If Ω has a finite number of elements, and each is equally likely, then the probability function is given by P(A) = A Ω Example: Rolling a 6-sided die

Equally Likely Outcomes The number of elements in a set A is denoted A. If Ω has a finite number of elements, and each is equally likely, then the probability function is given by P(A) = A Ω Example: Rolling a 6-sided die P({1}) = 1/6

Equally Likely Outcomes The number of elements in a set A is denoted A. If Ω has a finite number of elements, and each is equally likely, then the probability function is given by P(A) = A Ω Example: Rolling a 6-sided die P({1}) = 1/6 P({1, 2, 3}) = 1/2

Repeated Experiments If we do two runs of an experiment with sample space Ω, then we get a new experiment with sample space Ω Ω = {(x, y) : x Ω, y Ω}

Repeated Experiments If we do two runs of an experiment with sample space Ω, then we get a new experiment with sample space Ω Ω = {(x, y) : x Ω, y Ω} The element (x, y) Ω Ω is called an ordered pair.

Repeated Experiments If we do two runs of an experiment with sample space Ω, then we get a new experiment with sample space Ω Ω = {(x, y) : x Ω, y Ω} The element (x, y) Ω Ω is called an ordered pair. Properties: Order matters: (1, 2) (2, 1) Repeats are possible: (1, 1) N N

More Repeats Repeating an experiment n times gives the sample space Ω n = Ω Ω (n times) = {(x 1, x 2,..., x n ) : x i Ω for all i}

More Repeats Repeating an experiment n times gives the sample space Ω n = Ω Ω (n times) = {(x 1, x 2,..., x n ) : x i Ω for all i} The element (x 1, x 2,..., x n ) is called an n-tuple.

More Repeats Repeating an experiment n times gives the sample space Ω n = Ω Ω (n times) = {(x 1, x 2,..., x n ) : x i Ω for all i} The element (x 1, x 2,..., x n ) is called an n-tuple. If Ω = k, then Ω n = k n.

Probability Rules

Probability Rules Complement of an event A: P(A c ) = 1 P(A)

Probability Rules Complement of an event A: P(A c ) = 1 P(A) Union of two overlapping events A B : P(A B) = P(A) + P(B) P(A B)

Exercise You are picking a number out of a hat, which contains the numbers 1 through 100. What are the following events and their probabilities? The number has a single digit The number has two digits The number is a multiple of 4 The number is not a multiple of 4 The sum of the number s digits is 5

Permutations A permutation is an ordering of an n-tuple. For instance, the n-tuple (1, 2, 3) has the following permutations: (1, 2, 3), (1, 3, 2), (2, 1, 3) (2, 3, 1), (3, 1, 2), (3, 2, 1)

Permutations A permutation is an ordering of an n-tuple. For instance, the n-tuple (1, 2, 3) has the following permutations: (1, 2, 3), (1, 3, 2), (2, 1, 3) (2, 3, 1), (3, 1, 2), (3, 2, 1) The number of unique orderings of an n-tuple is n factorial: n! = n (n 1) (n 2) 2

Permutations A permutation is an ordering of an n-tuple. For instance, the n-tuple (1, 2, 3) has the following permutations: (1, 2, 3), (1, 3, 2), (2, 1, 3) (2, 3, 1), (3, 1, 2), (3, 2, 1) The number of unique orderings of an n-tuple is n factorial: n! = n (n 1) (n 2) 2 How many ways can you rearrange (1, 2, 3, 4)?