2.6.1 · D4Matrices & Determinants — Introduction

Exercises — Matrix definition — rows, columns, order, elements

2,261 words10 min readBack to topic

This page is a self-test ladder. It builds on the parent note, climbing from "just recognise the parts" up to "invent a matrix from a rule".

Before you start, remember the two anchors from the parent note:

The picture below is the one map you keep returning to. Every exercise is just "read this map correctly".

Figure — Matrix definition — rows, columns, order, elements

Level 1 — Recognition

Goal: read shape and single elements straight off the grid. No arithmetic, just navigation.

Exercise 1.1

Given State the order of , and write down , , and .

Recall Solution

Order. Count rows (down): there are horizontal lines. Count columns (across): vertical lines. So the order is .

— "R then C": down to row , then across to column . That is the top-left number, .

— row , column : stay in the top row , take the rd entry: .

— row , column : go to bottom row , take the nd entry: .

Exercise 1.2

A matrix has order . How many rows, how many columns, and how many elements in total? What special name does this shape carry?

Recall Solution

Order is written rows columns, so means rows and column.

Total elements .

One column, several rows this is a column matrix (a column vector). See Types of Matrices.


Level 2 — Application

Goal: use the order and index rules while doing light arithmetic.

Exercise 2.1

For find the order, the total number of elements, , and . Is square?

Recall Solution

Order. Rows (down): . Columns (across): . Order .

Total elements .

— row , column : bottom row is , th entry . So .

— row , column : middle row , rd entry . So .

Square? A square matrix needs rows columns. Here , so not square — it is rectangular.

Exercise 2.2

A matrix of order is defined by . Compute and .

Recall Solution

The rule takes a position and returns the number that lives there.

: here , , so .

: here , , so .


Level 3 — Analysis

Goal: reason about structure, not just read it — diagonals, patterns, and what changes when the rule changes.

Exercise 3.1

For a matrix, the main diagonal entries are — the elements where the row index equals the column index. If , list the diagonal entries and their sum.

Figure — Matrix definition — rows, columns, order, elements
Recall Solution

The main diagonal is where (look at the green cells in the figure — they run top-left to bottom-right).

With and :

Sum . (This diagonal sum has a name, the trace — you meet it again with the Determinant.)

Exercise 3.2

A matrix is called symmetric when for every pair (its mirror across the main diagonal matches). Test whether is symmetric by checking the off-diagonal pairs.

Recall Solution

"Symmetric" means swapping row and column indices leaves the number unchanged — i.e. equals its own transpose. Check each off-diagonal pair vs :

  • and
  • and
  • and

Every mirror pair matches, so is symmetric.


Level 4 — Synthesis

Goal: build a whole matrix from a rule, and combine several definitions at once.

Exercise 4.1

Construct the full matrix where

Recall Solution

A piecewise rule: for each cell, first compare and to pick which formula applies, then compute.

Row 1 ():

  • : use
  • : use
  • : use

Row 2 ():

  • : use
  • : use
  • : use

Exercise 4.2

Two matrices and are equal only when they share the same order and every corresponding element matches (this is Matrix Equality). Given find and so that .

Recall Solution

Both are , so the shapes already match — now demand element-by-element agreement:

  • Position :
  • Position : ✓ (nothing to solve)
  • Position :
  • Position :

So and .


Level 5 — Mastery

Goal: reverse the logic — infer the rule or order from partial information, and connect to the bigger picture.

Exercise 5.1

A square matrix of order has exactly elements on its main diagonal () and elements in total. A certain square matrix has off-diagonal elements. Find its order and its total element count.

Recall Solution

Total elements . Diagonal elements . So off-diagonal .

Set up the equation from the given information: Rearrange: . Factor: , giving or .

An order must be a positive whole number, so we reject and keep .

Order , total elements (check: off-diagonal ✓).

Exercise 5.2

The columns of a matrix tell you where the two grid directions land under a linear transformation (column = image of the "right" direction, column = image of the "up" direction). Write the matrix that sends the "right" direction to the point and the "up" direction to the point — a turn. State element .

Figure — Matrix definition — rows, columns, order, elements
Recall Solution

Each column is a landing point written vertically. Column is where "right" goes: becomes . Column is where "up" goes: becomes . Place them side by side: — row , column : bottom-left entry . So .

(This is the rotation matrix you meet in Matrix Multiplication and System of Linear Equations later — here we only read and build it.)


Recall Quick self-check (cloze)

The first subscript of always selects the row. The order lists rows before columns. A matrix with is called a square matrix. Two matrices are equal only if they have the same order and equal elements. The main diagonal of a matrix is the set of entries where ====.

Order lists rows before columns — true or false?
True
lives in which row and column?
Row 3, column 1
For , what is ?
A square matrix of order has how many off-diagonal elements?