1.

If `A=[[1 ,2,-3],[ 5, 0, 2],[ 1,-1, 1]], B=[[3,-1, 2],[ 4, 2 ,5],[ 2, 0, 3]]`and `C=[[4, 1, 2],[ 0, 3, 2],[ 1,-2, 3]]`, then compute `(A+B)` and `(B - C)`. Also, verify that `A + (B - C) = (A + B) - C`.

Answer» `A = [[1,2,-3],[5,0,2],[1,-1,1]]`
`B = [[3,-1,2],[4,2,5],[2,0,3]]`
`C = [[4,1,2],[0,3,2],[1,-2,3]]`
`=> A+B = [[1,2,-3],[5,0,2],[1,-1,1]]+ [[3,-1,2],[4,2,5],[2,0,3]]= [[4,1,-1],[9,2,7],[3,-1,4]]`
`=> B-C = [[3,-1,2],[4,2,5],[2,0,3]] - [[4,1,2],[0,3,2],[1,-2,3]] = [[-1,-2,0],[4,-1,3],[1,2,0]]`
Now, `A+(B-C) = [[1,2,-3],[5,0,2],[1,-1,1]] + [[-1,-2,0],[4,-1,3],[1,2,0]] = [[0,0,-3],[9,-1,5],[2,1,1]]`
`(A+B)-C = [[4,1,-1],[9,2,7],[3,-1,4]] - [[4,1,2],[0,3,2],[1,-2,3]] = [[0,0,-3],[9,-1,5],[2,1,1]]`
`:. A+(B-C) = (A+B)-C`


Discussion

No Comment Found

Related InterviewSolutions