Docsity

Old Exam 2 with Solution - Applied Linear Algebra | MATH 310, Exams of Linear Algebra

Toggle sidebar
bg1
Exam 2 Math 310 Anton Leykin Friday 14 Nov 2003
1. [15 points] The linear operator L:R3→R3is defined as
L(x) =
x1+ 2x2+ 3x3
2x1+ 3x2+ 4x3
3x1+ 4x2+ 5x3
(a) What is the matrix Athat represents Lwith respect to the standard basis?
.solution
A=
1 2 3
2 3 4
3 4 5
(b) Find the kernel of L.
.solution
The reduced echelon form of Ais
A=
1 0 −1
0 1 2
0 0 0
.
Let α=x3, the free variable, then
ker L=N(A) =
α
−2α
α
=α
1
−2
1
2. [15 points] The subspace Vof R3is spanned by
u1= (1,−2,−2)T,u2= (1,2,3)T,u3= (4,0,2)T.
(a) Find a basis for its orthogonal complement V⊥.
.solution
A vector x∈R3belongs to V⊥if and only if it is orthogonal to u1,u2
and u3. This condition boils down to the system of linear equations
for the coordinates of xrepresented by the following augmented
matrix:
1−2−2 0
1 2 3 0
4 0 2 0
→
1 0 1
20
0 1 5
40
0 0 0 0
,
therefore, x=α(−1
2,−5
4,1)T. Hence, {(−1
2,−5
4,1)T}is a basis for
V⊥.
(b) What are the dimensions of Vand V⊥? Explain.
1
pf3

Partial preview of the text

Download Old Exam 2 with Solution - Applied Linear Algebra | MATH 310 and more Exams Linear Algebra in PDF only on Docsity!

Exam 2 Math 310 Anton Leykin Friday 14 Nov 2003

  1. [15 points] The linear operator L : R^3 → R^3 is defined as

L(x) =

x 1 + 2x 2 + 3x 3 2 x 1 + 3x 2 + 4x 3 3 x 1 + 4x 2 + 5x 3

(a) What is the matrix A that represents L with respect to the standard basis? ↙ solution

A =

(b) Find the kernel of L. ↙ solution The reduced echelon form of A is

A =

Let α = x 3 , the free variable, then

ker L = N (A) =

α − 2 α α

 (^) = α

  1. [15 points] The subspace V of R^3 is spanned by u 1 = (1, − 2 , −2)T^ , u 2 = (1, 2 , 3)T^ , u 3 = (4, 0 , 2)T^. (a) Find a basis for its orthogonal complement V ⊥. ↙ solution A vector x ∈ R^3 belongs to V ⊥^ if and only if it is orthogonal to u 1 ,u 2 and u 3. This condition boils down to the system of linear equations for the coordinates of x represented by the following augmented matrix: (^)  

therefore, x = α(− 12 , − 54 , 1)T^. Hence, {(− 12 , − 54 , 1)T^ } is a basis for V ⊥. (b) What are the dimensions of V and V ⊥? Explain.

↙ solution Since the basis above consists of one element, dim V ⊥^ = 1. Also, R^3 = V ⊕ V ⊥, therefore, dim R^3 = dim V + dim V ⊥^ and dim V = 2.

  1. [15 points] Let L : P 3 → P 3 be the linear operator defined by

L(p) = p′′^ + p′^ + p Find the matrix A representing L in the standard basis [1, x, x^2 ]. ↙ solution

L(1) = 1 = 1 · 1 + 0 ·x + 0 ·x^2 L(x) = 1 + x = 1 · 1 + 1 ·x + 0 ·x^2 L(x^2 ) = 2 + 2x + x^2 = 2 · 1 + 2 ·x + 1 ·x^2 The columns of the matrix are the coordinates of L(1), L(x), L(x^2 ) in the basis [1, x, x^2 ]:

A =

  1. [20 points] 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, 3), (3, 5), (4, 4). ↙ solution To find c 0 and c 1 we need to solve the matrix equation AT^ A

( (^) c 0 c 1

= AT^ b, where

A =

 ,^ b^ =

This leads to the system represented by the augmented matrix ( (^4 10 ) 10 30 39

2 (^0 1 )

Answer: y(x) = 32 + 45 x.

  1. [20 points] The functions cos x, sin x, cos 2x form an orthonormal basis of their span in C[−π, π] equipped with the inner product 〈f, g〉 = π^1

∫ (^) π −π f g dx.

(a) Compute ∫ (^) π −π (cos x + 2 sin x + 3 cos 2x)(cos x + cos 2x) dx