CHAPTER 03.01: BINARY OPERATIONS: Adding two matrices Theory

 

 

In this segment we will talk about how we add two matrices. So two matrices A and B can be added if they are of the same size; so the number of rows of A has to be the same as the number of rows of B; the number of columns in A has to be the same as B. Only then two matrices can be added; so only if A and B are the same size can you make the addition. So two matrices A and B can be added if they are the same size and the addition is given by C=A+B what does this mean for how we get the value of C. We get the value of C by simply taking the ijth element Cij=Aij+Bij this is true for all I,j so two things A and B have to be the same size and then how do we get the elements of a C matrix which are the addition of the two matrices is by multiplying the corresponding ijth element to get the Cij element by adding the Aij and the Bij element together. And that’s the end of this segment.