Become a math whiz with AI Tutoring, Practice Questions & more.

HotmathMath Homework. Do It Faster, Learn It Better.

Matrix Dimensions

A matrix is a rectangular array of numbers that are enclosed by brackets. When working with matrices (the plural form of a matrix), it''s important to understand their dimensions, particularly if you want to perform operations like addition and subtraction. Let''s go over the basics of matrix dimensions.

What are matrix dimensions?

Each matrix is made up of one or more numbers (also called entries or elements) that line up in rows (horizontal) and columns (vertical). Here is an example of a matrix:

[ 3 5 99 -0.5 ]

The dimensions of a matrix are the number of rows by the number of columns. When writing matrix dimensions, it''s important to always write the number of rows first and the number of columns second. If a matrix has a rows and b columns, its dimensions would be a × b -- or it would be considered an a × b matrix.

In the example above, the matrix is a 2 × 2 matrix because it has 2 rows and 2 columns. Since it also has an equal number of rows and columns, it would be called a square matrix.

Now, what would you say are the dimensions of the following matrix?

[ 5 8 4 3 9 -2 ]

Since this matrix has 3 rows and 2 columns, its dimensions are 3 × 2 .

Let''s try another one. What are the dimensions of this matrix?

[ 13 7 23 6 ]

This matrix has 1 row and 4 columns, making it a 1 × 4 matrix. It is also called a row matrix (a matrix with one row and any number of columns).

What are the dimensions of this matrix?

[ -5 3 2 7 -4 ]

This matrix, also known as a column matrix (a matrix with one column and any number of rows), has 5 rows and 1 column, which makes it a 5 × 1 matrix.

The importance of dimensions when adding and subtracting matrices

A matrix can only be added to or subtracted from when it has the same dimensions as another matrix. For example, you can''t add a $2 \times 3$ matrix to a 3 × 3 matrix. However, you can add two 2 × 3 matrices or two 3 × 3 matrices.

Let''s look at some examples.

Adding matrices

Adding matrices requires that you add corresponding entries in each matrix, and then place the sum in the corresponding position in the resulting matrix.

Let''s add these two matrices:

[ 3 -2 1 4 ] + [ -1 8 4 3 ]

Before getting started, we want to make sure the matrices have the same dimensions. Since they''re both 2 × 2 matrices, we''re all set.

[ 3 -2 1 4 ] + [ -1 8 4 3 ] = [ 3+-1 -2+8 1+4 4+3 ]

Than resulting matrix is:

[ 2 6 5 7 ]

Subtracting matrices

In order to subtract matrices, you''ll subtract the entries in the second matrix from the corresponding entries in the first matrix. Then, you''ll place the difference in the corresponding position in the resulting matrix.

Let''s try an example:

[ 9 5 1 8 -5 9 ] - [ 1 6 6 7 -3 2 ]

Again, we want to start by making sure that the two matrices have the same dimensions. Since they''re both 3 × 2 matrices, we''re all set to begin.

[ 9 5 1 8 -5 9 ] - [ 1 6 6 7 -3 2 ] = [ 9-1 9-1 1-6 8-7 -5--3 9-2 ]

Than resulting matrix is:

[ 8 -1 -5 1 -2 7 ]

Note: When multiplying matrices, their dimensions must be compatible, which means, the number of columns in the first matrix must have the same as the number of rows in the second matrix. For example, 2 × 5 × 5 × 3 would be compatible, while 5 × 3 × 2 × 5 would not.

Practice questions on matrix dimensions

  1. What are the dimensions of this matrix?

    [ 5 4 8 4 -7 3 9 2 -2 ]

    Answer: 3 × 3

  2. What are the dimensions of this matrix?

    [ 0.3 -8 27 7 2 -5 57 1 14 -25 4 80 ]

    Answer: 2 × 6

  3. What are the dimensions of this matrix?

    [ 3 1 9 6 7 ]

    Answer: 5 × 1

  4. Is the following matrix a row matrix or column matrix?

    [ 6 -7 0.4 8 -3 ]

    Answer: Row matrix

  5. Add the following matrices.

    [ 1 6 3 5 ] + [ 1 3 -6 4 ] = [ 2 9 -3 9 ]

    Answer: [ 2 9 -3 9 ]

  6. Subtract the following matrices.

    [ -4 9 7 -1 ] + [ -5 2 -2 6 ] = [ 1 7 9 -7 ]

    Answer: [ 1 7 9 -7 ]

Topics related to the Matrix Dimensions

Adding and Subtracting Matrices

Multiplying Vector by a Matrix

Compatible Matrices

Flashcards covering the Matrix Dimensions

Linear Algebra Flashcards

Numerical Methods Flashcards

Practice tests covering the Matrix Dimensions

Linear Algebra Diagnostic Tests

Learn more about matrix dimensions with Varsity Tutors

Learning about matrices for the first time can present a lot of challenges. If your student is having a tough time grasping matrix dimensions or would like help going over how to add or subtract matrices while working on assignments or preparing for a test, studying with a tutor is the way to go. Personal educators have the skills and experience to fill gaps in your student''s knowledge and help boost their confidence. Get more information about the fantastic benefits of tutoring by reaching out to the Educational Directors at Varsity Tutors today.

Subjects Near Me
Popular Cities
Popular Subjects
;
Download our free learning tools apps and test prep books
varsity tutors app storevarsity tutors google play storevarsity tutors ibooks store