← Back to Math 010

1.9 Compositions of Matrix Transformations: Class Notes

Definitions

The composition of TB with TA is achieved by first applying the matrix transformation TA to a vector and then applying the matrix transformation TB to the image vector. We denote the composition of TB with TA by TB∘TA which is read “TB circle TA.” This is also expressed as (TB∘TA)(𝐱)=TB(TA(𝐱)).

Theorem 1.9.1

If TA:Rn→Rk and TB:Rk→Rm are matrix transformations, then TB∘TA is also a matrix transformation, and TB∘TA=TBA.

Proof

Let TA and TB be as described, and let x→∈Rn. Then TA(x→)=Ax→ and TB(x→)=Bx→ by the definition of a matrix transformation. So

(TB∘TA)(x→)=TB(TA(x→))=TB(Ax→)=B(Ax→)=(BA)x→=TBA(x→)

The first line is the definition of composition, and B(Ax→)=(BA)x→ by associativity of matrix multiplication.

Tip: This is why matrix multiplication is defined the way it is.

#8

Find the standard matrix for the stated composition in R2.

a. A rotation about the origin of 60°, followed by an orthogonal projection onto the x-axis, followed by a reflection about the line y=x.

b. An orthogonal projection onto the x-axis, followed by a rotation about the origin of 45°, followed by a reflection about the y-axis.

c. A rotation about the origin of 15°, followed by a rotation about the origin of 105°, followed by a rotation about the origin of 60°.

Solution

a. Recall that

Rθ=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]

so

R60∘=[cos⁡60∘−sin⁡60∘sin⁡60∘cos⁡60∘]=[12−323212]

For the projection TA(x,y)=(x,0), A=[1000].

For the reflection TB(x,y)=(y,x), B=[0110].

The rotation is applied first, so its matrix goes on the right:

TB∘TA∘R60∘=BAR60∘=[0110][1000][12−323212]=[0110][12−3200]=[0012−32]

Answer: [0012−32]

Note that this means

(TB∘TA∘R60∘)([x1x2])=[012x1−32x2]

c. Rotating by 15°, then 105°, then 60° rotates by 15° + 105° + 60° = 180° in all:

R60∘∘R105∘∘R15∘=R180∘=[−100−1]

Answer: [−100−1]

Bonus

A rotation by α followed by a rotation by β:

[cos⁡β−sin⁡βsin⁡βcos⁡β][cos⁡α−sin⁡αsin⁡αcos⁡α]=[cos⁡βcos⁡α−sin⁡βsin⁡α−(sin⁡αcos⁡β+cos⁡αsin⁡β)sin⁡αcos⁡β+cos⁡αsin⁡βcos⁡αcos⁡β−sin⁡αsin⁡β]=[cos⁡(α+β)−sin⁡(α+β)sin⁡(α+β)cos⁡(α+β)]=Rα+β

by the angle-sum identities, which is why the rotations in part c combine into a single rotation by 180°.

#12

Let T1(x1,x2,x3)=(4x1,−2x1+x2,−x1−3x2) and T2(x1,x2,x3)=(x1+2x2,−x3,4x1−x3).

a. Find the standard matrices for T1 and T2.

b. Find the standard matrices for T2∘T1 and T1∘T2.

c. Use the matrices obtained in part (b) to find formulas for T1(T2(x1,x2,x3)) and T2(T1(x1,x2,x3)).

Solution

Tip: Parts a and b ask for matrices; part c asks for formulas.

a. Each row of the standard matrix holds the coefficients of x1, x2, x3 in one component of the formula.

[T1]=[400−210−1−30],[T2]=[12000−140−1]

b.

[T2∘T1]=[T2][T1]=[12000−140−1][400−210−1−30]=[0201301730]

[T1∘T2]=[T1][T2]=[400−210−1−30][12000−140−1]=[480−2−4−1−1−23]

c. Read each formula off the rows of the matrix from part b:

T1(T2(x1,x2,x3))=(T1∘T2)(x1,x2,x3)=(4x1+8x2,−2x1−4x2−x3,−x1−2x2+3x3)

T2(T1(x1,x2,x3))=(T2∘T1)(x1,x2,x3)=(2x2,x1+3x2,17x1+3x2)

Definition

If TA:Rn→Rn is a matrix operator whose standard matrix A is invertible, then TA is invertible, and the inverse of TA is TA−1=TA−1.

#20

Determine whether the matrix operator T:R3→R3 defined by the equations is invertible; if so, find the standard matrix for the inverse operator, and find T−1(w1,w2,w3).

a.

w1=x1−2x2+2x3w2=2x1+x2+x3w3=x1+x2

b.

w1=x1−3x2+4x3w2=−x1+x2+x3w3=−2x2+5x3

Solution

a. Row reduce [A∣I], where A is the standard matrix of T:

[1−22100211010110001]

Create the zeros in this order: (1) below the first pivot, (2) below the second pivot, (3) above the third pivot, (4) above the second pivot, and (5) make every pivot 1. In the matrices below, the entries made in each step are shown in that step’s color.

Step 1: R2→2R1−R2 and R3→R1−R3

[1−221000−532−100−3210−1]

Step 2: R3→5R3−3R2

[1−221000−532−10001−13−5]

Step 3: R1→R1−2R3 and R2→−15(R2−3R3)

[1−203−610010−12−3001−13−5]

Step 4: R1→R1+2R2

[1001−24010−12−3001−13−5]

Step 5: every pivot is already 1, so the left side is I.

The left side reduced to I, so A is invertible, and so is T. The standard matrix for the inverse operator is the right side:

[T−1]=A−1=[1−24−12−3−13−5]

so

Answer: T−1(w1,w2,w3)=(w1−2w2+4w3,−w1+2w2−3w3,−w1+3w2−5w3)

b. Row reduce [A∣I]:

[1−34100−1110100−25001]

R2→R2+R1:

[1−341000−251100−25001]

Rows 2 and 3 now have the same left side, so R3→R3−R2 would give a row of zeros on the left. The left side can’t reduce to I, so A is not invertible.

Answer: T is not invertible.