Lecture 38
Auburn University
MATH 2660 - Spring 2026
April 20, 2026
$$ % Colors
% Coordinate vectors and matrices
% Common sets
% Abstract vector symbols
% Norms / absolute value
% Optional: dot product spacing (looks nicer in slides)
% Operators $$
Let \[ \vec{u}=\langle 2,-1 \rangle, \qquad \vec{v}=\langle 1,3 \rangle, \qquad A= \begin{bmatrix} 1&0&2\\ 2&-1&1 \end{bmatrix}, \qquad \vec{x}=\langle 1,-2,3 \rangle. \]
Compute:
\[ 2\vec{u}-\vec{v} = 2\langle 2,-1 \rangle-\langle 1,3 \rangle = \langle 4,-2 \rangle-\langle 1,3 \rangle = \langle 3,-5 \rangle. \]
\[ A\vec{x} = \begin{bmatrix} 1&0&2\\ 2&-1&1 \end{bmatrix} \begin{bmatrix} 1\\-2\\3 \end{bmatrix} = \begin{bmatrix} 1+0+6\\ 2+2+3 \end{bmatrix} = \langle 7,7 \rangle. \]
Also, \[ A^TA \text{ has size } 3\times 3. \]
Suppose \[ T(\langle 1,0 \rangle)=\langle 1,2 \rangle, \qquad T(\langle 0,1 \rangle)=\langle -2,1 \rangle. \]
The RREF of an augmented matrix is \[ \left[ \begin{array}{ccc|c} 1&0&4&3\\ 0&1&-2&-1\\ 0&0&0&0 \end{array} \right]. \]
Let \[ A= \begin{bmatrix} 2&1\\ 5&3 \end{bmatrix}. \]
For a \(2\times 2\) matrix, \[ A^{-1} = \frac{1}{ad-bc} \begin{bmatrix} d&-b\\ -c&a \end{bmatrix}. \]
Here \[ \det(A)=2\cdot 3-1\cdot 5=1, \] so \[ A^{-1} = \begin{bmatrix} 3&-1\\ -5&2 \end{bmatrix}. \]
Also, every elementary matrix is invertible, and its inverse is again elementary.
A two-state Markov chain has states \(A\) and \(B\).
Write the transition matrix \(P\).
\[ P= \begin{bmatrix} 0.7&0.4\\ 0.3&0.6 \end{bmatrix}. \]
In \(P_2\), determine whether each set is a subspace:
Suppose a \(4\times 5\) matrix has RREF \[ \begin{bmatrix} 1&0&3&0&2\\ 0&1&-1&0&4\\ 0&0&0&1&5\\ 0&0&0&0&0 \end{bmatrix}. \]
Find:
Let \[ \vec{w}_1=\langle 1,0,2 \rangle, \qquad \vec{w}_2=\langle 0,1,-1 \rangle, \qquad \vec{w}_3=\langle 1,1,1 \rangle. \]
Are these vectors linearly independent?
Notice that \[ \vec{w}_1+\vec{w}_2 = \langle 1,1,1 \rangle = \vec{w}_3. \]
So one vector is a linear combination of the others, and the set is linearly dependent.
Let \[ \vec{u}=\langle 1,2,2 \rangle, \qquad \vec{v}=\langle 2,0,1 \rangle, \qquad \vec{b}=\langle 4,1,1 \rangle. \]
First, \[ \left\lVert \vec{u} \right\rVert = \sqrt{1^2+2^2+2^2} = \sqrt{9} = 3. \]
Next, \[ \vec{u}\cdot \vec{v} = 1\cdot 2+2\cdot 0+2\cdot 1=4. \]
Since the dot product is positive, the angle is acute.
Let \(\vec{a}=\langle 1,1,0 \rangle\). Then \[ \operatorname{proj}_{\vec{a}}\vec{b} = \frac{\vec{b}\cdot \vec{a}}{\vec{a}\cdot \vec{a}}\vec{a} = \frac{4+1}{1+1}\vec{a} = \frac52 \vec{a} = \langle \frac 52,\frac 52,0 \rangle. \]
Let \[ A= \begin{bmatrix} 1&0\\ 1&1\\ 1&2 \end{bmatrix}, \qquad \vec{b}= \begin{bmatrix} 1\\2\\2 \end{bmatrix}. \]
Write the normal equations for the least-squares problem \[ A\hat{\vec{x}}\approx \vec{b}. \]
The normal equations are \[ A^TA\hat{\vec{x}}=A^T\vec{b}. \]
Here \[ A^TA= \begin{bmatrix} 3&3\\ 3&5 \end{bmatrix}, \qquad A^T\vec{b}= \begin{bmatrix} 5\\ 6 \end{bmatrix}. \]
So the normal equations are \[ \begin{bmatrix} 3&3\\ 3&5 \end{bmatrix} \hat{\vec{x}} = \begin{bmatrix} 5\\ 6 \end{bmatrix}. \]
Answer these quick checks.
Let \[ A= \begin{bmatrix} 5&2\\ 0&1 \end{bmatrix}. \]
Answer these quick later-course questions.
Decide whether each statement is true or false.