Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_9
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lecture_9 [2016/02/22 17:24] – rupert | lecture_9 [2017/02/21 10:02] (current) – rupert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | === Proof of the proposition === | + | === Proof of the proposition, continued |
| - | 1. We want to show that $I_nA=A$ for any $n\times m$ matrix $A$. These matrices the [[same size]], since $I_n$ has size $n\times n$ and $A$ has size $n\times m$, so $I_n A$ has size $n\times m$ by the definition of [[matrix multiplication]], | + | 2. To show that $AI_m=A$ for any $n\times m$ matrix $A$ is similar |
| - | + | ||
| - | Note that $\text{row}_i(I_n)=[0~0~\dots~0~1~0~\dots~0]$, | + | |
| - | $\text{row}_i(I_n)\cdot \text{col}_j(A)$, | + | |
| - | \begin{align*} [0~0~\dots~0~1~0~\dots~0]\begin{bmatrix}a_{1j}\\a_{2j}\\\vdots\\a_{nj}\end{bmatrix} &= 0a_{1j}+0a_{2j}+\dots+0a_{i-1, | + | |
| - | So the matrices $I_nA$ and $A$ have the same $(i,j)$ entries, for any $(i,j)$. So $I_nA=A$. | + | |
| - | + | ||
| - | 2. To show that $AI_m=A$ for any $n\times m$ matrix $A$ is similar; the details are left as an exercise. | + | |
| 3. If $B$ is any $n\times n$ matrix, then $I_nB=B$ by part 1 and $BI_n=B$ by part 2, so $I_nB=B=BI_n$. In particular, $I_nB=BI_n$ so $I_n$ commutes with $B$, for every square $n\times n$ matrix $B$. ■ | 3. If $B$ is any $n\times n$ matrix, then $I_nB=B$ by part 1 and $BI_n=B$ by part 2, so $I_nB=B=BI_n$. In particular, $I_nB=BI_n$ so $I_n$ commutes with $B$, for every square $n\times n$ matrix $B$. ■ | ||
| Line 26: | Line 19: | ||
| If $A$ is any square matrix, then $A$ commutes with $A^2$.■ | If $A$ is any square matrix, then $A$ commutes with $A^2$.■ | ||
| - | Using [[wp> | + | The powers of a square matrix $A$ are defined by $A^1=A$, and $A^{k+1}=A(A^k)$ for $k\in \mathbb{N}$. |
| ===Proposition: | ===Proposition: | ||
| If $A$ is any square matrix and $k\in\mathbb{N}$, | If $A$ is any square matrix and $k\in\mathbb{N}$, | ||
| Line 33: | Line 26: | ||
| ====The distributive laws==== | ====The distributive laws==== | ||
| - | === Proposition: | + | === Lemma: the distributive laws for row-column multiplication === |
| + | |||
| + | - If $a$ is a $1\times m$ row vector and $b$ and $c$ are $m\times 1$ column vectors, then $a\cdot (b+c)=a\cdot b+a\cdot c$. | ||
| + | - If $b$ and $c$ are $1\times m$ row vectors and $a$ is an $m\times 1$ column vector, then $(b+c)\cdot a=b\cdot a+c\cdot a$. | ||
| + | |||
| + | The proof is an exercise (see tutorial worksheet 5). | ||
| + | |||
| + | |||
| + | === Proposition: | ||
| If $A$ is an $n\times m$ matrix and $k\in\mathbb{N}$, | If $A$ is an $n\times m$ matrix and $k\in\mathbb{N}$, | ||
| - $A(B+C)=AB+AC$ for any $m\times k$ matrices $B$ and $C$; and | - $A(B+C)=AB+AC$ for any $m\times k$ matrices $B$ and $C$; and | ||
| - | - $(B+C)A=BA=CA$ for any $k\times n$ matrices $B$ and $C$. | + | - $(B+C)A=BA+CA$ for any $k\times n$ matrices $B$ and $C$. |
| In other words, $A(B+C)=AB+AC$ whenever the matrix products make sense, and similarly $(B+C)A=BA+CA$ whenever this makes sense. | In other words, $A(B+C)=AB+AC$ whenever the matrix products make sense, and similarly $(B+C)A=BA+CA$ whenever this makes sense. | ||
| Line 47: | Line 48: | ||
| So we have (rather long-windedly) checked that $A(B+C)$ and $AB+AC$ have the [[same size]]. | So we have (rather long-windedly) checked that $A(B+C)$ and $AB+AC$ have the [[same size]]. | ||
| - | Recall that in tutorial 4 we saw that if $a$ is a $1\times m$ row vector and $b$ and $c$ are $m\times 1$ column vectors, then the [[row-column product]] has the property that \[a\cdot (b+c)=a\cdot b+a\cdot c.\] | + | By the Lemma above, the [[row-column product]] has the property that \[a\cdot (b+c)=a\cdot b+a\cdot c.\] |
| So the $(i,j)$ entry of $A(B+C)$ is | So the $(i,j)$ entry of $A(B+C)$ is | ||
| \begin{align*}\def\row{\text{row}}\def\col{\text{col}} | \begin{align*}\def\row{\text{row}}\def\col{\text{col}} | ||
| Line 62: | Line 63: | ||
| 2. The proof is similar, and is left as an exercise.■ | 2. The proof is similar, and is left as an exercise.■ | ||
| - | ===== Matrix equations ===== | ||
| - | |||
| - | We've seen that a single linear equation can be written using [[row-column multiplication]]. For example, | ||
| - | \[ 2x-3y+z=8\] | ||
| - | can be written as | ||
| - | \[ \def\m# | ||
| - | or | ||
| - | \[ a\vec x=8\] | ||
| - | where $a=\m{2& | ||
| - | |||
| - | We can write a whole [[system of linear equations]] in a similar way, as a matrix equation using [[matrix multiplication]]. For example we can rewrite the linear system | ||
| - | \begin{align*} 2x-3y+z& | ||
| - | as | ||
| - | \[ \m{2& | ||
| - | or | ||
| - | \[ A\vec x=\vec b\] | ||
| - | where $A=\m{2& | ||
| - | |||
| - | More generally, any linear system | ||
| - | \begin{align*} a_{11}x_1+a_{12}x_2+\dots+a_{1m}x_m& | ||
| - | can be written in the form | ||
| - | \[ A\vec x=\vec b\] | ||
| - | where $A$ is the $n\times m $ matrix, called the **coefficient matrix** of the linear system, whose $(i,j)$ entry is $a_{ij}$ (the number in front of $x_j$ in the $i$th equation of the system) and $\vec x=\m{x_1\\x_2\\\vdots\\x_m}$, | ||
| - | |||
| - | More generally still, we might want to solve a matrix equation like \[AX=B\] where $A$, $X$ and $B$ are matrices of any size, with $A$ and $B$ fixed matrices and $X$ a matrix of unknown variables. Because of the definition of [[matrix multiplication]], | ||
| - | |||
| - | === Example === | ||
| - | |||
| - | If $A=\m{1& | ||
| - | |||
| - | One solution is $X=0_{2\times 3}$, since in this case we have $AX=A0_{2\times 3}=0_{2\times 3}$. | ||
| - | However, this is not the only solution. For example, $X=\m{0& | ||
| - | So from this example, we see that a matrix equation can have many solutions. | ||
lecture_9.1456161889.txt.gz · Last modified: by rupert
