Linear Transformations

Linear Transformations
Transformations are functions that map one vector to another vector.
T:Rn→Rm is a linear transformation if for all scalars c,d∈R and for all vectors x1, x2∈Rn, then
If T:Rn→Rm is a linear transformation, then there exists a matrix A that is said to induce T:
Finding the Matrix Associated with a Linear Transformation
The matrix A that induces T is given by applying T to every column of the identity matrix.
Denoting the ith column of In as ei, we get:
A==[T(e1)T10⋮0T(e2)T01⋮0⋯⋯T(en)]T00⋮1
Example
Suppose T:R3→R2 is given by Txyz=[x+yz]. Find the matrix that induces T.
The input of T is a vector in R3, so we apply T to the columns of I3:
A=T100T010T001=[101001]

Example: Linear Transformations
Find the matrix that induces the linear transformation T:R3→R3 defined by:
Txyz=x−y3y3x+2z.
Step 1
Define the following vectors by applying T to the columns of I3:
⟹⟹u=T100u=1−03(0)3(1)+2(0)u=103v=T010v=0−13(1)3(0)+2(0)v=−130w=T001w=0−03(0)3(0)+2(1)w=002
Step 2
A=[u v w]=103−130002

Example: Proving a Transformation is Linear
Suppose a transformation T:R3→R2 is defined as:
Txyz=[x+2z−y]
Prove that T is a linear transformation.
Let x=xyz, u=uvw∈R3 and let c,d∈R.
Our goal is to show that T(cx+du)=cT(x)+dT(u). Starting with the LHS:
T(cx+du)======Tcxyz+duvwTcx+ducy+dvcz+dw[(cx+du)+2(cz+dw)−(cy+dv)][c(x+2z)+d(u+2w)c(−y)+d(−v)]c[x+2z−y]+d[u+2w−v]cT(x)+dT(u)
Therefore, T is in fact a linear transformation.
Practice: Linear Transformations
Suppose T:R2→R3 is a linear transformation where
T[25]=123,T[38]=−101.
Find the matrix that induces T.