Counting and Probability. Counting Elements of Sets Theorem. The Inclusion/Exclusion Rule for Two or Three Sets If A, B, and C are finite sets, then N(A.

Slides:



Advertisements
Similar presentations
Basic Terms of Probability Section 3.2. Definitions Experiment: A process by which an observation or outcome is obtained. Sample Space: The set S of all.
Advertisements

Section 2 Union, Intersection, and Complement of Events, Odds
Probability Predictions Ch. 1, Act. 5. Probability The study of random events. Random events are things that happen without predictability – e.g. the.
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Mathematics.
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,
Basic Probability Sets, Subsets Sample Space Event, E Probability of an Event, P(E) How Probabilities are assigned Properties of Probabilities.
Discrete Structures Chapter 4 Counting and Probability Nurul Amelina Nasharuddin Multimedia Department.
Discrete Mathematics Lecture 7 More Probability and Counting Harper Langston New York University.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
1 Chapter 3 Set Theory Yen-Liang Chen Dept of Information Management National Central University.
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
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
A Survey of Probability Concepts Chapter 5. 2 GOALS 1. Define probability. 2. Explain the terms experiment, event, outcome, permutations, and combinations.
STATISTIC :PROBABILITY Experiment Any operation or procedure whose outcome cannot be predicted with certainty. Outcomes for an experiment is called sample.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Chapter 3 Section 3.2 Basic Terms of Probability.
Discrete Mathematical Structures (Counting Principles)
9.3 Addition Rule. The basic rule underlying the calculation of the number of elements in a union or difference or intersection is the addition rule.
Chapter 7 With Question/Answer Animations. Section 7.1.
EXERCISE 10 Februari 2010.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.1,
Advanced Precalculus Advanced Precalculus Notes 12.3 Probability.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Review Homework pages Example: Counting the number of heads in 10 coin tosses. 2.2/
Section 2 Union, Intersection, and Complement of Events, Odds
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Basic Concepts of Probability
Probability. What is probability? Probability discusses the likelihood or chance of something happening. For instance, -- the probability of it raining.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
Chapter 7: Probability Lesson 1: Basic Principles of Probability Mrs. Parziale.
3.4 Elements of Probability. Probability helps us to figure out the liklihood of something happening. The “something happening” is called and event. The.
Section 7.1. Probability of an Event We first define these key terms: An experiment is a procedure that yields one of a given set of possible outcomes.
Experiments, Outcomes and Events. Experiment Describes a process that generates a set of data – Tossing of a Coin – Launching of a Missile and observing.
3/7/20161 Now it’s time to look at… Discrete Probability.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
Counting and Probability. Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. Below are the results after 50 tosses Tossing.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
Chapter 7. Section 7.1 Finite probability  In a lottery, players win a large prize when they pick four digits that match, in the correct order, four.
Now it’s time to look at…
Discrete Mathematics Lecture 8 Probability and Counting
What Is Probability?.
Chapter 6: Discrete Probability
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Subtopic : 10.1 Events and Probability
PROBABILITY AND PROBABILITY RULES
9. Counting and Probability 1 Summary
Conditional Probability
PROBABILITY The probability of an event is a value that describes the chance or likelihood that the event will happen or that the event will end with.
Now it’s time to look at…
CONDITIONAL PROBABILITY
Probability.
Chapter 4 Section 1 Probability Theory.
Sets A set is simply any collection of objects
Now it’s time to look at…
Now it’s time to look at…
7.2 Union, intersection, complement of an event, odds
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Counting and Probability

Counting Elements of Sets Theorem. The Inclusion/Exclusion Rule for Two or Three Sets If A, B, and C are finite sets, then N(A  B) = N(A) + N(B) – N(A  B) and N(A  B  C) = N(A) + N(B) + N(C) – N(A  B) – N(A  C) – N(B  C) + N(A  B  C)

Example 1 In a class of 50 college freshmen, 30 are studying BASIC, 25 studying PASCAL, and 10 are studying both. How many freshmen are studying either computer language? A: set of freshmen study BASIC B: set of freshmen study PASCAL N(A  B) = N(A)+N(B)-N(A  B) = – 10 =

Example 2 A professor takes a survey to determine how many students know certain computer languages. The finding is that out of a total of 50 students in the class, 30 know Java; 18 know C++ 26 know SQL 9 know both Java and C++ 16 know both Java and SQL 8 know both C++ and SQL 47 know at least one of the 3 languages.

Example 2 a. How many students know none of the three languages? b. How many students know all three languages? c. How many students know Java and C++ but not SQL? How many students know Java but neither C++ nor SQL Answer: a. 50 – 47 = 3

Example 2 J = the set of students who know Java C = the set of students who know C++ S = the set of students who know SQL Use Inclusion/Exclusion rule.

Discrete Probability The probability of an event is the likelihood that event will occur. “ Probability 1 ” means that it must happen while probability 0 means that it cannot happen E.g.: the probability of … “ Manchester United defeat Liverpool this season” is 1 “ Liverpool win the Premier League this season ” is 0 Events which may or may not occur are assigned a number between 0 and 1.

Discrete Probability Consider the following problems: What ’ s the probability of tossing a coin 3 times and getting all heads or all tails? What ’ s the probability that a list consisting of n distinct numbers will not be sorted? Set cardinalities are useful.

Discrete Probability An experiment is a process that yields an outcome. A sample space is the set of all possible outcomes of a random process. An event is an outcome or combination of outcomes from an experiment. An event is a subset of a sample space. Examples of experiments: - Rolling a six-sided die - Tossing a coin.

Example EG: What ’ s the probability of tossing a coin 3 times and getting all heads or all tails? Can consider set of ways of tossing coin 3 times: S = {HHH,HHT,HTH,HTT,THH,THT,TTH,TTT} S is called a sample space. Next, consider set of ways of tossing all heads or all tails: E = {HHH,TTT} E is called the event. Assuming all outcomes equally likely to occur Definition: The probability of the event E is the ratio p (E ) = |E | / |S | EG: Our case: p (E ) = 2/8 = 0.25

Example Five microprocessors are randomly selected from a lot of 1000 microprocessors among which 20 are defective. Find the probability of obtaining no defective microprocessors. There are C(1000,5) ways to select 5 micros. There are C(980,5) ways to select 5 good micros. The prob. of obtaining no defective micros is C(980,5)/C(1000,5) = 0.904

Question ???

Probability of combinations of events Theorem. Let E 1 and E 2 be events in the sample space S. Then P(E 1  E 2 ) = P(E 1 ) + P(E 2 ) – P(E 1  E 2 ) E.g. What is the prob. that a positive integer selected at random from the set of positive integers not greater than 100 is divisible by either 2 or 5. E 1 : event that the integer selected is divisible by 2 E 2 : event that the integer selected is divisible by 5 P(E 1  E 2 ) = 50/ /100 – 10/100 = 3/5

Exercise Two fair dice are rolled. What is the probability that the sum of the numbers on the dice is 10?

THANK YOU