Linear Algebra Exam Notes

Question 1

  • Definition of Linear Operator L: The linear operator L:R3R3L: \mathbb{R}^3 \rightarrow \mathbb{R}^3 is defined by L(x,y,z)=(2y+z,x4y,3x)L(x, y, z) = (2y + z, x - 4y, 3x).

  • Bases: We have the standard basis SS for R3\mathbb{R}^3 and another basis S=(1,1,1),(1,1,0),(1,0,0)S' = {(1, 1, 1), (1, 1, 0), (1, 0, 0)}.

(i) Transition Matrix A from S to S'

  • The transition matrix AA from SS to SS' expresses the standard basis vectors in terms of the SS' basis.

  • We need to find scalars a,b,ca, b, c such that:

    • (1,0,0)=a(1,1,1)+b(1,1,0)+c(1,0,0)(1, 0, 0) = a(1, 1, 1) + b(1, 1, 0) + c(1, 0, 0)

    • (0,1,0)=a(1,1,1)+b(1,1,0)+c(1,0,0)(0, 1, 0) = a(1, 1, 1) + b(1, 1, 0) + c(1, 0, 0)

    • (0,0,1)=a(1,1,1)+b(1,1,0)+c(1,0,0)(0, 0, 1) = a(1, 1, 1) + b(1, 1, 0) + c(1, 0, 0)

  • Solving these systems:

    • For (1,0,0)(1, 0, 0): a+b+c=1,a+b=0,a=0a + b + c = 1, a + b = 0, a = 0. Thus, a=0,b=0,c=1a = 0, b = 0, c = 1.

    • For (0,1,0)(0, 1, 0): a+b+c=0,a+b=1,a=0a + b + c = 0, a + b = 1, a = 0. Thus, a=0,b=1,c=1a = 0, b = 1, c = -1.

    • For (0,0,1)(0, 0, 1): a+b+c=0,a+b=0,a=1a + b + c = 0, a + b = 0, a = 1. Thus, a=1,b=1,c=0a = 1, b = -1, c = 0.

  • The transition matrix AA is therefore: A=[0amp;0amp;1 0amp;1amp;1 1amp;1amp;0]A = \begin{bmatrix} 0 & 0 & 1 \ 0 & 1 & -1 \ 1 & -1 & 0 \end{bmatrix}.

(ii) Transition Matrix B from S' to S

  • The transition matrix BB from SS' to SS expresses the SS' basis vectors in terms of the standard basis SS.

  • BB is simply formed by taking the vectors of SS' as columns:
    B=[1amp;1amp;1 1amp;1amp;0 1amp;0amp;0]B = \begin{bmatrix} 1 & 1 & 1 \ 1 & 1 & 0 \ 1 & 0 & 0 \end{bmatrix}.

  • Note: B=A1B = A^{-1}. Calculating the inverse of AA:
    A1=[1amp;1amp;1 1amp;1amp;0 1amp;0amp;0]A^{-1} = \begin{bmatrix} 1 & 1 & 1 \ 1 & 1 & 0 \ 1 & 0 & 0 \end{bmatrix}

(iii) Computing [L]S and [L]{S'}

  • [L]_S: This is the matrix representation of LL with respect to the standard basis.

    • L(1,0,0)=(0,1,3)L(1, 0, 0) = (0, 1, 3)

    • L(0,1,0)=(2,4,0)L(0, 1, 0) = (2, -4, 0)

    • L(0,0,1)=(1,0,0)L(0, 0, 1) = (1, 0, 0)
      [L]S=[0amp;2amp;1 1amp;4amp;0 3amp;0amp;0][L]_S = \begin{bmatrix} 0 & 2 & 1 \ 1 & -4 & 0 \ 3 & 0 & 0 \end{bmatrix}.

  • [L]{S'}: This is the matrix representation of LL with respect to the basis SS'.
    [L]</em>S=A1[L]<em>SA=B[L]</em>SA[L]</em>{S'} = A^{-1} [L]<em>S A = B [L]</em>S A
    [L]<em>S=[1amp;1amp;1 1amp;1amp;0 1amp;0amp;0][0amp;2amp;1 1amp;4amp;0 3amp;0amp;0][0amp;0amp;1 0amp;1amp;1 1amp;1amp;0][L]<em>{S'} = \begin{bmatrix} 1 &amp; 1 &amp; 1 \ 1 &amp; 1 &amp; 0 \ 1 &amp; 0 &amp; 0 \end{bmatrix} \begin{bmatrix} 0 &amp; 2 &amp; 1 \ 1 &amp; -4 &amp; 0 \ 3 &amp; 0 &amp; 0 \end{bmatrix} \begin{bmatrix} 0 &amp; 0 &amp; 1 \ 0 &amp; 1 &amp; -1 \ 1 &amp; -1 &amp; 0 \end{bmatrix} [L]</em>S=[4amp;2amp;1 1amp;2amp;1 0amp;2amp;1][0amp;0amp;1 0amp;1amp;1 1amp;1amp;0]=[1amp;3amp;6 1amp;3amp;3 1amp;1amp;2][L]</em>{S'} = \begin{bmatrix} 4 &amp; -2 &amp; 1 \ 1 &amp; -2 &amp; 1 \ 0 &amp; 2 &amp; 1 \end{bmatrix} \begin{bmatrix} 0 &amp; 0 &amp; 1 \ 0 &amp; 1 &amp; -1 \ 1 &amp; -1 &amp; 0 \end{bmatrix} = \begin{bmatrix} 1 &amp; -3 &amp; 6 \ 1 &amp; -3 &amp; 3 \ 1 &amp; 1 &amp; -2 \end{bmatrix}.

(iv) Finding [L(v)]_{S'} for v = (1, 0, 1)

  • First, find L(v)L(v): L(1,0,1)=(2(0)+1,14(0),3(1))=(1,1,3)L(1, 0, 1) = (2(0) + 1, 1 - 4(0), 3(1)) = (1, 1, 3).

  • Now, express L(v)L(v) in terms of the SS' basis. We want to find a,b,ca, b, c such that (1,1,3)=a(1,1,1)+b(1,1,0)+c(1,0,0)(1, 1, 3) = a(1, 1, 1) + b(1, 1, 0) + c(1, 0, 0).
    a+b+c=1,a+b=1,a=3a + b + c = 1, a + b = 1, a = 3.
    Solving gives a=3,b=2,c=0a = 3, b = -2, c = 0.

  • Therefore, [L(v)]S=[3 2 0][L(v)]_{S'} = \begin{bmatrix} 3 \ -2 \ 0 \end{bmatrix}.

Question 2

(a) Dimension and Basis for the Solution Space

  • The Linear System:

    • x+2y+2zs+2t=0x + 2y + 2z - s + 2t = 0

    • x+2y+3z+s+t=0x + 2y + 3z + s + t = 0

    • 3x+6y+8z+s+5t=03x + 6y + 8z + s + 5t = 0

  • Solving the System: We can represent this system as an augmented matrix and row reduce it.
    [1amp;2amp;2amp;1amp;2amp;0 1amp;2amp;3amp;1amp;1amp;0 3amp;6amp;8amp;1amp;5amp;0]\begin{bmatrix} 1 &amp; 2 &amp; 2 &amp; -1 &amp; 2 &amp; 0 \ 1 &amp; 2 &amp; 3 &amp; 1 &amp; 1 &amp; 0 \ 3 &amp; 6 &amp; 8 &amp; 1 &amp; 5 &amp; 0 \end{bmatrix}
    Perform R<em>2R</em>2R<em>1R<em>2 \rightarrow R</em>2 - R<em>1 and R</em>3R<em>33R</em>1R</em>3 \rightarrow R<em>3 - 3R</em>1:
    [1amp;2amp;2amp;1amp;2amp;0 0amp;0amp;1amp;2amp;1amp;0 0amp;0amp;2amp;4amp;1amp;0]\begin{bmatrix} 1 &amp; 2 &amp; 2 &amp; -1 &amp; 2 &amp; 0 \ 0 &amp; 0 &amp; 1 &amp; 2 &amp; -1 &amp; 0 \ 0 &amp; 0 &amp; 2 &amp; 4 &amp; -1 &amp; 0 \end{bmatrix}
    Perform R<em>3R</em>32R<em>2R<em>3 \rightarrow R</em>3 - 2R<em>2: [1amp;2amp;2amp;1amp;2amp;0 0amp;0amp;1amp;2amp;1amp;0 0amp;0amp;0amp;0amp;1amp;0]\begin{bmatrix} 1 &amp; 2 &amp; 2 &amp; -1 &amp; 2 &amp; 0 \ 0 &amp; 0 &amp; 1 &amp; 2 &amp; -1 &amp; 0 \ 0 &amp; 0 &amp; 0 &amp; 0 &amp; 1 &amp; 0 \end{bmatrix} Perform R</em>1R<em>12R</em>2R</em>1 \rightarrow R<em>1 - 2R</em>2:
    [1amp;2amp;0amp;5amp;4amp;0 0amp;0amp;1amp;2amp;1amp;0 0amp;0amp;0amp;0amp;1amp;0]\begin{bmatrix} 1 &amp; 2 &amp; 0 &amp; -5 &amp; 4 &amp; 0 \ 0 &amp; 0 &amp; 1 &amp; 2 &amp; -1 &amp; 0 \ 0 &amp; 0 &amp; 0 &amp; 0 &amp; 1 &amp; 0 \end{bmatrix}
    Perform R<em>1R</em>14R<em>3R<em>1 \rightarrow R</em>1 - 4R<em>3 and R</em>2R<em>2+R</em>3R</em>2 \rightarrow R<em>2 + R</em>3:
    [1amp;2amp;0amp;5amp;0amp;0 0amp;0amp;1amp;2amp;0amp;0 0amp;0amp;0amp;0amp;1amp;0]\begin{bmatrix} 1 &amp; 2 &amp; 0 &amp; -5 &amp; 0 &amp; 0 \ 0 &amp; 0 &amp; 1 &amp; 2 &amp; 0 &amp; 0 \ 0 &amp; 0 &amp; 0 &amp; 0 &amp; 1 &amp; 0 \end{bmatrix}

  • From the row-reduced echelon form, we have:

    • x+2y5s=0x + 2y - 5s = 0

    • z+2s=0z + 2s = 0

    • t=0t = 0
      Thus, x=2y+5s,z=2s,t=0x = -2y + 5s, z = -2s, t = 0. The variables yy and ss are free variables.

  • Basis: The solution can be written as:
    [x y z s t]=y[2 1 0 0 0]+s[5 0 2 1 0]\begin{bmatrix} x \ y \ z \ s \ t \end{bmatrix} = y \begin{bmatrix} -2 \ 1 \ 0 \ 0 \ 0 \end{bmatrix} + s \begin{bmatrix} 5 \ 0 \ -2 \ 1 \ 0 \end{bmatrix}
    A basis for the solution space is (2,1,0,0,0),(5,0,2,1,0){(-2, 1, 0, 0, 0), (5, 0, -2, 1, 0)}.

  • Dimension: Since there are two free variables, the dimension of the solution space is 2.

(b) Rank of the Coefficient Matrix

  • The coefficient matrix is:
    [1amp;2amp;2amp;1amp;2 1amp;2amp;3amp;1amp;1 3amp;6amp;8amp;1amp;5]\begin{bmatrix} 1 &amp; 2 &amp; 2 &amp; -1 &amp; 2 \ 1 &amp; 2 &amp; 3 &amp; 1 &amp; 1 \ 3 &amp; 6 &amp; 8 &amp; 1 &amp; 5 \end{bmatrix}

  • From the row reduction in part (a), we found that there are three non-zero rows in the row-reduced echelon form. Thus, the rank of the coefficient matrix is 3.