How to find matrix dimensions and entries

A matrix is a rectangular arrangement of numbers. Once we know how to count its rows and columns, we can describe its size and point to any entry in it. We’ll use the same row-first order for both.

Count the rows, then the columns

A=[734161223]

Matrix A has three rows and three columns, so it’s 3×3. A matrix with the same number of rows and columns is square.

B=[19002]
C=[001]

Matrix B is 1×5 and matrix C is 3×1. A row goes across and a column goes down.

Use the subscripts to find an entry

The first subscript tells us which row to use. The second tells us which column. For a2,3, go to row 2 of A and then read the third entry in that row.

Find the entry in row 2 and column 3The blue second row meets the purple third column at the entry 1.734161223Column 3Row 2
Follow row 2 across and column 3 down. They meet at the entry 1.

That gives a2,3=1. In the same way, b1,4=0 and c3,1=1.

Read an entry from a symbolic matrix

K=[abcdef]

This matrix is 2×3. Its first-row, third-column entry is k1,3=c, while its second-row, first-column entry is k2,1=d. The first subscript always chooses the row.