4.1 Suma y resta
Solo con matrices del mismo orden:
\[
(A+B)_{ij}=a_{ij}+b_{ij}
\]
Propiedades: conmutativa, asociativa, neutro \(O\), opuesto \(-A\).
Ejemplo
\[
A=\begin{pmatrix}1&-2\\3&0\end{pmatrix},\quad
B=\begin{pmatrix}4&5\\-1&2\end{pmatrix}
\]
\[
A+B=\begin{pmatrix}1+4&-2+5\\3+(-1)&0+2\end{pmatrix}
=\begin{pmatrix}5&3\\2&2\end{pmatrix}
\]
4.2 Multiplicación por un escalar
\[
(kA)_{ij}=k\cdot a_{ij}
\]
Ejemplo
\[
-2\begin{pmatrix}1&-2\\3&0\end{pmatrix}
=\begin{pmatrix}-2&4\\-6&0\end{pmatrix}
\]
4.3 Producto de matrices (MUY EBAU)
Si \(A\) es \(m\times n\) y \(B\) es \(n\times p\), entonces \(AB\) existe y es \(m\times p\).
\[
(AB)_{ij}=\sum_{k=1}^{n} a_{ik}b_{kj}
\]
Clave: en general \(AB\neq BA\).
Ejemplo resuelto (paso a paso)
\[
A=\begin{pmatrix}1&2\\3&4\end{pmatrix},\quad
B=\begin{pmatrix}0&5\\-1&2\end{pmatrix}
\]
- \((AB)_{11}=1\cdot0+2\cdot(-1)=0-2=-2\)
- \((AB)_{12}=1\cdot5+2\cdot2=5+4=9\)
- \((AB)_{21}=3\cdot0+4\cdot(-1)=0-4=-4\)
- \((AB)_{22}=3\cdot5+4\cdot2=15+8=23\)
\[
AB=\begin{pmatrix}-2&9\\-4&23\end{pmatrix}
\]