User Tools

Site Tools


Plugin installed incorrectly. Rename plugin directory '_include' to 'include'.
Plugin installed incorrectly. Rename plugin directory '__include' to 'include'.
lecture_7_slides

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lecture_7_slides [2016/02/10 14:59] rupertlecture_7_slides [2017/02/13 19:32] (current) rupert
Line 1: Line 1:
 ~~REVEAL~~ ~~REVEAL~~
 +
 +====== Chapter 2: The algebra of matrices ======
 +
 +==== ====
 +{{page>matrix}}
 +
 +{{page>(i,j) entry}}
 +
 +==== Examples ====
 +
 +  * $B=\begin{bmatrix} 99&3&5\\7&-20&14\end{bmatrix}$ is a $2\times 3$ matrix
 +    * the $(1,1)$ entry of $B$ is $b_{11}=99$
 +    * the $(1,3)$ entry of $B$ is $b_{13}=5$
 +    * the $(2,1)$ entry of $B$ is $b_{21}=7$
 +    * etc.
 +  * $(3,2)$ entry of $B$?
 +    * undefined!
 +
 +==== Examples =====
 +  * $\left[\begin{smallmatrix}3\\2\\4\\0\\-1\end{smallmatrix}\right]$ is a $5\times 1$ matrix. 
 +    * A **column vector**: matrix with just one column.
 +  * $\begin{bmatrix}3&2&4&0&-1\end{bmatrix}$ is a $1\times 5$ matrix. 
 +    * A **row vector**: matrix with just one row.
 +  * These have the same entries, but a different "shape", or "size".
 +  * They are different matrices (not equal). 
 +
 +==== Size of a matrix ====
 +
 +{{page>same size}}
 +
 +==== Equality of matrices ====
 +
 +{{page>equal matrices}}
 +
 +==== Examples ====
 +
 +  * $\begin{bmatrix}3\\2\\4\\0\\-1\end{bmatrix}\ne \begin{bmatrix}3&2&4&0&-1\end{bmatrix}$, since these matrices have different sizes: the first is $5\times 1$ but the second is $1\times 5$.
 +==== ====
 +  * $\begin{bmatrix}1\\2\end{bmatrix}\ne\begin{bmatrix}1 &0\\2&0\end{bmatrix}$ 
 +    * not the same size.
 +  * $\begin{bmatrix}1&0\\0&1\end{bmatrix}\ne \begin{bmatrix}1&0\\1&1\end{bmatrix}$ 
 +    * same size but the $(2,1)$ entries are different.
 +==== ====
 +  * If $\begin{bmatrix}3x&7y+2\\8z-3&w^2\end{bmatrix}=\begin{bmatrix}1&2z\\\sqrt2&9\end{bmatrix}$ then we know that all the corresponding entries are equal
 +  * We get four equations:\begin{align*}3x&=1\\7y+2&=2z\\8z-3&=\sqrt2\\w^2&=9\end{align*}
  
 ===== Operations on matrices ===== ===== Operations on matrices =====
Line 81: Line 126:
   * We want to define $AB$ where $A$ and $B$ are matrices of "compatible" sizes (not just rows and columns)   * We want to define $AB$ where $A$ and $B$ are matrices of "compatible" sizes (not just rows and columns)
   * This will generalise row-column multiplication   * This will generalise row-column multiplication
-  * Idea: build $AB$ from all possible row-column products. e.g.: +  * We build $AB$ from all possible row-column products.  
-  * \[ \def\r{\left[\begin{smallmatrix}1&0&5\end{smallmatrix}\right]}\def\rr{\left[\begin{smallmatrix}2&-1&3\end{smallmatrix}\right]}\left[\begin{smallmatrix}1&0&5\\2&-1&3\end{smallmatrix}\right]\left[\begin{smallmatrix} 1&2\\3&4\\5&6\end{smallmatrix}\right]\def\s{\left[\begin{smallmatrix}1\\3\\5\end{smallmatrix}\right]}\def\ss{\left[\begin{smallmatrix}2\\4\\6\end{smallmatrix}\right]}=\left[\begin{smallmatrix}{\r\s}&{\r\ss}\\{\rr\s}&{\rr\ss}\end{smallmatrix}\right]=\left[\begin{smallmatrix}26&32\\14&18\end{smallmatrix}\right].\]+  * For example: \[\!\!\!\!\!\!\!\!\!\!\!\!\!\!\! \def\r{\left[\begin{smallmatrix}1&0&5\end{smallmatrix}\right]}\def\rr{\left[\begin{smallmatrix}2&-1&3\end{smallmatrix}\right]}\left[\begin{smallmatrix}1&0&5\\2&-1&3\end{smallmatrix}\right]\left[\begin{smallmatrix} 1&2\\3&4\\5&6\end{smallmatrix}\right]\def\s{\left[\begin{smallmatrix}1\\3\\5\end{smallmatrix}\right]}\def\ss{\left[\begin{smallmatrix}2\\4\\6\end{smallmatrix}\right]}=\left[\begin{smallmatrix}{\r\s}&{\r\ss}\\{\rr\s}&{\rr\ss}\end{smallmatrix}\right]=\left[\begin{smallmatrix}26&32\\14&18\end{smallmatrix}\right].\]
lecture_7_slides.1455116382.txt.gz · Last modified: by rupert

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki