Sometimes we have too much data.
Sometimes we have too much information.
We can pick the best directions to show the data. This makes big groups easier to see. It can help us see how things are related.
Karl Pearson first made this idea in 1901. Harold Hotelling also worked on it later.
Scientists use this to study many things. They use it to look at tiny germs. They also use it to study the air.
It helps us turn many facts into just a few. This makes the data much simpler to use.
Sometimes we have too much information to see clearly.
PCA looks for the best directions in the data. These directions are called principal components. The first component shows the direction where the data is most spread out. This is called variance. The second component shows the next best direction. It must be at a right angle to the first one. This helps us turn many facts into just a few. We call this dimensionality reduction. It makes big groups easier to see on a simple graph. 
Karl Pearson invented PCA in 1901. Harold Hotelling also worked on it in the 1930s. Scientists use PCA in many fields. They use it to study genetics and the air. They also use it to study tiny germs. 
Imagine you are looking at a huge cloud of dots floating in space. Each dot represents a piece of information, but there are too many details to see a pattern.
To make PCA work, the math follows a specific set of steps. First, the data is centered by subtracting the average value from every point. This moves the middle of the data cloud to zero. Next, a special tool called a covariance matrix is used to see how the variables relate to each other. 
People have been using these ideas for a long time. Karl Pearson invented PCA in 1901. He was inspired by ideas in mechanics. Later, in the 1930s, Harold Hotelling developed the idea again on his own. 
There are many ways to use PCA in the real world. 

PCA helps us see connections that are otherwise hidden. It takes many different measurements and combines them into a few important ones. 
Principal Component Analysis, or PCA, is a powerful linear dimensionality reduction technique. It is used to simplify complex datasets by transforming many variables into a smaller set of new ones. This process is essential for exploratory data analysis, visualization, and data preprocessing. When scientists face a massive cloud of data points, they often struggle to see patterns. PCA solves this by finding a new coordinate system. In this new system, the directions are called principal components. These components capture the largest amounts of variation within the data.
The mechanism of PCA relies on a specific mathematical sequence. First, the data must be centered. This is done by subtracting the mean of each variable from its observed values. This shifts the data so that the center of the cloud sits at zero. Next, researchers compute a covariance matrix. This matrix describes how the different variables in the dataset change together. The core of the process involves finding the eigenvectors and eigenvalues of this matrix. The eigenvectors represent the directions of the principal components. They act as an orthonormal basis, meaning they are all at right angles to one another. The eigenvalues indicate the amount of variance captured by each corresponding direction. 
PCA works through a series of distinct, ordered stages. The first principal component is the direction that explains the most variance in the original variables. It is a linear combination of those variables that maximizes the spread of the projected data. The second principal component explains the most remaining variance after the first component is removed. This second direction must be orthogonal, or perpendicular, to the first. This process can continue through many iterations until all the variance in the dataset is explained. Each subsequent component captures less information than the one before it. This creates a hierarchy of importance among the new variables.
The history of PCA involves several key figures and different names. Karl Pearson invented the method in 1901. He designed it as an analogue to the principal axis theorem used in mechanics. Later, in the 1930s, Harold Hotelling independently developed the method. Because of his work, it is sometimes called the Hotelling transform in multivariate quality control. Depending on the scientific field, PCA goes by many different names. In signal processing, it is known as the discrete Karhunen–Loève transform. Meteorological scientists call it empirical orthogonal functions. Mechanical engineers often refer to it as proper orthogonal decomposition. 
Understanding the significance of PCA requires looking at how much information is retained. Scientists often use a tool called a scree plot to interpret their results. This plot shows the amount of explained variance for each component. A researcher looks for a point of inflexion, often called a "knee," in the plot. This knee indicates how many components should be kept to represent the data accurately. By choosing the right number of components, researchers can reduce dimensions while keeping the most important details. This allows them to turn high-dimensional data into simple, two-dimensional plots. 
There are many notable examples of PCA in various scientific disciplines. In population genetics, it can separate different lines of genetic descent. For instance, it can be used to analyze Y-chromosomal markers in individuals. In biology, PCA helps researchers study the microbiome. Atmospheric science uses PCA to understand complex weather patterns. It is also used in medical research, such as analyzing patterns in breast cancer studies. 
Finally, PCA is closely related to several other mathematical concepts. It is a simple type of eigenvector-based multivariate analysis. It shares a relationship with factor analysis, though factor analysis uses different assumptions about data structure. PCA is also linked to canonical correlation analysis, or CCA. While PCA describes the variance within a single dataset, CCA describes the cross-covariance between two different datasets. Additionally, PCA is related to singular value decomposition, which is a way to decompose a data matrix. These connections show how PCA fits into the broader world of linear algebra and statistics. 
🖼️ Images & Media (7)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.