Introduction
In our last lesson, we uncovered a fundamental connection: the principal axes of variance in a dataset are precisely the eigenvectors of its covariance matrix. These eigenvectors provide the directions of the new coordinate system that best aligns with your data's natural spread. However, knowing the direction of an axis is only half the story. To perform meaningful dimensionality reduction, we also need to know which axes are the most important.
This lesson focuses on the other half of the eigen-puzzle: the eigenvalues. You will learn to interpret the eigenvalues of a covariance matrix not as abstract numbers, but as direct, quantitative measures of the variance captured along each principal axis. By the end of this lesson, you will be able to calculate the "explained variance" for each principal component, a crucial skill for deciding how to simplify complex biological data without losing the underlying signal.
The Magnitude of Spread: Eigenvalues as Variance
In the previous lesson, we established that the eigenvectors of the covariance matrix, , give us the directions of maximum variance. Their corresponding eigenvalues, , tell us the amount of variance in those directions.
Let's formalize this. The eigenvector equation is . In the last module, you understood this as a vector that is only scaled, not rotated, by the transformation . When is a covariance matrix, this scaling factor has a profound statistical meaning: the eigenvalue is the variance of the data when projected onto the direction of its corresponding eigenvector .
A simple derivation makes this connection explicit. The variance of data projected onto a unit vector is given by the quadratic form . Using the eigenvector equation, we can substitute with :
Since is a scalar, we can pull it out:
And since is a unit vector, its dot product with itself, , is 1. This leaves us with:
This elegant result proves that the variance along the principal axis defined by an eigenvector is exactly equal to its corresponding eigenvalue.
The following image provides a perfect visual for this. The eigenvectors () define the axes of the data cloud, while the eigenvalues () represent the amount of spread, or variance, along those axes. A larger eigenvalue means the data is more stretched out in that direction.

To solidify this geometric intuition, let's revisit a resource from our last lesson.
[PDF] A geometric interpretation of the covariance matrix
This document beautifully connects the algebraic properties of the covariance matrix to the geometric shape of the data.
Please review the section Eigendecomposition. Pay close attention to the sentences: "the largest eigenvector of the covariance matrix always points into the direction of the largest variance of the data, and the magnitude of this vector equals the corresponding eigenvalue" and "the eigenvalues represent the variance of the data along the eigenvector directions". This reinforces the core concept of today's lesson.
Quantifying Importance: Explained Variance
The true power of eigenvalues comes from their ability to rank the importance of each principal component. Since each eigenvalue represents the variance captured by its corresponding eigenvector, we can compare them to understand the data's structure.
The total variance in the dataset is simply the sum of all the individual eigenvalues: . This is a consequence of the fact that the trace of a matrix (the sum of its diagonal elements) is equal to the sum of its eigenvalues. For a covariance matrix, the trace is the sum of the individual feature variances.
This allows us to calculate the proportion of total variance explained by a single principal component, PC_i, associated with eigenvalue :
This fraction is a cornerstone of PCA. It tells you exactly how much "information" (in the sense of variance) you retain by keeping a particular component.
The following video from StatQuest provides an exceptionally clear, step-by-step walkthrough of this concept.
StatQuest: Principal Component Analysis (PCA), Step-by-Step
Josh Starmer's StatQuest videos are famous for making complex topics intuitive. This video is no exception. We'll focus on the part where he explicitly connects eigenvalues to variation.
Please watch these two key segments: Eigenvalues as Variation: Watch from the final review. He directly states that "eigenvalues are just measures of variation" and walks through a simple calculation showing how to determine the percentage of total variation accounted for by each principal component. Generalizing to Higher Dimensions: Watch the 3D example. This segment shows how the same principle applies in higher dimensions and how the calculated percentages inform the decision to create a 2D PCA plot, a common task in data exploration.
Application in Biology: The Scree Plot
In your computational biology work, you won't be dealing with 2 or 3 dimensions, but often thousands (e.g., expression levels of ~20,000 genes). Here, the concept of explained variance becomes critical for making sense of the data.
A standard tool for this is the scree plot. This is simply a bar chart of the eigenvalues, ordered from largest to smallest. It allows you to see at a glance how much variance is captured by each successive principal component.
Quantitative Understanding in Biology Principal ...
This document is written for a biological audience and explains how to interpret PCA results in that context. It's an ideal resource for connecting this mathematical concept to your project goals.
Please read the section titled Interpreting the PCA Results. Pay special attention to: The confirmation that the fraction of variance is related to the eigenvalues. The introduction of the scree plot and its name's geological origin. The discussion of how to use a scree plot to distinguish "real structure" (signal) from "noise". The point where the plot's slope flattens out is often called the "elbow," and it's a common heuristic for deciding how many components are meaningful.
When you analyze a scree plot for your ALL vs. AML gene expression data, you're looking for an "elbow." The principal components before the elbow likely represent significant biological processes or batch effects that drive the major variations in your data. The components after the elbow, with their small eigenvalues, likely represent random noise. Deciding where this elbow is allows you to make an informed tradeoff: you reduce the dimensionality of your data enough to manage it computationally, but not so much that you discard the components that differentiate cancer subtypes.

Conclusion
In this lesson, we completed our understanding of the covariance matrix's eigendecomposition and its central role in PCA.
Key Takeaways:
- Eigenvalues Quantify Variance: The eigenvalue associated with an eigenvector of a covariance matrix is the exact variance of the data projected onto that eigenvector's direction.
- Ranking Importance: A larger eigenvalue signifies a principal component that captures more of the data's total variance.
- Explained Variance: The fraction of total variance captured by a principal component is its eigenvalue divided by the sum of all eigenvalues. This is the key metric for deciding how many components to retain.
- The Scree Plot: This is an essential visualization tool that plots the eigenvalues in descending order, helping to distinguish meaningful "signal" from "noise" and guide dimensionality reduction.
You now understand how to find the principal axes of your data (eigenvectors) and how to measure their importance (eigenvalues). The next logical step is to use this knowledge to perform the actual dimensionality reduction. In our next lesson, we will see how to project your high-dimensional data onto the new, lower-dimensional subspace defined by the top principal components, creating the PCA plots you've likely seen in research papers.