Matrix Addition Calculator

The calculator will find the sum of two matrices (if possible), with steps shown. It adds matrices of any size up to 10x10 (2x2, 3x3, 4x4, etc.).

$$$\times$$$
$$$\times$$$

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Your Input

Calculate $$$\left[\begin{array}{ccc}4 & 5 & 7\\2 & 1 & 0\\-1 & -2 & 1\end{array}\right] + \left[\begin{array}{ccc}2 & 3 & 0\\8 & 9 & 5\\1 & 1 & 7\end{array}\right].$$$

Solution

$$$\left[\begin{array}{ccc}{\color{Chartreuse}4} & {\color{Violet}5} & {\color{OrangeRed}7}\\{\color{DarkMagenta}2} & {\color{DarkCyan}1} & {\color{GoldenRod}0}\\{\color{Purple}-1} & {\color{Red}-2} & {\color{Green}1}\end{array}\right] + \left[\begin{array}{ccc}{\color{Chartreuse}2} & {\color{Violet}3} & {\color{OrangeRed}0}\\{\color{DarkMagenta}8} & {\color{DarkCyan}9} & {\color{GoldenRod}5}\\{\color{Purple}1} & {\color{Red}1} & {\color{Green}7}\end{array}\right] = \left[\begin{array}{ccc}{\color{Chartreuse}\left(4\right)} + {\color{Chartreuse}\left(2\right)} & {\color{Violet}\left(5\right)} + {\color{Violet}\left(3\right)} & {\color{OrangeRed}\left(7\right)} + {\color{OrangeRed}\left(0\right)}\\{\color{DarkMagenta}\left(2\right)} + {\color{DarkMagenta}\left(8\right)} & {\color{DarkCyan}\left(1\right)} + {\color{DarkCyan}\left(9\right)} & {\color{GoldenRod}\left(0\right)} + {\color{GoldenRod}\left(5\right)}\\{\color{Purple}\left(-1\right)} + {\color{Purple}\left(1\right)} & {\color{Red}\left(-2\right)} + {\color{Red}\left(1\right)} & {\color{Green}\left(1\right)} + {\color{Green}\left(7\right)}\end{array}\right] = \left[\begin{array}{ccc}6 & 8 & 7\\10 & 10 & 5\\0 & -1 & 8\end{array}\right]$$$

Answer

$$$\left[\begin{array}{ccc}4 & 5 & 7\\2 & 1 & 0\\-1 & -2 & 1\end{array}\right] + \left[\begin{array}{ccc}2 & 3 & 0\\8 & 9 & 5\\1 & 1 & 7\end{array}\right] = \left[\begin{array}{ccc}6 & 8 & 7\\10 & 10 & 5\\0 & -1 & 8\end{array}\right]$$$A