Recall that we gave the formula for matrix-vector products:
Let $A = (a_{ij})$ be an $n \times m$ matrix and let $x$ be a $m \times 1$ column vector. The product $y = Ax$ is a $n \times 1$ vector $y$ given by
$$ y_i = \sum_{j=1}^m a_{ij} x_j, \quad 1 \leq i \leq n.$$Let $A = (a_{ij})$ be an $n \times m$ matrix and let $B = (b_{jk})$ be and $m \times p$ matrix. The product $C = AB$, $C = (c_{ik})$ is given by
$$ c_{ik} = \sum_{j=1}^m a_{ij} b_{jk}.$$The easiest way to remember this formula is:
$$ C =AB = [ Ab_1, A b_2, \ldots, Ab_p ]$$where $b_k$ is the $k$th column of $b$.
This has to be the case because of the rules of matrix multiplication:
So $$B = [b_1,0,0,0,\ldots,0] + [0,b_2,0,0,\ldots 0] + [0,0,b_3,0,\ldots 0] + \cdots$$
and (check this!)
$$AB = [Ab_1,0,0,0,\ldots,0] + [0,Ab_2,0,0,\ldots 0] + [0,0,Ab_3,0,\ldots 0] + \cdots\\ = [ Ab_1, A b_2, \ldots, Ab_p ]$$If $$A = (a_{ij})_{1\leq i \leq n, 1 \leq j \leq m}$$ is an $n \times m$ matrix then $$A^T = (a'_{ij})_{1 \leq i \leq m, 1 \leq j \leq n}$$ is an $m \times n$ matrix with
$$ a'_{ij} = a_{ji}.$$A linear transformation $y =T(x)$ from $\mathbb R^n$ to $\mathbb R^m$ is a function that takes in a vector $x \in R^n$ and returns a vector $y \in \mathbb R^m$. In addition, it must satisfy the rule of linearity:
Every linear transformation (from $\mathbb R^n$ to $\mathbb R^m$) has a matrix representation $A$ such that $T(x) = Ax$ for all $x \in \mathbb R^n$. In addition
$$A = [\underbrace{a_1,a_2,\ldots,a_n}_{\text{columns of } A}], \quad a_i = T(e_i), \quad e_i = [\underbrace{0,0,\ldots,0}_{i-1 \text{ zeros}},1,0,0,\ldots]^T$$Suppose that $A$ is a square matrix
for any $1 \leq i \leq n$ or $1 \leq j \leq n$.
Find $\det A$ using the cofactor expansion
$$ A = \begin{bmatrix} 1 & 1 & 3 & 0 \\ 2 & 1 &0 & 3 \\ 1 & 0 & 1 & 0 \\ 0 & -1 & -1 & 0 \end{bmatrix}.$$Find $\det A$ using Gaussian elimination
$$ A = \begin{bmatrix} 1 & 1 & 3 & 0 \\ 2 & 1 &0 & 3 \\ 1 & 0 & 1 & 0 \\ 0 & -1 & -1 & 0 \end{bmatrix}.$$