Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_14_slides
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_14_slides [2017/03/08 16:51] – [Proof by induction on $n$] rupert | lecture_14_slides [2017/03/09 10:45] (current) – [Corollary: the determinant of an upper triangular matrix] rupert | ||
|---|---|---|---|
| Line 76: | Line 76: | ||
| \end{align*} | \end{align*} | ||
| - | ==== Definition: upper triangular matrices | + | ==== Corollary: a matrix with a zero row or column isn't invertible |
| - | An $n\times n$ matrix $A$ is **upper triangular** if all the entries below the main diagonal are zero. | + | If an $n\times n$ matrix $A$ has a zero row or a zero column, then $\det(A)=0$ and $A$ isn't invertible. |
| + | === Proof === | ||
| - | ==== Definition: diagonal matrices ==== | + | Expand $\det(A)$ along the zero row or column |
| + | * get a sum of terms $0\times C_{ij}$ | ||
| + | * so $\det(A)=0$ | ||
| + | * so $A$ isn't invertible.■ | ||
| - | An $n\times n$ matrix $A$ is **diagonal** if the only non-zero entries are on its main diagonal. | + | ==== Definition: "upper triangular" |
| + | |||
| + | An $n\times n$ matrix | ||
| + | |||
| + | |||
| + | An $n\times n$ matrix | ||
| ==== Corollary: the determinant of an upper triangular matrix ==== | ==== Corollary: the determinant of an upper triangular matrix ==== | ||
| - | The determinant of an upper triangular $n\times n$ matrix | + | If $A$ is an upper triangular |
| + | |||
| + | * Every diagonal matrix is upper triangular! | ||
| + | * So it suffices just to prove it for upper triangular matrices. | ||
| ==== Proof by induction on $n$ ==== | ==== Proof by induction on $n$ ==== | ||
| Line 93: | Line 105: | ||
| * This is true for $n=1$, trivially. | * This is true for $n=1$, trivially. | ||
| * For $n>1$, assume inductively that it is true for $n-1$ | * For $n>1$, assume inductively that it is true for $n-1$ | ||
| - | * Let $A$ be $n\times n$. Laplace expansion of $\det(A)$ along column 1: | + | * Let $A$ be $n\times n$. Expand |
| * $\det(A)=a_{11}C_{11}+0+\dots+0=a_{11}C_{11}$. | * $\det(A)=a_{11}C_{11}+0+\dots+0=a_{11}C_{11}$. | ||
| - | * $C_{11}=\det(B)$ | + | * $C_{11}=\det(B)$ |
| * $B$ is $(n-1)\times (n-1)$, upper triangular, diagonal entries $a_{22}, | * $B$ is $(n-1)\times (n-1)$, upper triangular, diagonal entries $a_{22}, | ||
| - | * By inductive | + | * By assumption, $C_{11}=\det(B)=a_{22}a_{33}\dots a_{nn}$. |
| * So $\det(A)=a_{11}C_{11}=a_{11}a_{22}a_{33}\dots a_{nn}$.■ | * So $\det(A)=a_{11}C_{11}=a_{11}a_{22}a_{33}\dots a_{nn}$.■ | ||
| - | ==== Corollary: the determinant of a diagonal matrix ==== | ||
| - | The determinant of an $n\times n$ diagonal matrix is the product of its diagonal entries: \[\det(A)=a_{11}a_{22}\dots a_{nn}.\] | ||
| - | |||
| - | === Proof === | ||
| - | * Any diagonal matrix is upper triangular, so this is a special case of the last Corollary (about upper triangular matrices).■ | ||
| Line 112: | Line 119: | ||
| - For any $n$, we have $\det(I_n)=1\cdot 1\cdots 1 = 1$. | - For any $n$, we have $\det(I_n)=1\cdot 1\cdots 1 = 1$. | ||
| - For any $n$, we have $\det(5I_n)=5^n$. | - For any $n$, we have $\det(5I_n)=5^n$. | ||
| + | * Careful: $\det(5A)\ne 5\det(A)$! | ||
| + | * Actually, $\det(5A)=5^n\det(A)$ for any $n\times n$ A (exercise) | ||
| - $\vm{1& | - $\vm{1& | ||
| Line 123: | Line 132: | ||
| - If $B$ is another $n\times n$ matrix, then $\det(AB)=\det(A)\det(B)$. | - If $B$ is another $n\times n$ matrix, then $\det(AB)=\det(A)\det(B)$. | ||
| + | === Corollary on invertibility === | ||
| + | |||
| + | - $A^T$ is invertible if and only if $A$ is invertible | ||
| + | - $AB$ is invertible if and only if **both** $A$ and $B$ are invertible | ||
| + | |||
| + | |||
| + | * Warning: it's not true that $A+B$ is invertible if and only if $A$ and $B$ are invertible! | ||
| ==== Theorem: row/column operations and determinants ==== | ==== Theorem: row/column operations and determinants ==== | ||
| Line 154: | Line 170: | ||
| * $\det(A_{Ri\leftrightarrow Rj})=-\det(A)$, | * $\det(A_{Ri\leftrightarrow Rj})=-\det(A)$, | ||
| + | |||
| + | ==== ==== | ||
| * $\det(A_{Ri\to c Ri})=c\det(A)$, | * $\det(A_{Ri\to c Ri})=c\det(A)$, | ||
| Line 162: | Line 180: | ||
| ==== Corollary === | ==== Corollary === | ||
| - | If $\def\row{\text{row}}\row_i(A)=c\cdot \row_j(A)$ for some $i\ne j$ and some $c\in \mathbb{R}$, | + | If $\def\row{\text{row}}\row_i(A)=c\cdot \row_j(A)$ for some $i\ne j$ and some $c\in \mathbb{R}$, |
| === Proof === | === Proof === | ||
| Line 168: | Line 186: | ||
| * $\row_i(A)-c \cdot\row_j(A)=0$ | * $\row_i(A)-c \cdot\row_j(A)=0$ | ||
| * So $A_{Ri\to Ri-c\,Rj}$ has a zero row | * So $A_{Ri\to Ri-c\,Rj}$ has a zero row | ||
| - | * By Laplace expansion along this row: $\det(A_{Ri\to Ri-c\, | + | * So $\det(A_{Ri\to Ri-c\, |
| * So $\det(A)=\det(A_{Ri\to Ri-c\, | * So $\det(A)=\det(A_{Ri\to Ri-c\, | ||
| Line 190: | Line 208: | ||
| \begin{align*}\vm{1& | \begin{align*}\vm{1& | ||
| - | =12\vm{1& | + | \\&=12\vm{1& |
| - | \\&=\color{blue}{-}12\vm{1& | + | =\color{blue}{-}12\vm{1& |
| - | =-12\vm{1& | + | \\&=-12\vm{1& |
| =-12\vm{1& | =-12\vm{1& | ||
| \\& | \\& | ||
| \end{align*} | \end{align*} | ||
| + | |||
lecture_14_slides.1488991867.txt.gz · Last modified: by rupert
