#Introduction

You know that old story about how, once Arabic numerals replaced Roman ones, mathematics started advancing by leaps and bounds?

The takeaway from this story is that sometimes a good notation or encoding system for something can have a significant effect on how people perceive it and how easily they can work with it.

This post describes a notation for bases, vectors and linear operators that makes it much easier to understand what the hell is actually going on in linear algebra.

#Abstract vector

Since school we've been used to thinking of a vector as a tuple of numbers, . But in linear algebra any vector is an abstract object with certain properties.

For example, we could have two vectors: orange juice, apple juice. Then the result of adding them could be: one-orange-two-apple juice.

The properties of a vector are given by the definition of a vector space.

#Notation

The text in dollar signs shows how to write it in TeX.

Number: a lowercase letter in a regular font, $x$, $y$, $z$: , , .

Abstract vector: a lowercase letter in a bold upright font, $\mathbf{x}$: .

Basis: a lowercase letter in blackboard bold, $\mathbb{e}$: 𝕖. It is a row vector of abstract vectors:

Linear operator: an uppercase letter in bold, $\mathbf{A}$: , always followed by parentheses.

Numeric vector: an abstract vector enclosed in square brackets, with the basis it is projected onto written as a subscript, $[\mathbf{x}]_\mathbb{e}$: . This is the vector in the basis . It is a column vector of numbers.

Any abstract vector can be written as:

These formulas define the correspondence between abstract and numeric vectors!

Note that we can introduce a basis . Then we can write the vector in terms of this basis:

In a different basis the numbers will be different, but the vector stays the same. Of course, in practice we'll never deal with abstract vectors and will always work with columns of numbers, but this is a convenient abstraction for denoting one and the same object.

Essentially, a numeric vector is the projection of an abstract vector onto a basis.

By the way, linear operations on a vector are equivalent to linear operations on its coordinate column:

#Change of basis

This is where the notation really shines, because with the standard notation this is the topic that causes the most confusion when solving problems.

Say we've managed to express the vectors of basis in terms of the vectors of basis :

And let's introduce the following matrix:

Then the original system is equivalent to each of the following:

is called the change-of-basis matrix from basis 𝕖 to basis 𝕒.

From the formulas we have, we can derive a few more useful ones:

With these formulas we now know how to convert numeric vectors from one basis to another.

#Linear operator

A linear operator is a function that takes a vector as input and returns a vector. The space of the first vector may differ from the space of the second one.

Mathematicians love to write , which means "the operator is applied to the vector". This notation drives me mad. It looks like multiplication, and you always have to know in advance that is a function.

This "operator" is called linear because it has the linearity properties (like almost everything in linear algebra).

So what is a linear operator in our world of numbers? It turns out you can prove that, for given bases, any linear operator comes down to a unique matrix! And the operation of "applying the operator to a vector" becomes multiplying that matrix by the vector.

That's exactly why I try not to write operator application without parentheses: otherwise we get even more chances to confuse the abstract operator with its matrix.

Note that the matrix depends on two bases: the input basis and the output basis! After all, the result might be a 50-dimensional vector while the input is 2-dimensional. Of course, in practice the input and the output are more often in the same basis and therefore have the same dimension. So I'll show the notation for exactly this case:

Let me stress it once again: a linear operator β‰  the matrix of the linear operator.

A linear operator is an abstract function, while a matrix is its concrete implementation as a set of numbers.

#Deriving the change-of-basis formula for the matrix of a linear operator

Say we know how a linear operator is represented in the basis :

And we need to get its matrix in the basis , that is, a matrix for which the following equality holds:

For the derivation we'll need the following:

We substitute the first two formulas into the third:

And we get this answer:

#Why is this notation good?

You may have noticed that for the first time in your life you understood what's going on in this damn linear algebra, and that's no accident. The standard notation makes no distinction at all between a vector, its projection onto a basis, and the basis. Everything is stupidly and lazily denoted by ordinary letters, neither bold nor blackboard bold.

That's exactly why you constantly have to keep the context in mind. And you're lucky if someone even tells you the difference between an abstract vector and a column of numbers. Usually the teachers themselves don't really know the difference, or don't know that they should draw the students' attention to it.

The downside of stupidly denoting everything with ordinary letters is that ordinary letters start to mean too much. They become ambiguous. Depending on the context, could be anything: a number, a vector, a basis, or even a junior operator.

I'll admit that this notation for coordinate columns takes too many symbols: you have to write [, ], 𝕖, and it's not at all clear how to write the last one with a pen. Using it in practice to solve linear algebra problems is impossible. So I suggest using this notation:

  • In books and study guides,
  • On paper, when the problem involves going from one basis to another,
  • At the early stages, to tell an abstract vector apart from a column of numbers,
  • When you've forgotten how everything works.

Later on, once you've learned to understand it all, you can use ordinary letters to keep things short.

This system is a slightly refined version of the notation taught by Elena Viktorovna Ovchinnikova (in Russian) at the Faculty of Automation and Computer Engineering (AVT) of Novosibirsk State Technical University (NSTU).

The main features of this notation system are:

  • The vector is split into two concepts: abstract and numeric.
  • Each of these classes gets its own special notation.
  • The basis of a numeric vector isn't ignored: it is part of the vector's notation.
  • The basis gets a special font so that it can't be confused with a vector or a number.

#Conclusion

The right notation matters.