Best Answer

The two matrices and their answer must be of the same dimensions.

Each element of the answer matrix is the sum of the elements in the corresponding elements on the matrices that are being added.

In algebraic form,

if A = {aij} where 1 ≤ i ≤ m, 1 ≤ j ≤ n is an mxn matrix

B = {bij} where 1 ≤ i ≤ m, 1 ≤ j ≤ n is an mxn matrix

and C = {cij} = A + B,

then C is an mxn matrix and cij = aij + bij for all 1 ≤ i ≤ m, 1 ≤ j ≤ n

User Avatar

Wiki User

โˆ™ 2013-11-06 21:33:42
This answer is:
User Avatar
Study guides

Add your answer:

Earn +20 pts
Q: Addition of two matrices
Write your answer...
Still have questions?
magnify glass
Related questions

Flow chart for addition of two matrices?

madhar chod

What is the condition for the addition of matrices?

The matrices must have the same dimensions.

What is an algorithm for the addition of two matrices?

Addition of two matrices is simply performed by iterating over all of the elements and adding elements with like indices together. A c code snippet... for (i=0; i<N; i++) for (j=0; j<M; j++) c[i][j] = a[i][j] + b[i][j];

Write an algorithm for multiplication of two sparse matrices?

how to multiply two sparse matrices

How do you develop a JAVA program that computes matrices?

Matrices can't be "computed" as such; only operations like multiplication, transpose, addition, subtraction, etc., can be done. What can be computed are determinants. If you want to write a program that does operations such as these on matrices, I suggest using a two-dimensional array to store the values in the matrices, and use for-loops to iterate through the values.

How do you add fractions in matrices?

The usual rules of addition of fractions apply.

What is performing addition subtraction and scalar multiplication of matrices?

Matrix arithmetic

When adding or subtracting matrices do the dimensions of the sum or differences always match the original matrices?

Yes, because otherwise addition and subtraction are not defined.

These matrices represent the coordinates of two figures in the plane. Is the product of these matrices defined Answer yes or no?


Are matrix addition and matrix multiplication commutative?

Matrix addition is commutative if the elements in the matrices are themselves commutative.Matrix multiplication is not commutative.

Write a program to perform addition of two matrix using the concept of array of pointer in c language?

Write a program to add two matrices using the concept of arrays.

Write a program of two matrices and show row and column wise Multiplication?

write a program of two matrices and show row and column wise

People also asked