Course contentsShow
← Mathematics
Lesson 1282 of 3,12130. Matrices (Precalculus)Free lesson

Computing the (i,j)-Entry of a Product

Understand how to compute a single entry of a product matrix using row-column dot products.

Computing the (i,j)-Entry of a Product

What You'll Learn

You'll learn the mechanical process of calculating a single entry in a matrix product by combining one row from the first matrix with one column from the second.

The Core Idea

When you multiply two matrices A and B to get product C, each entry in C comes from a specific row-column pairing. To find the entry in row i and column j of C (written as c_{i,j}), you:

  1. Take the entire i-th row from matrix A
  2. Take the entire j-th column from matrix B
  3. Compute their dot product (multiply corresponding entries and sum them up)

Think of it like a handshake between a row and a column: the row reaches across from the left matrix, the column reaches up from the right matrix, and where they meet determines one entry in the answer.

The Formula

If A is an m×n matrix and B is an n×p matrix, then:

c_{i,j} = a_{i,1}b_{1,j} + a_{i,2}b_{2,j} + ... + a_{i,n}b_{n,j}

In other words, multiply each entry from row i of A with the corresponding entry from column j of B, then add all those products together.

Example

Suppose you're computing the (2,3)-entry of C = AB:

  • Extract row 2 from A: [a_{2,1}, a_{2,2}, a_{2,3}]
  • Extract column 3 from B: [b_{1,3}, b_{2,3}, b_{3,3}]
  • Compute: c_{2,3} = a_{2,1}·b_{1,3} + a_{2,2}·b_{2,3} + a_{2,3}·b_{3,3}

Key Takeaway: The (i,j)-entry of a matrix product is the dot product of the i-th row of the first matrix with the j-th column of the second matrix.