This is a continuation of my previous question.
I have two classes, $C_1$ and $C_2$.
$C_1$ is a bivariate Gaussian with mean $\mu = (0,0)$ and covariance $\Sigma = I$
$C_2$ is a bivariate Gaussian with mean $\mu = (1,3)$ and covariance $\Sigma = 2I$, where $I$ is the identity matrix.
I am trying to calculate $P(x|C_1)$ and $P(x|C_2)$ so I can eventually calculate $P(C|x)$
To calculate $P(x|C_1)$ and $P(x|C_2)$ this I'm using the formula for a bivariate normal distribution found here.
My covariance is zero, which makes this a little bit easier.
When I use this calculate $P(x|C_1)$ I have...
$z=x_1^2 - x_2^2$
$p=0$
$p(x_1,x_2) = (\frac{1}{2\pi})e^{-z/2}$
When I use this to calculate $P(x|C_2)$ I have...
$z=\frac{1}{4}( (x_1-1)^2 + (x_2-3)^2 )$
$p=0$
$p(x_1,x_2) = (\frac{1}{8\pi})e^{z/8}$
Did I do this correctly? Also, I'm a bit confused as to whether what I'm doing even gives me $P(x|C_1)$ and $P(x|C_2)$. I'm a bit over my head in the class I'm in, so if I'm totally wrong there please correct me.
Anyways, with these two values I'm supposed to calculate $P(C|x)$ using Bayes rule (I think). I have the priors of $C_1$ and $C_2$ (they are 0.4 and 0.6 respectively), but I'm lost exactly on how to calculate $P(C|x)$ with this.
Could somebody basically just check over some of my work and help me out with the process using Bayes rule to calculate $P(C|x)$?
EDIT: My end goal here is to calculate an optimal decision boundary between $C_1$ and $C_2$, if I'm going the complete wrong way here let me know, but from what I've gathered through time spent on this site, I think I'm headed the right way.
homework
tag. $\endgroup$