If A = diag (3 -2, 5) and B = diag (1 3 -4), find (A + B).

We are given two diagonal matrices A and B,


On adding the two diagonal matrices of order (3) we get an diagonal matrix of order (33)


Each of the elements get added to the corresponding element hence, we get after adding,


Hence, we get A+B = diag(4 1 1)


1