Serlo: EN: Matrix of a linear map
{{#invoke:Mathe für Nicht-Freaks/Seite|oben}}
In this article, we will learn how to describe linear maps between arbitrary finite-dimensional vector spaces using matrices. The matrix representing such a linear mapping depends on the choice of bases in and in . Their columns are the coordinates of the images of the base vectors of .
Generalization to abstract vector spaces
In the article on introduction to matrices, we saw how we can describe a linear mapping using a matrix. In this way, we can specify and classify linear mappings between and quite easily. Can we also find such a description for linear mappings between general vector spaces?
Formally speaking, we care asking: Given two finite-dimensional vector spaces and , how can we completely describe a linear mapping ?
To answer this question, we can try to trace it back to the case of and . In the article on isomorphisms we have seen that every finite-dimensional vector space is isomorphic to . This means and , where we set and . This isomorphism works as follows: We choose an ordered basis from . By representing a vector in with respect to , we obtain the coordinate mapping , which maps to . In the same way, we obtain the isomorphism after choosing a basis of . It is important here that and are ordered bases, as we would get a different mapping for different arrangements of the basis vectors.
Using these isomorphisms, we can turn our mapping into a mapping : We set

We can assign a matrix to this mapping as described in the article Introduction to matrices.
Have we achieved our goal? If so, we can reconstruct the mapping from . From the article introduction to matrices, we already know that we can reconstruct the mapping from using the induced mapping. Now and are isomorphisms. This means that we can reconstruct from via .
We can therefore call the matrix assigned to . However, we have to be careful with this name: the matrix depends on the choice of the two ordered bases of and of . This means we have actually found several ways to construct a matrix from . Only after fixing the bases and have we found a unique way to get a matrix for . Thus, the matrix constructed above should actually be called “the matrix assigned to with respect to the bases and ”. Appropriately, we can denote by . By construction, this matrix fills exactly the bottom row in the following diagram:

Definition
Mathe für Nicht-Freaks: Vorlage:Definition Mathe für Nicht-Freaks: Vorlage:Warnung Mathe für Nicht-Freaks: Vorlage:Hinweis
Calculating with matrices of linear maps
Computing the matrix of a linear map

How can we find the corresponding matrix for ? That is, how can we specifically calculate the entries of the matrix ?
The -th column vector of the matrix is given by . We therefore want to determine this vector. Now, . The defining property of the coordinate mapping is that it maps the basis vector to . Therefore, . Thus, the -th column of is the vector . To find out how represents the vector , we need to represent this vector in the basis . There are scalars , so that . Then, Vorlage:Einrücken This means that the -th entry of is given by the entry from the basic representation .
Mathe für Nicht-Freaks: Vorlage:Definition
Mathe für Nicht-Freaks: Vorlage:Hinweis Mathe für Nicht-Freaks: Vorlage:Beispiel
Using the matrix of a linear map
Now we know how to calculate the matrix of with respect to the bases and . What can we use this matrix for?
This matrix can be used to calculate the image vector of each . To do so, we first represent with respect to the basis of , i.e., . We denote the entries of the mapping matrix with . Then we have Vorlage:Einrücken We therefore obtain a representation of the vector as a linear combination of the basis vectors of , with coordinates Vorlage:Einrücken Using the matrix multiplication with a vector (“row times column”) we can also express this as follows: Vorlage:Einrücken Using the matrix of , we therefore obtain the coordinate vector of from the coordinate vector of : We multiply from the left by the matrix . Vorlage:Einrücken The equation states that, starting from a vector , the red and blue paths in the diagram for the matrix to be displayed provide the same result.

Instead of starting with a vector , we can also start with any vector . Then is the coordinate vector of . We can also understand the product as a coordinate vector of . From the diagram, we know that is the coordinate vector of . Therefore, Vorlage:Einrücken Here we have used the fact that the coordinate mappings are isomorphisms, so we can also reverse the arrows of and in the diagram. The equation states that the red and blue paths in the following diagram give the same result:

Mathe für Nicht-Freaks: Vorlage:Beispiel
Matrix of a composition of linear maps
In the following theorem we show that the combination of linear mappings corresponds to the multiplication of their representing matrices.
Mathe für Nicht-Freaks: Vorlage:Satz
Mathe für Nicht-Freaks: Vorlage:Warnung
One-to-one correspondence between matrices and linear mapsVorlage:Anker
We can uniquely assign a matrix to a linear map after a fixed choice of ordered bases and . This gives us a function that sends a mapping to its associated matrix : Vorlage:Einrücken In this formula, is the set of all linear maps from to and is the set of all matrices.
How did we arrive at the assignment of the matrix to the linear map ? We first found a unique mapping for using the bases and and then determined the matrix assigned to . The mapping is defined by the coordinate mappings: . So we have the assignment: Vorlage:Einrücken Because and are bijections, we can also get a unique from an , to which is assigned. All we have to do is to set .
So we have a bijection between and .
The assignment Vorlage:Einrücken is a bijection, as we already saw in the introduction article to matrices.
Therefore, is also a bijection, because it is the combination of the two bijections and . But what does the inverse of the bijection look like?
The inverse mapping sends a matrix to a linear map such that . Let and be ordered bases of and and , i.e., is the -th component of the matrix . Because , the following must hold: Vorlage:Einrücken Because of the principle of linear continuation, is already completely defined. Here, we see that is the weight of in . Intuitively, the -th column of the mapping matrix again stores the image of the -th basis vector, i.e., .
Mathe für Nicht-Freaks: Vorlage:Beispiel Mathe für Nicht-Freaks: Vorlage:Hinweis
Examples
We calculate the matrix representing a specific linear map with respect to the standard basis.
Mathe für Nicht-Freaks: Vorlage:Beispiel
Now let's look at the same linear map, but a different basis in the target space.
Mathe für Nicht-Freaks: Vorlage:Beispiel
From the two previous examples, we see that the matrix representing a linear map depends on the chosen bases. It is important that we consider ordered bases: The representing matrix also depends on the order of the basis vectors.
Mathe für Nicht-Freaks: Vorlage:Beispiel
Conversely, different mappings can also have the same mapping matrix if they are evaluated for different bases:
Mathe für Nicht-Freaks: Vorlage:Beispiel
Let us now look at a somewhat more abstract example:
Mathe für Nicht-Freaks: Vorlage:Beispiel
{{#invoke:Mathe für Nicht-Freaks/Seite|unten}}