SlideShare a Scribd company logo
MAST10007 Linear Algebra
                                 MATLAB Test
                                    Test duration: 45 minutes
                                  This paper has 6 test pages


                              Please complete all the following details.

                     Name:
                               .....................................................
         Student Number:
                               .....................................................
            Tutor’s Name:
                               .....................................................




                                                                     s
 Tutorial Time and Day:
                               .....................................................




                         er
Instructions to Students:

This examination is designed to test your ability to calculate efficiently with the aid of MATLAB
as well as your knowledge of the material covered so far in the subject. Some questions test your
understanding of the material covered in lectures, and do not necessarily require MATLAB. No partial
credit is given, so please carefully check anything typed into MATLAB, and check the output of any
                       sw
programs used.
There are 6 questions. The number of marks for each question is indicated and the total is 25.

 (1) Before starting the test complete the following steps:
          Start up MATLAB. (This creates the folder Student Data:MATLAB.)
          Copy the folder TEST
          from Maths & Stats - Lab MaterialMAST10007 (the tree)
          to Student Data:MATLAB (the star).
An

          Set the path in MATLAB to include Student Data:MATLAB with subfolders.
          Run the command 00SAMPLE to load the test data into your MATLAB session.

 (2) Some MATLAB commands:
          rref(A) gives the reduced row echelon form of A
          A’ 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
          rank(A) gives the rank of the matrix A
          mod(x,2) gives x modulo 2
          sqrt(x) gives the square root of x

 (3) Answers may be either exact or a numerical solution correct to 4 significant figures or correct to
     4 decimal places.



               Do not turn over the page until instructed to do so.
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                   TEST 00                                Semester 1, 2012


Q 1. Verify that the following matrices are already loaded in your MATLAB session (if not, repeat
step 1 in the instructions):


                                                18 −50        −15
                                                                     
                                  1   6  8  22                     45
                         
                                 0   1  2   6   5 −12         −6  13 
                                                                      
                         
                                 1   6  8  21  17 −49        −14  42 
                                                                      
                                 0   3  7  24  21 −44        −25  55 
                       A=                                            
                         
                                −3 −12 −5   5  11  29        −33  34 
                                                                      
                         
                                 0   1 −2 −15 −16  17         19 −42 
                                                                      
                                 0 −3 −5 −12 −9    28         11 −23 
                                 −3 −4   3  20  18 −18        −40  55
                                  12 11 −12 −5    1 −12        −6
                                                                     
                                                                   10
                         
                                −10 11   9 −5 −3 −12          −9   1 
                                                                      
                                 −10 −4   6 −9 −11 −7           6 −10 




                                                                   s
                         
                                                                     
                                 −3  1   1   9   9 −3         −1   0 
                       B=                                            .
                         
                                  5  5 −13 −4 −3 −2           −9   5 
                                                                      
                                 −4 12   7   6 −10   7        −5   2 




                           er
                                                                     
                                −10 −9 −12 −12   9 −2         −2  12 
                                  −4  1   5   4  12 −6          1 −5

 (a) What is the entry in the 3rd row and 1st column of BA?
     Answer: 59
                         sw
 (b) What is the rank of A?
     Answer: 4


 (c) What is the determinant of B + 7I where I is the 8 × 8 identity matrix?
     Answer: -73054752


 (d) Let u be given by the 8th row of A and v be given by the 5th column of B. What is the value
An

     of the dot product u · v?
     Answer: 582




Mathematics and Statistics                   1 of 6                       University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                             TEST 00                                   Semester 1, 2012



Q 2. Verify that the augmented matrix C of the following system of linear equations is already loaded
in your MATLAB session (if not, repeat step 1 in the instructions):

                                            −     x4      +    3x5   + 4x6   +   3x7    = −3
                −x1 + x2         −     x3   +    3x4      −     x5   + x6    −   4x7    =  9
                −x1 + 2x2        −     x3   +    3x4      −     x5   − x6    −   4x7    =  7
                 x1                         −    2x4      +    2x5   + x6    +   3x7    = −6
                    − x2         + x3       +     x4      −    6x5   − 8x6   −   4x7    =  3
                      2x2        − 2x3      +    2x4      +    3x5   + 6x6   −    x7    =  6

 (a) Write down the reduced row echelon form of the matrix C.
     Answer:
                                                                            
                                                 1    0   0    0   0  1 1  0




                                                                             s
                                            
                                                0    1   0    0   0 −2 0 −2 
                                                                             
                                                0    0   1    0   0  0 2 −2 
                                  rref(C) =                                 .
                                            
                                                0    0   0    1   0  2 0  3 
                                                                             
                                                 0    0   0    0   1  2 1  0 




                           er
                                            
                                                 0    0   0    0   0  0 0  0
                         sw
 (b) Find the general solution of the system of linear equations.
An

     Answer:


     (x1 , x2 , x3 , x4 , x5 , x6 , x7 ) = (0, −2, −2, 3, 0, 0, 0)+s (−1, 2, 0, −2, −2, 1, 0)+t (−1, 0, −2, 0, −1, 0, 1)




Mathematics and Statistics                            2 of 6                           University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                         TEST 00                                        Semester 1, 2012



Q 3. Verify that the following matrix is already loaded in your MATLAB session (if not, repeat step
1 in the instructions):

                                       −2 −8    9 −20 −11 −6 −15
                                                                
                                   2
                          
                                  2   −3 −15  16 −27 −26  1 −13 
                                                                 
                          
                                 −3    1   6 −10   6  23 −3 −12 
                                                                 
                        D=
                                  2   −3 −12  17 −12 −36 10  15  .
                                                                 
                          
                                  2   −5 −21  25 −29 −47 11   2 
                                                                 
                                 −3    6  25 −30  39  53 −8   5 
                                  −1    0 −2    1   1 −4   6   3
Let S be the following set of vectors:
                                                                                                    
                        −2         −8                        −20         −11         −6         −15
                                                                               
          
                2                                9                                                    
                                                                                                       
           2   −3   −15
                                              16        −27       −26        1       −13   
                                                                                                       
          
                                                                                       
                                                                                                       




                                                                            s
           −3   1  
          
                                    6       −10          6        23       −3       −12   
                                                                                                       
                                                                                        
     S =  2  ,  −3  ,  −12           ,    17   ,    −12   ,   −36   ,   10   ,    15    .
                  
           2   −5   −21
                                                                                          
          
                           
                                           
                                               25    
                                                           −29    
                                                                       −47    
                                                                                   11    
                                                                                                2   
                                                                                                      
                                                                                                       
           −3   6   25
          
                                                −30           39          53         −8           5
                                                                                                       




                            er
                                                                                           
                                                                                                       
                                                                                                      
               −1                  −2                                     −4
                                                                                                      
                          0                       1            1                      6           3



 (a) Is the set S linearly independent ?
     Answer: No
                          sw
 (b) Is S a spanning set for R7 ?
     Answer: No
An

 (c) Find a subset {v 1 , v 2 , v 3 , v 4 , v 5 } ⊆ S (ie., a subset having five elements) with the property that
     {v 1 , v 2 , v 3 , v 4 , v 5 } is linearly independent.
     (you may indicate the appropriate subset by circling vectors).
     Answer: Vectors listed 1,2,3,4,5, i.e. the subset
                                                                                   
                                         −2         −8                         −20
                                                                    
                         
                               2                                    9                
                                                                                      
                          2   −3   −15
                                                                 16       −27   
                                                                                      
                         
                                                                            
                                                                                      
                          −3   1  
                         
                                                    6          −10         6
                                                                                      
                                                                                     
                                                                             
                            2  ,  −3  ,  −12            ,    17   ,   −12    .
                                 
                          2   −5   −21
                                                                               
                         
                                            
                                                              
                                                                  25    
                                                                             −29   
                                                                                     
                                                                                      
                          −3   6   25
                         
                                                                −30        39   
                                                                                      
                                                                                      
                                                                                     
                              −1                    −2
                                                                                     
                                           0                         1           1




Mathematics and Statistics                          3 of 6                           University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                              TEST 00                                          Semester 1, 2012



Q 4. For this question you will be working in           mod 2 arithmetic, that is with scalars Z2 .
Let                                                                      
                                        1 0             0 0 1 1 1 1
                                      0 1              0 0 1 0 1 1 
                                 E=  0 1
                                                                          .
                                                        0 1 1 1 0 1 
                                        1 1             0 1 0 1 0 1
The matrix E should already be loaded in your MATLAB session, as should a matrix F having as
columns the vectors v 1 , v 2 , v 3 , v 4 , v 5 , v 6 ∈ Z8 . (If that is not the case, repeat step 1 in the instructions.)
                                                         2
Circle YES if the vector is in the solution space of E. Otherwise circle NO.

                                   v 1 = (0, 1, 0, 0, 0, 1, 1, 0)      YES       NO

                                   v 2 = (0, 0, 1, 0, 0, 0, 0, 0)      YES       NO




                                                                                   s
                                   v 3 = (1, 0, 0, 0, 1, 1, 1, 0)      YES       NO

                                   v 4 = (0, 0, 1, 1, 0, 1, 1, 1)      YES       NO




                               er
                                   v 5 = (0, 1, 1, 0, 0, 1, 0, 1)      YES       NO

                                   v 6 = (1, 1, 1, 0, 1, 1, 0, 1)      YES       NO
                             sw
An


Mathematics and Statistics                               4 of 6                             University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                          TEST 00                                      Semester 1, 2012



Q 5. Verify that the vectors b1 , . . . , b5 listed below are already loaded in your MATLAB session (if
not, repeat step 1 in the instructions).
Consider the basis of R5 given by
                                            B = {b1 , b2 , b3 , b4 , b5 }
with b1 = (3, 4, 4, 2, 2)
      b2 = (1, 1, 0, 0, 1)
      b3 = (−4, −4, −3, −1, −3)
      b4 = (−4, −6, −6, −3, −3)
      b5 = (−5, −2, 0, 2, −3)
Let S denote the standard basis for R5 .


 (a) Form the transition matrix P = PB,S and use it to calculate the coordinate matrix of the vector
     v = (−2, 5, 5, −5, −2) with respect to B. (There is no need to write down P on the answer




                                                                             s
     paper.)

                                                                   
                                                              −25




                            er
                                                         
                                                               9   
                                                                    
                                                  [v]B = 
                                                              33   
                                                                    
                                                             −34   
                                                              −12
                          sw
 (b) A linear transformation T : R5 −→ R5 is given by:

      T (x1 , x2 , x3 , x4 , x5 ) = (x1 + x2 + 5x3 + x4 − 2x5 , x2 − 3x3 + 5x4 + 3x5 , x3 − 2x4 , x4 + 3x5 , x5 )

     Write down the matrix representation of T with respect to S.

                                                                   
                                                     1   1  5  1 −2
                                                 
                                                    0   1 −3  5  3 
                                                                    
                                         [T ]S =    0   0  1 −2  0 
An

                                                                   
                                                    0   0  0  1  3 
                                                     0   0  0  0  1



 (c) Find the matrix representation [T ]B of T with respect to B. Write down the (1, 2) and (5, 3)
     entries of [T ]B .

             [T ]B (1, 2) = 6                            [T ]B (5, 3) = −4




Mathematics and Statistics                           5 of 6                          University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An
MAST10007 Linear Algebra                     TEST 00                                   Semester 1, 2012



Q 6. Verify that the matrix G given below is already loaded in your MATLAB session (if not, repeat
step 1 in the instructions).
The following defines an inner product on R5 :
                                                                                           
                                                                                           y1
                                                                                          y2 
                                                                                           
                  (x1 , x2 , x3 , x4 , x5 ), (y1 , y2 , y3 , y4 , y5 ) = x1 x2 x3 x4 x5 G y3 
                                                                                           
                                                                                          y4 
                                                                                           y5

where                                                           
                                          1   4 −2 −2 1
                                  
                                         4  25 −11  7 10        
                                                                 
                                G=
                                        −2 −11  14 −1 5         .
                                                                 
                                        −2   7 −1 30 10         




                                                                      s
                                          1  10   5 10 27
Let
                         u = (48, 1, −1, −3, −5) and v = (0, −1, 0, −2, 3) .




                           er
Using the inner product specified above

 (a) find the inner product of u and v:
                                               u, v = −37
                         sw
 (b) find the length of u:
                                               u = 64.6838



 (c) find the length of v:
                                               v = 15.3623
An

 (d) find the cosine of the angle θ between u and v:

                                           cos(θ) = −0.0372349




Mathematics and Statistics                     6 of 6                          University of Melbourne
Rough working – will not be marked




                               s
   er
 sw
An

More Related Content

What's hot

Smkts 2015 p1
Smkts 2015 p1Smkts 2015 p1
Smkts 2015 p1
josnihmurni2907
 
College Algebra Chapters 1 and 2
College Algebra Chapters 1 and 2College Algebra Chapters 1 and 2
College Algebra Chapters 1 and 2
jeanperryshields
 
Matematica Basica
Matematica BasicaMatematica Basica
Matematica Basica
anele_valenti05
 
College algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manualCollege algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manual
Annuzzi19
 
Apendice calculadora fx 115 es
Apendice calculadora fx 115 esApendice calculadora fx 115 es
Apendice calculadora fx 115 esTORNARSOL
 
Solving Addition Operation Using Times Tables Patterns
Solving Addition Operation Using Times Tables PatternsSolving Addition Operation Using Times Tables Patterns
Solving Addition Operation Using Times Tables Patterns
PuworkUtara OnSlideshare
 
Mth 4108-1 a (ans)
Mth 4108-1 a (ans)Mth 4108-1 a (ans)
Mth 4108-1 a (ans)outdoorjohn
 
Square root calculation mentally
Square root calculation mentallySquare root calculation mentally
Square root calculation mentally
S.c. Chopra
 
Quadratic equations / Alge
Quadratic equations / AlgeQuadratic equations / Alge
Quadratic equations / Alge
indianeducation
 
NOTE MATH FORM 3 - 13b graf intro
NOTE MATH FORM 3 - 13b graf introNOTE MATH FORM 3 - 13b graf intro
NOTE MATH FORM 3 - 13b graf introNad0209
 
NOTE MATH FORM 3 - 11 linear equations
NOTE MATH FORM 3 - 11 linear equationsNOTE MATH FORM 3 - 11 linear equations
NOTE MATH FORM 3 - 11 linear equationsNad0209
 
Valor numerico de un termino algebraico
Valor numerico de un termino algebraicoValor numerico de un termino algebraico
Valor numerico de un termino algebraico
Ramiro Muñoz
 
NOTE MATH FORM 3 - 12 inequality equations
NOTE MATH FORM 3 - 12 inequality equationsNOTE MATH FORM 3 - 12 inequality equations
NOTE MATH FORM 3 - 12 inequality equationsNad0209
 
Pc12 sol c04_4-4
Pc12 sol c04_4-4Pc12 sol c04_4-4
Pc12 sol c04_4-4Garden City
 

What's hot (18)

C1 january 2012_mark_scheme
C1 january 2012_mark_schemeC1 january 2012_mark_scheme
C1 january 2012_mark_scheme
 
ejercicio 211 libro de baldor
ejercicio 211 libro de baldorejercicio 211 libro de baldor
ejercicio 211 libro de baldor
 
Smkts 2015 p1
Smkts 2015 p1Smkts 2015 p1
Smkts 2015 p1
 
College Algebra Chapters 1 and 2
College Algebra Chapters 1 and 2College Algebra Chapters 1 and 2
College Algebra Chapters 1 and 2
 
Matematica Basica
Matematica BasicaMatematica Basica
Matematica Basica
 
College algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manualCollege algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manual
 
Apendice calculadora fx 115 es
Apendice calculadora fx 115 esApendice calculadora fx 115 es
Apendice calculadora fx 115 es
 
Solving Addition Operation Using Times Tables Patterns
Solving Addition Operation Using Times Tables PatternsSolving Addition Operation Using Times Tables Patterns
Solving Addition Operation Using Times Tables Patterns
 
Mth 4108-1 a (ans)
Mth 4108-1 a (ans)Mth 4108-1 a (ans)
Mth 4108-1 a (ans)
 
01 analysis-of-algorithms
01 analysis-of-algorithms01 analysis-of-algorithms
01 analysis-of-algorithms
 
Square root calculation mentally
Square root calculation mentallySquare root calculation mentally
Square root calculation mentally
 
Quadratic equations / Alge
Quadratic equations / AlgeQuadratic equations / Alge
Quadratic equations / Alge
 
NOTE MATH FORM 3 - 13b graf intro
NOTE MATH FORM 3 - 13b graf introNOTE MATH FORM 3 - 13b graf intro
NOTE MATH FORM 3 - 13b graf intro
 
Day 12 slope stations
Day 12 slope stationsDay 12 slope stations
Day 12 slope stations
 
NOTE MATH FORM 3 - 11 linear equations
NOTE MATH FORM 3 - 11 linear equationsNOTE MATH FORM 3 - 11 linear equations
NOTE MATH FORM 3 - 11 linear equations
 
Valor numerico de un termino algebraico
Valor numerico de un termino algebraicoValor numerico de un termino algebraico
Valor numerico de un termino algebraico
 
NOTE MATH FORM 3 - 12 inequality equations
NOTE MATH FORM 3 - 12 inequality equationsNOTE MATH FORM 3 - 12 inequality equations
NOTE MATH FORM 3 - 12 inequality equations
 
Pc12 sol c04_4-4
Pc12 sol c04_4-4Pc12 sol c04_4-4
Pc12 sol c04_4-4
 

Similar to Sol00

Section 3.5 inequalities involving quadratic functions
Section 3.5 inequalities involving quadratic functions Section 3.5 inequalities involving quadratic functions
Section 3.5 inequalities involving quadratic functions
Wong Hsiung
 
HCCMS 2nd 9 weeks review 2015
HCCMS 2nd 9 weeks review 2015HCCMS 2nd 9 weeks review 2015
HCCMS 2nd 9 weeks review 2015
martinmommy2
 
Algebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions ManualAlgebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions Manual
kejeqadaqo
 
Reducing fractions
Reducing fractionsReducing fractions
Reducing fractionsalmasmarin
 
solucionario de purcell 0
solucionario de purcell 0solucionario de purcell 0
solucionario de purcell 0
José Encalada
 
Fractions-Subtracting-Complete-Lesson.pptx
Fractions-Subtracting-Complete-Lesson.pptxFractions-Subtracting-Complete-Lesson.pptx
Fractions-Subtracting-Complete-Lesson.pptx
IvyCharizEquina
 
Maths home learning wb 29th june
Maths home learning wb 29th juneMaths home learning wb 29th june
Maths home learning wb 29th june
chrispenny85
 
PEMDAS - The Proper Order of Mathematical Operations
PEMDAS - The Proper Order of Mathematical OperationsPEMDAS - The Proper Order of Mathematical Operations
PEMDAS - The Proper Order of Mathematical Operations
Mark (Mong) Montances
 
07 números relativos
07 números relativos07 números relativos
07 números relativos
Wollker Colares
 
Problem set 1x
Problem set 1xProblem set 1x
Problem set 1x3.com
 
Solving inequailities 1 student notes
Solving inequailities 1 student notesSolving inequailities 1 student notes
Solving inequailities 1 student notesmlabuski
 
Day 15 graphing lines stations
Day 15 graphing lines stationsDay 15 graphing lines stations
Day 15 graphing lines stationsErik Tjersland
 
Mathematics 9 Radical Expressions (3)
Mathematics 9 Radical Expressions (3)Mathematics 9 Radical Expressions (3)
Mathematics 9 Radical Expressions (3)
Juan Miguel Palero
 

Similar to Sol00 (20)

Section 3.5 inequalities involving quadratic functions
Section 3.5 inequalities involving quadratic functions Section 3.5 inequalities involving quadratic functions
Section 3.5 inequalities involving quadratic functions
 
HCCMS 2nd 9 weeks review 2015
HCCMS 2nd 9 weeks review 2015HCCMS 2nd 9 weeks review 2015
HCCMS 2nd 9 weeks review 2015
 
Algebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions ManualAlgebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions Manual
 
Reducing fractions
Reducing fractionsReducing fractions
Reducing fractions
 
solucionario de purcell 0
solucionario de purcell 0solucionario de purcell 0
solucionario de purcell 0
 
Matrices 44.4
Matrices 44.4Matrices 44.4
Matrices 44.4
 
Fractions-Subtracting-Complete-Lesson.pptx
Fractions-Subtracting-Complete-Lesson.pptxFractions-Subtracting-Complete-Lesson.pptx
Fractions-Subtracting-Complete-Lesson.pptx
 
Final exam review #2
Final exam review #2Final exam review #2
Final exam review #2
 
Maths home learning wb 29th june
Maths home learning wb 29th juneMaths home learning wb 29th june
Maths home learning wb 29th june
 
PEMDAS - The Proper Order of Mathematical Operations
PEMDAS - The Proper Order of Mathematical OperationsPEMDAS - The Proper Order of Mathematical Operations
PEMDAS - The Proper Order of Mathematical Operations
 
Números enteros Quinto
Números enteros Quinto Números enteros Quinto
Números enteros Quinto
 
07 números relativos
07 números relativos07 números relativos
07 números relativos
 
Problem set 1x
Problem set 1xProblem set 1x
Problem set 1x
 
Solving inequailities 1 student notes
Solving inequailities 1 student notesSolving inequailities 1 student notes
Solving inequailities 1 student notes
 
1.3.2
1.3.21.3.2
1.3.2
 
Day 15 graphing lines stations
Day 15 graphing lines stationsDay 15 graphing lines stations
Day 15 graphing lines stations
 
The number field 17
The number field 17The number field 17
The number field 17
 
Pagina 029
Pagina 029 Pagina 029
Pagina 029
 
Mathematics 9 Radical Expressions (3)
Mathematics 9 Radical Expressions (3)Mathematics 9 Radical Expressions (3)
Mathematics 9 Radical Expressions (3)
 
Day 9 two step
Day 9 two stepDay 9 two step
Day 9 two step
 

Recently uploaded

Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 

Recently uploaded (20)

Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 

Sol00

  • 1. MAST10007 Linear Algebra MATLAB Test Test duration: 45 minutes This paper has 6 test pages Please complete all the following details. Name: ..................................................... Student Number: ..................................................... Tutor’s Name: ..................................................... s Tutorial Time and Day: ..................................................... er Instructions to Students: This examination is designed to test your ability to calculate efficiently with the aid of MATLAB as well as your knowledge of the material covered so far in the subject. Some questions test your understanding of the material covered in lectures, and do not necessarily require MATLAB. No partial credit is given, so please carefully check anything typed into MATLAB, and check the output of any sw programs used. There are 6 questions. The number of marks for each question is indicated and the total is 25. (1) Before starting the test complete the following steps: Start up MATLAB. (This creates the folder Student Data:MATLAB.) Copy the folder TEST from Maths & Stats - Lab MaterialMAST10007 (the tree) to Student Data:MATLAB (the star). An Set the path in MATLAB to include Student Data:MATLAB with subfolders. Run the command 00SAMPLE to load the test data into your MATLAB session. (2) Some MATLAB commands: rref(A) gives the reduced row echelon form of A A’ 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 rank(A) gives the rank of the matrix A mod(x,2) gives x modulo 2 sqrt(x) gives the square root of x (3) Answers may be either exact or a numerical solution correct to 4 significant figures or correct to 4 decimal places. Do not turn over the page until instructed to do so.
  • 2. Rough working – will not be marked s er sw An
  • 3. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 1. Verify that the following matrices are already loaded in your MATLAB session (if not, repeat step 1 in the instructions): 18 −50 −15   1 6 8 22 45   0 1 2 6 5 −12 −6 13     1 6 8 21 17 −49 −14 42    0 3 7 24 21 −44 −25 55  A=    −3 −12 −5 5 11 29 −33 34     0 1 −2 −15 −16 17 19 −42    0 −3 −5 −12 −9 28 11 −23  −3 −4 3 20 18 −18 −40 55 12 11 −12 −5 1 −12 −6   10   −10 11 9 −5 −3 −12 −9 1   −10 −4 6 −9 −11 −7 6 −10  s     −3 1 1 9 9 −3 −1 0  B= .   5 5 −13 −4 −3 −2 −9 5    −4 12 7 6 −10 7 −5 2  er    −10 −9 −12 −12 9 −2 −2 12  −4 1 5 4 12 −6 1 −5 (a) What is the entry in the 3rd row and 1st column of BA? Answer: 59 sw (b) What is the rank of A? Answer: 4 (c) What is the determinant of B + 7I where I is the 8 × 8 identity matrix? Answer: -73054752 (d) Let u be given by the 8th row of A and v be given by the 5th column of B. What is the value An of the dot product u · v? Answer: 582 Mathematics and Statistics 1 of 6 University of Melbourne
  • 4. Rough working – will not be marked s er sw An
  • 5. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 2. Verify that the augmented matrix C of the following system of linear equations is already loaded in your MATLAB session (if not, repeat step 1 in the instructions): − x4 + 3x5 + 4x6 + 3x7 = −3 −x1 + x2 − x3 + 3x4 − x5 + x6 − 4x7 = 9 −x1 + 2x2 − x3 + 3x4 − x5 − x6 − 4x7 = 7 x1 − 2x4 + 2x5 + x6 + 3x7 = −6 − x2 + x3 + x4 − 6x5 − 8x6 − 4x7 = 3 2x2 − 2x3 + 2x4 + 3x5 + 6x6 − x7 = 6 (a) Write down the reduced row echelon form of the matrix C. Answer:   1 0 0 0 0 1 1 0 s   0 1 0 0 0 −2 0 −2    0 0 1 0 0 0 2 −2  rref(C) =  .   0 0 0 1 0 2 0 3   0 0 0 0 1 2 1 0  er  0 0 0 0 0 0 0 0 sw (b) Find the general solution of the system of linear equations. An Answer: (x1 , x2 , x3 , x4 , x5 , x6 , x7 ) = (0, −2, −2, 3, 0, 0, 0)+s (−1, 2, 0, −2, −2, 1, 0)+t (−1, 0, −2, 0, −1, 0, 1) Mathematics and Statistics 2 of 6 University of Melbourne
  • 6. Rough working – will not be marked s er sw An
  • 7. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 3. Verify that the following matrix is already loaded in your MATLAB session (if not, repeat step 1 in the instructions): −2 −8 9 −20 −11 −6 −15   2   2 −3 −15 16 −27 −26 1 −13     −3 1 6 −10 6 23 −3 −12   D=  2 −3 −12 17 −12 −36 10 15  .    2 −5 −21 25 −29 −47 11 2    −3 6 25 −30 39 53 −8 5  −1 0 −2 1 1 −4 6 3 Let S be the following set of vectors:   −2 −8 −20 −11 −6 −15                 2 9    2   −3   −15    16   −27   −26   1   −13                     s  −3   1     6   −10   6   23   −3   −12                  S =  2  ,  −3  ,  −12 , 17 , −12 , −36 , 10 , 15  .     2   −5   −21                        25     −29     −47     11     2     −3   6   25  −30 39 53 −8 5  er                −1 −2 −4   0 1 1 6 3 (a) Is the set S linearly independent ? Answer: No sw (b) Is S a spanning set for R7 ? Answer: No An (c) Find a subset {v 1 , v 2 , v 3 , v 4 , v 5 } ⊆ S (ie., a subset having five elements) with the property that {v 1 , v 2 , v 3 , v 4 , v 5 } is linearly independent. (you may indicate the appropriate subset by circling vectors). Answer: Vectors listed 1,2,3,4,5, i.e. the subset   −2 −8 −20           2 9    2   −3   −15    16   −27                −3   1     6   −10   6             2  ,  −3  ,  −12 , 17 , −12  .     2   −5   −21                  25     −29     −3   6   25     −30   39      −1 −2   0 1 1 Mathematics and Statistics 3 of 6 University of Melbourne
  • 8. Rough working – will not be marked s er sw An
  • 9. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 4. For this question you will be working in mod 2 arithmetic, that is with scalars Z2 . Let   1 0 0 0 1 1 1 1  0 1 0 0 1 0 1 1  E=  0 1 . 0 1 1 1 0 1  1 1 0 1 0 1 0 1 The matrix E should already be loaded in your MATLAB session, as should a matrix F having as columns the vectors v 1 , v 2 , v 3 , v 4 , v 5 , v 6 ∈ Z8 . (If that is not the case, repeat step 1 in the instructions.) 2 Circle YES if the vector is in the solution space of E. Otherwise circle NO. v 1 = (0, 1, 0, 0, 0, 1, 1, 0) YES NO v 2 = (0, 0, 1, 0, 0, 0, 0, 0) YES NO s v 3 = (1, 0, 0, 0, 1, 1, 1, 0) YES NO v 4 = (0, 0, 1, 1, 0, 1, 1, 1) YES NO er v 5 = (0, 1, 1, 0, 0, 1, 0, 1) YES NO v 6 = (1, 1, 1, 0, 1, 1, 0, 1) YES NO sw An Mathematics and Statistics 4 of 6 University of Melbourne
  • 10. Rough working – will not be marked s er sw An
  • 11. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 5. Verify that the vectors b1 , . . . , b5 listed below are already loaded in your MATLAB session (if not, repeat step 1 in the instructions). Consider the basis of R5 given by B = {b1 , b2 , b3 , b4 , b5 } with b1 = (3, 4, 4, 2, 2) b2 = (1, 1, 0, 0, 1) b3 = (−4, −4, −3, −1, −3) b4 = (−4, −6, −6, −3, −3) b5 = (−5, −2, 0, 2, −3) Let S denote the standard basis for R5 . (a) Form the transition matrix P = PB,S and use it to calculate the coordinate matrix of the vector v = (−2, 5, 5, −5, −2) with respect to B. (There is no need to write down P on the answer s paper.)   −25 er   9   [v]B =   33    −34  −12 sw (b) A linear transformation T : R5 −→ R5 is given by: T (x1 , x2 , x3 , x4 , x5 ) = (x1 + x2 + 5x3 + x4 − 2x5 , x2 − 3x3 + 5x4 + 3x5 , x3 − 2x4 , x4 + 3x5 , x5 ) Write down the matrix representation of T with respect to S.   1 1 5 1 −2   0 1 −3 5 3   [T ]S =  0 0 1 −2 0  An    0 0 0 1 3  0 0 0 0 1 (c) Find the matrix representation [T ]B of T with respect to B. Write down the (1, 2) and (5, 3) entries of [T ]B . [T ]B (1, 2) = 6 [T ]B (5, 3) = −4 Mathematics and Statistics 5 of 6 University of Melbourne
  • 12. Rough working – will not be marked s er sw An
  • 13. MAST10007 Linear Algebra TEST 00 Semester 1, 2012 Q 6. Verify that the matrix G given below is already loaded in your MATLAB session (if not, repeat step 1 in the instructions). The following defines an inner product on R5 :   y1 y2    (x1 , x2 , x3 , x4 , x5 ), (y1 , y2 , y3 , y4 , y5 ) = x1 x2 x3 x4 x5 G y3    y4  y5 where   1 4 −2 −2 1   4 25 −11 7 10   G=  −2 −11 14 −1 5 .   −2 7 −1 30 10  s 1 10 5 10 27 Let u = (48, 1, −1, −3, −5) and v = (0, −1, 0, −2, 3) . er Using the inner product specified above (a) find the inner product of u and v: u, v = −37 sw (b) find the length of u: u = 64.6838 (c) find the length of v: v = 15.3623 An (d) find the cosine of the angle θ between u and v: cos(θ) = −0.0372349 Mathematics and Statistics 6 of 6 University of Melbourne
  • 14. Rough working – will not be marked s er sw An