Nam bio photo

Phan Hoang Nam

Doctoral researcher
Algebra and Number Theory
Lecturer
Posts and Telecommunications Institute of Technology, Ho Chi Minh City campus

Email
Facebook
Tan Phu, HCM City

Why Factorize Matrices?

09 Oct 2026

A matrix is often presented as a rectangular array of numbers. Yet its entries are only one way to describe a linear transformation. A factorization replaces one complicated matrix by several matrices with simpler, recognizable structures.

Why is this useful? Because a good factorization does more than rewrite a formula: it can simplify computation, reveal geometric information, and turn a problem about an arbitrary matrix into one about a few special classes.

This opening article introduces these three viewpoints. It also explains why factorization will mean something different—but closely related—when we later study products of elements in matrix groups.

1. From a matrix to simpler factors

A matrix factorization is an expression

\[A=A_1A_2\cdots A_k,\]

where the factors satisfy properties useful for the problem at hand. For example, they might be triangular, orthogonal, diagonal, unipotent, or involutions.

This is not merely the observation that every matrix can be multiplied by the identity. The point is to restrict the factors to a meaningful class, preferably one whose elements are easy to manipulate or understand.

Consider the real matrix

\[A=\begin{pmatrix}2&1\\1&2\end{pmatrix}.\]

We can describe this single matrix in several different ways. Each description answers a different question.

2. Solving linear systems: the LU viewpoint

For our example, direct multiplication verifies that

\[A= \underbrace{\begin{pmatrix}1&0\\ \frac12&1\end{pmatrix}}_{L} \underbrace{\begin{pmatrix}2&1\\0&\frac32\end{pmatrix}}_{U}.\]

The first factor is lower triangular; the second is upper triangular.

To solve $Ax=b$, we can successively solve $Ly=b$ and $Ux=y$. Both are triangular systems, handled by forward and backward substitution. This is especially useful when the same $A$ is used with many different right-hand sides.

For instance, if $b=(3,3)^T$, then $Ly=b$ gives $y=(3,3/2)^T$, and $Ux=y$ yields $x=(1,1)^T$.

The factorization also makes a determinant easy to compute: since $L$ has diagonal entries equal to $1$,

\[\det A=\det L\,\det U=2\cdot\frac32=3.\]

A qualification matters. Not every square matrix admits an $A=LU$ decomposition without row exchanges. In general, Gaussian elimination with pivoting leads to a form such as $PA=LU$, where $P$ is a permutation matrix. Choosing pivots also matters for numerical stability.

So LU provides a first answer to our question: factorization can replace a difficult operation by simpler, reusable ones.

3. Revealing geometry: Cholesky and spectral factorizations

The same matrix $A$ is symmetric and positive definite, since its eigenvalues are $3$ and $1$. Therefore it also has a Cholesky factorization:

\[A=CC^T,\qquad C=\begin{pmatrix} \sqrt2&0\\[2pt] 1/\sqrt2&\sqrt{3/2} \end{pmatrix}.\]

Here the extra property $A=CC^T$ reflects positivity, not just computational convenience.

We may also use an orthogonal change of basis. Set

\[Q=\frac1{\sqrt2}\begin{pmatrix}1&1\\1&-1\end{pmatrix}, \qquad D=\begin{pmatrix}3&0\\0&1\end{pmatrix}.\]

Then $Q^TQ=I_2$ and $A=QDQ^T$. In this form, the two eigendirections and their scaling factors are visible at once. For example, $A^m=QD^mQ^T$ for every nonnegative integer $m$.

The same matrix has thus appeared as $LU$, $CC^T$, and $QDQ^T$. These are not competing answers: they expose different aspects of the same linear transformation.

4. Which factorization should we choose?

There is no universally best factorization. The useful one depends on the goal and the hypotheses.

Factorization Typical form What it helps us do
LU $PA=LU$ Solve square linear systems with pivoting and reuse triangular factors
Cholesky $A=CC^T$ Exploit symmetry and positive definiteness
QR $A=QR$ Work with orthogonality, least-squares problems, and stable algorithms
Singular value decomposition (SVD) $A=U\Sigma V^T$ Analyze rank, singular values, and low-rank approximations

For real matrices, $Q$, $U$, and $V$ denote appropriate orthogonal matrices; the exact dimensions in QR and SVD depend on whether reduced or full forms are used.

A factorization may exist only under particular assumptions (as with Cholesky), or may exist broadly but be more costly than necessary for a specific task (as with SVD). A useful question is therefore not only “Can we factorize $A$?” but also “Which structural properties should its factors have?”

5. A second meaning: factorizations inside matrix groups

In numerical linear algebra, triangular and orthogonal factors are chosen mainly for computational reasons. In matrix group theory, the question shifts toward generating a group using specially constrained elements.

Let $G$ be a matrix group and let $S\subseteq G$. We ask whether an arbitrary $g\in G$ can be written as

\[g=s_1s_2\cdots s_k,\qquad s_i\in S.\]

If such an expression exists, its $S$-length is the smallest possible number of factors:

\[\ell_S(g)=\min\{k\geq 0: g=s_1\cdots s_k,\ s_i\in S\}.\]

The empty product is the identity. If no such expression exists, we set $\ell_S(g)=\infty$.

This leads to a different set of questions: Does $S$ generate $G$? Is there a bound on $\ell_S(g)$ that works for every $g$? Can we recognize and construct short expressions explicitly?

Three important types of factors will recur throughout this series:

  • An involution is a matrix $R$ with $R^2=I$.
  • A unipotent matrix is one for which $U-I$ is nilpotent. A particularly useful class satisfies $(U-I)^2=0$.
  • A commutator is an element of the form $[X,Y]=XYX^{-1}Y^{-1}$.

As a small example, for $t\in\mathbb R$ consider

\[T_t=\begin{pmatrix}1&t\\0&1\end{pmatrix} =I_2+\begin{pmatrix}0&t\\0&0\end{pmatrix}.\]

Its nilpotent part has square zero; hence $T_t$ is unipotent, has determinant $1$, and lies in $\mathrm{SL}_2(\mathbb R)$. A simple matrix like this can serve as an elementary factor in much more complicated products.

These group-theoretic factorizations are not the same as LU or SVD: the allowed factors and the questions being asked are different.

6. Why symplectic matrices enter the story

Let

\[J=\begin{pmatrix}0&I_n\\-I_n&0\end{pmatrix}.\]

A real $2n\times 2n$ matrix $M$ is symplectic when $M^TJM=J$. Such matrices form the group $\mathrm{Sp}_{2n}(\mathbb R)$.

For a symplectic matrix, we may seek factorizations that preserve the symplectic condition at each step. For example, we can ask how many symplectic involutions, symplectic unipotent matrices, or commutators of such matrices are needed to represent a general element.

This perspective differs from finding arbitrary triangular factors: a factorization may be algebraically correct without its individual factors remaining inside the symplectic group.

The later parts of this series explore precisely that distinction, moving from basic computations to questions about existence, minimal length, and explicit construction.

7. Two short exercises

Exercise 1. For $A=\begin{pmatrix}2&1\1&2\end{pmatrix}$, verify directly both $A=LU$ and $A=QDQ^T$ using the factors above. Explain which representation would make computing $A^{20}$ simpler.

Exercise 2. Show that $T_tT_s=T_{t+s}$ for all real $s,t$, and determine $T_t^{-1}$. What does this tell you about the family ${T_t:t\in\mathbb R}$?

Where the series goes next

This first article has highlighted two connected motivations: efficient computation and understanding structure. Next, we will examine Gaussian elimination more carefully and develop the LU and Cholesky decompositions, including the assumptions under which each exists.

For orientation, two standard references on classical matrix computations are:

  1. L. N. Trefethen and D. Bau III, Numerical Linear Algebra, SIAM, 1997. Publisher information.
  2. G. H. Golub and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, 2013. Publisher information.