4.5.6 · D4Linear Algebra (Full)

Exercises — Matrices — review, operations, types

2,232 words10 min readBack to topic

Quick reminders (all earned in the parent):

  • A matrix is a grid; its order is (rows) (columns), written .
  • — row of dotted with column of (a dot product).
  • Transpose flips rows and columns; reversal law .
  • Symmetric: . Skew-symmetric: (zero diagonal).
  • Diagonal matrix: every off-diagonal entry is zero — nonzero numbers appear only where row index equals column index ( whenever ).

Level 1 — Recognition

Recall Solution

WHAT we do: count rows, then columns. WHY: order is always rows-first. has rows and columns, so its order is . The entry sits in row , column . Walking to row 2 gives ; its 3rd number is .

Recall Solution

Rule used: for a product the inner dimensions must agree ; for a sum the orders must be identical.

  • : → inner ✅ → order .
  • : → inner ❌ does not exist.
  • : → inner ❌ does not exist.
  • : both ✅ → order .
Recall Solution

Compare each with its transpose (and recall diagonal = off-diagonal entries all zero, from the reminders above).

  • skew-symmetric (note the zero diagonal, as forced by ).
  • : both off-diagonal entries are , so nonzero numbers sit only where diagonal (and since , also symmetric).
  • itself → symmetric.

Level 2 — Application

Recall Solution

WHAT: each output entry = row of · column of . WHY: that is the definition forced by composition, .

Recall Solution

Since , indeed . Order of actions matters.

Recall Solution

WHY is guaranteed symmetric. Transpose it and use two facts — transpose distributes over addition, , and : Since , is symmetric — no matter what was. WHY is guaranteed skew. Same move, watching the sign: Since , is skew-symmetric (and so its diagonal must be zero, since ). Now the numbers. . Check: ✅, and has zero diagonal ✅ (exactly as the proof predicted).

Recall Solution

. , so Matches . The order reversed — socks-and-shoes.


Level 3 — Analysis

Recall Solution

Part 1. Take . Using (row of dotted with column of , legal since inner dims ): Yet neither nor is the zero matrix — zero divisors exist. (Here also happens to be , so this pair does not prove can be nonzero.)

Part 2 — the edge case. Take . WHY these: kills the first column and shifts the second up; keeps only the first column. Computing entry by entry with the same summation rule : But swapping the order, again by : So definitely does not force . The single fact you may conclude from is: nothing about or individually being zero.

Recall Solution

As a linear map, sends the -axis onto the -axis and the -axis to . Apply it twice: everything first lands on the -axis, then the -axis is squashed to — that is exactly nilpotency with . Reading the figure below (caption: " is nilpotent: "). The horizontal line is the -axis, the vertical line is the -axis (both drawn in navy). The orange arrow is , the unit vector pointing along the -axis; the violet arrow is , the unit vector pointing up the -axis. The magenta arrow shows the image : it lies flat along the -axis and lands exactly on , because . The lone navy dot at the origin marks — the -axis vector is crushed to the origin. So one application flattens the whole plane onto the -axis, and a second application collapses that line to : the picture is the statement .

Figure — Matrices — review, operations, types

Recall Solution

Orthogonal means . Here , so ✅ orthogonal. Its columns are unit length and perpendicular; it is a rotation by (it preserves lengths and angles). See the parent's link to Eigenvalues and Eigenvectors for why such matrices are special.


Level 4 — Synthesis

Recall Solution

WHAT: strip variables — the matrix is the system (parent's core idea). For a , (from Determinant and Inverse of a Matrix). Here , so is non-singular. So . Check: ✅, ✅. Links to Systems of Linear Equations.

Recall Solution

is , is .

  • : — a single number, the dot product (squared length).
  • : — a full matrix: This is symmetric (as always is, since ). Note it is not a projection here: a projector must satisfy , but . Only after dividing by — i.e. , which uses a unit direction — do you get a genuine projection onto the line through .
Recall Solution

Proof: group . Then , applying the reversal law twice. Check. , , so .


Level 5 — Mastery

Recall Solution

Let . Take its transpose and use the reversal law: Since , is symmetric — no matter what was. (We used .)

Recall Solution

Step 1 — write the trace as a double sum. By definition the diagonal entry is row of dotted with column of , i.e. . Summing over the diagonal: Step 2 — swap the order of the two sums. Both and run over the same finite index set, and each term is just an ordinary number; a finite sum of numbers may be added in any order (this is why the interchange is legal — no limits, no convergence worries). So Step 3 — rename and recognise . Since numbers commute, . Reading the inner sum over : is exactly row of dotted with column of , i.e. . Hence Chaining Steps 1–3 gives . Check. , so . , so ✅. (Note , yet the traces agree — as proved.)

Recall Solution

Transpose : (using , ). Now we have two equations: Add them: . Subtract: . The split is forced — there is exactly one symmetric+skew decomposition.

Recall Solution

Since the dot product encodes lengths and angles, leaves both unchanged: orthogonal maps are exactly the rigid rotations/reflections. Setting shows lengths are preserved.


Connections