skip to contentstylized crane logoWhite Crane Education
Lectures>Application: Data Analysis>Summary>Two Proofs>Practice Problems

Exercises

Icon Legend

Exercises

Compute the following products.

  1. $ \begin{bmatrix} 3 & 5 & 0 & 3\\ 4 & 4 & 1 & -2\\ -1 & 2 & 3 & 5 \end{bmatrix} \begin{bmatrix}1 \\ 4 \\ -1 \\ 2\end{bmatrix}$
  1. $ \begin{bmatrix} 1 & 0 & 4\\ 0 & 3 & -1\\ -2 & 4 & 1 \end{bmatrix} \begin{bmatrix}-2 \\ 0 \\ -1 \end{bmatrix}$
  1. $ \begin{bmatrix} 1 & 0 & 3 & -1\\ -2 & -1 & 0 & 1\\ \end{bmatrix} \begin{bmatrix}2 \\ 3 \\ -1 \\ 1 \end{bmatrix}$

Give four examples of vectors that are in the spans defined by the following sets of vectors.

  1. $ \mathbf{u_1} = \begin{bmatrix}2 \\ 3 \\ 0 \end{bmatrix}, \mathbf{u_2} = \begin{bmatrix}8 \\ 5 \\ 1 \end{bmatrix}$
  1. $ \mathbf{u_1} = \begin{bmatrix}1 \\ 1 \\ 1 \end{bmatrix}, \mathbf{u_2} = \begin{bmatrix}-3 \\ 0 \\ 4 \end{bmatrix}, \mathbf{u_3} = \begin{bmatrix}-1 \\ 0 \\ 2 \end{bmatrix}$
  1. $ \mathbf{u_1} = \begin{bmatrix}1 \\ -1 \end{bmatrix}, \mathbf{u_2} = \begin{bmatrix}-3 \\ 3 \end{bmatrix}$
  1. Give a geometric description of the span of the vectors in the previous section.

Use the definition to write each matrix equation as a vector equation.

  1. $ \begin{bmatrix} 1 & 2 & -1\\ -2 & 3 & 2\\ -1 & 1 & 2 \end{bmatrix} \begin{bmatrix}2 \\ 3 \\ 0 \end{bmatrix} =\begin{bmatrix}8 \\ 5 \\ 1 \end{bmatrix}$
  1. $ \begin{bmatrix} 2 & 4 & 0 & -1\\ 2 & 4 & 1 & 7\\ 3 & 6 & 0 & 9 \end{bmatrix} \begin{bmatrix}-2 \\ 0 \\ 1 \\ -2\end{bmatrix} =\begin{bmatrix}6 \\ -17 \\ -24 \end{bmatrix}$
  1. $ \begin{bmatrix} 2 & 1 \\ 4 & 11\\ 5 & -1\\ 6 & 5 \end{bmatrix} \begin{bmatrix}-2 \\ 2\end{bmatrix} =\begin{bmatrix}-2 \\ 14 \\ -12 \\ -2 \end{bmatrix}$

For the vectors $\mathbf{u} = \begin{bmatrix}1 \\ 3\\ 0\end{bmatrix}$, $\mathbf{v} = \begin{bmatrix}2 \\3 \\ 5\end{bmatrix}$ and $\mathbf{w} = \begin{bmatrix}-1 \\-3 \\5\end{bmatrix}$, calculate the following results

  1. $\mathbf{u} + 2\mathbf{v}$
  1. $2\left(\mathbf{u} - \mathbf{w}\right)$
  1. $-\left(-2\mathbf{u} + \mathbf{v}\right) - \mathbf{w}$

Determine if the vector in each of the following questions is in the span of the columns of the matrix.

  1. $ \mathbf{u}= \begin{bmatrix} 4\\ -1\\ 5 \end{bmatrix}$, $A= \begin{bmatrix} 1&2&0\\ 0&1&3\\ 2&1&1 \end{bmatrix}$
  1. $ \mathbf{u}= \begin{bmatrix} 1\\ 2\\ 3 \end{bmatrix}$, $A= \begin{bmatrix} 1&2&-1\\ 2&4&1\\ -1&-2&2 \end{bmatrix}$
  1. $ \mathbf{u}= \begin{bmatrix} 3\\ 1\\ 4\\ 2 \end{bmatrix}$, $A= \begin{bmatrix} 1&0&2\\ 0&1&1\\ 1&1&3\\ 2&-1&3 \end{bmatrix}$

For each of the matrices below determine how many rows have pivot positions and whether or not the equation $A\mathbf{x}=\mathbf{b}$ has a solution for every matrix $\mathbf{b}\in \mathbb{R}^m$ where $m$ is the number of rows in $A$.

  1. $ A= \begin{bmatrix} 1&2&-1\\ 0&1&3\\ 2&5&5 \end{bmatrix}$
  1. $ B= \begin{bmatrix} 1&0&2&-1\\ 2&1&3&0\\ 0&1&1&2 \end{bmatrix}$
  1. $ C= \begin{bmatrix} 1&2&0\\ 2&4&1\\ -1&-2&2\\ 3&6&1 \end{bmatrix}$
  1. $ D= \begin{bmatrix} 1&2&-1&0\\ 0&1&3&2\\ 2&5&5&4\\ 1&3&2&1 \end{bmatrix}$

Explorations

  1. Suppose you're mutiplying an $m\times n$ matrix by a vector $b\in\mathbf{R}^n$ vector. How many multiplications and additions does this require?
  2. Construct a 3x3 matrix

Theory

  1. Show that a set of vectors that spans $\mathbb{R}^m$ has to have at least $m$ vectors.
  2. Show that if $A$ is an $m\times n$ matrix, $\mathbf{b}\in\mathbf{R}^n$ and $c$ is a scalar then $A(c\mathbb{u}) = c(A\mathbb{u})$.

Icons courtesy of icons8.com


link to Facebook