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{Crimson}4} & {\color{Green}5} & {\color{Peru}7}\\{\color{DarkCyan}2} & {\color{DarkBlue}1} & {\color{Fuchsia}0}\\{\color{DarkMagenta}-1} & {\color{Magenta}-2} & {\color{BlueViolet}1}\end{array}\right] + \left[\begin{array}{ccc}{\color{Crimson}2} & {\color{Green}3} & {\color{Peru}0}\\{\color{DarkCyan}8} & {\color{DarkBlue}9} & {\color{Fuchsia}5}\\{\color{DarkMagenta}1} & {\color{Magenta}1} & {\color{BlueViolet}7}\end{array}\right] = \left[\begin{array}{ccc}{\color{Crimson}\left(4\right)} + {\color{Crimson}\left(2\right)} & {\color{Green}\left(5\right)} + {\color{Green}\left(3\right)} & {\color{Peru}\left(7\right)} + {\color{Peru}\left(0\right)}\\{\color{DarkCyan}\left(2\right)} + {\color{DarkCyan}\left(8\right)} & {\color{DarkBlue}\left(1\right)} + {\color{DarkBlue}\left(9\right)} & {\color{Fuchsia}\left(0\right)} + {\color{Fuchsia}\left(5\right)}\\{\color{DarkMagenta}\left(-1\right)} + {\color{DarkMagenta}\left(1\right)} & {\color{Magenta}\left(-2\right)} + {\color{Magenta}\left(1\right)} & {\color{BlueViolet}\left(1\right)} + {\color{BlueViolet}\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