Chapter 3 — Linear Transforms and Matrices

Linear Algebra and its Applications · IISc 2024 · typeset reproduction

Linear Transforms

Definition 10 — Linear transform

Let \( V \) and \( W \) be two vector spaces over \( \F \). A linear transform from \( V \) to \( W \) is a function \( T : V \to W \) with the following properties:

  1. \( \forall\, u, v \in V : T(u + v) = T(u) + T(v) \) (additivity);
  2. \( \forall\, u \in V,\ a \in \F : T(au) = a\,T(u) \) (homogeneity).

Linear transforms are also called linear maps or linear operators; in this course we use "operator" when \( V = W \). We write \( \Lin(V, W) \) for the set of all linear transforms from \( V \) to \( W \), and \( \Lin(V) = \Lin(V, V) \). A linear transform maps \( 0_V \) to \( 0_W \). We use \( 0 \) and \( \mathrm{Id} \) for the zero and identity maps: \( 0(v) = 0 \), \( \mathrm{Id}(v) = v \).

Example 6 — linear maps

  1. \( V = W = \R \), \( T(x) = ax \) (\( a \in \R \)): \( T(u+v) = a(u+v) = au + av = T(u) + T(v) \) and \( T(\alpha u) = a(\alpha u) = \alpha(au) = \alpha T(u) \). Linear.
  2. \( V = \R^m \), \( W = \R \), \( T(x) = a_1 x_1 + a_2 x_2 \): \( T(u+v) = (a_1 u_1 + a_2 u_2) + (a_1 v_1 + a_2 v_2) = T(u) + T(v) \), \( T(\alpha u) = \alpha T(u) \). Linear.
  3. \( V = W = \R^2 \), \( T(x_1, x_2) = (x_2, x_1) \): \( T(u+v) = (u_2 + v_2, u_1 + v_1) = T(u) + T(v) \), \( T(\alpha u) = \alpha T(u) \). Linear.
  4. Derivative operator. \( V = W = P \) (polynomials), \( T(p) = p' \): \( T(p+q) = (p+q)' = p' + q' = T(p) + T(q) \), \( T(\alpha p) = (\alpha p)' = \alpha p' = \alpha T(p) \). Linear.
  5. Integration. \( V = C([0,1]) \), \( W = \R \), \( T(f) = \int_0^1 f(t)\, dt \): linear by the properties of integration.

From LADR (Example 3.3): the backward shift \( T \in \Lin(\F^\infty) \), \( T(x_1, x_2, x_3, \dots) = (x_2, x_3, \dots) \); and multiplication by \( x^2 \), \( (Tp)(x) = x^2 p(x) \).

Linear Map Lemma — LADR 3.4

Suppose \( v_1, \dots, v_n \) is a basis of \( V \) and \( w_1, \dots, w_n \in W \). Then there exists a unique linear map \( T : V \to W \) such that \( T(v_k) = w_k \) for each \( k = 1, \dots, n \).

Proof

Existence. Define \( T(c_1 v_1 + \dots + c_n v_n) = c_1 w_1 + \dots + c_n w_n \). Since \( v_1, \dots, v_n \) is a basis, every \( v \in V \) has this form; taking \( c_k = 1 \) and the rest \( 0 \) gives \( T(v_k) = w_k \). For \( u = \sum a_i v_i \), \( v = \sum b_i v_i \), \( \alpha \in \F \): \( T(u+v) = \sum (a_i + b_i) w_i = T(u) + T(v) \) and \( T(\alpha u) = \sum \alpha a_i w_i = \alpha T(u) \), so \( T \) is linear.

Uniqueness. If \( T' \in \Lin(V, W) \) with \( T'(v_k) = w_k \), then by linearity \( T'(c_1 v_1 + \dots + c_n v_n) = c_1 w_1 + \dots + c_n w_n \), the same as \( T \). So \( T \) is uniquely determined on \( V \).

View original handwritten scans — linear transforms, Def 10, Example 6 & the Linear Map Lemma (pages 1–6)
Original handwritten page 1 Original handwritten page 2 Original handwritten page 3 Original handwritten page 4 Original handwritten page 5 Original handwritten page 6

Isomorphisms & Invertibility

Definition 11 — Coordinate map

Let \( V \) be a finite-dimensional vector space with \( \dim V = n \), and fix a basis \( \{v_1, \dots, v_n\} \). Define \( \varphi : V \to \F^n \), \( \varphi(v) = (x_1, \dots, x_n) \), where \( v = x_1 v_1 + \dots + x_n v_n \) is the unique representation of \( v \) in the basis. We call \( \varphi \) the coordinate map and \( x = \varphi(v) \) the coordinates of \( v \). It is a linear transform (additivity and homogeneity follow coordinate-wise).

Definition 12 — Isomorphism

A linear map \( T \in \Lin(V, W) \) is called an isomorphism if it is a bijection, i.e. \( \forall\, w \in W \), \( \exists \) a unique \( v \in V \) such that \( w = T(v) \). We say \( V \) and \( W \) are isomorphic (written \( V \cong W \)) if there exists an isomorphism \( T \in \Lin(V, W) \).

Ex 26

Show that the coordinate map is a linear isomorphism from \( V \) to \( \F^n \) (\( \dim V = n \)).

Solution

\( \varphi : V \to \F^n \) is a linear transform (above). Surjective: for \( w = (w_1, \dots, w_n) \in \F^n \), set \( v = w_1 v_1 + \dots + w_n v_n \in V \); then \( \varphi(v) = w \). Injective: if \( \varphi(v) = \varphi(v') = w \), then \( v \) and \( v' \) have the same coordinates \( (w_1, \dots, w_n) \); since the basis representation is unique, \( v = v' \). So \( \varphi \) is a bijection, hence a linear isomorphism, and \( V \cong \F^n \).

Definition — Invertible, inverse (LADR 3.99)

Every isomorphism admits an inverse, which is again linear. (Inverse functions are defined only for bijections: injective = one-to-one, surjective = onto, bijective = both.) A linear map \( T \in \Lin(V, W) \) is called invertible if there exists a linear map \( T^{-1} \in \Lin(W, V) \) such that \[ T^{-1}T = I_V \qquad\text{and}\qquad T\,T^{-1} = I_W, \] where \( I_V, I_W \) are the identity operators on \( V \) and \( W \). Such a \( T^{-1} \) is called an inverse of \( T \).

Uniqueness of the inverse. If \( S_1, S_2 \) are both inverses of \( T \), then \( S_1 = S_1 I = S_1(T S_2) = (S_1 T) S_2 = I S_2 = S_2 \). So the inverse is unique and is denoted \( T^{-1} \).

Ex 27

Let \( T \in \Lin(V, W) \) be an isomorphism. Show that \( T^{-1} \in \Lin(W, V) \) is also an isomorphism.

Solution

\( T^{-1} \) is linear and satisfies \( T^{-1}T = I \), \( TT^{-1} = I \). Injective: if \( T^{-1}(w_1) = T^{-1}(w_2) \), apply \( T \): \( w_1 = w_2 \). Surjective: for any \( v \in V \), \( v = T^{-1}(T(v)) \), so \( v \) is in the range of \( T^{-1} \). Hence \( T^{-1} \) is a bijection, i.e. an isomorphism.

View original handwritten scans — coordinate map, isomorphism, Ex 26, invertibility & Ex 27 (pages 7–27; the invertibility equations were fragmented across a layout grid, shown side-by-side)
Original handwritten page 7 Original handwritten page 8 Original handwritten page 9 Original handwritten page 10 Original handwritten page 11
Original fragment 12 Original fragment 13 Original fragment 14 Original fragment 15 Original fragment 16 Original fragment 17 Original fragment 18 Original fragment 19 Original fragment 20
Original fragment 21 Original fragment 22 Original fragment 23 Original fragment 24 Original fragment 25
Original handwritten page 26 Original handwritten page 27

The Space \( \Lin(V, W) \)

We give \( \Lin(V, W) \) a natural vector-space structure: for \( T, T' \in \Lin(V, W) \) and \( a \in \F \), define \( (T + T')(v) = T(v) + T'(v) \) and \( (aT)(v) = aT(v) \).

Ex 28

Verify that \( T + T' \) and \( aT \) are linear transforms and that \( \Lin(V, W) \) is a vector space over \( \F \). In particular, prove that \( \dim \Lin(V, W) = \dim V \cdot \dim W \) (LADR 3.72).

Solution

\( T + T' \) and \( aT \) are linear. \( (T+T')(u+v) = (T+T')(u) + (T+T')(v) \) and \( (T+T')(\alpha u) = \alpha(T+T')(u) \); similarly \( (aT)(u+v) = (aT)(u) + (aT)(v) \), \( (aT)(\alpha u) = \alpha(aT)(u) \). So both lie in \( \Lin(V, W) \).

Vector space. The axioms (commutativity, associativity, distributivity, \( 1T = T \), zero map \( 0 \), additive inverse \( (-T)(v) = -T(v) \)) all hold pointwise from the structure of \( W \). So \( \Lin(V, W) \) is a vector space over \( \F \).

Dimension. Fix bases \( \{v_1, \dots, v_m\} \) of \( V \) and \( \{w_1, \dots, w_n\} \) of \( W \), so \( \dim V = m \), \( \dim W = n \). Define \( T_{ij} \in \Lin(V, W) \) by \( T_{ij}(v_k) = \begin{cases} w_j & k = i \\ 0 & k \neq i \end{cases} \) (so \( T_{ij}(\textstyle\sum_k a_k v_k) = a_i w_j \)).

Linearly independent: if \( \sum_{i=1}^{m}\sum_{j=1}^{n} \alpha_{ij} T_{ij} = 0 \), apply to \( v_k \): \( \sum_{j=1}^{n} \alpha_{kj} w_j = 0 \), and as \( w_1, \dots, w_n \) are independent, \( \alpha_{kj} = 0 \) for all \( j \); this holds for each \( k \), so all \( \alpha_{ij} = 0 \).

Spanning: given \( T \in \Lin(V, W) \), let \( c_{ij} \in \F \) be the coordinates of \( T(v_i) \) in the \( w \)-basis, i.e. \( T(v_i) = \sum_{j} c_{ij} w_j \). Then \( \sum_{i,j} c_{ij} T_{ij} \) and \( T \) agree on every basis vector: \( \big(\sum_{i,j} c_{ij} T_{ij}\big)(v_k) = \sum_j c_{kj} w_j = T(v_k) \). Two linear maps that agree on a basis are equal, so \( T = \sum_{i,j} c_{ij} T_{ij} \); thus the \( T_{ij} \) span \( \Lin(V, W) \).

Hence \( \{T_{ij}\} \) is a basis of size \( mn \), so \( \dim \Lin(V, W) = mn = \dim V \cdot \dim W \).

Correction — Ex 28 spanning step

The original spanning argument expressed a single output \( T(v) \) as a combination of the \( T_{ij}(v) \) with coefficients depending on \(v\); that does not exhibit \(T\) itself as a fixed linear combination of the \( T_{ij} \). The corrected step above instead reads off the constants \( c_{ij} \) from \( T(v_i) = \sum_j c_{ij} w_j \), giving the operator identity \( T = \sum_{i,j} c_{ij} T_{ij} \).

View original handwritten scans — Ex 28 (\( \Lin(V,W) \) is a vector space; \( \dim = \dim V \cdot \dim W \)) (pages 28–33)
Original handwritten page 28 Original handwritten page 29 Original handwritten page 30 Original handwritten page 31 Original handwritten page 32 Original handwritten page 33

Fundamental Subspaces

Definition 13 — Null space & range space

Let \( T \in \Lin(V, W) \). The null space and range space of \( T \) are \[ \Null(T) = \{v \in V : T(v) = 0\} \subseteq V, \qquad \Range(T) = \{T(v) : v \in V\} \subseteq W. \] Both are nonempty (\( 0_V \in \Null(T) \), \( 0_W \in \Range(T) \)). If \( T = 0 \), \( \Null(T) = V \) and \( \Range(T) = \{0\} \); if \( T = \mathrm{Id} \), \( \Null(T) = \{0\} \) and \( \Range(T) = V \).

Ex 29

Let \( V = \R^2 \), \( W = \R \), \( T(x) = x_1 + x_2 \). Find \( \Null(T) \), \( \Range(T) \) and give their geometric descriptions.

Solution

\( T(x) = x_1 + x_2 = 0 \Rightarrow x_2 = -x_1 \), so \( \Null(T) = \{(x, -x) : x \in \R\} \) — a line through the origin in \( \R^2 \). Since \( x_1, x_2 \) are arbitrary, \( x_1 + x_2 \) takes every real value, so \( \Range(T) = \R = W \).

x₁ x₂ x₁ + x₂ = 0
\( \Null(T) = \{(x,-x)\} \): the line \( x_1 + x_2 = 0 \) through the origin (Ex 29).

Ex 30

Show that \( \Null(T) \) is a subspace of \( V \) and \( \Range(T) \) is a subspace of \( W \).

Solution

\( \Null(T) \le V \). \( 0 \in \Null(T) \) as \( T(0) = 0 \). If \( u, v \in \Null(T) \), \( T(u+v) = T(u) + T(v) = 0 \), so \( u + v \in \Null(T) \). For \( \alpha \in \F \), \( T(\alpha u) = \alpha T(u) = 0 \), so \( \alpha u \in \Null(T) \).

\( \Range(T) \le W \). \( 0_W \in \Range(T) \) as \( T(0_V) = 0_W \). If \( w_1 = T(v_1) \), \( w_2 = T(v_2) \), then \( w_1 + w_2 = T(v_1 + v_2) \in \Range(T) \). For \( \alpha \in \F \), \( \alpha w = \alpha T(v) = T(\alpha v) \in \Range(T) \).

Result — injectivity ⟺ trivial null space (LADR 3.15)

\( T \in \Lin(V, W) \) is injective \( \iff \Null(T) = \{0\} \). (\( \Rightarrow \)) If \( v \in \Null(T) \), \( T(v) = 0 = T(0) \Rightarrow v = 0 \). (\( \Leftarrow \)) If \( T(v_1) = T(v_2) \), then \( T(v_1 - v_2) = 0 \Rightarrow v_1 - v_2 = 0 \Rightarrow v_1 = v_2 \).

Definition 14 — Nullity & rank

\( \nullity T = \dim \Null(T) \) and \( \rank T = \dim \Range(T) \).

Ex 31

For \( T(x) = x_1 + x_2 \) (Ex 29), find \( \nullity T \) and \( \rank T \).

Solution

\( \Null(T) = \{(x,-x)\} \) has basis \( (1,-1) \), so \( \nullity T = 1 \). \( \Range(T) = \R \), so \( \rank T = 1 \).

Theorem 2 — Rank–Nullity Theorem (LADR 3.21)

Let \( T \in \Lin(V, W) \). If \( V \) is finite-dimensional, then \( \Range(T) \) is finite-dimensional and \[ \nullity T + \rank T = \dim V. \] (\( V \) finite-dimensional; \( W \) may be infinite-dimensional.)

Proof

Let \( u_1, \dots, u_m \) be a basis of \( \Null(T) \) and extend it to a basis \( u_1, \dots, u_m, v_1, \dots, v_n \) of \( V \) (so \( \dim V = m + n \)). We show \( T(v_1), \dots, T(v_n) \) is a basis of \( \Range(T) \).

Spanning: for \( v = \sum a_i u_i + \sum b_j v_j \), applying \( T \) (with \( T(u_i) = 0 \)) gives \( T(v) = \sum_j b_j T(v_j) \). So they span \( \Range(T) \) (which is therefore finite-dimensional). Independent: if \( \sum_j c_j T(v_j) = 0 \), then \( T(\sum_j c_j v_j) = 0 \), so \( \sum_j c_j v_j \in \Null(T) \), say \( = \sum_i d_i u_i \); then \( \sum_j c_j v_j - \sum_i d_i u_i = 0 \), and independence of the full basis forces all \( c_j = d_i = 0 \).

So \( \rank T = \dim \Range(T) = n \), and \( \dim V = m + n = \nullity T + \rank T \).

Corollary 2

For \( T \in \Lin(V) \): \( \Null(T) = \{0\} \iff \Range(T) = V \).

Proof

If \( \Null(T) = \{0\} \) but \( \Range(T) \neq V \), then \( \rank T < \dim V \), so by rank–nullity \( \nullity T = \dim V - \rank T > 0 \), contradicting \( \Null(T) = \{0\} \); hence \( \Range(T) = V \). Conversely, if \( \Range(T) = V \), then \( \nullity T = \dim V - \rank T = 0 \), so \( \Null(T) = \{0\} \).

Corollary 3 — LADR 3.22, 3.24

Let \( T \in \Lin(V, W) \). (1) If \( \dim W < \dim V \), then \( T \) cannot be injective. (2) If \( \dim W > \dim V \), then \( T \) cannot be surjective.

Proof

(1) \( \rank T = \dim \Range(T) \le \dim W < \dim V \), so by rank–nullity \( \nullity T = \dim V - \rank T > 0 \); thus \( \Null(T) \neq \{0\} \) and (LADR 3.15) \( T \) is not injective.

(2) \( \rank T = \dim V - \nullity T \le \dim V < \dim W \), so \( \dim \Range(T) < \dim W \), i.e. \( \Range(T) \neq W \) and \( T \) is not surjective.

View original handwritten scans — null/range spaces, Def 13–14, Ex 29–31, rank–nullity (Thm 2) & Cor 2–3 (pages 33–41)
Original handwritten page 33 Original handwritten page 34 Original handwritten page 35 Original handwritten page 36 Original handwritten page 37 Original handwritten page 38 Original handwritten page 39 Original handwritten page 40 Original handwritten page 41

Projections

Definition 15 — Projector

\( P \in \Lin(V) \) is a projection operator (projector) if \( P^2 = P \).

Example 7 — projectors

  1. Zero and identity maps: \( 0^2 = 0 \), \( \mathrm{Id}^2 = \mathrm{Id} \).
  2. \( V = \R^2 \), \( P(x_1, x_2) = (x_1, 0) \): \( P^2(x) = P(x_1, 0) = (x_1, 0) = P(x) \). Projection onto the \( x \)-axis.
  3. \( V = \R^2 \), \( P(x) = (x_1 + x_2, 0) \): \( P^2(x) = P(x_1 + x_2, 0) = (x_1 + x_2, 0) = P(x) \).

Ex 32

Show that \( P \) is a projector iff \( \mathrm{Id} - P \) is a projector.

Solution

(\( \Rightarrow \)) With \( P^2 = P \), for \( v \in V \), \[ (\mathrm{Id}-P)^2(v) = (\mathrm{Id}-P)(v - P(v)) = v - P(v) - P(v) + P^2(v) = v - P(v) = (\mathrm{Id}-P)(v), \] so \( \mathrm{Id} - P \) is a projector. (\( \Leftarrow \)) Applying the same to \( \mathrm{Id} - P \): \( \mathrm{Id} - (\mathrm{Id} - P) = P \) is a projector.

Theorem 3 — Projector decomposition

Let \( P \in \Lin(V) \) be a projector. Then \( V = \Null(P) \oplus \Range(P) \). Conversely, if \( V = U \oplus W \), there is a projector \( P \in \Lin(V) \) with \( U = \Null(P) \) and \( W = \Range(P) \); we call \( P \) the projection of \( V \) onto \( W \) along \( U \).

Proof

(\( \Rightarrow \)) For \( v \in V \), write \( v = (\mathrm{Id} - P)(v) + P(v) \). Here \( P(v) \in \Range(P) \), and \( P((\mathrm{Id}-P)(v)) = P(v) - P^2(v) = 0 \), so \( (\mathrm{Id}-P)(v) \in \Null(P) \). Thus \( V = \Null(P) + \Range(P) \). For the direct sum, if \( u \in \Null(P) \cap \Range(P) \), then \( u = P(v) \) for some \( v \), so \( P(u) = P^2(v) = P(v) = u \); but \( u \in \Null(P) \) gives \( P(u) = 0 \), so \( u = 0 \). Hence \( V = \Null(P) \oplus \Range(P) \).

(\( \Leftarrow \)) Given \( V = U \oplus W \), define \( P(v) = w \) where \( v = u + w \) (\( u \in U \), \( w \in W \)). Then \( P(P(v)) = P(w) = w = P(v) \), so \( P \) is a projector; and \( P(v) = 0 \iff w = 0 \iff v \in U \), so \( \Null(P) = U \) and \( \Range(P) = W \).

View original handwritten scans — projections, Def 15, Example 7, Ex 32 & Theorem 3 (pages 42–47)
Original handwritten page 42 Original handwritten page 43 Original handwritten page 44 Original handwritten page 45 Original handwritten page 46 Original handwritten page 47

Matrix Representation

An \( \F \)-valued matrix \( A \) of size \( m \times n \) has entries \( a_{ij} \in \F \), \( m \) rows and \( n \) columns; the \( (i,j) \) entry is \( a_{ij} \). The \( j \)-th column is \( c_j = (a_{1j}, \dots, a_{mj})\T \) and the \( i \)-th row is \( r_i = (a_{i1}, \dots, a_{in}) \). Matrices can be viewed as linear transforms; the space of \( \F \)-valued \( m \times n \) matrices is \( \F^{m\times n} \).

Definition 16 — Matrix product

For \( A \in \F^{m\times n} \) and \( B \in \F^{n\times p} \), the product \( C = AB \in \F^{m\times p} \) is given by \[ c_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj} \qquad (1 \le i \le m,\ 1 \le j \le p). \]

Ex 33

Let \( A \) be defined by \( (A)_{ij} = a_{ij} \), and \( T : \F^n \to \F^m \) by \( (T(x))_i = \sum_{j=1}^{n} a_{ij} x_j \) (\( 1 \le i \le m \)). Show that \( T \in \Lin(\F^n, \F^m) \).

Solution

In matrix form \( T(x) = Ax \). For \( u, v \in \F^n \) and \( \alpha \in \F \): \( (T(u+v))_i = \sum_j a_{ij}(u_j + v_j) = (T(u))_i + (T(v))_i \), and \( (T(\alpha u))_i = \sum_j a_{ij}(\alpha u_j) = \alpha (T(u))_i \). So \( T(u+v) = T(u) + T(v) \), \( T(\alpha u) = \alpha T(u) \), i.e. \( T \in \Lin(\F^n, \F^m) \).

Ex 34 — matrix representation of a linear map

Let \( T \in \Lin(V, W) \), \( \dim V = n \), \( \dim W = m \), with bases \( v_1, \dots, v_n \) of \( V \) (coordinate map \( \varphi : V \to \F^n \)) and \( w_1, \dots, w_m \) of \( W \) (coordinate map \( \psi : W \to \F^m \)). Then there exist \( a_{ij} \in \F \) with \( T(v_j) = \sum_{i=1}^{m} a_{ij} w_i \). Define \( A \in \F^{m\times n} \) by \( (A)_{ij} = a_{ij} \). Show that \( T = \psi^{-1} \circ A \circ \varphi \). We call \( A \) the matrix representation of \( T \), written \( A = [T] \).

Solution

For \( v = b_1 v_1 + \dots + b_n v_n \), \( \varphi(v) = (b_1, \dots, b_n)\T \), and \( A\varphi(v) \in \F^m \) is the column vector (scan: "a row matrix") with \( i \)-th entry \( c_i = \sum_{j=1}^{n} a_{ij} b_j \). Then \[ \psi^{-1}(A\varphi(v)) = \sum_{i=1}^{m} c_i w_i = \sum_{i=1}^{m}\Big(\sum_{j=1}^{n} a_{ij} b_j\Big) w_i. \tag{1} \] On the other hand, using \( T(v_j) = \sum_i a_{ij} w_i \), \[ T(v) = \sum_{j=1}^{n} b_j\, T(v_j) = \sum_{j=1}^{n}\sum_{i=1}^{m} a_{ij} b_j w_i. \tag{2} \] Expressions (1) and (2) agree for all \( v \in V \), so \( T = \psi^{-1} \circ A \circ \varphi \).

V W 𝔽ⁿ 𝔽ᵐ T φ A ψ⁻¹
\( T = \psi^{-1} \circ A \circ \varphi \): coordinatize with \( \varphi \), apply the matrix \( A \), then map back with \( \psi^{-1} \) (Ex 34).

Remark 6

The matrix representation depends on the choice of basis.

Ex 35

Let \( T_1 \in \Lin(V, W) \) and \( T_2 \in \Lin(U, V) \). For a fixed choice of bases for \( U, V, W \), show that \( [T_1 \circ T_2] = [T_1][T_2] \) (LADR 3.43).

Solution

With bases of \( U, V, W \) of sizes \( p, n, m \), let \( [T_1] = A \in \F^{m\times n} \), \( [T_2] = B \in \F^{n\times p} \), so \( T_2(u_j) = \sum_i b_{ij} v_i \) and \( T_1(v_i) = \sum_k a_{ki} w_k \). Then \[ T_1(T_2(u_j)) = \sum_{i=1}^{n} b_{ij}\, T_1(v_i) = \sum_{i=1}^{n} b_{ij} \sum_{k=1}^{m} a_{ki} w_k = \sum_{k=1}^{m}\Big(\sum_{i=1}^{n} a_{ki} b_{ij}\Big) w_k, \] and \( \sum_i a_{ki} b_{ij} \) is the \( (k,j) \) entry of \( AB \). Hence \( [T_1 \circ T_2] = [T_1][T_2] \).

Ex 36

Let \( T \in \Lin(\R^2, \R^2) \), \( T(x_1, x_2) = (x_1 + 2x_2,\ 2x_1 + 4x_2) \). Find \( [T] \) for the following bases.

Solution

Using \( T(v_j) = \sum_i a_{ij} w_i \):

(36.1) \( v_1 = (1,0), v_2 = (0,1) \); \( w_1 = (1,0), w_2 = (0,1) \). \( T(1,0) = (1,2) \Rightarrow (a_{11}, a_{21}) = (1,2) \); \( T(0,1) = (2,4) \Rightarrow (a_{12}, a_{22}) = (2,4) \). So \( A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} \).

(36.2) \( v_1 = (1,2), v_2 = (-2,1) \); \( w_1 = (1,0), w_2 = (0,1) \). \( T(1,2) = (5,10) \Rightarrow (b_{11}, b_{21}) = (5,10) \); \( T(-2,1) = (0,0) \Rightarrow (b_{12}, b_{22}) = (0,0) \). So \( B = \begin{bmatrix} 5 & 0 \\ 10 & 0 \end{bmatrix} \).

(36.3) \( v_1 = (1,2), v_2 = (-2,1) \); \( w_1 = (1,2), w_2 = (-2,1) \). From \( T(1,2) = (5,10) = c_{11}(1,2) + c_{21}(-2,1) \): \( c_{11} - 2c_{21} = 5 \), \( 2c_{11} + c_{21} = 10 \Rightarrow c_{21} = 0,\ c_{11} = 5 \). From \( T(-2,1) = (0,0) = c_{12}(1,2) + c_{22}(-2,1) \): \( c_{12} = c_{22} = 0 \). So \( C = \begin{bmatrix} 5 & 0 \\ 0 & 0 \end{bmatrix} \).

Solution — Ex 36 relation, added in review

The instructor's closing question asks how the three representations relate. \(A\) and \(C\) represent the same operator \(T\) — \(A\) in the standard basis (both sides), \(C\) in the basis \( \{(1,2),(-2,1)\} \) (both sides) — so they are similar: with \( P = \begin{bmatrix} 1 & -2 \\ 2 & 1 \end{bmatrix} \) (columns the new basis vectors), \( C = P^{-1} A P = \begin{bmatrix} 5 & 0 \\ 0 & 0 \end{bmatrix} \). \(C\) is diagonal because \( (1,2) \) and \( (-2,1) \) are eigenvectors of \(T\) with eigenvalues \(5\) and \(0\) — i.e. (36.3) diagonalizes \(T\). The mixed-basis matrix \(B\) (new basis on the domain, standard on the codomain) is the intermediate \( B = AP \).

View original handwritten scans — matrix representation, Def 16, Ex 33–36 (pages 48–59)
Original handwritten page 48 Original handwritten page 49 Original handwritten page 50 Original handwritten page 51 Original handwritten page 52 Original handwritten page 53 Original handwritten page 54 Original handwritten page 55 Original handwritten page 56 Original handwritten page 57 Original handwritten page 58 Original handwritten page 59

Similar Matrices

Definition 17 — Similar matrices

\( M, N \in \F^{n\times n} \) are similar, denoted \( M \sim N \), if there exists an invertible matrix \( P \in \F^{n\times n} \) such that \( M = PNP^{-1} \).

Ex 37

Let \( M \) and \( N \) be matrix representations of a linear operator corresponding to two different bases. Prove that \( M \sim N \).

Solution

For \( T \in \Lin(V) \) with two coordinate maps \( \varphi_1, \varphi_2 \): \( [T] = M \) means \( T = \varphi_1^{-1} M \varphi_1 \), and \( [T] = N \) means \( T = \varphi_2^{-1} N \varphi_2 \). Equating, \[ \varphi_1^{-1} M \varphi_1 = \varphi_2^{-1} N \varphi_2 \implies M = \varphi_1\varphi_2^{-1}\, N\, \varphi_2\varphi_1^{-1}. \] Put \( P = \varphi_1\varphi_2^{-1} \) (invertible, with \( P^{-1} = \varphi_2\varphi_1^{-1} \)); then \( M = PNP^{-1} \), so \( M \sim N \).

The space \( \F^{n\times n} \) is partitioned into equivalence classes \( [M] = \{N : N \sim M\} \), each consisting of all matrix representations of the transform represented by \( M \).

Ex 38

Show that \( \sim \) (similarity) is an equivalence relation on \( \F^{n\times n} \): reflexive, symmetric and transitive.

Solution

Recall \( A \sim B \iff \exists \) invertible \( P \) with \( A = PBP^{-1} \).

Reflexive. \( M = IMI^{-1} \), so \( M \sim M \).

Symmetric. If \( M \sim N \), \( M = PNP^{-1} \Rightarrow P^{-1}MP = N \); with \( P' = P^{-1} \), \( N = P'M(P')^{-1} \), so \( N \sim M \).

Transitive. If \( M = P_1 N P_1^{-1} \) and \( N = P_2 Q P_2^{-1} \), then \( M = P_1 P_2\, Q\, P_2^{-1}P_1^{-1} \); with \( P_3 = P_1 P_2 \) (\( P_3^{-1} = P_2^{-1}P_1^{-1} \)), \( M = P_3 Q P_3^{-1} \), so \( M \sim Q \).

Hence \( \sim \) is an equivalence relation.

View original handwritten scans — similar matrices, Def 17, Ex 37–38 (pages 59–63)
Original handwritten page 59 Original handwritten page 60 Original handwritten page 61 Original handwritten page 62 Original handwritten page 63