I was going through Chuong B Do' notes on The Multivariate Gaussian Distribution. The multivariate Gaussian distribution according to it, is given as follows:
$p(x; \mu, \Sigma) = \frac{1}{(2\pi)^{n/2}|\Sigma|^{1/2}} \exp(-\frac{1}{2}(x − \mu)^{T}\Sigma^{−1}(x − \mu))$
While attempting to come up to this conclusion myself I got stuck at,
$P(x_1,x_2) = P(x_1)P(x_2) = \frac{1}{2\pi\sigma^{2}}\exp(-\frac{1}{2\sigma^{2}}((x_1 - \mu_{X_1})^{2} + (x_2 - \mu_{X_2})^{2}))$
How can I relate the two equation or rather generalize the second one to reach to first?