Fiveable

📈College Algebra Unit 11 Review

QR code for College Algebra practice questions

11.5 Matrices and Matrix Operations

11.5 Matrices and Matrix Operations

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📈College Algebra
Unit & Topic Study Guides

Matrix Operations

A matrix is a rectangular array of numbers arranged in rows and columns. Matrices give us a compact way to organize data and, more importantly for this unit, to represent and solve systems of linear equations. This section covers the core operations you can perform on matrices and how those operations connect back to solving systems.

Matrix Addition and Subtraction

Two matrices can only be added or subtracted if they share the same dimensions (same number of rows and same number of columns). When that condition is met, you simply add or subtract the corresponding entries, position by position. The result is a new matrix with those same dimensions.

[1234]+[5678]=[1+52+63+74+8]=[681012]\begin{bmatrix}1 & 2\\3 & 4\end{bmatrix} + \begin{bmatrix}5 & 6\\7 & 8\end{bmatrix} = \begin{bmatrix}1+5 & 2+6\\3+7 & 4+8\end{bmatrix} = \begin{bmatrix}6 & 8\\10 & 12\end{bmatrix}

Subtraction works the same way: subtract each entry in the second matrix from the corresponding entry in the first.

Scalar multiplication means multiplying every entry in a matrix by a single constant (the scalar). The resulting matrix keeps the same dimensions.

3×[1234]=[3(1)3(2)3(3)3(4)]=[36912]3 \times \begin{bmatrix}1 & 2\\3 & 4\end{bmatrix} = \begin{bmatrix}3(1) & 3(2)\\3(3) & 3(4)\end{bmatrix} = \begin{bmatrix}3 & 6\\9 & 12\end{bmatrix}

Key properties of addition and scalar multiplication:

  • Commutative property of addition: A+B=B+AA + B = B + A
  • Associative property of addition: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C)
  • Distributive property of scalar multiplication over addition: k(A+B)=kA+kBk(A + B) = kA + kB
Matrix addition and subtraction, Products of Matrices | College Algebra

Matrix Multiplication

Matrix multiplication is more involved than addition. Two conditions and a process to remember:

Dimension requirement: To multiply matrix AA (dimensions m×nm \times n) by matrix BB (dimensions n×pn \times p), the number of columns in AA must equal the number of rows in BB. The resulting matrix will have dimensions m×pm \times p.

How to find each entry of the product:

  1. Pick a row from the first matrix and a column from the second matrix.
  2. Multiply each entry in that row by the corresponding entry in that column.
  3. Add up all those products. That sum is one entry in the result matrix.
  4. Repeat for every row-column combination.

[1234]×[5678]=[(1)(5)+(2)(7)(1)(6)+(2)(8)$3)(5)+(4)(7)(3)(6)+(4)(8)]=[19224350]\begin{bmatrix}1 & 2\\3 & 4\end{bmatrix} \times \begin{bmatrix}5 & 6\\7 & 8\end{bmatrix} = \begin{bmatrix}(1)(5)+(2)(7) & (1)(6)+(2)(8)\$3)(5)+(4)(7) & (3)(6)+(4)(8)\end{bmatrix} = \begin{bmatrix}19 & 22\\43 & 50\end{bmatrix}

For example, the entry in row 1, column 1 of the result is (1)(5)+(2)(7)=5+14=19(1)(5) + (2)(7) = 5 + 14 = 19.

Properties of matrix multiplication:

  • Not commutative: In general, ABBAAB \neq BA. This is a big difference from regular number multiplication, and a common exam mistake.
  • Associative: (AB)C=A(BC)(AB)C = A(BC)
  • Distributive over addition: A(B+C)=AB+ACA(B + C) = AB + AC

The identity matrix is a square matrix with 1s along the main diagonal and 0s everywhere else. For a 2×22 \times 2 matrix, it looks like this:

I=[1001]I = \begin{bmatrix}1 & 0\\0 & 1\end{bmatrix}

Multiplying any matrix by the appropriately sized identity matrix returns the original matrix: AI=IA=AAI = IA = A. Think of it as the matrix equivalent of multiplying a number by 1.

Matrix addition and subtraction, Matrices and Matrix Operations | College Algebra

Matrices in Systems of Equations

Any system of linear equations can be written in matrix form AX=BAX = B, where:

  • AA = the coefficient matrix (the coefficients of the variables)
  • XX = the variable matrix (a column matrix of the unknowns)
  • BB = the constant matrix (the numbers on the right side of each equation)

For example, the system 2x+3y=72x + 3y = 7 and xy=1x - y = 1 becomes:

[2311][xy]=[71]\begin{bmatrix}2 & 3\\1 & -1\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix} = \begin{bmatrix}7\\1\end{bmatrix}

Solving using the inverse matrix:

  1. Write the system in matrix form: AX=BAX = B.
  2. Find the inverse of the coefficient matrix, A1A^{-1} (this exists only if AA is square and its determinant is not zero).
  3. Multiply both sides on the left by A1A^{-1}: A1AX=A1BA^{-1}AX = A^{-1}B.
  4. Since A1A=IA^{-1}A = I and IX=XIX = X, you get X=A1BX = A^{-1}B.

A square matrix AA has an inverse A1A^{-1} when AA1=A1A=IAA^{-1} = A^{-1}A = I. Common methods for finding the inverse include row reduction (augmenting AA with II and reducing AA to II) and, for 2×22 \times 2 matrices, using the determinant formula. If the determinant of AA equals zero, the matrix has no inverse and the system either has no solution or infinitely many solutions.

Matrix Properties

  • Dimension: Written as m×nm \times n, where mm is the number of rows and nn is the number of columns. A 3×23 \times 2 matrix has 3 rows and 2 columns.
  • Transpose: The transpose of matrix AA, written ATA^T, flips the matrix over its main diagonal, turning rows into columns and columns into rows. If AA is m×nm \times n, then ATA^T is n×mn \times m.