Sei sulla pagina 1di 6

Department of Mathematics and Statistics, University of Melbourne summer semester 2009

620 -156 Linear Algebra


First MATLAB Test

Test duration: 45 minutes


This paper has 6 pages

Please complete all the following details.

Name: .................................................
Student Number: .................................................
Tutor’s Name: .................................................
Lab Time and Day: .................................................

Instructions to Students:

This test is designed to evaluate your ability to calculate efficiently with the aid of MATLAB.
Some questions test your understanding of the material covered in lectures, and do not nec-
essarily require MATLAB. No partial credit is given, so please carefully check anything typed
into MATLAB, and check the output of programs used.

Any rough working must be done on this paper.

Answer all multiple choice questions by circling the correct answer(s).

The number of marks for each question is indicated and the total number of marks is 25.

(1) Some MATLAB commands:

• rref(A) gives the reduced row echelon form of A


• A0 is the transpose of the matrix A
• det(A) gives the determinant of the matrix A
• eye(n) gives the identity matrix of size n × n
• inv(A) gives the inverse of A

(2) In question 5 the solutions must be recorded as exact integers, or as a decimal correct to
4 decimal places, as appropriate.

Do not turn over until instructed to do so.


1. For each of the following statements, write true if the statement is true, and false is the
statement is false.

(a) The rank of a matrix is equal to the number of non-zero rows in its row echelon form.

(b) For a 9 × 3 matrix, the maximum possible value of it rank is 9.

(c) The linear system corresponding to the augmented matrix


 
1 0 0 0
 0 1 −2 0 
0 0 0 0

has an infinite number of solutions.

(d) The union of lines through the origin {(x, y) : y = −x} ∪ {(x, y) : y = 3x} is a subspace
of R2 .

(e) The line in R3 ,


x + 1 = −y + 2 = 2z
is parallel to the vector (−1, 2, 0)

(f) Suppose the row echelon form of the matrix formed from S = {v, w, x, y, z} is
 
1 1 −1 0 0
0 0 1 0 0
0 0 0 1 1

A basis for the span of S is {v, x, z}.

[6 marks]

2
2. Consider the system of equations

6x1 +2x2 +12x3 +10x4 = 4


4x1 +1x2 +8x3 +8x4 = 1
−9x1 −2x2 −18x3 −19x4 = −1

Let t, s, t1 , t2 , t3 ∈ R. Indicate which one of the following is the general solution for
(a) 
x1
x2 
 .
x3 
x4

         
−3 −2 −3 −2 −1
4 0 4 0 5
(A) t 
 0  + s 1 
   (B) t 
 0  + s 1  +  0 
    

1 0 1 0 0
       
−3 −3 −2 −1
4 4 0 5
(C) 
0
 (D) t1 
 0  + t2  1  + t3  0 
    

1 1 0 0
 
x1
x2 
(b) Let t ∈ R. Indicate which two of the following values of 
x3  satisfy the equations.

x4
     
−3 −1 −4
4 5 9
(A) t 
 0 + 0 
   (B) t 
0

1 0 1
   
−4 −1
9 5
(C) 
0
 (D) t 
0

1 0

[4 marks]

3
3. Consider the matrix
 
4 3 1 3 15
 1 0 5 11 3
 
 −2
A= 1 7 11 −5 

 −1 1 −2 −6 −2 
0 1 1 1 1

(a) Circle the two vectors that are in the solution space of A.
       
−4 0 0 −4
 0 0  −1   0
       
 −2 
u1 =  0
u2 =   0
u3 =   −2 
u4 = 
   
 1 0  0  −1 
1 0 1 −1

(b) Circle the two vectors that are in the column space of A.
      
1 1 1 1
 2  5 3  1
       
 0
v1 =   7
v2 =  3
v3 =   −3 
v4 = 
   
 −1   −2  0  −2 
4 1 3 −1

(c) Circle the two vectors that are in the row space of A.

 
w1 = 1 3 −2 −6 6
 
w2 = 0 0 1 0 2
 
w3 = 1 2 −1 3 0
 
w4 = −1 1 −2 −6 −2

[Hint: This is equivalent to the transpose of these vectors being in the column space of AT .]

[6 marks]

4
4. As well as the matrix A from Q3, this question will require using the matrix
 
1 0 1 1 0

 0 3 3 0 −1 

B=
 2 4 6 3 1 

 7 2 9 0 1 
0 4 4 2 3

With a1 , a2 , . . . , a5 denoting the columns of A, and b1 , b2 , . . . , b5 denoting the columns of


B, find a basis for

Span(a1 , a2 , a4 , a5 , b1 , b3 , b4 , b5 )

You should indicate your answer by circling the five vectors that form a basis.

[5 marks]

5
5. Enter the following arrays of numbers as 5 × 5 matrices into M AT LAB.

X =

6 76 64 82 68
62 18 34 68 36
28 86 39 68 39
92 94 70 4 86
88 52 40 48 86

Y =

20 76 76 96 90
24 76 36 12 78
26 52 84 57 68
10 60 92 92 12
49 43 81 58 51

(a) What is the entry in the 4th row and 5th column of XY ?

(b) What is the entry in the first row and first column of the inverse of I5 − Y , where I5
denotes the 5 × 5 identity?

(c) What is the determinant of X − I5 ?

(d) Let u, v ∈ R5 correspond to the 4th row of X and 5th column of Y respectively. What
is the vector u + 3v?

[4 marks]

Potrebbero piacerti anche