SlideShare a Scribd company logo
Discrete Mathematics- CS 303
Aimhee Martinez
What real life situations would involve probability?
 Probability is the chance that something will
happen - how likely it is that some event will
happen. It is the likelihood that a given event
will occur.
 Sometimes you can measure a probability
with a number: "10% chance of rain", or you
can use words such as impossible, unlikely,
possible, even chance, likely and certain.
Example: "It is unlikely to rain tomorrow".
A scientific guess or estimate
that an event will happen, based
on a frequency of a large
number of trials.
◦ Empirical probability can be thought of as the
most accurate scientific "guess" based on the
results of experiments to collect data about an
event.
Ex. A cone shaped paper cup is tossed 1,000
times and it lands on its side 753 times, the
relative frequency which the cup lands on its
side is…
753/1000
◦ We estimate the probability of the cup landing on it’s side is
about 0.753 . This is a biased object because landing on its side
has a better chance than landing on its base.
Ex. Geologists say that the probability of a
major earthquake occurring the San Francisco
Bay area in the next 30 years is about 90%.
The number of ways that an event can
occur, divided by the total number of
outcomes in the sample space.
Prob. of Event =
s
number of ways event can occur
numberof possible outcome in sample space
1. An outcome is a result of a some activity.
Ex. Rolling a die has six outcomes:
1, 2, 3, 4, 5, 6
2. A sample space is a set of all possible
outcomes for an activity.
Ex. Rolling a die sample space: S = {1,2,3,4,5,6}
Tossing a coin: S = {H,T}
3. An event is any subset of a sample space.
Ex. Rolling a die:
the event of obtaining a 3 is E = {3},
the event of obtaining an odd # is
E = {1,3,5}
Find the probability of rolling an even # on one
toss of a die. (This is an unbiased object)
E = event of rolling even # = {2,4,6}
Number of ways it can happen: n(E) = 3
S = sample space of all outcomes = {1,2,3,4,5,6}
Number of possible outcomes: n(S) = 6
SO…
Probability of rolling an even number is
At a sporting goods store, skateboards
are available in 8 different deck designs.
Each deck design is available with 4
different wheel assemblies.
 How many skateboard choices does the
store offer? Lets make a tree diagram!
What else could you do to find the
solution?
Multiply # of deck designs by the number of
wheel assemblies
4•8 = 32 skateboard choices
If one event can occur in m ways and
another event can occur in n ways,
then the number of ways that both
events can occur together is m•n.
This principle can be extended to
three or more events.
If the possibilities being counted can be
divided into groups with no possibilities
in common, then the total number of
possibilities (outcomes) is the sum of the
numbers of possibilities in each group.
Suppose that we want to buy a computer from
one of two makes, Dell and Apple.
Suppose also that those makes have 12 and 18
different models, respectively. Then how
many models are there altogether to choose
from ?
Since we can choose one of 12 models of Dells or
one of 18 of Apples,
 there are all together 12 + 18 = 30 models to
choose from.
This is the Addition Principle of Counting.
Choosing one from given models of either make
is called an event and the choices for either
event are called the outcomes of the event.
Thus the event "selecting one from make Dell",
for example, has 12 outcomes.
How would we find the probability of choosing a
Dell?
12 Dells = 2
30 total choices 5
The probability of choosing a Dell would be:
2 = .4 = 40%
5
Codes- Every purchase made on a
company’s website is given a
randomly generated confirmation
code. The code consists of 3
symbols (letters and digits). How
many codes can be generated if at
least one letter is used in each?
To find the number of codes, find the sum of the
numbers of possibilities for 1-letter codes, 2-
letter codes and 3-letter codes.
1-letter: 26 choices for each letter and 10
choices for each digit. So 26•10•10 = 2600
letter-digit-digit possibilities. The letter can
be in any of the three positions , so there are
3•2600 = 7800 total possibilities.
2-letter: There are 26•26•10 = 6760 letter-
letter-digit possibilities. The letter can be in
any of the three positions , so there are
3•6760 = 20,280 total possibilities.
3-letter: There are 26•26•26 = 17,576
possibilities
Total Possibilities: 7800 + 20,280 + 17,576 =
45, 656 possible codes
Know your
DISCRETE Math
with other
Mathematics

More Related Content

What's hot

Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probabilityIkhlas Rahman
 
Probability
ProbabilityProbability
ProbabilitySiyavula
 
Probability for GCSE
Probability for GCSEProbability for GCSE
Probability for GCSESteve Bishop
 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probabilityrey castro
 
Use of binomial probability distribution
Use of binomial probability distributionUse of binomial probability distribution
Use of binomial probability distributionNadeem Uddin
 
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...Florin Neagu
 
03+probability+distributions.ppt
03+probability+distributions.ppt03+probability+distributions.ppt
03+probability+distributions.pptabhinav3874
 
Probability Overview
Probability OverviewProbability Overview
Probability Overviewmmeddin
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
Unit 11.2 theoretical probability
Unit 11.2 theoretical probabilityUnit 11.2 theoretical probability
Unit 11.2 theoretical probabilityMark Ryder
 
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quarti
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quartiSheet12325192021242723 mean22.75mean22.7550median23mode2325quarti
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quartiaryan532920
 
Mathematics PROBABILITY !!!!!!!!
Mathematics PROBABILITY !!!!!!!!Mathematics PROBABILITY !!!!!!!!
Mathematics PROBABILITY !!!!!!!!Sumit9910
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random VariablesSubhobrata Banerjee
 
Probability By Ms Aarti
Probability By Ms AartiProbability By Ms Aarti
Probability By Ms Aartikulachihansraj
 
Basic Probability
Basic Probability Basic Probability
Basic Probability kaurab
 
Stat lesson 4.2 rules of computing probability
Stat lesson 4.2 rules of computing probabilityStat lesson 4.2 rules of computing probability
Stat lesson 4.2 rules of computing probabilitypipamutuc
 

What's hot (20)

Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 
Probability
ProbabilityProbability
Probability
 
Probability for GCSE
Probability for GCSEProbability for GCSE
Probability for GCSE
 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probability
 
8 random variable
8 random variable8 random variable
8 random variable
 
Use of binomial probability distribution
Use of binomial probability distributionUse of binomial probability distribution
Use of binomial probability distribution
 
Probability+distribution
Probability+distributionProbability+distribution
Probability+distribution
 
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
Understanding statistics 2#1 Random Variation and Discrete Probability Distri...
 
03+probability+distributions.ppt
03+probability+distributions.ppt03+probability+distributions.ppt
03+probability+distributions.ppt
 
Probability Overview
Probability OverviewProbability Overview
Probability Overview
 
Probability
ProbabilityProbability
Probability
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
Unit 11.2 theoretical probability
Unit 11.2 theoretical probabilityUnit 11.2 theoretical probability
Unit 11.2 theoretical probability
 
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quarti
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quartiSheet12325192021242723 mean22.75mean22.7550median23mode2325quarti
Sheet12325192021242723 mean22.75mean22.7550median23mode2325quarti
 
Mathematics PROBABILITY !!!!!!!!
Mathematics PROBABILITY !!!!!!!!Mathematics PROBABILITY !!!!!!!!
Mathematics PROBABILITY !!!!!!!!
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random Variables
 
Probability
ProbabilityProbability
Probability
 
Probability By Ms Aarti
Probability By Ms AartiProbability By Ms Aarti
Probability By Ms Aarti
 
Basic Probability
Basic Probability Basic Probability
Basic Probability
 
Stat lesson 4.2 rules of computing probability
Stat lesson 4.2 rules of computing probabilityStat lesson 4.2 rules of computing probability
Stat lesson 4.2 rules of computing probability
 

Viewers also liked

Viewers also liked (6)

Effects of e instruction in Teaching Intro to IT
Effects of e instruction in Teaching Intro to ITEffects of e instruction in Teaching Intro to IT
Effects of e instruction in Teaching Intro to IT
 
Quasi Experimental Method
Quasi Experimental MethodQuasi Experimental Method
Quasi Experimental Method
 
Experimental research
Experimental researchExperimental research
Experimental research
 
Research Design
Research DesignResearch Design
Research Design
 
Experimental
ExperimentalExperimental
Experimental
 
Experimental research
Experimental research Experimental research
Experimental research
 

Similar to Principles of Counting

Pure ch20
Pure ch20Pure ch20
Pure ch20arbi
 
group1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfgroup1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfVenkateshPandiri4
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probabilitylovemucheca
 
Basic Counting Law Discrete Math Power Point Presentaton
Basic Counting Law Discrete Math Power Point PresentatonBasic Counting Law Discrete Math Power Point Presentaton
Basic Counting Law Discrete Math Power Point Presentatonedzhoroevastudy
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfsanjayjha933861
 
Classical probability
Classical probabilityClassical probability
Classical probabilityKen Kretsch
 
Rishabh sehrawat probability
Rishabh sehrawat probabilityRishabh sehrawat probability
Rishabh sehrawat probabilityRishabh Sehrawat
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
Skill20 probability
Skill20 probabilitySkill20 probability
Skill20 probabilitydware655
 
The probability life saver...
The probability life saver...The probability life saver...
The probability life saver...YogitaKolekar1
 
Pre-Cal 40S Slides May 21, 2008
Pre-Cal 40S Slides May 21, 2008Pre-Cal 40S Slides May 21, 2008
Pre-Cal 40S Slides May 21, 2008Darren Kuropatwa
 
Probability theory good
Probability theory goodProbability theory good
Probability theory goodZahida Pervaiz
 

Similar to Principles of Counting (20)

Pure ch20
Pure ch20Pure ch20
Pure ch20
 
group1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfgroup1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdf
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probability
 
Probability.pdf
Probability.pdfProbability.pdf
Probability.pdf
 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
 
Basic Counting Law Discrete Math Power Point Presentaton
Basic Counting Law Discrete Math Power Point PresentatonBasic Counting Law Discrete Math Power Point Presentaton
Basic Counting Law Discrete Math Power Point Presentaton
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdf
 
Classical probability
Classical probabilityClassical probability
Classical probability
 
Rishabh sehrawat probability
Rishabh sehrawat probabilityRishabh sehrawat probability
Rishabh sehrawat probability
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Probablity ppt maths
Probablity ppt mathsProbablity ppt maths
Probablity ppt maths
 
Skill20 probability
Skill20 probabilitySkill20 probability
Skill20 probability
 
The probability life saver...
The probability life saver...The probability life saver...
The probability life saver...
 
Probability
ProbabilityProbability
Probability
 
Pre-Cal 40S Slides May 21, 2008
Pre-Cal 40S Slides May 21, 2008Pre-Cal 40S Slides May 21, 2008
Pre-Cal 40S Slides May 21, 2008
 
probibility
probibilityprobibility
probibility
 
Probability theory good
Probability theory goodProbability theory good
Probability theory good
 
Probability 2
Probability 2Probability 2
Probability 2
 
Probability
ProbabilityProbability
Probability
 
PROBABILITY.pptx
PROBABILITY.pptxPROBABILITY.pptx
PROBABILITY.pptx
 

Recently uploaded

How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxJisc
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfkaushalkr1407
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxJisc
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptxJosvitaDsouza2
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismDeeptiGupta154
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfjoachimlavalley1
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxRaedMohamed3
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 

Recently uploaded (20)

How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

Principles of Counting

  • 1. Discrete Mathematics- CS 303 Aimhee Martinez
  • 2. What real life situations would involve probability?  Probability is the chance that something will happen - how likely it is that some event will happen. It is the likelihood that a given event will occur.  Sometimes you can measure a probability with a number: "10% chance of rain", or you can use words such as impossible, unlikely, possible, even chance, likely and certain. Example: "It is unlikely to rain tomorrow".
  • 3. A scientific guess or estimate that an event will happen, based on a frequency of a large number of trials. ◦ Empirical probability can be thought of as the most accurate scientific "guess" based on the results of experiments to collect data about an event.
  • 4. Ex. A cone shaped paper cup is tossed 1,000 times and it lands on its side 753 times, the relative frequency which the cup lands on its side is… 753/1000 ◦ We estimate the probability of the cup landing on it’s side is about 0.753 . This is a biased object because landing on its side has a better chance than landing on its base. Ex. Geologists say that the probability of a major earthquake occurring the San Francisco Bay area in the next 30 years is about 90%.
  • 5. The number of ways that an event can occur, divided by the total number of outcomes in the sample space. Prob. of Event = s number of ways event can occur numberof possible outcome in sample space
  • 6. 1. An outcome is a result of a some activity. Ex. Rolling a die has six outcomes: 1, 2, 3, 4, 5, 6 2. A sample space is a set of all possible outcomes for an activity. Ex. Rolling a die sample space: S = {1,2,3,4,5,6} Tossing a coin: S = {H,T} 3. An event is any subset of a sample space. Ex. Rolling a die: the event of obtaining a 3 is E = {3}, the event of obtaining an odd # is E = {1,3,5}
  • 7. Find the probability of rolling an even # on one toss of a die. (This is an unbiased object) E = event of rolling even # = {2,4,6} Number of ways it can happen: n(E) = 3 S = sample space of all outcomes = {1,2,3,4,5,6} Number of possible outcomes: n(S) = 6 SO… Probability of rolling an even number is
  • 8. At a sporting goods store, skateboards are available in 8 different deck designs. Each deck design is available with 4 different wheel assemblies.  How many skateboard choices does the store offer? Lets make a tree diagram!
  • 9. What else could you do to find the solution? Multiply # of deck designs by the number of wheel assemblies 4•8 = 32 skateboard choices
  • 10. If one event can occur in m ways and another event can occur in n ways, then the number of ways that both events can occur together is m•n. This principle can be extended to three or more events.
  • 11. If the possibilities being counted can be divided into groups with no possibilities in common, then the total number of possibilities (outcomes) is the sum of the numbers of possibilities in each group.
  • 12. Suppose that we want to buy a computer from one of two makes, Dell and Apple. Suppose also that those makes have 12 and 18 different models, respectively. Then how many models are there altogether to choose from ?
  • 13. Since we can choose one of 12 models of Dells or one of 18 of Apples,  there are all together 12 + 18 = 30 models to choose from. This is the Addition Principle of Counting. Choosing one from given models of either make is called an event and the choices for either event are called the outcomes of the event. Thus the event "selecting one from make Dell", for example, has 12 outcomes.
  • 14. How would we find the probability of choosing a Dell? 12 Dells = 2 30 total choices 5 The probability of choosing a Dell would be: 2 = .4 = 40% 5
  • 15. Codes- Every purchase made on a company’s website is given a randomly generated confirmation code. The code consists of 3 symbols (letters and digits). How many codes can be generated if at least one letter is used in each?
  • 16. To find the number of codes, find the sum of the numbers of possibilities for 1-letter codes, 2- letter codes and 3-letter codes. 1-letter: 26 choices for each letter and 10 choices for each digit. So 26•10•10 = 2600 letter-digit-digit possibilities. The letter can be in any of the three positions , so there are 3•2600 = 7800 total possibilities.
  • 17. 2-letter: There are 26•26•10 = 6760 letter- letter-digit possibilities. The letter can be in any of the three positions , so there are 3•6760 = 20,280 total possibilities. 3-letter: There are 26•26•26 = 17,576 possibilities Total Possibilities: 7800 + 20,280 + 17,576 = 45, 656 possible codes
  • 18. Know your DISCRETE Math with other Mathematics