Docsity

5 Problems with Solution - Exam 1 - Linear Algebra | MATH 201, Exams of Linear Algebra

Toggle sidebar
bg1
Exam 1: Solutions
Problem 1. Determine whether the vectors are linearly independent.
Explain your answers.
(a) 5
1,2
8,1
3,−1
7;
(b)
4
−2
6
,
6
−3
9
;
(c)
3
5
−1
,
0
0
0
,
−6
5
4
;
(d)
−8
12
−4
,
2
−3
−1
.
Solution. (a) Linearly dependent: the number of vectors (= 4) is greater
than their size (= 2).
(b) Linearly dependent: the second vector is 1.5 times the first vector.
(c) Linearly dependent: the set contains zero vector.
(d) Linearly independent: the two vectors are not multiples of each other.
Problem 2. Let
A=
1−4 7 −5
0 1 −4 3
2−6 6 −4
,b=
−1
1
0
.
Is bin the column space of A? Why or why not?
Solution. b ∈Col (A) if and only if the equation Ax=bhas a solution.
The augmented matrix is
Ab=
1−4 7 −5−1
0 1 −4 3 1
2−6 6 −4 0
.
Replacing the third row by its difference with the two times first row, we
obtain
1−4 7 −5−1
0 1 −4 3 1
0 2 −8 6 2
.
1
pf3
pf4

Partial preview of the text

Download 5 Problems with Solution - Exam 1 - Linear Algebra | MATH 201 and more Exams Linear Algebra in PDF only on Docsity!

Exam 1: Solutions

Problem 1. Determine whether the vectors are linearly independent. Explain your answers.

(a)

[

]

[

]

[

]

[

]

(b)

(c)

(d)

Solution. (a) Linearly dependent: the number of vectors (= 4) is greater than their size (= 2). (b) Linearly dependent: the second vector is 1.5 times the first vector. (c) Linearly dependent: the set contains zero vector. (d) Linearly independent: the two vectors are not multiples of each other.

Problem 2. Let

A =

 (^) , b =

Is b in the column space of A? Why or why not?

Solution. b ∈ Col (A) if and only if the equation Ax = b has a solution. The augmented matrix is

[ A b

]

Replacing the third row by its difference with the two times first row, we obtain (^) 

1

Replacing the third row by its difference with the two times second row, we obtain (^) 

This matrix has two pivots, and they are not in the right hand side column. Therefore Ax = b has a solution, i.e., b ∈ Col (A).

Problem 3. Let A =

[

]

and B =

[

3 k

]

. What values of k, if

any, will make AB = BA?

Solution.

AB =

[

] [

3 k

]

[

23 −10 + 5k − 9 15 + k

]

BA =

[

3 k

] [

]

[

6 − 3 k 15 + k

]

Two matrices of the same size are equal if and only if the entries in the same position coincide. Thus, AB = BA if and only if the following equalities hold:

23 = 23, −10 + 5k = 15, −9 = 6 − 3 k, 15 + k = 15 + k.

The first and the last of these equalities are true for any k. The other two equalities are both true if and only if k = 5. Therefore, the value k = 5 makes AB = BA.

Problem 4. Find A−^1 and then, using A−^1 , find the solution of the equation Ax = b if

A =

 (^) , b =

Solution. First, we reduce the augmented matrix

[

A I 3

]

to

[

I 3 A−^1

]

by appropriate row operations. We have

[ A I 3

]

Replacing the second row by its sum with the three times first row, and the third row by its difference with the two times first row, we obtain 

solution space of the equation U x = 0 , where

U =

This upper echelon matrix has pivots in the first, second and fourth columns, therefore x 1 , x 2 , and x 4 are pivot variables, while x 3 , x 5 are free variables. The vector equation U x = 0 is equivalent to the system of scalar equations  



x 1 + 4 x 2 + 8 x 3 + 5 x 5 = 0 , 2 x 2 + 5 x 3 − x 5 = 0 , x 4 + 4 x 5 = 0 , 0 = 0.

Expressing all the variables in terms of the free variables, we obtain   

 

x 1 = −4(− 52 x 3 + 12 x 5 ) − 8 x 3 − 5 x 5 = 2 x 3 − 7 x 5 , x 2 = − 52 x 3 + 12 x 5 , x 3 = x 3 , x 4 = − 4 x 5 , x 5 = x 5 ,

or, in a vector form,

x = x 3

  • x 5

1 2 0 − 4 1

Thus, a basis for Null (A) is     

1 2 0 − 4 1

The dimension of a subspace is the number of basis vectors in any basis (this number is the same for all bases). Therefore,

dim Col (A) = 3, dim Null (A) = 2,

and dim Col (A) + dim Null (A) = 3 + 2 = 5.