bayes theorem

Input interpretation

Bayes' theorem (mathematical problem)

Statement

Bayes' theorem states that P(A_i|A) = P(A_i)P(A|A_i)/( sum_(j=1)^NP(A_j)P(A|A_j)), where P(A_i) is the probability of an event A_i, P(A_i|A) is the conditional probability of A_i given that A has already occurred, the events are disjoint, and union _(i = 1)^NA_i = A.