Docsity

Sample Problems for Exam 2 in Linear Algebra, Exams of Linear Algebra

Toggle sidebar
bg1
Sample problems for Exam 2 (2 pages!) Math 310
1. (a) Find the matrix Athat represents the linear operator Lwith respect to the
standard basis [e1,e2,e3], where
L
x
y
z
=
2x−y−z
x−2y+z
−x+ 3y−2z
(b) Find the kernel of L.
2. The subspace Vof R3is spanned by
u1= (2,0,1)T,u2= (1,2,3)T,u3= (5,2,5)T.
Find a basis for its orthogonal complement V⊥.
3. Let [e1,e2,e3] be the standard basis of R3and
v1=
1
1
0
,v2=
1
0
1
,v3=
0
1
1
The linear operator L:R3→R3is defined by
L(v1) = v1, L(v2) = 2v2, L(v3) = 3v3.
(a) Find the coordinates of e1with respect to the basis [v1,v2,v3]. Express
L(e1) in terms of the standard basis.
(b) What is the first column of the matrix representing Lwith respect to the
standard basis?
(c) What is the matrix representing Lwith respect to the basis [v1,v2,v3]?
4. Let L:P3→P3be the linear operator defined by
L(p) = p0+p
(a) Find the matrix Arepresenting Lin the standard basis [1, x, x2].
(b) Find the matrix Brepresenting Lin the basis [1, x + 1, x2+ 1].
(c) Are Aand Bsimilar matrices? Explain.
(d) Find a matrix Tsuch that B=T−1AT .
5. Given two vectors u= (1,2,3)Tand v= (3,−1,2)T,
(a) Find ||u||,||v|| and hu,vi.
(b) Find the vector projection of uonto v.
(c) What is the angle between these vectors?
6. Consider p= (3,3,3) and the plane x−y+ 3z= 0.
(a) Find a unit normal vector to the plane.
(b) Find the distance from the point pto the plane.
(c) Find the projection of ponto the plane.
7. Find the equation of the line y=c0+c1xwhich is a least squares best fit to
the points (1,2),(2,1),(4,−3),(5,−4).
1
pf2

Partial preview of the text

Download Sample Problems for Exam 2 in Linear Algebra and more Exams Linear Algebra in PDF only on Docsity!

Sample problems for Exam 2 (2 pages!) Math 310

  1. (a) Find the matrix A that represents the linear operator L with respect to the standard basis [e 1 , e 2 , e 3 ], where

L

x y z

2 x − y − z x − 2 y + z −x + 3y − 2 z

(b) Find the kernel of L.

  1. The subspace V of R^3 is spanned by

u 1 = (2, 0 , 1)T^ , u 2 = (1, 2 , 3)T^ , u 3 = (5, 2 , 5)T^.

Find a basis for its orthogonal complement V ⊥.

  1. Let [e 1 , e 2 , e 3 ] be the standard basis of R^3 and

v 1 =

 (^) , v 2 =

 (^) , v 3 =

The linear operator L : R^3 → R^3 is defined by

L(v 1 ) = v 1 , L(v 2 ) = 2v 2 , L(v 3 ) = 3v 3.

(a) Find the coordinates of e 1 with respect to the basis [v 1 , v 2 , v 3 ]. Express L(e 1 ) in terms of the standard basis. (b) What is the first column of the matrix representing L with respect to the standard basis? (c) What is the matrix representing L with respect to the basis [v 1 , v 2 , v 3 ]?

  1. Let L : P 3 → P 3 be the linear operator defined by

L(p) = p′^ + p

(a) Find the matrix A representing L in the standard basis [1, x, x^2 ]. (b) Find the matrix B representing L in the basis [1, x + 1, x^2 + 1]. (c) Are A and B similar matrices? Explain. (d) Find a matrix T such that B = T −^1 AT.

  1. Given two vectors u = (1, 2 , 3)T^ and v = (3, − 1 , 2)T^ , (a) Find ||u||, ||v|| and 〈u, v〉. (b) Find the vector projection of u onto v. (c) What is the angle between these vectors?
  2. Consider p = (3, 3 , 3) and the plane x − y + 3z = 0. (a) Find a unit normal vector to the plane. (b) Find the distance from the point p to the plane. (c) Find the projection of p onto the plane.
  3. Find the equation of the line y = c 0 + c 1 x which is a least squares best fit to the points (1, 2), (2, 1), (4, −3), (5, −4).
  1. Find the equation of the best quadratic fit, y = c 0 + c 1 x + c 2 x^2 , to the points (1, 2), (2, 1), (4, −3), (5, −4).
  2. Find an orthonormal basis of the subspace of R^3 of vectors orthogonal to v = (4, 3 , −3)T^.
  3. Consider the subspace V = Span(1, cos x, cos 2x) of C[−π, π] equipped with the inner product defined by

〈f, g〉 =

π

∫ (^) π

−π

f g dx

and an orthonormal basis [ √^12 , cos x, cos 2x] of V. (a) Compute (^) ∫ π

−π

(2 + 3 cos 2x)(cos x + cos 2x) dx

(b) Compute ||2 + cos x + cos 2x||. (c) What is the cosine of the angle between f = 2+3 cos 2x and g = cos x+cos 2x

  1. Let V be the subspace of R^3 spanned by

v 1 =

 (^) , v 2 =

 (^) , v 3 =

(a) Find a basis for the orthogonal space V ⊥. (b) What are the dimensions of V and V ⊥? (c) Find a basis for V. (d) Use the Gram-Schmidt method to give an orthonormal basis for V. (e) Use your answer to (a) to extend the orthonormal basis for V found in (d) to the orthonormal basis of R^3.

  1. Let

A =

 (^) and b =

(a) Use the Gram-Schmidt method to give an orthonormal basis for the column space R(A). (b) Find a QR-factorization of A. (c) Using (b) solve the least squares problem for Ax = b.