Linear Mapping

Studying linear mappings means studying mappings between linear spaces.

A linear mapping can be represented in matrix form, so many concepts from matrices have corresponding interpretations in the study of linear mappings.

Linear Mappings and Linear Transformations

Let VV and WW be two linear spaces over the field FF, and let TT be a mapping from VV to WW.

If, for any vectors xx and yy in WW and any scalars kk and ll in the field FF:

T(kx+ly)=kTx+lTyT(kx+ly)=kTx+lTy

then TT is called a linear mapping from VV to WW. If W=VW=V, then TT is called a linear transformation on VV.

For example, the identity transformation TeT_e leaves the space unchanged, while the zero transformation T0T_0 maps the space to the zero space.

Let L(V,W)L(V,W) denote the set of all linear mappings from VV to WW. The set of all linear transformations L(V,V)L(V,V) is also denoted by L(V)L(V).

Properties

  • A linear mapping maps the zero vector to the zero vector.
  • A linear mapping preserves the form of linear operations: the linear mapping of a linear operation equals the linear operation of the linear mappings.
  • A linear mapping preserves linear dependence: if vectors are linearly dependent before mapping, they remain linearly dependent after mapping.

However, a linear mapping does not preserve linear independence. Vectors that are linearly independent before mapping need not remain linearly independent after mapping.

Matrix Representation of a Linear Mapping

Let the dimension of VV be nn, let α1,⋯ ,αn\alpha_1,\cdots,\alpha_n be a basis of VV, let the dimension of WW be mm, let β1,⋯ ,βm\beta_1,\cdots,\beta_m be a basis of WW, and let TT be a linear mapping from VV to WW.

Represent the image under TT of each α\alpha using β\beta:

Tαj=a1jβ1+⋯+amjβmT\alpha_j=a_{1j}\beta_1+\cdots+a_{mj}\beta_m

In matrix notation:

T(α1,⋯ ,αn)=(Tα1,⋯ ,Tαn)=(β1,⋯ ,βm)AT(\alpha_1,\cdots,\alpha_n)=(T\alpha_1,\cdots,T\alpha_n)=(\beta_1,\cdots,\beta_m)A

The matrix AA is called the matrix representation of the linear mapping TT under these two bases.

Null Space and Image Space of a Linear Mapping

The null space and image space here are described from the perspective of linear mappings. Through the matrix representation, we can see that the null space and image space of a linear mapping agree with the null space and image space of its matrix.

Let TT be a linear mapping from VV to WW, and define:

N(T)={x∈V∣Tx=0}N(T)=\{x\in V|Tx=0\} R(T)=Im(T)={y∈W∣y=Tx,Vx∈V}R(T)=Im(T)=\{y\in W|y=Tx,Vx\in V\}

It is easy to verify that N(T)N(T) is a subspace of VV and R(T)R(T) is a subspace of WW. We call N(T)N(T) and R(T)R(T) the null space and image space of VV, respectively. The dimension of N(T)N(T) is called the nullity or deficiency of TT, and the dimension of R(T)R(T) is called the rank of TT.

Theorem: Let TT be a linear mapping from VV to WW. If VV is finite-dimensional, then both N(T)N(T) and R(T)R(T) are finite-dimensional, and:

dim⁡N(T)+dim⁡R(T)=dim⁡V\operatorname{dim} N(T)+\operatorname{dim} R(T)=\operatorname{dim} V

That is, the nullity plus the rank of TT equals the dimension of its domain VV.

Matrix Representation of a Linear Transformation

Let the dimension of VV be nn, let α1,⋯ ,αn\alpha_1,\cdots,\alpha_n be a basis of VV, and let TT be a linear transformation on VV. Then:

Tαj=a1jα1+⋯+anjαnT\alpha_j=a_{1j}\alpha_1+\cdots+a_{nj}\alpha_n

In matrix notation:

T(α1,⋯ ,αn)=(Tα1,⋯ ,Tαn)=(α1,⋯ ,αn)AT(\alpha_1,\cdots,\alpha_n)=(T\alpha_1,\cdots,T\alpha_n)=(\alpha_1,\cdots,\alpha_n)A

The matrix AA is called the matrix representation of the linear transformation TT under this basis.

By the structure of the space and the linearity of TT, TT is completely determined by Tα1,⋯ ,TαnT\alpha_1,\cdots,T\alpha_n, so TT uniquely determines a matrix AA.

Theorem: Let the dimension of VV be nn, let α1,⋯ ,αn\alpha_1,\cdots,\alpha_n be a basis of VV, and take any square matrix of order nn, AA. There is exactly one linear transformation from VV to VV, namely TT, such that the matrix of TT is exactly AA.

Corollary: There is a one-to-one correspondence between L(V,V)L(V,V) and all square matrices of order nn.

For example, the zero transformation corresponds to the zero matrix, and the identity transformation corresponds to the identity matrix.

The Space of Linear Transformations

Theorem: L(V)L(V) can also form a linear space. Introduce the following operations in L(V)L(V): for any T1T_1 and T2T_2 in L(V)L(V), any xx in VV, and any kk in the field FF:

(T1+T2)x=T1x+T2x(T_1+T_2)x=T_1x+T_2x (kT1)x=k(T1x)(kT_1)x=k(T_1x)

It is easy to verify that L(V)L(V) is a linear space over FF, namely, the space of linear transformations.

For linear transformations T1T_1 and T2T_2 in L(V)L(V), define the product T1T2T_1T_2 of T1T_1 and T2T_2 by:

(T1T2)x=T2(T1x)(T_1T_2)x=T_2(T_1x)

It can be verified that (T1T2)(T_1T_2) is also a linear transformation in L(V)L(V), and that the product of linear transformations is associative but not commutative, just like matrix multiplication.

For a linear transformation T1T_1 in L(V)L(V), if there is a linear transformation T2T_2 in L(V)L(V) such that for every vector xx in VV:

(T1T2)x=T1(T2x)=x(T_1T_2)x=T_1(T_2x)=x

then T2T_2 is called the inverse transformation of T1T_1, written:

T2=T1−1T_2=T_1^{-1}

and:

T1T2=T2T1=TeT_1T_2=T_2T_1=T_e

Theorem: Let the dimension of VV be nn, let α1,⋯ ,αn\alpha_1,\cdots,\alpha_n be a basis of VV, and let the matrices of the linear transformations T1T_1 and T2T_2 under this basis be AA and BB, respectively. Then:

  • The matrix of the sum T1+T2T_1+T_2 of linear transformations is A+BA+B
  • The matrix of the scalar multiple kT1kT_1 of a linear transformation is kAkA
  • The matrix of the product T1T2T_1T_2 of linear transformations is ABAB
  • If the inverse transformation of T1T_1 exists, its matrix is A−1A^{-1}

Coordinates

Let nn vectors xx form a basis of the nn-dimensional space VV. For any vector yy in VV, let yy be:

y=a1x1+a2x2+⋯+anxn=(x1,x2,⋯ ,xn)(a1a2⋮an)y=a_1x_1+a_2x_2+\cdots+a_nx_n=(x_1,x_2,\cdots,x_n)\begin{pmatrix}a_1\\a_2\\\vdots\\a_n\end{pmatrix}

The column vector:

(a1a2⋮an)\begin{pmatrix}a_1\\a_2\\\vdots\\a_n\end{pmatrix}

is called the coordinate of vector yy under the basis x1,x2,⋯ ,xnx_1,x_2,\cdots,x_n.

Clearly, coordinates are column vectors composed of scalars from the field and must be distinguished from vectors in an Abelian group.

Coordinate Transformation Formula

Let the dimension of VV be nn, let TT be a transformation in L(V)L(V), and let the matrix of TT under the basis α1,⋯ ,αn\alpha_1,\cdots,\alpha_n be AA. Let:

ξ=(α1,⋯ ,αn)(x1x2⋮xn)\xi=(\alpha_1,\cdots,\alpha_n)\begin{pmatrix}x_1\\x_2\\\vdots\\x_n\end{pmatrix}

and suppose that:

Tξ=T(α1,⋯ ,αn)(y1y2⋮yn)T\xi=T(\alpha_1,\cdots,\alpha_n)\begin{pmatrix}y_1\\y_2\\\vdots\\y_n\end{pmatrix}

Then:

Tξ=T(α1,⋯ ,αn)(y1y2⋮yn)=(α1,⋯ ,αn)A(x1x2⋮xn)T\xi=T(\alpha_1,\cdots,\alpha_n)\begin{pmatrix}y_1\\y_2\\\vdots\\y_n\end{pmatrix}=(\alpha_1,\cdots,\alpha_n)A\begin{pmatrix}x_1\\x_2\\\vdots\\x_n\end{pmatrix}

Column-vector points in the space VV are essentially of the form “basis times coordinates”. The column-vector point xx in VV itself uses the identity matrix II as its basis, namely x=Ixx=Ix.

Only when the basis is fixed, and it is the same basis, is a pure linear transformation TT simply an ordinary matrix multiplying coordinates on the left.

Think of the linear transformation TT as an observation filter for the space VV. The object acted on by TT is the space VV, and the space VV is distorted. After the filter is applied, the point itself has not moved.

This theorem also shows that a linear transformation TT of a column-vector basis is equivalent to multiplying the basis by a transition matrix on the right.

Thus, between different bases, the coordinate relationship is left multiplication by the inverse of the transition matrix.

Transition Matrix

Let nn vectors xx and nn vectors yy be two bases of the space VV. For 1≤i≤n1\leq i\leq n, let the coordinates of each vector yiy_i under the basis x1,x2,⋯ ,xnx_1,x_2,\cdots,x_n be:

yi=(x1,x2,⋯ ,xn)(a1ia2i⋮ani)y_i=(x_1,x_2,\cdots,x_n)\begin{pmatrix}a_{1i}\\a_{2i}\\\vdots\\a_{ni}\end{pmatrix}

Thus, the nn vectors yy form the matrix on the left-hand side of the equation, and the nn coordinate vectors form the matrix AA on the right-hand side:

(y1,y2,⋯ ,yn)=(x1,x2,⋯ ,xn)A(y_1,y_2,\cdots,y_n)=(x_1,x_2,\cdots,x_n)A

Matrix AA is called the transition matrix from basis x1,x2⋯ ,xnx_1,x_2\cdots,x_n to basis y1,y2⋯ ,yny_1,y_2\cdots,y_n, and is also called a change-of-basis matrix.

Clearly, the transition matrix is invertible. In the equation above, the transition matrix from basis y1,y2⋯ ,yny_1,y_2\cdots,y_n to basis x1,x2⋯ ,xnx_1,x_2\cdots,x_n is A−1A^{-1}.

Thus, the transition matrix is a matrix composed of scalars from the field, not a matrix whose columns are vectors from an Abelian group; the distinction should be kept in mind.

Let nn vectors xx and nn vectors yy be two bases of the space VV. For the same vector zz in the space VV:

z=(x1,x2,⋯ ,xn)(ξ1ξ2⋮ξn)=(y1,y2⋯ ,yn)(η1η2⋮ηn)z=(x_1,x_2,\cdots,x_n)\begin{pmatrix}\xi_1\\\xi_2\\\vdots\\\xi_n\end{pmatrix}=(y_1,y_2\cdots,y_n)\begin{pmatrix}\eta_1\\\eta_2\\\vdots\\\eta_n\end{pmatrix}

Substitute the result above:

(y1,y2⋯ ,yn)=(x1,x2⋯ ,xn)A(y_1,y_2\cdots,y_n)=(x_1,x_2\cdots,x_n)A

By uniqueness:

(ξ1ξ2⋮ξn)=A(η1η2⋮ηn)\begin{pmatrix}\xi_1\\\xi_2\\\vdots\\\xi_n\end{pmatrix}=A\begin{pmatrix}\eta_1\\\eta_2\\\vdots\\\eta_n\end{pmatrix}

or:

(η1η2⋮ηn)=A−1(ξ1ξ2⋮ξn)\begin{pmatrix}\eta_1\\\eta_2\\\vdots\\\eta_n\end{pmatrix}=A^{-1}\begin{pmatrix}\xi_1\\\xi_2\\\vdots\\\xi_n\end{pmatrix}

This is a transformation purely between coordinates; the coordinate transformation formulas are all in the scalar field. As distinguished above, vectors in linear spaces and Abelian groups are abstract vectors, while the coordinates and the entries of transition matrices are in the scalar field and are regarded as concrete vectors. The two kinds of vectors should be regarded as different things.

A matrix can transform the entire space, that is, all coordinates, with the column vector xx ranging over the entire space.

The identity matrix II consists of unit vectors. Matrix AA transforms the identity matrix II into each column vector of matrix AA, that is, it transforms unit vectors into the column vectors of matrix AA. Therefore, left multiplication by matrix AA can also be viewed as applying this transformation to the space.

Multiplying a vector by a matrix on the left can also be viewed as multiplying a vector group by coordinates on the left. From the coordinate perspective:

Iy=XaIy=Xa

For the same column vector yy, its coordinates in the “ordinary” space represented by the identity matrix II are yy; in the new space after the transformation, its coordinates are denoted by aa. Thus, matrix XX is not only a basis in the ordinary space, but also the transition matrix from vector group II to vector group XX.

The linear transformation TT maps one basis to another, and thus maps one set of coordinates to another.

If the transition matrix of the linear transformation TT that maps basis α\alpha to β\beta is AA, then the corresponding basis matrices satisfy β=αA\beta=\alpha A.

Thus, the relationship between coordinates is exactly reversed. Suppose the coordinates after the linear transformation TT are bb, that is, the coordinates observed after applying the filter are bb. Then the representation of the point in VV is βb\beta b. To restore it, use the transition matrix to write the representation of the point in VV as αAb\alpha Ab. This makes clear why coordinate transformation is viewed as left multiplication by the inverse of the transition matrix.

Linear Transformations and Matrix Similarity

Consider a linear transformation TT in the space VV and its relationship to the basis α\alpha of VV:

The linear transformation TT acts on the basis α\alpha and maps basis α\alpha to T(α)T(\alpha), which is equivalent to multiplying the basis α\alpha on the right by AA, namely T(α)=αAT(\alpha)=\alpha A.

Matrix similarity asks: the same linear transformation TT is represented by matrix BB in space VV with basis β\beta, and by matrix AA in space VV with basis α\alpha.

If the transition matrix is CC, that is, β=αC\beta=\alpha C, what is the relationship between the two representations BB and AA?

Because it is the same transformation TT, one fact is clear: the transition-matrix relationship before and after the transformation always holds, namely:

T(β)=T(α)C=αACT(\beta)=T(\alpha)C=\alpha AC

From the perspective of basis β\beta, the linear transformation TT is still right multiplication. Converting basis β\beta to basis α\alpha and then multiplying on the right by CC preserves the transition-matrix relationship CC before and after the transformation:

T(β)=βB=αCBT(\beta)=\beta B=\alpha CB

Thus the problem is solved:

B=C−1ACB=C^{-1}AC

Theorem: Let TT be a transformation in L(V)L(V). Then the matrices of TT under different bases are similar.

For square matrices AA and BB, if there is an invertible matrix CC such that B=C−1ACB=C^{-1}AC, then AA and BB are similar.

Matrix similarity preserves rank, so matrix similarity implies matrix equivalence. However, two equivalent matrices need not be similar.

Because matrix similarity is closely related to shape, it has no relationship with vector-group equivalence or systems having the same solutions.

In retrospect, the explanation of matrix similarity is the four equations: β=αC\beta=\alpha C, T(α)=αAT(\alpha)=\alpha A, T(β)=βBT(\beta)=\beta B, and T(β)=T(α)CT(\beta)=T(\alpha)C.

References

This content comes from OI Wiki: Linear Mapping. See the original for authors and revision history. AIOJ has adapted the formatting, in-site links, and resource paths.

Content is shared under CC BY-SA 4.0 and SATA license; additional terms are governed by the original notice. Thanks to the OI Wiki authors and contributors; per the SATA terms, please visit the OI Wiki repository and star it to show your support.