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.

Understanding Linear Algebra Fundamentals

A vector is more than a list of numbers. It can represent a displacement, velocity, force, or change in several quantities at once. In a coordinate plane, a two-component vector points from the origin to a location.

Its direction shows where it points, while its length shows its size. Adding vectors combines changes. Multiplying a vector by a number stretches it, shrinks it, or reverses its direction.

The dot product has a useful geometric meaning. It measures how much two vectors point in the same direction.

A dot product of zero means the vectors are perpendicular. This idea appears when physics finds the part of a force acting along a direction.

A matrix can be understood as a rule that takes an input vector and produces an output vector. For a two-dimensional input, the rule may stretch the plane, rotate it, reflect it, or shear it so rectangles become slanted shapes. Each column of a matrix tells where one basic coordinate direction goes after the transformation.

This gives a practical way to check matrix work. Apply the matrix to the basic horizontal direction, then apply it to the basic vertical direction. The resulting arrows reveal the effect of the whole transformation.

When matrices are multiplied, one transformation happens first and the next happens afterward. Changing that order usually changes the final position because rotating before stretching is not generally the same as stretching before rotating.

A system of linear equations describes conditions that must hold at the same time. In two variables, each equation represents a line. A single solution occurs when the lines cross once.

No solution occurs when distinct parallel lines never meet. Infinitely many solutions occur when the equations describe the same line. In three variables, the same ideas involve planes.

Row reduction works because it replaces a system with an equivalent system that has exactly the same solutions. Swapping equations, multiplying an equation by a nonzero number, or adding a multiple of one equation to another does not change the shared solution.

Students should write each row operation clearly. Most errors come from changing one entry but forgetting another entry in the same row.

The determinant gives information about how a square matrix changes area or volume. For a two-dimensional transformation, the absolute value of the determinant is the area scale factor. A determinant with absolute value three makes every region three times as large in area.

A negative determinant means the transformation flips orientation, much like a reflection. A determinant of zero is especially important. It means some direction has been flattened, so different input vectors can produce the same output.

The original input then cannot be recovered uniquely, which is why no inverse exists. In graphics, engineering, economics, and data analysis, matrices often model linked quantities.

Good habits matter more than speed. Track row and column order, keep negative signs visible, and check whether an answer makes geometric sense.