Writing a linear map in coordinates relative to ordered bases.
This page writes a linear map T:V→W between finite-dimensional spaces as a matrix. A basis gives each vector unique coordinates and a linear map is fixed by its values on a basis, so the matrix records the coordinate vectors of the images of the domain basis. The page then reads injectivity, surjectivity and invertibility of T from its matrix.
The matrix depends on the chosen bases, but the linear map T does not. Changing a basis changes the coordinate columns used to write T, not which vectors T sends to which outputs.
Using the matrix takes three steps: write the input as a coordinate column in
BV, multiply by A and read the result as a coordinate column in BW.
Let T:V→W be a linear map, where dim(V)=n and dim(W)=m. For ordered bases
BV=(v1,…,vn),BW=(w1,…,wm),
form the coordinate columns
aj=[T(vj)]BW(j=1,…,n).
Then
A=(a1⋯an)
is the unique m×n matrix satisfying
[T(v)]BW=A[v]BVfor every v∈V.
We call A the matrix representation of T relative to BV and BW and may write it as [T]BVBW.
With this notation, the subscript names the domain basis and the superscript
names the codomain basis, matching the direction
[v]BV↦[T(v)]BW in the displayed coordinate identity.
The jth column is the coordinate vector of T(vj) in the codomain basis. Thus the number of columns is the dimension of the domain and the number of entries in each column is the dimension of the codomain.
This proves the coordinate identity. If another matrix has the same identity, apply it to each vj. Since [vj]BV is the jth standard coordinate vector, its jth column must be [T(vj)]BW=aj. Every column is therefore forced, so A is unique.
The theorem turns the basis-data principle into a construction. The order of both bases matters: it fixes the order of the entries in each coordinate column and the order of the columns themselves.
The zero first column records T(1)=0, so differentiation is not injective. The four pivot columns give rank 4=dim(P3(R)), so it is surjective. In words, differentiation loses the constant direction but still reaches every polynomial of degree at most 3.
With standard bases, a vector in Rn equals its own coordinate column and the matrix representation is the matrix map from the geometric examples. For these maps, operations on maps match operations on matrices.
Let TA:Rn→Rm and TB:Rn→Rm be the standard-coordinate matrix maps
TA(x)=Ax,TB(x)=Bx.
Then
(TA+TB)(x)=(A+B)x,(ωTA)(x)=(ωA)x.
If TA:Rp→Rm and TB:Rn→Rp, then
(TA∘TB)(y)=A(By)=(AB)y.
Thus the matrix of a sum, scalar multiple, or composition is respectively the sum, scalar multiple, or product of the matrices, with the product ordered to match the composition.
For non-standard bases, the same rules hold when the matrices use the same
domain and codomain bases for a sum and a matching intermediate basis for a
composition. Otherwise the coordinate columns refer to different bases and
cannot be combined directly.
The coordinate identity transfers questions about the kernel and image of T to its matrix, where rank-nullity applies to coordinate columns. This section defines injective, surjective and inverse maps and reads each property from the matrix.
Do not confuse the transpose with the inverse: AT transposes rows and
columns, while A−1 reverses the map when a two-sided inverse exists.
Taking reciprocals of individual entries does not generally produce
A−1. For an orthogonal matrix Q, the special identity
Q−1=QT follows from its orthonormal columns; see the
symmetric-matrix diagonalisation.
Let A=[T]BVBW be the matrix representation of T:V→W over a
scalar field F, with dim(V)=n and dim(W)=m. Then
ker(A)={[v]BV:v∈ker(T)}
and
im(A)={[w]BW:w∈im(T)}.
Since a linear map is injective exactly when its kernel is trivial and
surjective exactly when its image is the codomain, these identities give the
coordinate tests ker(A)={0} and im(A)=Fm.
Here ker(A) and im(A) are sets of coordinate columns;
the displayed equalities identify them with the corresponding abstract
subspaces through the coordinate maps.
Consequently,
nullity(A)=nullity(T),rank(A)=rank(T).
Hence T is injective if and only if nullity(A)=0 and T is surjective if and only if rank(A)=m. If m=n, then T is bijective if and only if A is invertible.
The integral is linear in p, so I is a linear map.
If I(p) is the zero polynomial, differentiating the identity
I(p)(x)=0 gives p(x)=0 for every x, so ker(I)={0}. Thus I is
injective. Its rank is dim(Pn(R))=n+1, which is smaller than
dim(Pn+1(R))=n+2, so it is not surjective.
Concretely, every polynomial I(p) vanishes at x=0, so the constant
polynomial 1 is not in the image.
When the domain and codomain have the same finite dimension, rank-nullity makes injectivity and surjectivity equivalent. A bijective linear map has an inverse and in coordinates that inverse is given by the inverse matrix.
For a linear map T:V→W between finite-dimensional vector spaces:
if T is bijective, then dim(V)=dim(W);
if dim(V)=dim(W) and T is injective, then T is surjective;
if dim(V)=dim(W) and T is surjective, then T is injective.
Indeed, if T is bijective, then its kernel is trivial and its image is all
of W. Rank-nullity therefore gives
dim(V)=rank(T)=dim(W). If the dimensions are equal and
T is injective, then nullity is 0, so rank equals dim(V)=dim(W) and
T is surjective. The surjective case is dual: rank equals dim(W)=dim(V),
so nullity is 0 and T is injective.
For a linear map T:V→W between finite-dimensional spaces, the
following conditions are equivalent when dim(V)=dim(W):
T is invertible;
T is bijective;
T has a left inverse;
T has a right inverse.
A left inverse makes T injective and a right inverse makes T
surjective. In equal dimensions either property makes T bijective, so the
one-sided inverse is then the two-sided inverse of T.
Let V and W be finite-dimensional vector spaces, let T:V→W be
bijective and fix ordered bases BV of V and BW of W. Then
T−1:W→V is linear. If
A=[T]BVBW,
then A is square and
[T−1]BWBV=A−1.
Equivalently, for every w∈W,
[T−1(w)]BV=A−1[w]BW.
Conversely, if the matrix representation A is invertible, then T is bijective.
The formula follows by writing w=T(v), so that [w]BW=A[v]BV and hence [v]BV=A−1[w]BW. The two compositions are represented by A−1A and AA−1, which return the original coordinate vector.
To check that T−1 is linear, write w1=T(v1) and w2=T(v2).
Then T(αv1+βv2)=αw1+βw2 and uniqueness of
preimages gives
T−1(αw1+βw2)=αT−1(w1)+βT−1(w2).