notes/education/math/Matrices.md
2024-02-12 20:57:22 -07:00

23 lines
772 B
Markdown

$$
\begin{bmatrix}
1 & 2 & 3\\
4 & 5 & 6
\end{bmatrix}
$$
To write a system of equations as a matrix, you use the coefficients of each term. The solutions for each equation might be written with a bar separating:
$$
\begin{bmatrix}
1 & 2 & 3|4\\
4 & 5 & 6|5
\end{bmatrix}
$$
## Multiplying matrices
To multiply two matrices, the *number of columns* for the first matrix must match the number of columns in the second.
To get answers, go through each entry in the second matrix, entry by entry, and multiply by every item in the matching row of the first one, then add all of those together.
https://www.youtube.com/watch?v=XkY2DOUCWMU
## Adding matrices
To add two matrices together, they must be the same dimensionally (same number of rows, same number of columns).