The level sets (contours) where density is constant satisfy x12+4x22=C. This is the equation of an ellipse centered at (0,0).
Shape Description:
The ellipse has a semi-major axis along x1 (length proportional to σ1=1).
The semi-minor axis is along x2 (length proportional to σ2=0.5).
Effect: The density is "axis-aligned". Because σ1>σ2, the distribution is stretched along the x1 axis and compressed along the x2 axis. It looks like a flattened oval.
The contours satisfy x12+x22=C, which is the equation of a circle.
Shape Description:
The contours are perfect circles. The probability density falls off at the same rate in every direction from the center. The spread is symmetric (spherical in higher dimensions).
Eigenvalue Equation:
We are given Σvi=λivi for i=1,…,d.
Matrix Form:
We can stack the vectors vi into a matrix V=[v1,…,vd] and the scalars into a diagonal matrix Λ=diag(λ1,…,λd).
The set of equations Σvi=λivi becomes:
ΣV=VΛ
Orthogonality:
Since Σ is a symmetric matrix (covariance matrices are symmetric), its eigenvectors vi can be chosen to be orthonormal (mutually orthogonal and unit length).
Therefore, V is an orthogonal matrix, meaning VTV=I or V−1=VT.
Diagonalization:
Right-multiply the equation ΣV=VΛ by VT:
Define y:
Let y=VT(x−μ). Then its transpose is yT=(x−μ)TV.
Substitute y into the distance equation:
∥x−μ∥Σ2=yTΛ−1y
Result:
Since Λ is diagonal, yTΛ−1y=∥y∥Λ2.
This shows that in the coordinate system defined by y, the variables are uncorrelated (diagonal covariance Λ).
The relationship is x=Vy+μ (derived from y=VT(x−μ) by multiplying by V and adding μ).
Effect of transformation V (Rotation):
V contains the eigenvectors of Σ. Multiplying a vector y by an orthogonal matrix V performs a rotation (or reflection) of the coordinate system.
Specifically, the standard axes in y-space (where the Gaussian is axis-aligned) are rotated to align with the eigenvectors vi in x-space.
Effect of transformation μ (Translation):
Adding μ shifts the origin. The center of the distribution moves from 0 (in y-space if we consider centered y) to μ in x-space.
Summary:
To generate sample x, you take a sample y from an axis-aligned Gaussian, rotate it by V, and translate it by μ.
For λ1=1:
[−0.3750.3750.375−0.375][v11v12]=0⟹v11=v12.
Normalized eigenvector: v1=[2121]≈[0.7070.707]. (Direction of 45∘ line).
For λ2=0.25:
[0.3750.3750.3750.375][v21v22]=0⟹v21=−v22.
Normalized eigenvector: v2=[−2121]≈[−0.7070.707]. (Direction of 135∘ line).
Shape Description:
The eigenvalues are 1 and 0.25, which are identical to the variances in part (b).
Effect of Eigenvalues: They determine the lengths of the major and minor axes of the uncertainty ellipse. (Major axis length proportional to 1, minor to 0.25).
Effect of Eigenvectors: They determine the orientation. The ellipse from part (b) is rotated by 45∘ counter-clockwise. The distribution is elongated along the line x1=x2.