Loading…
Loading…
MatrixAdd
Enter two 2×2 matrices — see the sum with each element calculated step by step.
Matrix addition is done element by element: C[i][j] = A[i][j] + B[i][j]. Both matrices must have the same dimensions. Unlike matrix multiplication, addition is commutative (A + B = B + A) and straightforward.
Matrix addition appears in image processing (blending two images), physics (superposition of forces or fields), computer graphics (combining transformations), and statistics (adding covariance matrices).
Matrix A (2x2)
Matrix B (2x2)
A + B
[[6, 8], [10, 12]]
What you entered
C[0][0] = A[0][0] + B[0][0]
1 + 5= 6C[0][1] = A[0][1] + B[0][1]
2 + 6= 8C[1][0] = A[1][0] + B[1][0]
3 + 7= 10C[1][1] = A[1][1] + B[1][1]
4 + 8= 12Result
A + B: [[6, 8], [10, 12]]
Matrix addition adds corresponding elements: each entry in the result is the sum of the matching entries from A and B.