Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_15
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_15 [2015/03/24 10:44] – [Examples] rupert | lecture_15 [2017/03/28 11:16] (current) – [Definition: the adjoint of a square matrix] rupert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Step 4: the determinant of an $n\times n$ matrix | + | ==== Theorem: row/column operations and determinants |
| + | Let $A$ be an $n\times n$ matrix, let $c$ be a scalar and let $i\ne j$. | ||
| - | ===Definition=== | + | $A_{Ri\to x}$ means $A$ but with row $i$ replaced by $x$. |
| - | {{page> | + | - If $i\ne j$, then $\det(A_{Ri\leftrightarrow Rj})=-\det(A)$ (swapping two rows changes the sign of det). |
| + | - $\det(A_{Ri\to c Ri}) = c\det(A)$ (scaling one row scales $\det(A)$ in the same way) | ||
| + | - $\det(A_{Ri\to Ri + c Rj}) = \det(A)$ (adding a multiple of one row to another row doesn' | ||
| - | ===Example=== | + | * Also, these properties all hold if you change " |
| - | \begin{align*} | + | ==== Corollary ==== |
| - | \def\vm# | + | |
| - | \vm{\color{red}1& | + | |
| - | &= 1\left(\color{blue}2\vm{0& | + | |
| - | &=1(2(-4)-0-0)+2(-2(1)-0)-3(-2(8)+0)\\ | + | |
| - | &=-8-4+48\\ | + | |
| - | &=36. | + | |
| - | \end{align*} | + | |
| - | ==== Theorem: Laplace expansion along any row or column gives the determinant ==== | + | If an $n\times n$ matrix $A$ has two equal rows (or columns), then $\det(A)=0$, and $A$ is not invertible. |
| - | - For any fixed $i$: $\det(A)=a_{i1}C_{i1}+a_{i2}C_{i2}+\dots+a_{in}C_{in}$ (Laplace expansion along row $i$) | + | === Proof === |
| - | - For any fixed $j$: $\det(A)=a_{1j}C_{1j}+a_{2j}C_{2j}+\dots+a_{nj}C_{nj}$ (Laplace expansion along column $j$) | + | |
| - | === Example === | ||
| - | We can make life easier by choosing expansion | + | If $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 $2\det(A)=0$, | ||
| - | \begin{align*} | + | If $A$ has two equal columns, then $A^T$ has two equal rows, so $\det(A)=\det(A^T)=0$. |
| - | \def\vm# | + | |
| - | \vm{1& | + | |
| - | -\color{red}0+\color{red}2\vm{1& | + | |
| - | & | + | |
| - | &=2(-2(-8)-(-2))\\ | + | |
| - | &=36. | + | |
| - | \end{align*} | + | |
| - | ==== Definition: upper triangular matrices ==== | + | In either case, $\det(A)=0$. So $A$ is not invertible.■ |
| - | An $n\times n$ matrix $A$ is **upper triangular** if all the entries below the main diagonal are zero. | + | === Examples === |
| + | * Swapping two rows changes the sign, so $\def\vm# | ||
| + | * Multiplying a row or a column by a constant multiplies the determinant by that constant, so \begin{align*}\vm{ 2& | ||
| + | * $\det(A_{R1\to R1-R4})=\det(A)$, | ||
| + | * Hence \begin{align*}\vm{ 2& | ||
| - | ==== Definition: diagonal matrices ==== | + | ==== Corollary |
| - | An $n\times n$ matrix | + | If $\def\row{\text{row}}\row_j(A)=c\cdot \row_i(A)$ for some $i\ne j$ and some $c\in \mathbb{R}$, |
| - | ==== Corollary: the determinant of upper triangular matrices and diagonal matrices ==== | + | === Proof === |
| - | - The determinant of an upper triangular | + | Note that $\row_i(A)-c |
| - | - The determinant of an $n\times n$ diagonal matrix is the product of its diagonal entries: | + | |
| - | === Proof === | + | ==== The effect of EROs on the determinant ==== |
| - | - This is true for $n=1$, trivially. For $n>1$, assume inductively that it is true for $(n-1)\times (n-1)$ matrices and use the Laplace expansion | + | We have now seen the effect of each of the three types of [[ERO]] on the determinant of a matrix: |
| - | - Any diagonal matrix is upper triangular, so this is a special case of statement 1. ■ | + | |
| - | ==== Examples ==== | + | - swapping two rows of the matrix multiplies the determinant by $-1$. By swapping rows repeatedly, we are able to shuffle the rows in an arbitrary fashion, and the determinant will either remain unchanged (if we used an even number of swaps) or be multiplied by $-1$ (if we used an odd number of swaps). |
| + | - multiplying one of the rows of the matrix by $c\in \mathbb{R}$ multiplies the determinant by $c$; and | ||
| + | - replacing row $j$ by "row $j$ ${}+{}$ $c\times {}$ (row $i$)", where $c$ is a non-zero real number and $i\ne j$ does not change the determinant. | ||
| - | - For any $n$, we have $\det(I_n)=1\cdot 1\cdots 1 = 1$. | + | Moreover, since $\det(A)=\det(A^T)$, this all applies equally to columns instead of rows. |
| - | - For any $n$, we have $\det(5I_n)=5^n$. | + | |
| - | - $\def\vm# | + | |
| + | We can use EROs to put a matrix into upper triangular form, and then finding the determinant is easy: just multiply the diagonal entries together. We just have to keep track of how the determinant is changed by the EROs of types 1 and 2. | ||
| - | ==== Theorem: important properties of the determinant ==== | + | ==== Example: using EROs to find the determinant ==== |
| - | Let $A$ be an $n\times n$ matrix. | + | \begin{align*}\def\vm# |
| + | \\& | ||
| + | \\& | ||
| + | \\& | ||
| + | \\& | ||
| + | \\& | ||
| + | \end{align*} | ||
| - | - $A$ is invertible if and only if $\det(A)\ne0$. | + | ===== Finding the inverse of an invertible |
| - | - If $A'$ is the same as $A$, except with two rows swapped, then $\det(A' | + | |
| - | - If $c$ is a scalar and $A'$ is the same as $A$ except with one row multiplied by $c$, then $\det(A' | + | |
| - | - If $A'$ and $A'' | + | |
| - | - $\det(A^T)=\det(A)$. So we can swap " | + | |
| - | - If $B$ is another | + | |
| - | ==== Corollary | + | ==== Definition: the adjoint of a square matrix |
| - | If an $n\times n$ matrix $A$ has two equal rows (or columns), then $\det(A)=0$, | + | {{page> |
| - | === Proof === | + | === Example: $n=2$ === |
| - | Suppose | + | If $A=\def\mat# |
| - | If $A$ has two equal columns, then $A^T$ has two equal rows, so $\det(A^T)=0$, | ||
lecture_15.1427193862.txt.gz · Last modified: by rupert
