In Little & Rubin's Statistical Analysis with Missing Data page 115, The posterior probability of a parameter $\theta_1$ as in $\theta = (\theta_1, \theta_2)$ given observations $Y$ has been given as:
$$ p(\theta_1|Y) = \frac{\int p(\theta) L(\theta|Y).d\theta_2} {\int p(\theta) L(\theta|Y).d\theta} $$
where $L(\theta|Y) \propto P(Y|\theta)$ is the likelihood function.
I readlly don't understand how this equation is true. the only clue I've got is to start from the simple product rule $P(\theta|Y) = P(\theta_1|Y)P(\theta_2|Y)$ (assume independence). but then how to proceed?!