In probability theory and applications , Bayes ' theorem shows the relation between a conditional probability and its reverse form . In probability theory and applications , Bayes ' theorem shows how to determine inverse probabilities : knowing the conditional probability of A given B , what is the conditional probability of B given A ?