MATH347.SP.01 Midterm Examination

Instructions. Answer the following questions. Provide concise motivation of your approach. Illegible answers are not awarded any credit. Presentation of calculations without mention of the motivation and reasoning are not awarded any credit.

1. Compute the projection of 𝒃 onto the column space of 𝑨, (2 points)

𝒃=[ 49 49 49 ],𝑨=[ 2 3 3 -6 6 2 ].

Solution. 𝑨=[ 𝒂1 𝒂2 ] has orthogonal column vectors, 𝒂1T𝒂2=23+3(-6)+62=0, so 𝑨 has QR decomposition with

𝑸=[ ],

with ||𝒂1||=||𝒂2||=(22+32+62)1/2=(4+9+36)1/2=49, hence

𝑸=149𝑨

The projector onto C(𝑨) is 𝑷=𝑸𝑸T, and the projection of 𝒃 onto C(𝑨) is

𝒄=𝑷𝒃=𝑸𝑸T𝒃=149𝑨𝑨T𝒃=[ 2 3 3 -6 6 2 ][ 2 3 6 3 -6 2 ][ 1 1 1 ]=[ 2 3 3 -6 6 2 ][ 11 -1 ]=[ 19 39 64 ].

2. Let R:22 denote rotation by angle θ. Let S:22 denote a stretching transformation by α along the x1 axis, and β along the x2 axis. Let T=RS denote the composite transformation of stretching followed by rotation. (3 points)

  1. Write the matrix 𝑨 representing R.

    Solution.

    𝑨=[ R(𝒆1) R(𝒆2) ]=[ cosθ -sinθ sinθ cosθ ].

  2. Write the matrix 𝑩 representing S.

    Solution.

    𝑩=[ S(𝒆1) S(𝒆2) ]=[ α 0 0 β ].

  3. Write the matrix 𝑪 representing T.

    Solution.

    𝑪=𝑨𝑩=[ cosθ -sinθ sinθ cosθ ][ α 0 0 β ]=[ αcosθ -βsinθ αsinθ βcosθ ].

3. Consider (5 points)

𝑨=[ 1 2 0 0 3 0 0 1 0 4 0 0 0 1 5 0 0 0 0 0 ].
  1. What is the rank of 𝑨?

    Solution. 𝑨4×5, m=4,n=5 is already in rref. Rank is number of pivot rows (columns), rank(𝑨)=3.

  2. State a basis for C(𝑨).

    Solution. C(𝑨)={𝒃|𝒙s.t.𝑨𝒙=𝒃.}. Choose the columns with pivot elements

    {[ 1 0 0 0 ],[ 0 1 0 0 ],[ 1 0 1 0 ]}.

  3. State a basis for N(𝑨T).

    Solution. N(𝑨T)={𝒚|𝑨T𝒚=𝟎.}. Since C(𝑨)N(𝑨T)=4, choose 𝒆4

    {[ 0 0 0 1 ]}.

  4. State a basis for C(𝑨T).

    Solution. Choose rows with pivot elements

    {[ 1 2 0 0 3 ],[ 0 0 1 0 4 ],[ 0 0 0 1 5 ]}.

  5. State a basis for N(𝑨).

    Solution. FTLA states C(𝑨T)N(𝑨)=n, and since dimC(𝑨T)=rank(𝑨)=3, it results that dimN(𝑨)=n-3=5-3=2, hence two basis vectors are required. From system 𝑨𝒙=𝟎 obtain

    { x1=-2x2-3x5 x3=-4x5 x4=-5x5 .,

    in which x2,x5 are free parameters. For x2=1, x5=0 obtain first basis vector

    [ -2 1 0 0 0 ],

    and for x2=0,x5=1 obtain second basis vector

    [ -3 0 -4 -5 1 ].