Algebra · real student question

With A = [[9,1,1],[1,2,1],[1,18,1]] and C = [[10,2,2],[2,3,2],[2,19,2]], compute (A + C)^2.

Question

Let

A=(9111211181),C=(10222322192)A=\begin{pmatrix}9&1&1\\1&2&1\\1&18&1\end{pmatrix},\qquad C=\begin{pmatrix}10&2&2\\2&3&2\\2&19&2\end{pmatrix}

Compute (A+C)2(A+C)^{2}.

Step-by-step solution

  1. Add before squaring, and do not expand the binomial. It is tempting to write (A+C)2=A2+2AC+C2(A+C)^2=A^2+2AC+C^2, but that identity requires AC=CAAC=CA, which matrices generally do not satisfy. Adding first avoids the issue entirely and is also far less arithmetic.

  2. Add the matrices entrywise. Both are 3×33\times 3, so the sum is defined:

    S=A+C=(19333533373)S=A+C=\begin{pmatrix}19&3&3\\3&5&3\\3&37&3\end{pmatrix}

  3. Set up the squaring as S·S. Each entry of S2S^2 is the dot product of a row of SS with a column of SS. The columns of SS are (19,3,3)(19,3,3), (3,5,37)(3,5,37) and (3,3,3)(3,3,3).

  4. Compute the first row.

    (19,3,3)(19,3,3)=361+9+9=379(19,3,3)\cdot(19,3,3)=361+9+9=379

    (19,3,3)(3,5,37)=57+15+111=183(19,3,3)\cdot(3,5,37)=57+15+111=183

    (19,3,3)(3,3,3)=57+9+9=75(19,3,3)\cdot(3,3,3)=57+9+9=75

  5. Compute the second and third rows.

    (3,5,3)(19,3,3)=57+15+9=81,(3,5,3)(3,5,37)=9+25+111=145,(3,5,3)(3,3,3)=33(3,5,3)\cdot(19,3,3)=57+15+9=81,\quad (3,5,3)\cdot(3,5,37)=9+25+111=145,\quad (3,5,3)\cdot(3,3,3)=33

    (3,37,3)(19,3,3)=57+111+9=177,(3,37,3)(3,5,37)=9+185+111=305,(3,37,3)(3,3,3)=129(3,37,3)\cdot(19,3,3)=57+111+9=177,\quad (3,37,3)\cdot(3,5,37)=9+185+111=305,\quad (3,37,3)\cdot(3,3,3)=129

  6. Assemble the result.

    (A+C)2=(379183758114533177305129)\boxed{(A+C)^{2}=\begin{pmatrix}379&183&75\\81&145&33\\177&305&129\end{pmatrix}}

  7. Check the third column quickly. Every entry of the third column of SS equals 33, so the third column of S2S^2 must be 3×3\times(row sums of SS): the row sums are 2525, 1111 and 4343, giving 7575, 3333 and 129129 — matching the computed values and confirming the arithmetic.

Answer

(A+C)2=(379183758114533177305129)(A+C)^{2}=\begin{pmatrix}379&183&75\\81&145&33\\177&305&129\end{pmatrix}

Need to solve a different problem like this? Open the solver →