Starting from the equality (B|A) = (A|B), you can solve for either conditional probability by dividing by the corresponding marginal probability. Dividing both sides by isolates P(A|B), giving P(A|B) = (B|A)/P(B).
Conditions: Both A and B have positive probability for the ordinary conditionals used here.; The algebraic rearrangement requires the denominators and to be nonzero.
Starting from the equality (B|A) = (A|B), you can solve for either conditional probability by dividing by the corresponding marginal probability. Dividing both sides by isolates P(A|B), giving P(A|B) = (B|A)/P(B).
Conditions: Both A and B have positive probability for the ordinary conditionals used here.; The algebraic rearrangement requires the denominators and to be nonzero.