Understanding Matrix Operations from a Geometric Perspective
Understanding matrices through rows and columns, left and right multiplication, coordinate transformations, and the geometric meaning of systems of equations.
Unlike functions, matrices provide another way of organizing and operating on numbers or symbols. This raises several questions:
- If we already have functions, why do we need matrices?
- How are matrices and functions different, and how are they related (as two of the most fundamental mathematical tools)?
- What do abstract matrix operations actually mean, either physically or in the real world?
At present, I still cannot fully answer these questions, especially this one: functions and matrices are two fundamental “data structures” for describing relationships between quantities and how those relationships change, but what is the essential connection—and distinction—between them?
Symmetry Between Matrix Rows and Columns?
The rows and columns of a matrix are symmetric in many respects. For example, determinants satisfy , and row rank equals column rank. At the same time, rows and columns are asymmetric in many other respects. For example, matrix multiplication generally satisfies , and when solving systems of equations, we can only use row operations.
Why? Each individual question appears to have its own answer. But why? These should not be several unrelated, isolated facts; there ought to be a more general reason behind them.
Sometimes this reminds me of our left and right hands. Are they symmetric? They are symmetric in one sense, but asymmetric in another: no translation or rotation can make one hand coincide with the other. A similar phenomenon appears in the molecular structures studied in chemistry. Although the rows and columns of a matrix possess a natural symmetry, our definition of matrix multiplication introduces an asymmetry (otherwise, would be commutative).
This leads to another question: Why do different multiplication orders have different definitions? What real-world meaning lies behind this? Does it imply that matrix rows and columns are inherently asymmetric?
My current answer is that we must distinguish left from right. The same is true for the rows and columns of a matrix: we need to define operations on row vectors differently from operations on column vectors. That convention is matrix multiplication, and the distinction between left and right multiplication—together with the question of which object the matrix acts on—captures the difference between row and column operations. For example, can be viewed either as multiplying from the left or as multiplying from the right, while in a system of equations it can only be interpreted in one of these ways.
Because of the definition of matrix multiplication, consider right multiplication as an example of a column transformation:
- Write the matrix on the left in terms of its column vectors:
Then
Here, the entries of are scalars, while all the other quantities are vectors.
We can see that right-multiplying a collection of column vectors by a matrix produces another collection of column vectors, and each is a linear combination of the original vectors.
- Now write the matrix on the left in terms of its row vectors:
A problem now becomes apparent: the vectors cannot be written as linear combinations of the vectors, and their relationship becomes more complicated.
Comparing the two representations above, it is not difficult to see that the difference comes precisely from the rule that the upper-left entry of a product is obtained by taking the inner product of the first row of the matrix on the left with the first column of the matrix on the right. This naturally creates an asymmetry between left and right, making the distinction between left and right multiplication easier to understand.
P.S. Suppose we changed the rule for matrix multiplication. For example, in , imagine defining the upper-left entry of as the inner product of the first column of with the first row of , with all other entries defined correspondingly. The result would then be reversed.
P.P.S. The discussion above only uses “right multiplication produces a column transformation” as an example. The statement that left multiplication produces a row transformation follows by analyzing the matrix on the right; readers may verify this themselves.
Why Does the “Acting Matrix” Sometimes Appear on the Left and Sometimes on the Right of a Set of Column Vectors?
- When expressing or transforming a set of vectors, the column vectors appear on the left, while the acting matrix appears on the right:
If and are two bases of , then there exists a transition matrix such that
- In an eigenvalue problem, the eigenvectors form a collection of column vectors, while the acting matrix appears on the left:
Different Ways of Viewing Matrix Operations
In the previous section, I discussed matrix multiplication from the perspective of representing a set of vectors and explained the idea of “left for rows, right for columns.” But the issue is not that simple. What is a transformation? In the equation above, each is transformed by into . Is that not also a transformation?
There are therefore two ways to transform a set of vectors:
- Treat the set of vectors as a whole. Each transformed vector can be expressed linearly in terms of the original collection of vectors, and all the coefficients together form the transformation matrix .
- Treat the set of vectors merely as a “collection” whose members are independent of one another. Each transformed vector is obtained by applying to the corresponding original vector.
In the first equation, is the coefficient matrix used in the first kind of transformation. In the second equation, is the matrix used to find the eigenvectors and acts as the transformation in the second sense.
But this is not the end of the story: from another perspective, is !
Consider the following example. is a vector—that is, a collection of coordinates. In three-dimensional space, for example,
Suppose I have a “transformation matrix” that rotates the -axis of the original coordinate system by :
As for why takes this form, readers can verify it and review elementary transformation matrices. What, then, is in the new coordinate system? Clearly, the -coordinate becomes negative:
Here, corresponds to the in the equation above. In the change-of-basis equation, however, the same becomes the transformation-coefficient matrix and moves to the right of the column-vector set. The difference is that the column-vector set is now treated as a whole—a basis. In the following equation, gives the coordinates of in one basis, while gives its coordinates in another:
If the transition matrix from the basis to the basis is , then
A change of basis is also easy to understand. In the example above, the three basis vectors , , and of the original coordinate system are
The transformation by is
This simple example should make the apparently abstract process of changing bases and coordinates easier to understand.
Summary
So is it really “left for rows, right for columns”? Why does it sometimes seem otherwise? From the perspective of vector spaces, we can see the complete picture very clearly: it—the transformation matrix—is still the same thing; only our perspective has changed.
The transformation matrix used for a basis transformation and the transformation matrix used for a coordinate transformation are “the same.” But when it transforms a “basis” as a set and when it transforms a set of “coordinates,” we understand it from different perspectives, so naturally it sometimes appears on the left and sometimes on the right. More details about transformation matrices will be discussed in the next section.
Viewing Matrices Through Coordinate-System Transformations
In a fixed coordinate system, first means that the matrix applies a linear transformation to the vector , producing the vector . When is invertible, it maps one basis of the original space to another basis. We can therefore also understand as applying an invertible transformation to the entire -dimensional space. If we regard the transformed basis as a new basis, then also determines the relationship between the old and new coordinate systems. Note that describes an active transformation of a vector, whereas converting the coordinates of the same vector between the old and new coordinate systems usually involves . This extends the discussion of vector-space transformations in the previous section, “Different Ways of Viewing Matrix Operations.”
Invertible and Non-Invertible Transformations
An invertible matrix performs an invertible transformation of an -dimensional coordinate system without losing information, whereas a transformation by a non-invertible matrix cannot be undone:
Suppose an unknown vector is transformed into through , and both the invertible matrix and the vector are known. Then the original can always be recovered. If is not invertible, however, cannot be recovered.
In other words, after an invertible transformation , any two distinct vectors remain distinct; after a non-invertible transformation , there must be two distinct vectors that are transformed into the same vector.
Projection
A projection is a special kind of non-invertible coordinate transformation. For example, projecting the three-dimensional vector onto the -axis can be written as , where
Flipping / Reflection
As in the example in the previous section, reflecting the coordinate space across the plane reverses the -axis:
Scaling
Scaling is somewhat similar to reflection: it stretches or compresses the basis vector corresponding to a particular direction in an orthogonal basis. For example, suppose we compress the sphere along the -axis to form an ellipsoid. Then
Rotation
This is where the famously “terrifying” orthogonal matrix comes from. Suppose we preserve the scale of the original space and only rotate it. What properties must the transformation matrix have?
- The lengths of the vectors (coordinates) before and after the transformation must remain unchanged.
The Connection Between Coordinate Transformations and Calculus
A “complex” surface is often transformed from a simple one, such as a sphere. This reveals that a transformation is essentially an advanced form of substitution; conversely, substitution can be understood as a change of coordinate system.
Systems of Linear Equations and Intersections of Planes
Problem Statement
Suppose we have a system of three linear equations in three variables. Each equation can be viewed as the analytic equation of a plane. Solving the system therefore amounts to finding the common intersection of the three planes:
where are the three row vectors of the matrix . Each equation represents a plane in space, and the solution of the system is the common intersection of the three planes. For the coefficient matrix and the augmented matrix, we have
The former means that the system has a solution, while the latter means that it has no solution.
If the system is consistent, the dimension of its solution set is
We can therefore classify the possibilities according to .
Only one of the three row vectors is linearly independent. Without loss of generality, suppose
This means that the normal vectors of the three planes are parallel, so the planes can only coincide or be parallel.
: The Three Planes Coincide
In this case, the augmented matrix introduces no additional linearly independent column, and the constants satisfy the same proportional relationships:

The system can be written as
The three equations describe the same plane, so the solution set is that plane. Its dimension is , and the system has infinitely many solutions.
: At Least Two Planes Are Parallel but Do Not Coincide
In this case, at least one constant fails to satisfy the original proportional relationship. For example,
Taking the second plane as an example, divide both sides of its equation by to obtain
It has the same normal vector as the first plane but a different constant on the right-hand side, so the two planes are parallel and do not coincide. If the direction of is taken as positive, their signed distance is
Therefore, the three planes have no common intersection, and the system has no solution.

Exactly two of the three normal vectors are linearly independent. Without loss of generality, suppose and are linearly independent, and let
: The Three Planes Intersect Along the Same Line
When the system is consistent, the constants must satisfy the same linear relationship:
The first two planes intersect along a line, and the third plane contains that line. Therefore, the common intersection of the three planes is a line. The dimension of the solution set is , so the system still has infinitely many solutions.

: The Three Planes Have No Common Intersection
If
then the third plane has been translated away from the position in which it would contain the intersection line of the first two planes, so it no longer passes through that line. The three planes may intersect pairwise, or two of them may be parallel, but they have no common intersection. Therefore, the system has no solution.

The three normal vectors are linearly independent. Since the augmented matrix has only three rows, we necessarily have
The matrix is invertible, and the system has a unique solution for every :
Geometrically, the three planes intersect at exactly one point, and the dimension of the solution set is . In particular, when , this intersection point is the origin.
