Bayes’ theorem states that, if A1,A2,…,An are mutually exclusive and exhaustive events in a sample space s, such that P(Ai)>0 for i=1,2,…,n and E is any event which is subset of ⋃i=1nAiwithP(E)>0 , then
P(Ak∣E)=∑i=1nP(Ai)×P(E∣Ai)P(Ak)×P(E∣Ak) for k=1,2,3…n .
Proof:
Since A1,A2,...An are mutually exclusive and exhaustive events in a sample space s, we have ⋃i=1nAi….s
Since A1,A2,A3...An are mutually disjointed, E∩A1,E∩A2,E∩A3,…E∩An are mutually disjointed.
P(E)=P(E∩S)=P[E∩(⋃i=1nAi)]=P(⋃i=1nE∩Ai)=∑i=1nP(E∩Ai)=∑i=1nP(Ai)×P(E∣Ai)
by multiplication theorem of probability.
Also we have, for k = 1, 2,….,n
P(E∩Ak)=P(E)×P(Ak∣E)P(Ak∣E)=P(E)P(E∩Ak)=∑i=1nP(Ai)×P(E∣Ai)P(Ak)×P(E∣Ak)
Comments