Back to Principal Component Analysis

Exercise 1

Avg difficulty 2.5

Suppose that Q=[−1/21/21/21/2],D1=[750074],D2=[100001]Q = \begin{bmatrix} -1/\sqrt{2} & 1/\sqrt{2} \\ 1/\sqrt{2} & 1/\sqrt{2} \\ \end{bmatrix}, \hspace{24pt} D_1 = \begin{bmatrix} 75 & 0 \\ 0 & 74 \end{bmatrix}, \hspace{24pt} D_2 = \begin{bmatrix} 100 & 0 \\ 0 & 1 \end{bmatrix} and that we have two datasets, one whose covariance matrix is C1=QD1QTC_1 = QD_1Q^T and one whose covariance matrix is C2=QD2QTC_2 = QD_2Q^T. For each dataset, find

  1. the total variance.

  2. the fraction of variance represented by the first principal component.

  3. a verbal description of how the demeaned data points appear when plotted in the plane.

Austin, Understanding Linear Algebra, §7.3 Principal Component Analysis, Exercise 1

AI Tutor

Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.