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{Purple}{4} & \color{GoldenRod}{5} & \color{Crimson}{7}\\\color{OrangeRed}{2} & \color{Peru}{1} & \color{SaddleBrown}{0}\\\color{DarkMagenta}{-1} & \color{Chocolate}{-2} & \color{Red}{1}\end{array}\right] + \left[\begin{array}{ccc}\color{Purple}{2} & \color{GoldenRod}{3} & \color{Crimson}{0}\\\color{OrangeRed}{8} & \color{Peru}{9} & \color{SaddleBrown}{5}\\\color{DarkMagenta}{1} & \color{Chocolate}{1} & \color{Red}{7}\end{array}\right] = \left[\begin{array}{ccc}\color{Purple}{\left(4\right)} + \color{Purple}{\left(2\right)} & \color{GoldenRod}{\left(5\right)} + \color{GoldenRod}{\left(3\right)} & \color{Crimson}{\left(7\right)} + \color{Crimson}{\left(0\right)}\\\color{OrangeRed}{\left(2\right)} + \color{OrangeRed}{\left(8\right)} & \color{Peru}{\left(1\right)} + \color{Peru}{\left(9\right)} & \color{SaddleBrown}{\left(0\right)} + \color{SaddleBrown}{\left(5\right)}\\\color{DarkMagenta}{\left(-1\right)} + \color{DarkMagenta}{\left(1\right)} & \color{Chocolate}{\left(-2\right)} + \color{Chocolate}{\left(1\right)} & \color{Red}{\left(1\right)} + \color{Red}{\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