📝 Worksheet← Lesson
BitWithBite
Linear Algebra · Quick Reference

Matrices Cheat Sheet

Linear Algebra · Lesson 1/7
In one line: a matrix is a rectangular array of numbers organized into rows and columns — this lesson goes beyond the basics to cover the special types of matrices that show up constantly in linear algebra.

Key Ideas

1Matrix Notation. A matrix is usually named with a capital letter (A, B, ...) and its entries referenced by row and column position, like a_ij for the entry in row i, column j.
2Square Matrix. A matrix with the same number of rows and columns (n x n) — required for many operations like determinants and eigenvalues.
3Identity Matrix (I). A square matrix with 1s on the main diagonal and 0s everywhere else; acts like the number 1 does in ordinary multiplication.
4Zero Matrix. A matrix where every entry is 0; acts like the number 0 does in ordinary addition.
5Diagonal Matrix. A square matrix where every entry off the main diagonal is 0 (diagonal entries can be anything).

Worked Examples

Write the 3x3 identity matrix.
[[1,0,0],[0,1,0],[0,0,1]]
Find the transpose of [[1,2,3],[4,5,6]].
[[1,4],[2,5],[3,6]]
Is [[5,0],[0,8]] a diagonal matrix?
Yes, it's a diagonal matrix

Practice Yourself

Write the 2x2 identity matrix.
[[1,0],[0,1]]
Find the transpose of [[1,2],[3,4]].
[[1,3],[2,4]]
Is a 2x3 matrix square?
No, a square matrix must have equal rows and columns
Find the transpose of [[7,8,9]] (a 1x3 row matrix).
[[7],[8],[9]] (a 3x1 column matrix)