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.
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:
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 -- or it would be considered an matrix.
In the example above, the matrix is a 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?
Since this matrix has 3 rows and 2 columns, its dimensions are .
Let''s try another one. What are the dimensions of this matrix?
This matrix has 1 row and 4 columns, making it a 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?
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 matrix.
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 matrix. However, you can add two matrices or two matrices.
Let''s look at some examples.
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:
Before getting started, we want to make sure the matrices have the same dimensions. Since they''re both matrices, we''re all set.
Than resulting matrix is:
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:
Again, we want to start by making sure that the two matrices have the same dimensions. Since they''re both matrices, we''re all set to begin.
Than resulting matrix is:
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, would be compatible, while would not.
Answer: Row matrix
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.