“Linear algebra is the study of how grids of numbers represent and reshape space and data. In this system, a vector is either an arrow pointing to a location or a single list of measurements (like one person’s height, weight, and age), while a matrix is an active machine that transforms those vectors – where its columns tell you where your original grid lines land after being stretched or rotated, and its rows act as filters or individual data records.” – Linear algebra – Mathematics

The useful distinction is between a collection of numerical objects and the rules governing how those objects interact. A vector stores an ordered quantity, such as coordinates, measurements, coefficients, or a feature representation. A matrix stores a structured collection of coefficients, but its deeper role appears when multiplication makes it act on a vector. That action can rotate, stretch, compress, reflect, shear, project, or mix coordinates while preserving the two defining operations of linearity: addition and multiplication by a scalar.1

Geometrically, a vector may be pictured as an arrow, but that picture is only one interpretation. In statistics, a vector can encode one observation, a response variable, a parameter estimate, or a document embedding. In a data table, rows commonly represent observations and columns represent features, although the orientation can be reversed by convention. This flexibility is central: the same algebra can describe a position in space, a customer profile, an image, or the coefficients of a model. The numbers gain meaning from the chosen basis, units, ordering, and application rather than from their arrangement alone.2,3

A matrix represents a linear map once a basis has been chosen. If a transformation sends an input vector to an output vector, its matrix records what happens to each basis vector. Consequently, the columns are not merely vertical slices of a table: they are the transformed basis vectors. Any input can be reconstructed as a linear combination of the basis vectors, and linearity means that the transformation applies the same combination to the corresponding columns. A matrix with dimensions corresponding to an input space of dimension n and an output space of dimension m therefore has n columns and m rows.1

Rows have a complementary interpretation. Each row extracts a weighted combination of the input coordinates, so it can act as a linear filter, a measurement rule, or a constraint. In a data matrix, rows may instead be records, while columns are variables; this is a different use of the same rectangular arrangement rather than a contradiction. Matrix multiplication is valid only when the inner dimensions match, reflecting a meaningful compatibility between the output of one operation and the input of the next. Composition then becomes multiplication: applying one transformation followed by another is represented by a product such as BA\mathbf{v}.1

From calculation to structure

Linear algebra becomes more than a compact notation when it reveals invariant structure. The determinant of a square matrix measures oriented volume scaling. A determinant of zero signals that the transformation has collapsed at least one direction, making the matrix singular and preventing an ordinary inverse. This is the geometric counterpart of linear dependence: some rows or columns can be formed from others, so the transformation loses information. Determinants are useful for theory and small systems, although numerical algorithms generally avoid calculating them directly when solving large computational problems.

Eigenvalues and eigenvectors identify directions that behave simply under a transformation. A non-zero vector \mathbf{v} is an eigenvector of a square matrix A when A\mathbf{v}=\lambda\mathbf{v}, where \lambda is the associated eigenvalue. The direction is preserved, possibly reversed, while the magnitude is scaled by \lambda.3,5 These objects can expose stable modes, growth rates, oscillations, or dominant patterns. When enough independent eigenvectors exist, a matrix can sometimes be diagonalised, replacing a complicated interaction with separate scaling along special axes. Not every matrix permits this simplification, and complex eigenvalues or defective matrices mark important limits to the most elementary geometric picture.

In data analysis, the same ideas support dimensionality reduction and feature discovery. Principal component analysis examines the covariance structure of data and seeks directions along which variation is greatest. The eigenvectors provide the new axes, while their eigenvalues indicate how much variance each axis captures; larger eigenvalues correspond to directions carrying more of the observed variation.3 This can compress a high-dimensional dataset, remove redundancy, or make visualisation possible. The result is not automatically a discovery of causation. Principal components depend on scaling, preprocessing, and the variables included, so an apparently dominant direction may reflect measurement units or a mixture of several underlying influences.

Competing viewpoints and practical limits

There are several legitimate ways to understand the subject. The geometric school emphasises arrows, angles, projections, rotations, and volumes. The algebraic school focuses on systems of equations, rank, null spaces, bases, and changes of coordinates. The computational school asks whether an operation is stable, efficient, and scalable on actual hardware. The statistical school treats vectors and matrices as representations of uncertainty, observations, parameters, and relationships. These viewpoints overlap, but none should be treated as the whole discipline. A geometric intuition may fail in thousands of dimensions, while a purely symbolic derivation can conceal conditioning problems that determine whether a numerical answer is trustworthy.

Machine learning makes this distinction especially consequential. A model may store observations in a matrix, parameters in vectors, and successive transformations in products of matrices. Dot products measure alignment and support regression, similarity search, attention mechanisms, and classification. Singular value decomposition can separate a matrix into orthogonal directions and associated scales, making it useful for compression, denoising, least-squares problems, and low-rank approximation. Libraries perform these operations rapidly, but software does not remove the need to understand orientation, scaling, rank, sparsity, and numerical precision. A silent transpose or poorly scaled feature can produce results that are computationally valid yet substantively wrong.3

The continuing importance of linear algebra lies in this combination of abstraction and operational reach. It provides a common language for spatial transformations, simultaneous equations, optimisation, graphics, signal processing, quantum theory, statistics, and artificial intelligence. Its central lesson is not that every dataset is literally a shape in ordinary space. It is that structured numerical relationships can be represented, transformed, decomposed, and checked using a small set of coherent principles. Understanding what vectors mean, what matrices do, and which properties survive transformation is therefore more valuable than memorising isolated procedures. The framework remains powerful precisely because it links visual intuition, formal proof, and dependable computation.

 

References

1. 16.1 Matrices and Linear Transformations – https://math.mit.edu/~djk/18_022/chapter16/section01.html

2. Practical Guide to Linear Algebra in Data Science and AI – 2024-06-04 – https://www.freecodecamp.org/news/linear-algebra-roadmap/

3. What Is Linear Algebra for Machine Learning? – 2025-09-26 – https://www.ibm.com/think/topics/linear-algebra-for-machine-learning

4. Essential Linear Algebra for Data Science and Machine Learning – https://www.kdnuggets.com/2021/05/essential-linear-algebra-data-science-machine-learning.html

5. Eigenvalues and eigenvectors – Wikipedia – 2005-07-03 – https://en.wikipedia.org/wiki/Eigenvalues_and_eigenvectors

6. Linear Algebra for Data Science – https://www.kdnuggets.com/2022/07/linear-algebra-data-science.html

7. Matrix algebra for beginners, Part II linear transformations, eigenvectors … – https://vcp.upf.edu/papers/matrices-2.pdf

8. Linear Algebra Required for Data Science – 2024-04-18 – https://www.geeksforgeeks.org/data-science/linear-algebra-required-for-data-science/

9. Linear Transformations – Ximera – The Ohio State University – https://ximera.osu.edu/linearalgebra/textbook/linearTransformations/overview

10. Linear Algebra – A Powerful Tool for Data Science – https://www.math.purdue.edu/~brown00/LA-data-science.pdf

 

Global Advisors | Quantified Strategy Consulting
error: Content is protected !!