Multivariable-Calculus · Unit 3 · Video 4 · Interactive Practice
Right to Left: What AB Does, What I Does, and the Matrix That Rotates the Plane
IKey Formulas
Formula
Name
What it says
(AB)X=A(BX)
Associativity
AB means: apply B first, then A
AB=BA, and BA need not exist
Order matters
AB is defined when the width of A equals the height of B
IX=X for every X
The identity matrix
Ones down the diagonal, zeros elsewhere — one I for each size
R=(01−10),R(xy)=(−yx)
Rotation by 90°
Its columns are R^=^ and R^=−^
Key Insight: Reading runs left to right, but acting runs right to left — in AB the factor nearest the input goes first. And the columns of any matrix are exactly where the basis vectors land, because multiplying by ^ picks out column 1.
IIVisualization 1 — AB Means B First
In AB the factor nearest the input acts first: B transforms X, then A transforms the result.
💡 Both orders exist here only because every factor is 2×2. If A is 3×4 and B is 4×2, then AB is defined and is 3×2, while BA is not defined at all.
IIIVisualization 2 — The Columns Are the Images of the Basis Vectors
The two columns of M are nothing but the places where ^ and ^ land.
💡 The same reading works in every size: column k of M is M applied to the k-th basis vector, which is why the 3×3 identity — columns ^,^,k^ — returns every column of three entries unchanged.
IVVisualization 3 — Multiplying R by Itself
Composing the quarter turn with itself is ordinary matrix multiplication: R2, R3, R4.
💡 Because R4=I, three more quarter turns undo one: R3R=I, so R3 is the matrix that undoes R — the first example of an inverse matrix.
VQuiz Questions
Problem 1 · Applying the Rotation Matrix
Given:R=(01−10) — computeR(32).
✅ Correct!R sends (x,y) to (−y,x), so (3,2) lands on (−2,3) — a quarter turn counterclockwise.
❌ Close, but that is the turn the other way.(y,−x) is a clockwise quarter turn; it comes from dotting the input with the columns of R instead of the rows.
❌ That negates x and leaves y alone. That is a flip across the y-axis. Row one of R is (0,−1), so the first entry of the answer is −y, never −x.
❌ That is two quarter turns.(−3,−2)=−(3,2) is R2=−I applied to the input, not R.
❌ Not quite. Entry one is row one dotted with the column: 0⋅3+(−1)⋅2. Entry two is row two: 1⋅3+0⋅2.
Show solution
Each entry of the answer is a row of R dotted with the input column:
R(32)=(0⋅3+(−1)⋅21⋅3+0⋅2)=(−23)
This matches the general rule (x,y)↦(−y,x) with x=3 and y=2.
Check the lengths:∣(3,2)∣=13 and ∣(−2,3)∣=13 — a rotation cannot change a length.
Problem 2 · Which Product Even Exists
Given:A is 3×4 and B is 4×2. Which statement is true?
✅ Correct!(3×4)(4×2): the inner 4s match, and the answer takes the outer sizes, 3×2. Reversed, the inner sizes are 2 and 3 — no match.
❌ Check BA. It reads (4×2)(3×4): the width of B is 2 and the height of A is 3, so the rows of B and the columns of A have different lengths and no dot product can be formed.
❌ You kept the inner sizes. The inner pair must match; the product inherits the outer pair, so (3×4)(4×2) is 3×2.
❌ Check AB again. The width of A is 4 and the height of B is 4: the inner sizes agree, so AB certainly exists. It is BA that fails.
❌ Not quite. Compare the width of the left factor with the height of the right factor in each order.
Show solution
AB:A is 3×4, B is 4×2. The width of A is 4 and the height of B is 4, so each row of A and each column of B have four entries and their dot product makes sense. The product has one entry for each row of A and each column of B:
(3×4)(4×2)=3×2
BA: now the width of B is 2 and the height of A is 3.
(4×2)(3×4)undefined
So AB and BA are not merely different answers — only one of them is even a question.
Problem 3 · Both Orders of the Same Pair
Given: the quarter turn A=(01−10) and the shear B=(1011) — compute both products.
What is AB?
What is BA?
✅ Correct! Two genuinely different matrices: AB shears and then turns, BA turns and then shears.
❌ Check AB. Entry (i,j) is row i of A dotted with column j of B. Row one of A is (0,−1); column two of B is (1,1).
❌ Check BA. Now the rows come from B and the columns from A. Row one of B is (1,1); column one of A is (0,1).
Read them as transformations. Column one of AB is (0,1), so AB sends ^ to ^: the shear leaves ^ alone and the turn lifts it. Column one of BA is (1,1), so BA sends ^ to (1,1): the turn lifts it to ^ first, and the shear then slides it sideways.
Problem 4 · From a Formula to a Matrix, and to a Power of R
Given: a transformation of the plane sends (x,y) to (y,−x) — write it as a matrix, then name it as a power ofR=(01−10).
Which matrix is it?
Which power of R is it?
✅ Correct! Three counterclockwise quarter turns is one clockwise quarter turn, and R3=R2R=(−I)R=−R.
❌ Check the coefficients. Write both outputs with every coefficient showing: u=0⋅x+1⋅y and v=(−1)⋅x+0⋅y, then read the rows off.
❌ Count the quarter turns.R2=−I sends (x,y) to (−x,−y) and R4=I changes nothing, so neither of those is (y,−x).
Show solution
Step 1 — write the outputs with every coefficient in place. Calling the outputs u and v:
u=y=0⋅x+1⋅y,v=−x=(−1)⋅x+0⋅y
Step 2 — read the coefficients off, row by row:
M=(0−110)
Step 3 — identify it as a power of R. Since R2=−I,
R3=R2R=(−I)R=−R=(0−110)=M
Check with the basis vectors.M^ is column one, (0,−1)=−^; three counterclockwise quarter turns do carry ^ to −^. And MR=R3R=R4=I, so this is exactly the transformation that undoes R.