Write the Dimensions of a Matrix
What Are the Dimensions of a Matrix?
In this lesson, you will learn
- how to count the rows and the columns of a matrix
- how to write the dimensions of a matrix, with rows first
- what a square matrix is
You can write the dimensions of a matrix when you write the number of horizontal rows and the number of vertical columns of the matrix in that order.
Counting Rows and Columns
Notice that to find the number of rows, count from top to bottom or from bottom to top.
To find the number of columns, count from left to right or from right to left.
Writing the columns first. Rows always come first. A matrix with 2 rows and 3 columns is a 2 × 3 matrix, not a 3 × 2 matrix.
A matrix has 2 rows and 4 columns. What are its dimensions?
Show answer
2 × 4. Write the number of rows first, then the number of columns.
Examples: Write the Dimensions of a Matrix
Press Step through it to count the rows and columns one step at a time.
- Count the rows from top to bottom.3 rows
- Count the columns from left to right.3 columns
- Write the dimensions.The matrix above has 3 rows and 3 columns, so the dimensions of this matrix are 3 rows × 3 columns.
You can also say that the matrix is a 3 × 3 matrix.
A matrix that has the same number of rows and columns is called a square matrix. The matrix in example #1 is then a square matrix.
- Count the rows.1 row
- Count the columns.3 columns
- Write the dimensions.The matrix above has 1 row and 3 columns, so the dimensions of this matrix are 1 row × 3 columns.
You can also say that the matrix is a 1 × 3 matrix.
- Count the rows.4 rows
- Count the columns.1 column
- Write the dimensions.The matrix above has 4 rows and 1 column, so the dimensions of this matrix are 4 rows × 1 column.
You can also say that the matrix is a 4 × 1 matrix.
- Count the rows.3 rows
- Count the columns.2 columns
- Write the dimensions.The matrix above has 3 rows and 2 columns, so the dimensions of this matrix are 3 rows × 2 columns.
You can also say that the matrix is a 3 × 2 matrix.
- Count the rows.1 row
- Count the columns.1 column
- Write the dimensions.The matrix above has 1 row and 1 column, so the dimensions of this matrix are 1 row × 1 column.
You can also say that the matrix is a 1 × 1 matrix.
What are the dimensions of this matrix, and is it a square matrix? 106238−15
Show answer
2 × 4, and it is not a square matrix. It has 2 rows and 4 columns. A square matrix needs the same number of rows and columns.
Summary
- The dimensions of a matrix are the number of rows × the number of columns, in that order.
- Count rows from top to bottom and columns from left to right.
- A matrix with 3 rows and 2 columns is a 3 × 2 matrix.
- A matrix with the same number of rows and columns is a square matrix.
Test Yourself: 10-Question Quiz
Now check what you learned. Every answer is explained, and each time you play you get new matrices.
Quiz Complete!
Keep learning