# Bayes' rule

Bayes' rule (also called Bayes' law or Bayes' identity) is a simple equation relating and :

Proof:
By definition, and . Multiplying by the denominators gives . Dividing by gives the result.