Preview Activity 7.2.1.
Letβs begin by looking at an example. Suppose we have three data points that form the demeaned data matrix
\begin{equation*}
A = \begin{bmatrix}
2 \amp 1 \amp -3 \\
1 \amp 2 \amp -3 \\
\end{bmatrix}\text{.}
\end{equation*}
(a)
Plot the demeaned data points in FigureΒ 7.2.1. In which direction does the variance appear to be largest and in which does it appear to be smallest?
A standard \(1\times1\) coordinate grid and set of axes. The horizontal and vertical ranges run from \(-4\) to \(4\text{.}\)
(b)
Construct the covariance matrix \(C\) and determine the variance in the direction of \(\twovec11\) and the variance in the direction of \(\twovec{-1}1\text{.}\)
(c)
What is the total variance of this dataset?
(d)
Generally speaking, if \(C\) is the covariance matrix of a dataset and \(\uvec\) is an eigenvector of \(C\) having unit length and with associated eigenvalue \(\lambda\text{,}\) what is \(V_{\uvec}\text{?}\)

