Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_15_slides
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_15_slides [2017/03/27 17:03] – rupert | lecture_15_slides [2017/03/27 17:31] (current) – [Example: $n=3$] rupert | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| * Key property: $A$ is invertible if and only if $\det(A)\ne0$ | * Key property: $A$ is invertible if and only if $\det(A)\ne0$ | ||
| * Laplace expansion along any row/col gives $\det(A)$ | * Laplace expansion along any row/col gives $\det(A)$ | ||
| - | * Formula: entries times cofactors, added up along row/col | + | * Formula: |
| - | * cofactor: $\pm$ minor, with $\pm$ from matrix of signs | + | * cofactor: $\pm$ minor ($\pm$ from matrix of signs) |
| - | * minor: delete a row and column | + | * minor: delete a row & column, then find determinant |
| - | * $\det(A^T)=\det(A)$ | + | * $\det(A^T)=\det(A)$ |
| - | * $\det(AB)=\det(A)\det(B)$ | + | * If $A$ upper triangular: $\det(A)=$ product of diagonal entries |
| - | * For $A$ upper triangular $\det(A)=$ product of diagonal entries | + | |
| - | * Today: effect | + | ==== Today ==== |
| + | |||
| + | * Effect | ||
| * Using this to simplify determinants | * Using this to simplify determinants | ||
| + | * Using determinants and cofactors to find the inverse of a matrix | ||
| + | |||
| ==== Theorem: row/column operations and determinants ==== | ==== Theorem: row/column operations and determinants ==== | ||
| Line 26: | Line 29: | ||
| * Also, these properties all hold if you change " | * Also, these properties all hold if you change " | ||
| - | |||
| - | ==== Corollary ==== | ||
| - | |||
| - | If an $n\times n$ matrix $A$ has two equal rows (or columns), then $\det(A)=0$, | ||
| - | |||
| - | === Proof === | ||
| - | |||
| - | * Suppose $A$ has two equal rows, row $i$ and row $j$. | ||
| - | * Then $A=A_{Ri\leftrightarrow Rj}$ | ||
| - | * So $\det(A)=\det(A_{Ri\leftrightarrow Rj}) = -\det(A)$ | ||
| - | * So $\det(A)=0$. | ||
| - | |||
| - | * If $A$ has two equal columns, then $A^T$ has two equal rows | ||
| - | * So $\det(A)=\det(A^T)=0$. | ||
| - | |||
| - | * In either case, $\det(A)=0$. So $A$ is not invertible.■ | ||
| - | |||
| - | ==== Examples ==== | ||
| - | |||
| - | * $\det(A_{Ri\leftrightarrow Rj})=-\det(A)$, | ||
| - | |||
| - | ==== ==== | ||
| - | * $\det(A_{Ri\to c Ri})=c\det(A)$, | ||
| - | |||
| - | ==== ==== | ||
| - | * $\det(A_{R1\to R1-R4})=\det(A)$, | ||
| - | * Hence \begin{align*}\vm{ 2& | ||
| - | |||
| - | ==== 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}$, | ||
| - | |||
| - | === Proof === | ||
| - | |||
| - | * $\row_i(A)-c \cdot\row_j(A)=0$ | ||
| - | * So $A_{Ri\to Ri-c\,Rj}$ has a zero row | ||
| - | * So $\det(A_{Ri\to Ri-c\, | ||
| - | * So $\det(A)=\det(A_{Ri\to Ri-c\, | ||
| - | |||
| - | ==== Effect of EROs on the determinant ==== | ||
| - | |||
| - | We've seen that: | ||
| - | |||
| - | - swapping two rows of the matrix multiplies the determinant by $-1$; | ||
| - | - scaling one of the rows of the matrix by $c$ scales the determinant by $c$; and | ||
| - | - replacing row $j$ by "row $j$ ${}+{}$ $c\times {}$ (row $i$)", where $c$ is a scalar and $i\ne j$ does not change the determinant. | ||
| - | |||
| - | * Since $\det(A)=\det(A^T)$, | ||
| - | |||
| - | ==== Using EROs to find the determinant ==== | ||
| - | |||
| - | * Can use EROs to put a matrix into upper triangular form | ||
| - | * Then finding the determinant is easy: just multiply the diagonal entries together. | ||
| - | * Just have to keep track of how the determinant is changed by any row swaps and row scalings. | ||
| - | |||
| - | ==== Example: using EROs to find the determinant ==== | ||
| - | |||
| - | \begin{align*}\vm{1& | ||
| - | \\& | ||
| - | =\color{blue}{-}12\vm{1& | ||
| - | \\& | ||
| - | =-12\vm{1& | ||
| - | \\& | ||
| - | \end{align*} | ||
| - | |||
| Line 113: | Line 51: | ||
| * $\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 148: | Line 86: | ||
| ==== Example: using EROs to find the determinant ==== | ==== Example: using EROs to find the determinant ==== | ||
| - | \begin{align*}\vm{1& | + | \begin{align*}\def\vm# |
| \\& | \\& | ||
| =\color{blue}{-}12\vm{1& | =\color{blue}{-}12\vm{1& | ||
| \\& | \\& | ||
| =-12\vm{1& | =-12\vm{1& | ||
| - | \\& | + | \\& |
| \end{align*} | \end{align*} | ||
| + | |||
| ===== Finding the inverse of an invertible $n\times n$ matrix ===== | ===== Finding the inverse of an invertible $n\times n$ matrix ===== | ||
| Line 171: | Line 110: | ||
| ==== Example: $n=3$ ==== | ==== Example: $n=3$ ==== | ||
| - | Let $\def\mat# | + | Find $J$, the adjoint of $\def\mat# |
| * Matrix of signs: $\mat{+& | * Matrix of signs: $\mat{+& | ||
| - | * Matrix of cofactors: $C=\mat{\vm{-4& | + | * Matrix of cofactors: $C=\def\vm# |
| - | * So the adjoint of $A$ is $J=C^T=\mat{-4& | + | |
| ==== ==== | ==== ==== | ||
| - | * Adjoint of $A=\mat{3& | + | * Adjoint of $A=\mat{3& |
| * $AJ=\mat{3& | * $AJ=\mat{3& | ||
| * $JA=\mat{-4& | * $JA=\mat{-4& | ||
| Line 194: | Line 132: | ||
| ==== Corollary: a formula for the inverse of a square matrix ==== | ==== Corollary: a formula for the inverse of a square matrix ==== | ||
| - | If $A$ is any $n\times n$ matrix with $\det(A)\ne 0$, then $A$ is invertible and \[A^{-1}=\frac1{\det A}J\] where $J$ is the adjoint of $A$. | + | If $A$ is any $n\times n$ matrix with $\det(A)\ne 0$, then $A$ is invertible, and $A^{-1}=\frac1{\det A}J$ where $J$ is the adjoint of $A$. |
| === Proof === | === Proof === | ||
| - | * Divide the equation $AJ=(\det A)I_n=JA$ by $\det A$. ■ | + | * Divide the equation $AJ=(\det A)I_n=JA$ by $\det A$. |
| + | * $A(\frac1{\det A}J)=I_n=(\frac1{\det A})JA$ | ||
| + | * So $A^{-1}=\frac1{\det A} J$. ■ | ||
| + | |||
| + | ==== Example ($n=4$) ==== | ||
| + | |||
| + | Let $A=\mat{1& | ||
| + | |||
| + | * Reminder: repeated row or zero row gives determinant zero | ||
| + | * $C=\mat{+\vm{2& | ||
| + | ==== Example ($n=4$) ==== | ||
| + | |||
| + | Let $A=\mat{1& | ||
| + | |||
| + | * $C=\mat{24& | ||
| + | * So $A^{-1}=\frac1{\det A}J = \frac1{24}\mat{24& | ||
| + | * (Easy to check that $AA^{-1}=I_4=A^{-1}A$.) | ||
| + | |||
| - | ==== Example ==== | ||
| - | If again we take $A=\mat{3& | ||
lecture_15_slides.1490634231.txt.gz · Last modified: by rupert
