Add and subtract matrices
key notes:
What you should be familiar with before taking this lesson
A matrix is a rectangular arrangement of numbers into rows and columns. Each number in a matrix is referred to as a matrix element or entry.

The dimensions of a matrix give the number of rows and columns of the matrix in that order. Since matrix AAA has 222 rows and 333 columns, it is called a 2\times 32×32, times, 3 matrix.
If this is new to you, we recommend that you check out our intro to matrices.
What you will learn in this lesson
As long as the dimensions of two matrices are the same, we can add and subtract them much like we add and subtract numbers. Let’s take a closer look!
Adding matrices

We can find the sum simply by adding the corresponding entries in matrices A and B. This is shown below.

Learn with an example






Let’s practice: