GSLA Chapter 2 Problem Set (Optional)

Problem Set 2.1

  1. Find the two components of AxA \boldsymbol{x} by rows or by columns:

    [2351][42]and[36612][21]and[124201][311].\begin{bmatrix}2 & 3 \\ 5 & 1\end{bmatrix}\begin{bmatrix}4 \\ 2\end{bmatrix} \quad \text{and} \quad \begin{bmatrix}3 & 6 \\ 6 & 12\end{bmatrix} \begin{bmatrix} 2 \\ -1\end{bmatrix} \quad \text{and} \quad \begin{bmatrix}1 & 2 & 4 \\ 2 & 0 & 1\end{bmatrix}\begin{bmatrix}3 \\ 1 \\ 1\end{bmatrix}.

Solution

[2351][42]=[24+3254+12]=[1422]\begin{bmatrix*}2 & 3 \\ 5 & 1\end{bmatrix*}\begin{bmatrix*}4 \\ 2\end{bmatrix*} = \begin{bmatrix*} 2 \cdot 4 + 3 \cdot 2 \\ 5 \cdot 4 + 1 \cdot 2\end{bmatrix*} = \begin{bmatrix*}14 \\ 22\end{bmatrix*}

[36612][21]=[32+6(1)62+12(1)]=[00]\begin{bmatrix*}3 & 6 \\ 6 & 12\end{bmatrix*}\begin{bmatrix*}2 \\ -1\end{bmatrix*} = \begin{bmatrix*} 3 \cdot 2 + 6 \cdot (-1) \\ 6 \cdot 2 + 12 \cdot (-1)\end{bmatrix*} = \begin{bmatrix*}0 \\ 0\end{bmatrix*}

[124201][311]=[13+21+4123+01+11]=[97]\begin{bmatrix}1 & 2 & 4 \\ 2 & 0 & 1\end{bmatrix}\begin{bmatrix}3 \\ 1 \\ 1\end{bmatrix} = \begin{bmatrix*}1 \cdot 3 + 2 \cdot 1 + 4 \cdot 1 \\ 2 \cdot 3 + 0 \cdot 1 + 1 \cdot 1\end{bmatrix*} = \begin{bmatrix*}9 \\ 7\end{bmatrix*}

  1. (a) What 2 by 2 matrix RR rotates every vector by 90°? RR times [xy]\begin{bmatrix}x \\ y\end{bmatrix} is [yx]\begin{bmatrix}y \\ -x\end{bmatrix}.

(b) What 2 by 2 matrix R2R^2 rotates every vector by 180°?

Solution (a) Note that

[0110][xy]=[yx]\begin{bmatrix*}0 & 1 \\ -1 & 0\end{bmatrix*}\begin{bmatrix*}x \\ y\end{bmatrix*} = \begin{bmatrix*}y \\ -x\end{bmatrix*}

so we get R=[0110]R = \begin{bmatrix*}0 & 1 \\ -1 & 0\end{bmatrix*}.

(b) For every vector [xy]\begin{bmatrix*}x \\ y\end{bmatrix*}, we note that it will become vector [xy]\begin{bmatrix*}-x \\ -y\end{bmatrix*} after rotating 180°. Since

[1001][xy]=[xy]\begin{bmatrix*}[r]-1 & 0 \\ 0 & -1\end{bmatrix*}\begin{bmatrix*}x \\ y\end{bmatrix*} = \begin{bmatrix*}-x \\ -y\end{bmatrix*}

we get R2=[1001]R^2 = \begin{bmatrix*}[r]-1 & 0 \\ 0 & -1\end{bmatrix*}.

  1. Suppose u\boldsymbol{u} and v\boldsymbol{v} are the first two columns of a 3 by 3 matrix AA. Which third columns w\boldsymbol{w} would make this matrix singular? Describe a typical column picture of Ax=bA \boldsymbol{x} = \boldsymbol{b} in that singular case, and a typical row picture (for a random b\boldsymbol{b}).

SolutionAA is singular as long as w\boldsymbol{w} is a linear combination of u\boldsymbol{u} and v\boldsymbol{v}, because in this case u\boldsymbol{u}, v\boldsymbol{v}, and w\boldsymbol{w} are dependent.

The Row Picture of AAThe Column Picture of AA
12

Problem Set 2.2

  1. What test on b1b_1 and b2b_2 decides whether these two equations allow a solution? How many solutions will they have? Draw the column picture for b=(1,2)\boldsymbol{b} = (1, 2) and (1,0)(1, 0).

    3x2y=b16x4y=b2\begin{aligned} 3x - 2y &= b_1 \\ 6x - 4y &= b_2 \end{aligned}

Solution Note that the second equation can be transformed into 3x2y=12b23x - 2y = \frac{1}{2}b_2, which is also equal to b1b_1. So these two equations allow infinitely many solutions when 2b1=b22b_1 = b_2, and allow no solution when 2b1b22b_1 \ne b_2.

3
  1. Elimination in the usual order gives what matrix UU and what solution to this "lower triangular" system? We are really solving by forward substitution:

    3x=36x+2y=89x2y+z=9\begin{aligned} &3x &= 3 \\ &6x + 2y &= 8 \\ &9x - 2y + z &= 9 \end{aligned}

Solution[Ab]=[300362089219][300302020210][300302020012]=[Uc]\begin{bmatrix*}A & \boldsymbol{b}\end{bmatrix*} = \begin{bmatrix*}3 & 0 & 0 & 3 \\ 6 & 2 & 0 & 8 \\ 9 & -2 & 1 & 9\end{bmatrix*} \rightarrow \begin{bmatrix*}3 & 0 & 0 & 3 \\ 0 & 2 & 0 & 2 \\ 0 & -2 & 1 & 0\end{bmatrix*} \rightarrow \begin{bmatrix*}3 & 0 & 0 & 3 \\ 0 & 2 & 0 & 2 \\ 0 & 0 & 1 & 2\end{bmatrix*} = \begin{bmatrix*}U & \boldsymbol{c}\end{bmatrix*}.

So U=[300020001]U = \begin{bmatrix*}3 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 1\end{bmatrix*}, c=[322]\boldsymbol{c} = \begin{bmatrix*}3 \\ 2 \\ 2\end{bmatrix*}. That means

{3x=32y=2z=2\left\{\begin{align*}3x &= 3 \\ 2y &= 2 \\ z &= 2\end{align*}\right.

We get

{x=1y=1z=2\begin{cases} x = 1 \\ y = 1 \\ z = 2 \end{cases}

Problem Set 2.3

  1. Which three matrices E21E_{21}, E31E_{31}, E32E_{32} put AA into triangular form UU? Multiply those EE’s to get one matrix MM that does elimination: MA=UMA=U.

    A=[110461220]andE32E31E21A=UA=\begin{bmatrix}1 & 1 & 0 \\ 4 & 6 & 1 \\ -2 & 2 & 0\end{bmatrix} \quad \text{and} \quad E_{32}E_{31}E_{21}A=U

Solution To eliminate a21a_{21}, AA need a multiplier 21=a21/a11=4\ell_{21} = a_{21}/a_{11} = 4 to do subtraction, then E21=[100410001]E_{21} = \begin{bmatrix*}1 & 0 & 0 \\ -4 & 1 & 0 \\ 0 & 0 & 1\end{bmatrix*}.

To eliminate a31a_{31}, AA need a multiplier 31=a31/a11=2\ell_{31} = a_{31}/a_{11} = -2 to do subtraction, then E31=[100010201]E_{31} = \begin{bmatrix*}1 & 0 & 0 \\ 0 & 1 & 0 \\ 2 & 0 & 1\end{bmatrix*}.

To eliminate a32a_{32}, 32=a32/a22=1/3\ell_{32} = a_{32}/a_{22} = 1/3, then E21=[10001001/31]E_{21} = \begin{bmatrix*}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & -1/3 & 1\end{bmatrix*}.

We get M=E32E31E21=[10041021/31]M = E_{32}E_{31}E_{21} = \begin{bmatrix*}1 & 0 & 0 \\ -4 & 1 & 0 \\ 2 & -1/3 & 1\end{bmatrix*}.

  1. Multiply these matrices:

    [001010100][123456789][001010100][100110101][123131140]\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}\begin{bmatrix}1&2&3\\4&5&6\\7&8&9\end{bmatrix}\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix} \qquad \qquad \begin{bmatrix}1&0&0\\-1&1&0\\-1&0&1\end{bmatrix}\begin{bmatrix}1&2&3\\1&3&1\\1&4&0\end{bmatrix}

Solution The first matrix

[001010100][123456789][001010100]=([001010100][123456789])[001010100]=[789456123][001010100]=[987654321]\begin{aligned}\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}\begin{bmatrix}1&2&3\\4&5&6\\7&8&9\end{bmatrix}\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix} &= \left(\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}\begin{bmatrix}1&2&3\\4&5&6\\7&8&9\end{bmatrix}\right) \begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix} \\\\ &= \begin{bmatrix}7 & 8 & 9 \\ 4 & 5 & 6 \\ 1 & 2 & 3\end{bmatrix}\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix} \\\\ &= \begin{bmatrix} 9 & 8 & 7 \\ 6 & 5 & 4 \\ 3 & 2 & 1 \end{bmatrix}\end{aligned}

The second matrix

[100110101][123131140]=[123012023]\begin{bmatrix}1&0&0\\-1&1&0\\-1&0&1\end{bmatrix}\begin{bmatrix}1&2&3\\1&3&1\\1&4&0\end{bmatrix} = \begin{bmatrix}1 & 2 & 3 \\ 0 & 1 & -2 \\ 0 & 2 & -3\end{bmatrix}

  1. If AB=IAB = I and BC=IBC = I use the associative law to prove A=CA = C.

Proof

A=AI=A(BC)=(AB)C=IC=CA = AI = A(BC) = (AB)C = IC = C

XSCTF2024 PreRound shy_vector WriteUp
GSLA Chapter 1 Problem Set (Optional)