2 Bayes’ theorem
We again consider the conditional probability statement:
[maths rendering]
in which we have used the theorem of Total Probability to replace [maths rendering] . Now
[maths rendering]
Substituting this in the expression for [maths rendering] we immediately obtain the result
[maths rendering]
This is true for any event [maths rendering] and so, replacing [maths rendering] by [maths rendering] gives the result, known as Bayes’ theorem as
[maths rendering]