행렬 덧셈 계산기

행렬을 단계별로 더하기

계산기는 (가능한 경우) 두 행렬의 합을 단계별로 구합니다. 최대 10x10까지의 임의 크기 행렬을 더할 수 있습니다(2x2, 3x3, 4x4 등).

$$$\times$$$
A
$$$\times$$$
A

계산기가 무언가를 계산하지 못했거나 오류를 발견하셨거나, 제안이나 피드백이 있으시다면 문의해 주세요.

사용자 입력

$$$\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}{\color{GoldenRod}4} & {\color{DarkMagenta}5} & {\color{Magenta}7}\\{\color{Crimson}2} & {\color{OrangeRed}1} & {\color{Violet}0}\\{\color{DeepPink}-1} & {\color{BlueViolet}-2} & {\color{Peru}1}\end{array}\right] + \left[\begin{array}{ccc}{\color{GoldenRod}2} & {\color{DarkMagenta}3} & {\color{Magenta}0}\\{\color{Crimson}8} & {\color{OrangeRed}9} & {\color{Violet}5}\\{\color{DeepPink}1} & {\color{BlueViolet}1} & {\color{Peru}7}\end{array}\right] = \left[\begin{array}{ccc}{\color{GoldenRod}\left(4\right)} + {\color{GoldenRod}\left(2\right)} & {\color{DarkMagenta}\left(5\right)} + {\color{DarkMagenta}\left(3\right)} & {\color{Magenta}\left(7\right)} + {\color{Magenta}\left(0\right)}\\{\color{Crimson}\left(2\right)} + {\color{Crimson}\left(8\right)} & {\color{OrangeRed}\left(1\right)} + {\color{OrangeRed}\left(9\right)} & {\color{Violet}\left(0\right)} + {\color{Violet}\left(5\right)}\\{\color{DeepPink}\left(-1\right)} + {\color{DeepPink}\left(1\right)} & {\color{BlueViolet}\left(-2\right)} + {\color{BlueViolet}\left(1\right)} & {\color{Peru}\left(1\right)} + {\color{Peru}\left(7\right)}\end{array}\right] = \left[\begin{array}{ccc}6 & 8 & 7\\10 & 10 & 5\\0 & -1 & 8\end{array}\right]$$$

정답

$$$\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