We can use the product rule to formulate conditional probability in the form:

A general version holds for joint distributions:

(we interpret this as set of equations, not using matrix math)