Matriser: Addisjon og subtraksjon

Addisjon: Legg sammen korresponderende elementer i to matriser med lik dimensjon:

\left( \begin{array}{cccc}
\textcolor{red}{a_{11}} &  \cdots & \textcolor{red}{a_{1n}} \\ 
\textcolor{red}{a_{21}} &  \cdots & \textcolor{red}{a_{2n}} \\
\vdots & & \vdots \\
\textcolor{red}{a_{m1}} & \cdots & \textcolor{red}{a_{mn}} \\
\end{array} \right)
+
\left( \begin{array}{cccc}
\textcolor{blue}{b_{11}} & \cdots & \textcolor{blue}{b_{1n}} \\ 
\textcolor{blue}{b_{21}} & \cdots & \textcolor{blue}{b_{2n}} \\
\vdots & & \vdots \\
\textcolor{blue}{b_{m1}} & \cdots & \textcolor{blue}{b_{mn}} \\
\end{array} \right)  
=
\left( \begin{array}{cccc}
\!\textcolor{red}{a_{11}} + \textcolor{blue}{b_{11}} & \cdots & 
\!\textcolor{red}{a_{1n}} + \textcolor{blue}{b_{1n}} \\ 
\!\textcolor{red}{a_{21}} + \textcolor{blue}{b_{21}} & \cdots & 
\!\textcolor{red}{a_{2n}} + \textcolor{blue}{b_{2n}} \\ 
\vdots & & \vdots \\
\!\textcolor{red}{a_{m1}} + \textcolor{blue}{b_{m1}} & \cdots & 
\!\textcolor{red}{a_{mn}} + \textcolor{blue}{b_{mn}} \\ 
\end{array} \!\! \right) 

Differanse: Finn differansen mellom korresponderende elementer i to matriser med lik dimensjon:

\left( \begin{array}{cccc}
\textcolor{red}{a_{11}} &  \cdots & \textcolor{red}{a_{1n}} \\ 
\textcolor{red}{a_{21}} &  \cdots & \textcolor{red}{a_{2n}} \\
\vdots & & \vdots \\
\textcolor{red}{a_{m1}} & \cdots & \textcolor{red}{a_{mn}} \\
\end{array} \right)
-
\left( \begin{array}{cccc}
\textcolor{blue}{b_{11}} & \cdots & \textcolor{blue}{b_{1n}} \\ 
\textcolor{blue}{b_{21}} & \cdots & \textcolor{blue}{b_{2n}} \\
\vdots & & \vdots \\
\textcolor{blue}{b_{m1}} & \cdots & \textcolor{blue}{b_{mn}} \\
\end{array} \right)  
=
\left( \begin{array}{cccc}
\!\textcolor{red}{a_{11}} - \textcolor{blue}{b_{11}} & \cdots & 
\!\textcolor{red}{a_{1n}} - \textcolor{blue}{b_{1n}} \\ 
\!\textcolor{red}{a_{21}} - \textcolor{blue}{b_{21}} & \cdots & 
\!\textcolor{red}{a_{2n}} - \textcolor{blue}{b_{2n}} \\ 
\vdots & & \vdots \\
\!\textcolor{red}{a_{m1}} - \textcolor{blue}{b_{m1}} & \cdots & 
\!\textcolor{red}{a_{mn}} - \textcolor{blue}{b_{mn}} \\ 
\end{array} \!\! \right) 

+ Eksempel: Addisjon

Legg sammen korresponderende elementer i to matriser med lik dimensjon.

+ Kort video

Eksempel:

\left( \begin{array}{cc}
\textcolor{red}{1} & \textcolor{red}{2} \\ \textcolor{red}{3} & \textcolor{red}{4}
\end{array} \right) 
+
\left( \begin{array}{cc}
\textcolor{blue}{5} & \textcolor{blue}{6} \\ \textcolor{blue}{7} & \textcolor{blue}{8}
\end{array} \right) 
=
\left( \begin{array}{cc}
\textcolor{red}{1} + \textcolor{blue}{5} & \textcolor{red}{2} + \textcolor{blue}{6} \\ 
\textcolor{red}{3} + \textcolor{blue}{7} & \textcolor{red}{4} + \textcolor{blue}{8}
\end{array} \right) 
=
\left( \begin{array}{cc}
6 & 8 \\ 10 & 12
\end{array} \right) 

To matriser med ulik dimensjon kan ikke legges sammen.

Eksempel:

\textnormal{Umulig:} \quad
\left( \begin{array}{cc}
\textcolor{red}{1} & \textcolor{red}{2} \\ \textcolor{red}{3} & \textcolor{red}{4}
\end{array} \right) 
+
\left( \begin{array}{cc}
\textcolor{blue}{5} & \textcolor{blue}{6} & \textcolor{blue}{3} \\ 
\textcolor{blue}{7} & \textcolor{blue}{8} & \textcolor{blue}{2}
\end{array} \right) 

+ Eksempel: Subtraksjon

Finn differansen av korresponderende elementer i to matriser med lik dimensjon.

+ Kort video

Eksempel:

\left( \begin{array}{cc}
\textcolor{red}{1} & \textcolor{red}{2} \\ \textcolor{red}{3} & \textcolor{red}{4}
\end{array} \right) 
-
\left( \begin{array}{cc}
\textcolor{blue}{8} & \textcolor{blue}{7} \\ \textcolor{blue}{6} & \textcolor{blue}{5}
\end{array} \right) 
=
\left( \begin{array}{cc}
\textcolor{red}{1} - \textcolor{blue}{8} & \textcolor{red}{2} - \textcolor{blue}{7} \\ 
\textcolor{red}{3} - \textcolor{blue}{6} & \textcolor{red}{4} - \textcolor{blue}{5}
\end{array} \right) 
=
\left( \begin{array}{cc}
-7 & -5 \\ -3 & 1
\end{array} \right) 

To matriser med ulik dimensjon kan ikke trekkes fra hverandre.

Eksempel:

\textnormal{Umulig:} \quad
\left( \begin{array}{cc}
\textcolor{red}{1} & \textcolor{red}{2} \\ \textcolor{red}{3} & \textcolor{red}{4}
\end{array} \right) 
-
\left( \begin{array}{cc}
\textcolor{blue}{5} & \textcolor{blue}{6} & \textcolor{blue}{3} \\ 
\textcolor{blue}{7} & \textcolor{blue}{8} & \textcolor{blue}{2}
\end{array} \right) 

← Matematikk

↓ Oppgaver

→ Multipliser med skalar