This document outlines a teaching activity to introduce students to principal component analysis (PCA). It involves having students implement PCA step-by-step on the MNIST handwritten digit dataset to visualize and cluster the images. The activity aims to help students build an intuitive understanding of linear algebra operations and their connection to neuronal models and brain function. Specifically, students will reshape and center the data, construct the covariance matrix, perform singular value decomposition to obtain eigenvalues and eigenvectors, and project the data onto the resulting eigenvector basis.