Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Linear algebra fundamentals introduce students to matrices, vectors, systems of equations, and transformations. This cheat sheet helps organize the notation and rules that often appear in algebra, precalculus, computer science, and physics. Students need it because small errors in matrix size, order, or arithmetic can change an entire answer.

It is designed as a quick reference for checking procedures and formulas while solving problems.

The most important ideas are matrix dimensions, vector operations, matrix multiplication, determinants, inverses, and solving linear systems. A matrix with size m×nm \times n has mm rows and nn columns, and many operations only work when dimensions match. Matrix multiplication uses row by column dot products, so usually ABBAAB \ne BA.

Determinants and inverses help decide whether a square matrix can be used to solve systems like Ax=bA\vec{x}=\vec{b}.

Key Facts

  • A matrix with mm rows and nn columns has size m×nm \times n, and its entry in row ii and column jj is written aija_{ij}.
  • Matrices can be added or subtracted only when they have the same dimensions, using (A+B)ij=aij+bij(A+B)_{ij}=a_{ij}+b_{ij}.
  • Scalar multiplication means multiplying every entry by the same number, so (kA)ij=kaij(kA)_{ij}=ka_{ij}.
  • Matrix multiplication ABAB is defined only when the number of columns of AA equals the number of rows of BB.
  • The entry in row ii and column jj of ABAB is (AB)ij=k=1naikbkj(AB)_{ij}=\sum_{k=1}^{n}a_{ik}b_{kj}.
  • For vectors, the dot product is uv=u1v1+u2v2++unvn\vec{u}\cdot\vec{v}=u_1v_1+u_2v_2+\cdots+u_nv_n.
  • For a 2×22\times2 matrix A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix}, the determinant is det(A)=adbc\det(A)=ad-bc.
  • If A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix} and adbc0ad-bc\ne0, then A1=1adbc[dbca]A^{-1}=\frac{1}{ad-bc}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}.

Vocabulary

Matrix
A matrix is a rectangular array of numbers arranged in rows and columns.
Dimension
The dimension of a matrix is its size, written as rows by columns, such as 3×23\times2.
Vector
A vector is an ordered list of numbers that can represent a direction, a point, or a quantity with components.
Dot Product
The dot product combines two equal-length vectors by multiplying matching components and adding the results.
Determinant
The determinant is a number calculated from a square matrix that helps show whether the matrix has an inverse.
Inverse Matrix
An inverse matrix A1A^{-1} reverses the effect of AA and satisfies AA1=IAA^{-1}=I when it exists.

Common Mistakes to Avoid

  • Adding matrices with different dimensions is wrong because matrix addition requires matching entries in the same positions.
  • Multiplying matrices in the wrong order is wrong because matrix multiplication is not usually commutative, so ABAB and BABA may be different or one may be undefined.
  • Forgetting the row by column rule is wrong because each entry of ABAB must come from a dot product of a row of AA with a column of BB.
  • Using the inverse formula when det(A)=0\det(A)=0 is wrong because a square matrix has no inverse if its determinant is zero.
  • Confusing rows and columns in matrix size is wrong because a 2×32\times3 matrix has 22 rows and 33 columns, not the other way around.

Practice Questions

  1. 1 Find the size of A=[412035]A=\begin{bmatrix}4&-1&2\\0&3&5\end{bmatrix} and identify the entry a23a_{23}.
  2. 2 Compute ABAB for A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[2015]B=\begin{bmatrix}2&0\\1&5\end{bmatrix}.
  3. 3 Find det(A)\det(A) and decide whether A1A^{-1} exists for A=[6231]A=\begin{bmatrix}6&2\\3&1\end{bmatrix}.
  4. 4 Explain why the product of a 3×23\times2 matrix and a 3×33\times3 matrix is undefined, but the product of a 3×33\times3 matrix and a 3×23\times2 matrix is defined.