2.6.5 · D4Matrices & Determinants — Introduction

Exercises — Matrix multiplication — conditions, process, non-commutativity

1,835 words8 min readBack to topic

This page is a ladder. Each rung asks slightly more of you than the last. Do the problem before opening the solution — the solutions are collapsed on purpose so the page tests you.

Everything here rests on one single rule from the parent note:

Figure — Matrix multiplication — conditions, process, non-commutativity

Here the red path is row of sliding across, meeting the red column of sliding down. Where they cross, one number of the answer is born.


Level 1 — Recognition

(Can you even tell whether a product is legal, and what shape it has?)

Exercise 1.1

For each pair, say whether is defined, and if so give the size of .

  • (a) is , is .
  • (b) is , is .
  • (c) is (a row), is (a column).
  • (d) is , is .
Recall Solution 1.1

Rule: for times , we need ; the answer is .

  • (a) inner numbers and match → defined, size . ✓
  • (b) inner numbers and do not match → undefined. ✗
  • (c) inner numbers and match → defined, size (a single number — this is exactly a dot product).
  • (d) inner numbers and match → defined, size (a whole grid from a column times a row!).

Notice (c) and (d) use the same two matrices but in swapped order and give completely different shapes. Order matters even for the shape.


Level 2 — Application

(Run the rule by hand, all entries, no shortcuts.)

Exercise 2.1

Compute where

Recall Solution 2.1

Both are , inner numbers match, answer is . Each entry = (row of )·(column of ).

Exercise 2.2

Compute the product of the row and column

Recall Solution 2.2

times → answer is . Just one dot product: Answer: . This is the smallest possible matrix product — the atom every bigger product is built from.

Exercise 2.3

is , is : Find .

Recall Solution 2.3

Answer is .


Level 3 — Analysis

(Now you must reason about why, not just crank.)

Exercise 3.1

Using and , compute both and and confirm they differ. Then state in one sentence what geometric fact this demonstrates (Linear transformations).

Recall Solution 3.1

. Meaning: matrices are transformations, and "do then " is generally a different combined transformation than "do then " — order of composition matters.

Exercise 3.2

Let . Compute . What does the answer tell you about "zero divisors" — can a non-zero matrix square to the zero matrix?

Recall Solution 3.2

So a non-zero matrix can square to the zero matrix. With ordinary numbers, ; that guarantee fails for matrices. Such is called nilpotent, and its existence is exactly why you cannot "cancel" matrices freely (unlike with invertible ones).

Exercise 3.3

Find a matrix (not the zero matrix, not the identity) such that . Verify.

Recall Solution 3.3

A matrix with is a projection. Try Geometrically it flattens every vector onto the -axis; flattening an already-flat thing changes nothing, so applying it twice equals applying it once.


Level 4 — Synthesis

(Combine multiplication with other tools.)

Exercise 4.1

Verify (see Matrix transpose properties) for Here (transpose) means "flip rows and columns": the entry in row , col moves to row , col .

Recall Solution 4.1

First : Transpose (flip across the diagonal): Now the other side. , . They match. Notice the order flips: it is , not .

Exercise 4.2

Check that (Determinants) for where for a matrix .

Recall Solution 4.2

. . So the product of determinants is . Now : ✓ Equal, as promised. (Determinant is multiplicative — a rare place where order doesn't sting, because scalars commute.)

Exercise 4.3

Solve the system using matrix-vector multiplication (System of linear equations). Given write out the two scalar equations represents, then solve for .

Recall Solution 4.3

means: row 1 of dotted with , then row 2 of dotted with . Add the two equations: . Back-substitute: . Check: ✓ and ✓. So .


Level 5 — Mastery

(One problem that leans on everything above.)

Exercise 5.1

Let The unit vector points along the positive -axis.

  • (a) Compute and . Confirm .
  • (b) Apply the transformation "stretch then rotate" to . Which matrix product represents this — or ? Compute the resulting vector.
  • (c) Apply "rotate then stretch" to and compute the result.
  • (d) In one sentence, explain the difference you see geometrically.
Recall Solution 5.1

(a) . ✓

(b) "First , then " means apply nearest the vector: . So use . Step 1 — stretch: (arrow doubles along ). Step 2 — rotate that: . Result: (points up, length 2). Same as : . ✓

(c) "First , then " = . Step 1 — rotate: (arrow now points up, still length 1). Step 2 — stretch horizontally: (the horizontal stretch does nothing to a vertical arrow!). Result: . Same as . ✓

(d) Stretching first lengthens the arrow while it still lies along , so the stretch bites (final length 2); rotating first turns the arrow off the -axis before the horizontal stretch, so the stretch has nothing to grab and the length stays 1. Same two operations, opposite order, different vector — that is non-commutativity, made visible.

Figure — Matrix multiplication — conditions, process, non-commutativity

[!recall]- One-line self-check before you leave

Which acts on first in the product ?
(rightmost, nearest the vector); then ; then .
For and , size of ?
.
Is ?
No — the order reverses: .

Connections