- 1. What is a matrix?
- 2. How big is it? The order of a matrix
- 3. Types of matrices: row, column, square, diagonal, scalar, identity, zero
- 4. When are two matrices equal?
- 5. Adding matrices and multiplying by a number
- 6. Multiplying matrices: row into column
- 7. Why AB is not BA, and other surprises of matrix multiplication
- 8. Turning rows into columns: the transpose
- 9. Symmetric and skew symmetric matrices
- 10. Undoing a matrix: invertible matrices
- 11. Finding an inverse with row operations (JEE extra)
- Review
3 of 11·NCERT §3.3·5 min
Types of matrices: row, column, square, diagonal, scalar, identity, zero
The big ideaMatrices get special names from their shape (one row, one column, square) or from a pattern in their entries (zeros off the diagonal, equal diagonal entries, all zeros).
In simple words
Some grids are just one line long. Some are one line tall. Some have as many lines across as down, like a chessboard. In a chessboard-shaped grid there is a slanting line of boxes from the top left corner to the bottom right. Many special grids are about that slanting line: what sits on it, and whether every other box is empty.
Named by shape
- A column matrix has only one column, so its order is m × 1. Example: \( \begin{bmatrix} 3 \\ -1 \\ 0 \end{bmatrix} \) is 3 × 1.
- A row matrix has only one row, so its order is 1 × n. Example: \( \begin{bmatrix} 4 & 0 & -2 & 7 \end{bmatrix} \) is 1 × 4.
- A square matrix has as many rows as columns (m = n). An n × n matrix is called a square matrix of order n.
The diagonal of a square matrix
In a square matrix \( A = [a_{ij}]_{n \times n} \), the entries \( a_{11}, a_{22}, \ldots, a_{nn} \), where the row number equals the column number, form the diagonal (also called the leading or principal diagonal). It runs from the top left corner to the bottom right. In
\[ \begin{bmatrix} 2 & 7 & 1 \\ 0 & -3 & 4 \\ 5 & 6 & 9 \end{bmatrix} \]
the diagonal entries are 2, −3 and 9. Only square matrices have this diagonal.
All seven types at a glance
| Type | Rule | Example |
|---|---|---|
| Column matrix | Only one column: \( [a_{ij}]_{m \times 1} \) | \( \begin{bmatrix} 3 \\ -1 \\ 0 \end{bmatrix} \) |
| Row matrix | Only one row: \( [a_{ij}]_{1 \times n} \) | \( \begin{bmatrix} 4 & 0 & -2 & 7 \end{bmatrix} \) |
| Square matrix | Rows = columns (m = n) | \( \begin{bmatrix} 1 & 8 \\ -5 & 2 \end{bmatrix} \) |
| Diagonal matrix | Square, and \( a_{ij} = 0 \) whenever \( i \neq j \) | \( \begin{bmatrix} 2 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 5 \end{bmatrix} \) |
| Scalar matrix | Diagonal, with every diagonal entry the same number k | \( \begin{bmatrix} 3 & 0 \\ 0 & 3 \end{bmatrix} \) |
| Identity matrix \( I_n \) | Diagonal entries all 1, everything else 0 | \( I_3 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \) |
| Zero (null) matrix O | Every entry is 0 (any order) | \( \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \) |
Some notes on the table:
- A diagonal matrix may have zeros on the diagonal too. Only the entries off the diagonal are forced to be 0.
- A scalar matrix is a diagonal matrix with \( a_{ii} = k \) for some fixed number k. With k = 1 it is the identity.
- The identity matrix of order n is written \( I_n \), or just I when the order is clear. Its entries are 1 when i = j and 0 when i ≠ j. It plays the part of the number 1 in multiplication, as you will see.
- The zero matrix or null matrix is written O. It does not have to be square: [0 0] is a 1 × 2 zero matrix.
Try it: change the size and the entries, and watch which names switch on and off. Then take the challenges.
Guess first: is the zero matrix diagonal?
Take \( O = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} \). Guess: is it a diagonal matrix? Is it a scalar matrix?
See what happens
Two more types and the trace
Not in the current textbook, but JEE asks it: a square matrix is upper triangular if every entry below the diagonal is 0 (\( a_{ij} = 0 \) for \( i > j \)), and lower triangular if every entry above it is 0 (\( a_{ij} = 0 \) for \( i < j \)). A diagonal matrix is both. The trace of a square matrix is the sum of its diagonal entries: for the 3 × 3 matrix above, trace = 2 + (−3) + 9 = 8.
Remember
- Column: m × 1. Row: 1 × n. Square: n × n.
- Diagonal ⊃ scalar ⊃ identity: each is a special case of the one before.
- Diagonal, scalar and identity matrices are always square. A zero matrix can be any shape.
- Square matrix of order n
- An n × n matrix.
- Diagonal (of a square matrix)
- The entries \( a_{11}, a_{22}, \ldots, a_{nn} \), top left to bottom right.
- Diagonal matrix
- Square, with every entry off the diagonal equal to 0.
- Scalar matrix
- A diagonal matrix with all diagonal entries equal.
- Identity matrix \( I_n \)
- 1s on the diagonal, 0s everywhere else.
- Zero (null) matrix O
- A matrix of any order with every entry 0.
Words to know
Which statement is true?
- Every diagonal matrix is a scalar matrix
- Every identity matrix is a scalar matrix
- Every zero matrix is square
What type is \( \begin{bmatrix} 4 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & -1 \end{bmatrix} \)?
- Diagonal, but not scalar
- Scalar
- Not diagonal, because a diagonal entry is 0
A matrix has order 1 × 1. Which of these is it not automatically?
- Square
- Scalar
- Identity
Picture and video credits