Linear Algebra Assignment 3 Solution: SIT292, Matrices, and Codes

Verified

Added on  2020/03/28

|24
|824
|77
Homework Assignment
AI Summary
This document presents a complete solution to a Linear Algebra assignment (SIT292), addressing several key concepts. The solution begins by determining the row-rank of a given matrix and identifying the basis for its row space. It then proceeds to calculate the eigenvalues and corresponding eigenvectors of a matrix, followed by the application of the Gram-Schmidt procedure to obtain orthonormal vectors. The assignment further explores subspaces, proving that a given set forms a subspace and determining its dimension and basis. Finally, the document delves into linear binary codes, constructing a generator matrix, generating code words, and computing the parity check matrix and syndromes for received words. Each question is solved with detailed steps and explanations, providing a thorough understanding of the concepts involved.
Document Page
SIT292 LINEAR ALGEBRA
ASSIGNMENT- 3
STUDENT ID
[Pick the date]
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Question 1
Given matrix
(a) Row- rank of matrix
In order to determine the rank of the above matrix, it is essential to transform the matrix into
upper triangular matrix with the help of row operations.
1
Document Page
It can be seen from the above upper triangular matrix that there is three non-zero rows and hence,
the row- rank of matrix A is 3.
(b) Set of generators for the row space of A is highlighted below:
{ (1 23 0 ) ( 2 42 2 ) ( 364 3 ) }
(c) Basis for the row space of matrix A
It is apparent that all the three rows of the given matrix A are linearly independent because the
row rank of the matrix is three. Further, these three rows will make the basis for the respective
row spaces. Therefore, the basis of the row space is shown below:
{ (1 23 0 ) ( 2 42 2 ) ( 364 3 ) }
Therefore, the generator and the basis vectors are the same for the given problem.
Question 2
Given matrix
Let A=
[0 2 0
1 0 1
0 2 0 ]
(a) Eigenvalue
2
Document Page
Eigenvalues would be the roots of the matrix which would be determined by using the
determinant of ( Aλ I )=0
( Aλ I ) =
[ 0 2 0
1 0 1
0 2 0 ] λ [ 1 0 0
0 1 0
0 0 1 ]
( Aλ I )=
[0 2 0
1 0 1
0 2 0 ]
[ λ 0 0
0 λ 0
0 0 λ ]
( Aλ I )=
[λ 2 0
1 λ 1
0 2 λ ]
det ( Aλ I )=
|λ 2 0
1 λ 1
0 2 λ|
¿λ ( λ22 )2 (λ0 )+ 0(2+λ)
¿λ ( λ22 )+2 λ+0
¿λ3+ 2 λ+ 2 λ
¿λ3+ 4 λ
¿λ ( λ24 )
¿λ ( λ2 ) ( λ+2 )
Now, put det ( Aλ I )=0
λ ( λ2 ) ( λ+2 ) =0
λ=0 , 2 ,2
3
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Hence, the eigenvalues of the given matrix is 0 , 2 ,2.
4
Document Page
(b) Eigenvector corresponding to eigenvalues
Eigenvector corresponding to eigenvalues λ = 0
( Aλ I ) =
[ 0 2 0
1 0 1
0 2 0 ] 0 [ 1 0 0
0 1 0
0 0 1 ]
¿ [0 2 0
1 0 1
0 2 0 ]
[0 0 0
0 0 0
0 0 0 ]
¿ [ 0 2 0
1 0 1
0 2 0 ]
Reduce the matrix into row echelon form
[ (a b
0
0 0 c ) ]
¿ [ 1 0 1
0 2 0
0 0 0 ]
Reduce the matrix to reduced row echelon form
[ (1 b
0
0 0 1) ]
¿ [ 1 0 1
0 1 0
0 0 0 ]
Now,
5
Document Page
( Aλ I ) ( x
y
z )=
(0
0
0 )
( A0 I ) ( x
y
z ) =
( 0
0
0 )
[ 1 0 1
0 1 0
0 0 0 ] ( x
y
z )=
( 0
0
0 )
x + z=0
y=0
In isolated form
y=0
x=z
Now, let assume z = 1
Eigenvector v=
(z
0
z )= (1
0
1 )
Eigenvector corresponding to eigenvalues = 2
( Aλ I )=
[0 2 0
1 0 1
0 2 0 ]2 [1 0 0
0 1 0
0 0 1 ]
¿ [0 2 0
1 0 1
0 2 0 ]
[2 0 0
0 2 0
0 0 2 ] 6
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
¿ [2 2 0
1 2 1
0 2 2 ]
Reduce the matrix into row echelon form
[ (a b
0
0 0 c ) ]
¿ [
2 2 1
0 2 2
0 0 0 ]
Reduce the matrix to reduced row echelon form
[ (1 b
0
0 0 1) ]
¿ [ 1 0 1
0 1 1
0 0 0 ]
Now,
( Aλ I ) ( x
y
z )=
(0
0
0 )
( A2 I ) ( x
y
z )= (0
0
0 )
[1 0 1
0 1 1
0 0 0 ] ( x
y
z )=
(0
0
0)
xz=0
7
Document Page
yz =0
In isolated form
x=z
y=z
Now, let assume z = 1
Eigenvector v=
( z
z
z )= ( 1
1
1 )
Eigenvector corresponding to eigenvalues = -2
( Aλ I )=
[0 2 0
1 0 1
0 2 0 ](2) [1 0 0
0 1 0
0 0 1 ]
¿ [0 2 0
1 0 1
0 2 0 ]
[2 0 0
0 2 0
0 0 2 ]
¿ [2 2 0
1 2 1
0 2 2 ]
Reduce the matrix into row echelon form
[ (a b
0
0 0 c ) ]
¿ [ 2 2 0
0 2 2
0 0 0 ]
Reduce the matrix to reduced row echelon form
8
Document Page
[ (1 b
0
0 0 1) ]
¿ [ 1 0 1
0 1 1
0 0 0 ]
Now,
( Aλ I ) ( x
y
z )=
(0
0
0 )
( A(2) I ) ( x
y
z )=
(0
0
0)
[1 0 1
0 1 1
0 0 0 ] ( x
y
z )=
(0
0
0)
xz=0
y + z=0
In isolated form
x=z
y=z
Now, let assume z = 1
Eigenvector v=
( z
z
z )= ( 1
1
1 )
9
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Therefore, the eigenvector of the matrix is (1
0
1 ), (1
1
1 ), ( 1
1
1 )
(c) Set of orthonormal vectors with the help of Gram-Schmidt Procedure
Computed eigenvector of the matrix is (1
0
1 ), (1
1
1 ), ( 1
1
1 )
Let
x= (
1
0
1 )
y= (1
1
1 )
z= ( 1
1
1 )
Gram-Schmidt Procedure
u= y ¿ x , y > x
¿ y , y >¿ ¿
u= ( 1, 1 ,1 ) ¿ (1,0,1 ) , ( 1 ,1 , 1 ) > x
¿ x , x>¿= ( 1,1,1 ) ¿
It is apparent that that eigenvector corresponding to distinct eigenvalues are orthogonal and
hence, {x , y , z } are orthogonal vectors.
Hence,
10
Document Page
{ x
||x|| , y
|| y|| , z
||z|| } are orthonormal vectors .
Thus,
Final Solution: Orthogonal vectors
Question 3
11
chevron_up_icon
1 out of 24
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]