Linear Algebra
Matrix Addition
Add two matrices (rows separated by ';').
Formula
Formula
C = A + B
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| A, B | matrices of equal size | real matrix | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
GivenA = 1, 2; 3, 4, B = 5, 6; 7, 8
Result
| 6 | 8 |
| 10 | 12 |
Example 2
GivenA = 1, 0; 0, 1, B = 2, 2; 2, 2
Result
| 3 | 2 |
| 2 | 3 |