Chapter 1 extra note 4_5

Linear transformation as a vector space
Composition of linear transformation
Trace of a square matrix

Selected lecture notes:

Linear transformation as a vector space

Definition:

L(V,W): A set containing all the linear transformation from
V
to
W
.

Proposition:

L(V,W) is a vector space.

  • Proof:

    Given

    T1,T2L, then
    T1:VW
    and
    T2:VW
    are linear transformations.
    Define
    T:VW
    as
    T(x)=c1T1(x)+c2T2(x)
    ,
    c1,c2F
    .
    claim:
    T
    is linear.

    Given

    x,yV and
    α,βF
    ,
    T(αx+βy)=c1T1(αx+βy)+c2T2(αx+βy)=α(c1T1(x)+c2T2(x))+β(c1T1(y)+c2T2(y))=αT(x)+βT(y).

    So
    T
    is linear.

Examples

Let

V=Pn, then
T1(p)=p
,
T2(p)=p
,
T3(p)=p
are all belonging to
L(V,V)
, and so
T(p)=p+2p+3p

is a linear transformation.

Composition

Definition:
Let

T1:VW and
T2:UV
, we define
(T1T2)(x)=T1(T2(x)).

Proposition:
If

T1 and
T2
are linear transformation,
T1T2
is a linear transformation.

  • Proof:

    T1(T2(αx+βy))=T1(αT2(x)+βT2(y))=αT1(T2(x))+βT1(T2(y)).

Matrix presentation of composition

Proposition:
Let

A=[T1]βγ and
B=[T2]μβ
, and assume
T=T1T2
, then
[T]μγ=AB
.

Properties of matrix multiplication:

  1. A(BC)=(AB)C=ABC
  2. A(B+C)=AB+AC
  3. A(αB)=(αA)B=α(AB)=αAB

Properties of composition of linear transformations:

  1. T1(T2T3)=(T1T2)T3=T1T2T3
  2. T1(T2+T3)=T1T2+T1T3
  3. T1(αT2)=(αT1)T2=α(T1T2)=αT1T2

Trace

Definition:

Let

A be a square
n×n
matrix,
trace(A)=j=1najj
.

Theorem:

Let

AMm×n and
BMn×m
, then
trace(AB)=trace(BA).

  • Proof:

    Lat

    L=AB. By direct computation, we found that its diagonal element
    kk=i=1nakibik.

    Therefore
    trace(AB)=k=1mi=1nakibik.

    Similarly,
    trace(BA)=k=1ni=1mbkiaik.

    Since we can switch double finite sums, we have
    k=1mi=1nakibik=i=1nk=1mbikaki=k=1ni=1mbkiaik.

    So
    trace(AB)=trace(BA)
    .

  • Proof: (version 2)

    Consider the following two linear transformations

    T1:Mn×mR,T1(X)=trace(AX),T2:Mm×nR,T2(X)=trace(XA).
    Claim:
    T1(X)=T2(X)
    .

    Proof:
    Let

    EijMn×m be a matrix that has its element being zero except at the
    j
    -th column
    i
    -th row. Then
    {Eij,1in,1jm}
    forms a basis for
    Mn×m
    .
    It is then easy to verify that,
    k,
    we have
    T1(Ek)=ak=T2(Ek).

    Since
    T1=T2
    at all the basis vectors, it is also true for any linear combination of basis vectors. So
    T1=T2
    .

    Finally,

    T1(B)=T2(B) leads to
    trace(AB)=trace(BA)
    .