A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Matrix Operations

Middle & High School Depth 71 in the knowledge graph ☐ I know this ☆ Set as goal
5,497topics build on this
298prerequisites beneath it
See this on the map →
Matrices Introduction→→Attention MechanismsBackpropagation Algorithm+34 more
matrices addition multiplication scalar determinant

Core Idea

Matrix addition/subtraction: add/subtract corresponding entries (matrices must have the same dimensions). Scalar multiplication: multiply every entry by the scalar. Matrix multiplication: the (i,j) entry of AB is the dot product of row i of A and column j of B. A is m x n and B is n x p, giving AB as m x p. Matrix multiplication is NOT commutative (AB != BA in general). The identity matrix I acts as a multiplicative identity: AI = IA = A.

How It's Best Learned

Start with addition and scalar multiplication (straightforward). For matrix multiplication, practice the dot product of a row and column. Emphasize dimension compatibility: the number of columns of A must equal the number of rows of B. Show that AB != BA with a concrete example. Introduce the identity matrix. Optionally introduce determinants for 2x2 matrices.

Common Misconceptions

Explainer

You already know that a matrix is a rectangular grid of numbers with defined rows and columns. Matrix operations let you combine and transform these grids — and the rules differ meaningfully from ordinary arithmetic in ways that matter.

Matrix addition and scalar multiplication are the intuitive cases. To add two matrices, add corresponding entries — both must have identical dimensions. To multiply by a scalar, multiply every entry by that constant. These operations behave just like arithmetic on numbers, and there is little to misunderstand once you know matrices must have the same shape for addition.

Matrix multiplication is different. To compute the (i, j) entry of the product AB, take the dot product of row i from A and column j from B: multiply corresponding entries pair by pair and sum them up. This means the number of columns in A must equal the number of rows in B — if A is m×n and B is n×p, then AB is m×p. The most common error is treating matrix multiplication like addition (multiplying corresponding entries). That operation, called the element-wise or Hadamard product, is different and far less common. The dot-product rule exists because matrices represent linear transformations, and multiplying AB captures what happens when you apply A's transformation after B's.

The single most important fact about matrix multiplication is that it is not commutative: AB ≠ BA in general. This shocks students accustomed to arithmetic, where 3 × 5 = 5 × 3 always. Try any two 2×2 matrices and compute both orders — you will almost always get different results. Understanding why requires thinking about transformations: applying a rotation and then a reflection gives a different result than applying the reflection first, and matrices capture that asymmetry.

The identity matrix I is the exception to commutativity: for any compatible matrix A, AI = IA = A. The identity has 1s on the main diagonal and 0s everywhere else — not all 1s. The diagonal 1s ensure that each dot product in the multiplication returns exactly the entry it started from, while the off-diagonal 0s block any mixing of entries. Think of I as the matrix analog of the number 1 in multiplication.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Systems of Equations — Graphing Method → Systems of Equations — Elimination Method → Systems of Three Variables → Matrices Introduction → Matrix Operations

Longest path: 72 steps · 298 total prerequisite topics

Prerequisites (1)

Leads To (36)