Bayes Rule

Let S_{1}, S_{2}, …, S_{n} be n mutually exclusive events whose union is the sample space S. Let B be an arbitrary event in S such that P(B)¹ 0. Then for j=1,2,…,n is