Answer.md
Pre-required Knowledge
-
Multivariate Gaussian Distribution PDF: The probability density function for a -dimensional Gaussian distribution with mean and covariance matrix is:
-
Likelihood Function: Assuming the samples are independent and identically distributed (i.i.d.), the likelihood function is:
-
Log-Likelihood Function: It is usually easier to maximize the log-likelihood:
-
Matrix/Vector Derivatives (Given in problem):
- . Since is symmetric, .
Step-by-Step Answer
-
Write down the Log-Likelihood Function:
-
Differentiate with respect to : We want to maximize w.r.t . We can ignore terms that do not depend on . Let . Using the chain rule and the derivative : Let . Then . The term is of the form . Since is symmetric, is symmetric. The derivative w.r.t is . So, .
Therefore:
-
Set the derivative to zero and solve for :
Assuming is positive definite (invertible), we can multiply by on the left:
Ideally, this is the sample mean.