Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_13
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_13 [2016/03/07 10:49] – rupert | lecture_13 [2017/03/07 15:08] (current) – [Step 3: the determinant of a $3\times 3$ matrix using Laplace expansion along the first row] rupert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== Example ==== | ||
| + | |||
| + | Let's solve the matrix equation $\def\mat# | ||
| + | |||
| + | Write $A=\mat{1& | ||
| + | |||
| + | |||
| + | Hence the solution is $X=A^{-1}\mat{4& | ||
| + | |||
| ====== The transpose of a matrix ====== | ====== The transpose of a matrix ====== | ||
| Line 18: | Line 27: | ||
| If $a$ is a $1\times m$ row vector and $b$ is an $m\times 1$ column vector, then | If $a$ is a $1\times m$ row vector and $b$ is an $m\times 1$ column vector, then | ||
| \[ ab=b^Ta^T.\] | \[ ab=b^Ta^T.\] | ||
| + | |||
| + | ==== Observation: | ||
| + | |||
| + | Formally, for any matrix $A$ and any $i,j$, we have | ||
| + | \begin{align*}\def\col# | ||
| + | \row i(A^T)& | ||
| + | .\end{align*} | ||
| + | |||
| + | ==== Theorem: the transpose reverses the order of matrix multiplication ==== | ||
| + | |||
| + | If $A$ and $B$ are matrices and the [[matrix product]] $AB$ is defined, then $B^TA^T$ is also defined. Moreover, in this case we have | ||
| + | \[ (AB)^T=B^TA^T.\] | ||
| + | |||
| + | === Proof === | ||
| + | |||
| + | If $AB$ is defined, then $A$ is $n\times m$ and $B$ is $m\times k$ for some $n,m,k$, so $B^T$ is $k\times m$ and $A^T$ is $m\times n$, so $B^TA^T$ is defined. Moreover, in this case $B^TA^T$ is an $k\times n$ matrix, and $AB$ is an $n\times k$ matrix, so $(AB)^T$ is a $k\times n$ matrix. Hence $B^TA^T$ has the same size as $(AB)^T$. To show that they are equal, we calculate, using the fact that the transpose swaps rows with columns: | ||
| + | \begin{align*} | ||
| + | \text{the }(i, | ||
| + | \\&= \row j(A)\cdot\col i(B) | ||
| + | \\& | ||
| + | \\& | ||
| + | \\& | ||
| + | \end{align*} | ||
| + | Hence $(AB)^T=B^TA^T$. ■ | ||
| + | |||
| + | ====== Determinants of $n\times n$ matrices ====== | ||
| + | |||
| + | Given any $n\times n$ matrix $A$, it is possible to define a number $\det(A)$ | ||
| + | \[ A\text{ is invertible} \iff \det(A)\ne0.\] | ||
| + | |||
| + | - If $A$ is a $1\times 1$ matrix, say $A=[a]$, then we just define $\det[a]=a$. | ||
| + | - If $A$ is a $2\times 2$ matrix, say $A=\def\mat# | ||
| + | - If $A$ is a $3\times 3$ matrix, say $A=\mat{a& | ||
| + | - If $A$ is a $4\times 4$ matrix, then the formula for $\det(A)$ is more complicated still, with $24$ terms. | ||
| + | - If $A$ is a $5\times 5$ matrix, then the formula for $\det(A)$ has $120$ terms. | ||
| + | |||
| + | Trying to memorise a formula in every case (or even in the $3\times 3$ case!) isn't convenient unless we understand it somehow. We will approach this is several steps. | ||
| + | |||
| + | ==== Step 1: minors ==== | ||
| + | |||
| + | === Definition === | ||
| + | {{page> | ||
| + | |||
| + | === Examples === | ||
| + | |||
| + | * If $A=\mat{3& | ||
| + | * If $A=\mat{1& | ||
| + | |||
| + | ==== Step 2: cofactors ==== | ||
| + | |||
| + | ===Definition=== | ||
| + | {{page> | ||
| + | |||
| + | Note that $(-1)^{i+j}$ is $+1$ or $-1$, and can looked up in the matrix of signs: | ||
| + | $\mat{+& | ||
| + | This matrix starts with a $+$ in the $(1,1)$ entry (corresponding to $(-1)^{1+1}=(-1)^2=+1$) and the signs then alternate. | ||
| + | |||
| + | ===Examples=== | ||
| + | |||
| + | * If $A=\mat{3& | ||
| + | * If $A=\mat{1& | ||
| + | ==== Step 3: the determinant of a $3\times 3$ matrix using Laplace expansion along the first row ==== | ||
| + | |||
| + | ===Definition=== | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | |||
| + | |||
| + | |||
lecture_13.1457347750.txt.gz · Last modified: by rupert
