# Linear algebra

If the thing is twice as big, the transformed version of the thing is also twice as big. {End}

April 6, 2011 — January 26, 2024

Oh! the hours I put in to studying the taxonomy and husbandry of matrices. Time has passed. I have forgotten much. Jacobians have begun to seem downright Old Testament.

And when you put the various operations of matrix calculus into the mix (derivative of trace of a skew-hermitian heffalump painted with a camel-hair brush) the combinatorial explosions of theorems and identities is intimidating.

Things I need:

## 1 Basic linear algebra intros

Jacob Ström, Kalle Åström, and Tomas Akenine-Möller, Immersive Math is an “The world’s first linear algebra book with fully interactive figures.”

Kevin Brown on Bras, Kets, and Matrices

Stanford CS229’s

*Linear Algebra Review and reference*(PDF)Fun: Tom Leinster, There are no non-trivial complex quarter turns but there are real ones, i.e.

for a linear operator T on a

*real*inner product space,\[ \langle T x, x \rangle = 0 \,\, \forall x \,\, \iff \,\, T^\ast = -T \]

whereas for an operator on a

*complex*inner product space,\[ \langle T x, x \rangle = 0 \,\, \forall x \,\, \iff \,\, T = 0. \]

Cool.

Sheldon Axler’s

*Down with Determinants!*. (Axler 1995) is a readable and intuitive introduction for undergrads:Without using determinants, we will define the multiplicity of an eigenvalue and prove that the number of eigenvalues, counting multiplicities, equals the dimension of the underlying space. Without determinants, we’ll define the characteristic and minimal polynomials and then prove that they behave as expected. Next, we will easily prove that every matrix is similar to a nice upper-triangular one. Turning to inner product spaces, and still without mentioning determinants, we’ll have a simple proof of the finite-dimensional Spectral Theorem.

Determinants are needed in one place in the undergraduate mathematics curriculum: the change of variables formula for multi-variable integrals. Thus at the end of this paper we’ll revive determinants, but not with any of the usual abstruse definitions. We’ll define the determinant of a matrix to be the product of its eigenvalues (counting multiplicities). This easy-to-remember definition leads to the usual formulas for computing determinants. We’ll derive the change of variables formula for multi-variable integrals in a fashion that makes the appearance of the determinant there seem natural.

He wrote a whole textbook on this basis, (Axler 2014).

a handy glossary is Mike Brooks’ Matrix reference manual

Singular Value Decomposition series, for its insight:

Most of the time when people talk about linear algebra even mathematicians), they’ll stick entirely to the linear map perspective or the data perspective, which is kind of frustrating when you’re learning it for the first time. It seems like the data perspective is just a tidy convenience, that it just“makes sense” to put some data in a table. In my experience the singular value decomposition is the first time that the two perspectives collide, and (at least in my case) it comes with cognitive dissonance.

Nigh Higham presents the Moore-Penrose pseudoinverse as a member of a family of pseudoinverses, Updated

## 2 Linear algebra and calculus

The multidimensional statistics/control theory workhorse.

See matrix calculus.

## 3 Multilinear Algebra

Oooh you are playing with tensors? I don’t have a bunch to say but here is a compact explanation of Einstein summation, which turns out to be as simple as it needs to be, but no simpler.

## 4 Fun tricks

John Cook on Sam Walter’s theorem on convex functions of eigenvalues and diagonals.

## 5 Eigenvectors-rom-eigenvalues

## 6 Incoming

- Intro to Lattices Continued: Matrices!
- James Propp, What is a Matrix? is a beautiful introduction to matrices via Fobonacci and Cayley and ancinet chinese arithmetic

## 7 References

*The American Mathematical Monthly*.

*Linear Algebra Done Right*.

*Journal of Machine Learning Research*.

*Lectures on Dynamic Systems and Control*.

*Bulletin of the American Mathematical Society*.

*Journal of the American Statistical Association*.

*Algebra, Topology, Diﬀerential Calculus, and Optimization Theory For Computer Science and Machine Learning*.

*Advances in Automatic Differentiation*.

*Http://Eprints.maths.ox.ac.uk/1079*.

*Matrices, Moments and Quadrature with Applications*.

*Matrix Computations*.

*Kronecker Products and Matrix Calculus: With Applications*.

*Functions of Matrices: Theory and Computation*.

*The American Statistician*.

*Advances in Neural Information Processing Systems 31*.

*Matrix differential calculus with applications in statistics and econometrics*. Wiley series in probability and statistics.

*Randomized Algorithms for Matrices and Data*.

*Old and new matrix algebra useful for statistics*.

*Computing in Science & Engineering*.

*Perturbation theory of eigenvalue problems*.

*A Matrix Handbook for Statisticians*.

*SIAM Review*.

*Problems and Solutions in Introductory and Advanced Matrix Calculus*.

*Matrix Calculus and Zero-One Matrices: Statistical and Econometric Applications*.