SlideShare a Scribd company logo
1 of 4
Download to read offline
Introduction to Probability Theory
Sample Space and Events: Set of all possible outcomes of an experiment is known
as the sample space of the experiment and is denoted by S. For some examples are given
below:
1. If the experiment consists of the flipping of a coin, then { , }S H T where H
means the outcome of the toss is a head and T means it is a tail.
2. If the experiment consists of rolling a die, then the sample space is
{1,2,3,4,5,6}S  .
3. If the experiments consists of flipping two coins, then the sample space consists
of the following four points:
{( , ),( , ),( , ),( , )}S H H H T T H T T .
4. If the experiment consists of rolling two dice, then the sample space consists of
the following 36 points:
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3)
S 
(6,4) (6,5) (6,6)
 
 
 
 
 
 
 
 
 
where the outcome (i , j) is said to occur if i appears on the first die and j on the
second die.
Any subset E of the sample space S is known as an event. Some examples are given
below:
1. If {2,4,6}E  then E would be the event that an even number appears on the roll
of a die.
2. If {( , ),( , )}E H H H T , then E is the event that a head appears on the first coin.
3. If {(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}E  , then E is the event that the sum of the
dice equals seven.
The event E F is often referred to as the union of the event E and the event F. For
example, if {1,3,5}E  and {1,2,3}F  then {1,2,3,5}E F  .
For any two events E and F, we may also define the new event EF, referred to as the
intersection of E and F. For example, if {1,3,5}E  and {1,2,3}F  then {1,3}E F  .
If EF   , then E and F are said to be mutually exclusive events.
For any event E we define the new event c
E , referred to as the complement of E, to
consist of all outcomes in the sample space S that are not in E. That is c
E will occur if and
only if E does not occur. For example, if {1,3,5}E  , then {2,4,6}c
E  .
Probabilities Defined on Events: Consider an experiment whose sample space is
S. For each event E of the sample space S, we assume that a number P(E) is defined and
satisfied the following three conditions:
 0 ( ) 1P E  .
 ( ) 1P S  .
 For any sequence of events 1 2, ,E E  that are mutually exclusive,
1 1
( )n n
n n
P E P E

 
 
 
 
 .
We refer to P(E) as the probability of the event E.
Since the events E and c
E are always mutually exclusive and since c
E E S  , we get
1 ( ) ( ) ( ) ( )c c
P S P E E P E P E     .
For any two not mutually exclusive events E and F, ( ) ( ) ( ) ( )P E F P E P F P EF    .
And if E and F are mutually exclusive events then, ( ) ( ) ( )P E F P E P F   .
that the first coin falls heads and F is the event that the second coin falls heads. The
probability that either the first or second coin falls heads is given by:
1 1 1 3
( ) ( ) ( ) ( ) 1 ({ , }) 1
2 2 4 4
P E F P E P F P EF P H H           .
We can also calculate the probability that any one of the three events E or F or G occurs.
This is done as follows:
( ) (( ) )
( ) ( ) (( ) )
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( )
P E F G P E F G
P E F P G P E F G
P E P F P EF P G P EG FG
P E P F P EF P G P EG P FG P EGFG
    
    
     
      
( ) ( ) ( ) ( ) ( ) ( ) ( )P E P F P G P EF P EG P FG P EFG      
In fact, it can be shown by induction that, for any n events 1 2, , nE E E
1 2
1 2
( )
( ) ( ) ( ) ( ) ( 1) ( )
n
n
i i j i j k i j k l n
i i j i j k i j k l
P E E E
P E P E E P E E E P E E E E P E E E
     
  
         

 
Conditional Probabilities: Suppose that we toss two dice and that each of the 36
outcomes is equally likely to occur and hence has probability 1/36. If we let E and F
denote respectively the event that the sum of the dice is six and the event that the first die
is four, then the probability just obtained is called the conditional probability that E
occurs given that F has occurred and is denoted by
( )
( | )
( )
P EF
P E F
P F
 .
Example 111: Suppose that we toss two coins and assume that each of the four outcomes in
the sample space, S {(H, H),(H,T),(T, H),(T,T)} is equally likely and hence has
probability ¼. Let E {(H,H),(H,T)} and F {(H,H),(T,H)}. That is E is the event
event that it is at least five. The desire probability is
1
( ) 110( | )
6( ) 6
10
P EF
P E F
P F
   .
1
2
, while if he takes
the chemistry course then he will receive an A grade with probability 1
3
. Peter decides
to base his decision on the flip of a fair coin. What is the probability that Peter will get an
A in chemistry?
Solution: If we let F be the event that Peter takes chemistry and E denote the event that
he receives an A in whatever course he takes, then the desired probability is
1 1 1
( ) ( ) ( | )
2 3 6
P EF P F P E F    .
balls and five white balls and so
6 7
( | ) and ( )
11 12
P E F P F  , our desired probability is
7 6 7
( ) ( ) ( | )
12 11 22
P EF P F P E F    .
Independent Events: Two events E and F are said to be independent if
( ) ( ) ( )P EF P E P F .
Two events E and F are not independent are said to be dependent.
The events 1 2, , , nE E E are said to be independent if for every subset 1 2, , , rE E E , r n
of these events 1 2 1 2( , , , ) ( ) ( ) ( )r rP E E E P E P E P E  .
Bayes’ Formula: Let E and F be events. We may express E as c
E EF EF 
because in order for a point to be in E, it must either be in both E and F or it must be in E
and not in F. Since and c
EF EF are obviously mutually exclusive, we have that
( ) ( ) ( ) ( | ) ( ) ( | ) ( ) ( | ) ( ) ( | )(1 ( ))c c c c
P E P EF P EF P E F P F P E F P F P E F P F P E F P F      
Example 112: Suppose cards numbered one through ten are placed in a hat, mixed up and
then one of the cards is drawn. If we are told that the number on the drawn card is at least
five, then what is the conditional probability that it is ten?
Solution: Let E denote the event that the number of the drawn card is ten and let F be the
Example 113: Peter can either take a course in computer or in chemistry. If Peter takes the
computer course, then he will receive an A grade with probability
Example 114: Suppose an urn contains seven black balls and five white balls. We draw two
balls from the urn without replacement. Assuming that each ball in the urn is equally
likely to be drawn, what is the probability that both balls are black?
Solution: Let F and E denote respectively the events that the first and second balls drawn are
black. Now, given that the first ball selected is black, there are six remaining black
Suppose that 1 2, , , nF F F are mutually exclusive events such that 1
n
ii
F S
 . In other
words, exactly on e of the events 1 2, , , nF F F will occur. By writing 1
n
ii
E EF
  and
using the fact that the events , 1,2, ,iEF i n  are mutually exclusive we obtain that
1
1
( ) ( ) ( | ) ( )
n
n
i i ii
i
P E P EF P E F P F

   . Suppose, E has occurred and we are interested
in determining which one of the jF also occurred. Thus, we have
1
( ) ( | ) ( )
( | )
( ) ( | ) ( )
j j j
j n
i ii
P EF P E F P F
P F E
P E P E F P F
 

is known as Bayes’ Formula.
☺Good Luck☺
   
       
 
   
2 1 1
( ) ( | ) ( ) 1 9 22 229 2 9( | )
5 52 1 1 1( ) ( ) 9 (22 45) 67
9 2 11 2 9 22
P HW P W H P H
P H W
P W P W
 
      
   
( ) ( | ) ( ) (0.95)(0.005) 95
( | ) 0.323
( ) ( | ) ( ) ( | ) ( ) (0.95)(0.005) (0.01)(0.995) 294c c
P DE P E D P D
P D E
P E P E D P D P E D P D
    
 
Example 115: Consider two urns. The first contains two white and seven black balls and the
second contains five white and six black balls. We flip a fair coin and then draw a ball
from the first urn or the second urn depending on whether the outcome was heads or tails.
What is the conditional probability that the outcome of the toss was heads given that a
white ball was selected?
Solution: Let W be the event that a white ball is drawn and let H be the event that the coin
comes up heads. The desire probability P(H |W ) may be calculated as follows:
Example 116: A laboratory blood test is 95 percent effective in detecting a certain disease
when it is, in fact, present. However, the test also yields a “false positive” result for 1
percent of the healthy persons tested. If 0.5 percent of the population actually has the
disease, what is the probability a person has the disease given that his test result is
positive?
Solution: Let D be the event that the tested person has the disease and E be the event that
his test result is positive. The desire probability P(D | E) is obtained by

More Related Content

What's hot

Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsaman1894
 
2.6 more computations of derivatives
2.6 more computations of derivatives2.6 more computations of derivatives
2.6 more computations of derivativesmath265
 
Higher Derivatives & Partial Differentiation
Higher Derivatives & Partial DifferentiationHigher Derivatives & Partial Differentiation
Higher Derivatives & Partial DifferentiationRaymundo Raymund
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDataminingTools Inc
 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms IiSri Prasanna
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variablesHadley Wickham
 
Machine learning (9)
Machine learning (9)Machine learning (9)
Machine learning (9)NYversity
 
Polya recurrence
Polya recurrencePolya recurrence
Polya recurrenceBrian Burns
 
Cs229 notes8
Cs229 notes8Cs229 notes8
Cs229 notes8VuTran231
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3MuhannadSaleh
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONDhrupal Patel
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lPepa Vidosa Serradilla
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notesRohan Bhatkar
 
partialderivatives
partialderivativespartialderivatives
partialderivativesyash patel
 

What's hot (20)

Ch5
Ch5Ch5
Ch5
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Ch6
Ch6Ch6
Ch6
 
2.6 more computations of derivatives
2.6 more computations of derivatives2.6 more computations of derivatives
2.6 more computations of derivatives
 
Ch 2
Ch 2Ch 2
Ch 2
 
Probability Theory 9
Probability Theory 9Probability Theory 9
Probability Theory 9
 
Higher Derivatives & Partial Differentiation
Higher Derivatives & Partial DifferentiationHigher Derivatives & Partial Differentiation
Higher Derivatives & Partial Differentiation
 
Ijetr011954
Ijetr011954Ijetr011954
Ijetr011954
 
Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Maths 11
Maths 11Maths 11
Maths 11
 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variables
 
Machine learning (9)
Machine learning (9)Machine learning (9)
Machine learning (9)
 
Polya recurrence
Polya recurrencePolya recurrence
Polya recurrence
 
Cs229 notes8
Cs229 notes8Cs229 notes8
Cs229 notes8
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 l
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
 
partialderivatives
partialderivativespartialderivatives
partialderivatives
 

Similar to Probability Basics and Bayes' Theorem

Intro probability 1
Intro probability 1Intro probability 1
Intro probability 1Phong Vo
 
Probability PART 1 - X NCERT
Probability PART 1 - X NCERTProbability PART 1 - X NCERT
Probability PART 1 - X NCERTSudheerVenkat2
 
Indefinite integration class 12
Indefinite integration class 12Indefinite integration class 12
Indefinite integration class 12nysa tutorial
 
Brian Prior - Probability and gambling
Brian Prior - Probability and gamblingBrian Prior - Probability and gambling
Brian Prior - Probability and gamblingonthewight
 
Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probabilityindianeducation
 
1616 probability-the foundation of probability theory
1616 probability-the foundation of probability theory1616 probability-the foundation of probability theory
1616 probability-the foundation of probability theoryDr Fereidoun Dejahang
 
Note 1 probability
Note 1 probabilityNote 1 probability
Note 1 probabilityNur Suaidah
 
Making probability easy!!!
Making probability easy!!!Making probability easy!!!
Making probability easy!!!GAURAV SAHA
 
Ncert class-10-mathematics-chapter-15
Ncert class-10-mathematics-chapter-15Ncert class-10-mathematics-chapter-15
Ncert class-10-mathematics-chapter-15GayatriMakwana1
 
Basic Concepts of Probability - PowerPoint Presentation For Teaching
Basic Concepts of Probability - PowerPoint Presentation For TeachingBasic Concepts of Probability - PowerPoint Presentation For Teaching
Basic Concepts of Probability - PowerPoint Presentation For Teachingbanot10262002
 
Statistical Analysis with R -II
Statistical Analysis with R -IIStatistical Analysis with R -II
Statistical Analysis with R -IIAkhila Prabhakaran
 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probabilityrey castro
 

Similar to Probability Basics and Bayes' Theorem (20)

Probability
ProbabilityProbability
Probability
 
Intro probability 1
Intro probability 1Intro probability 1
Intro probability 1
 
Probability PART 1 - X NCERT
Probability PART 1 - X NCERTProbability PART 1 - X NCERT
Probability PART 1 - X NCERT
 
Indefinite integration class 12
Indefinite integration class 12Indefinite integration class 12
Indefinite integration class 12
 
Brian Prior - Probability and gambling
Brian Prior - Probability and gamblingBrian Prior - Probability and gambling
Brian Prior - Probability and gambling
 
Probability Theory 8
Probability Theory 8Probability Theory 8
Probability Theory 8
 
Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probability
 
1616 probability-the foundation of probability theory
1616 probability-the foundation of probability theory1616 probability-the foundation of probability theory
1616 probability-the foundation of probability theory
 
Probability[1]
Probability[1]Probability[1]
Probability[1]
 
Probability Theory 5
Probability Theory 5Probability Theory 5
Probability Theory 5
 
Note 1 probability
Note 1 probabilityNote 1 probability
Note 1 probability
 
Making probability easy!!!
Making probability easy!!!Making probability easy!!!
Making probability easy!!!
 
Probability Review
Probability ReviewProbability Review
Probability Review
 
Ncert class-10-mathematics-chapter-15
Ncert class-10-mathematics-chapter-15Ncert class-10-mathematics-chapter-15
Ncert class-10-mathematics-chapter-15
 
Basic Concepts of Probability - PowerPoint Presentation For Teaching
Basic Concepts of Probability - PowerPoint Presentation For TeachingBasic Concepts of Probability - PowerPoint Presentation For Teaching
Basic Concepts of Probability - PowerPoint Presentation For Teaching
 
Statistical Analysis with R -II
Statistical Analysis with R -IIStatistical Analysis with R -II
Statistical Analysis with R -II
 
Course material mca
Course material   mcaCourse material   mca
Course material mca
 
Probability
ProbabilityProbability
Probability
 
Introduction of Probability
Introduction of ProbabilityIntroduction of Probability
Introduction of Probability
 
Probability..
Probability..Probability..
Probability..
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 

Probability Basics and Bayes' Theorem

  • 1. Introduction to Probability Theory Sample Space and Events: Set of all possible outcomes of an experiment is known as the sample space of the experiment and is denoted by S. For some examples are given below: 1. If the experiment consists of the flipping of a coin, then { , }S H T where H means the outcome of the toss is a head and T means it is a tail. 2. If the experiment consists of rolling a die, then the sample space is {1,2,3,4,5,6}S  . 3. If the experiments consists of flipping two coins, then the sample space consists of the following four points: {( , ),( , ),( , ),( , )}S H H H T T H T T . 4. If the experiment consists of rolling two dice, then the sample space consists of the following 36 points: (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2) (6,3) S  (6,4) (6,5) (6,6)                   where the outcome (i , j) is said to occur if i appears on the first die and j on the second die. Any subset E of the sample space S is known as an event. Some examples are given below: 1. If {2,4,6}E  then E would be the event that an even number appears on the roll of a die. 2. If {( , ),( , )}E H H H T , then E is the event that a head appears on the first coin. 3. If {(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}E  , then E is the event that the sum of the dice equals seven. The event E F is often referred to as the union of the event E and the event F. For example, if {1,3,5}E  and {1,2,3}F  then {1,2,3,5}E F  . For any two events E and F, we may also define the new event EF, referred to as the intersection of E and F. For example, if {1,3,5}E  and {1,2,3}F  then {1,3}E F  . If EF   , then E and F are said to be mutually exclusive events. For any event E we define the new event c E , referred to as the complement of E, to consist of all outcomes in the sample space S that are not in E. That is c E will occur if and only if E does not occur. For example, if {1,3,5}E  , then {2,4,6}c E  .
  • 2. Probabilities Defined on Events: Consider an experiment whose sample space is S. For each event E of the sample space S, we assume that a number P(E) is defined and satisfied the following three conditions:  0 ( ) 1P E  .  ( ) 1P S  .  For any sequence of events 1 2, ,E E  that are mutually exclusive, 1 1 ( )n n n n P E P E           . We refer to P(E) as the probability of the event E. Since the events E and c E are always mutually exclusive and since c E E S  , we get 1 ( ) ( ) ( ) ( )c c P S P E E P E P E     . For any two not mutually exclusive events E and F, ( ) ( ) ( ) ( )P E F P E P F P EF    . And if E and F are mutually exclusive events then, ( ) ( ) ( )P E F P E P F   . that the first coin falls heads and F is the event that the second coin falls heads. The probability that either the first or second coin falls heads is given by: 1 1 1 3 ( ) ( ) ( ) ( ) 1 ({ , }) 1 2 2 4 4 P E F P E P F P EF P H H           . We can also calculate the probability that any one of the three events E or F or G occurs. This is done as follows: ( ) (( ) ) ( ) ( ) (( ) ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) P E F G P E F G P E F P G P E F G P E P F P EF P G P EG FG P E P F P EF P G P EG P FG P EGFG                        ( ) ( ) ( ) ( ) ( ) ( ) ( )P E P F P G P EF P EG P FG P EFG       In fact, it can be shown by induction that, for any n events 1 2, , nE E E 1 2 1 2 ( ) ( ) ( ) ( ) ( ) ( 1) ( ) n n i i j i j k i j k l n i i j i j k i j k l P E E E P E P E E P E E E P E E E E P E E E                       Conditional Probabilities: Suppose that we toss two dice and that each of the 36 outcomes is equally likely to occur and hence has probability 1/36. If we let E and F denote respectively the event that the sum of the dice is six and the event that the first die is four, then the probability just obtained is called the conditional probability that E occurs given that F has occurred and is denoted by ( ) ( | ) ( ) P EF P E F P F  . Example 111: Suppose that we toss two coins and assume that each of the four outcomes in the sample space, S {(H, H),(H,T),(T, H),(T,T)} is equally likely and hence has probability ¼. Let E {(H,H),(H,T)} and F {(H,H),(T,H)}. That is E is the event
  • 3. event that it is at least five. The desire probability is 1 ( ) 110( | ) 6( ) 6 10 P EF P E F P F    . 1 2 , while if he takes the chemistry course then he will receive an A grade with probability 1 3 . Peter decides to base his decision on the flip of a fair coin. What is the probability that Peter will get an A in chemistry? Solution: If we let F be the event that Peter takes chemistry and E denote the event that he receives an A in whatever course he takes, then the desired probability is 1 1 1 ( ) ( ) ( | ) 2 3 6 P EF P F P E F    . balls and five white balls and so 6 7 ( | ) and ( ) 11 12 P E F P F  , our desired probability is 7 6 7 ( ) ( ) ( | ) 12 11 22 P EF P F P E F    . Independent Events: Two events E and F are said to be independent if ( ) ( ) ( )P EF P E P F . Two events E and F are not independent are said to be dependent. The events 1 2, , , nE E E are said to be independent if for every subset 1 2, , , rE E E , r n of these events 1 2 1 2( , , , ) ( ) ( ) ( )r rP E E E P E P E P E  . Bayes’ Formula: Let E and F be events. We may express E as c E EF EF  because in order for a point to be in E, it must either be in both E and F or it must be in E and not in F. Since and c EF EF are obviously mutually exclusive, we have that ( ) ( ) ( ) ( | ) ( ) ( | ) ( ) ( | ) ( ) ( | )(1 ( ))c c c c P E P EF P EF P E F P F P E F P F P E F P F P E F P F       Example 112: Suppose cards numbered one through ten are placed in a hat, mixed up and then one of the cards is drawn. If we are told that the number on the drawn card is at least five, then what is the conditional probability that it is ten? Solution: Let E denote the event that the number of the drawn card is ten and let F be the Example 113: Peter can either take a course in computer or in chemistry. If Peter takes the computer course, then he will receive an A grade with probability Example 114: Suppose an urn contains seven black balls and five white balls. We draw two balls from the urn without replacement. Assuming that each ball in the urn is equally likely to be drawn, what is the probability that both balls are black? Solution: Let F and E denote respectively the events that the first and second balls drawn are black. Now, given that the first ball selected is black, there are six remaining black
  • 4. Suppose that 1 2, , , nF F F are mutually exclusive events such that 1 n ii F S  . In other words, exactly on e of the events 1 2, , , nF F F will occur. By writing 1 n ii E EF   and using the fact that the events , 1,2, ,iEF i n  are mutually exclusive we obtain that 1 1 ( ) ( ) ( | ) ( ) n n i i ii i P E P EF P E F P F     . Suppose, E has occurred and we are interested in determining which one of the jF also occurred. Thus, we have 1 ( ) ( | ) ( ) ( | ) ( ) ( | ) ( ) j j j j n i ii P EF P E F P F P F E P E P E F P F    is known as Bayes’ Formula. ☺Good Luck☺                   2 1 1 ( ) ( | ) ( ) 1 9 22 229 2 9( | ) 5 52 1 1 1( ) ( ) 9 (22 45) 67 9 2 11 2 9 22 P HW P W H P H P H W P W P W              ( ) ( | ) ( ) (0.95)(0.005) 95 ( | ) 0.323 ( ) ( | ) ( ) ( | ) ( ) (0.95)(0.005) (0.01)(0.995) 294c c P DE P E D P D P D E P E P E D P D P E D P D        Example 115: Consider two urns. The first contains two white and seven black balls and the second contains five white and six black balls. We flip a fair coin and then draw a ball from the first urn or the second urn depending on whether the outcome was heads or tails. What is the conditional probability that the outcome of the toss was heads given that a white ball was selected? Solution: Let W be the event that a white ball is drawn and let H be the event that the coin comes up heads. The desire probability P(H |W ) may be calculated as follows: Example 116: A laboratory blood test is 95 percent effective in detecting a certain disease when it is, in fact, present. However, the test also yields a “false positive” result for 1 percent of the healthy persons tested. If 0.5 percent of the population actually has the disease, what is the probability a person has the disease given that his test result is positive? Solution: Let D be the event that the tested person has the disease and E be the event that his test result is positive. The desire probability P(D | E) is obtained by