Professional Documents
Culture Documents
02 Algebra Concepts
02 Algebra Concepts
Alghunaim
• linear independence
• system of linear equations
• eigenvalues and eigenvectors
• definite matrices
2.1
Outline
• linear independence
• system of linear equations
• eigenvalues and eigenvectors
• definite matrices
Linear independence
0 = α1 e1 + · · · + αn en = (α1 , α2 , . . . , αn )
only if α1 = · · · = αn = 0
a1 = (1, 1, 0), a2 = (2, 2, 0), a3 = (0, 0, 1) are linearly dependent:
−2a1 + a2 + 0a3 = 0
a1 = (0.2, −7, 8.6), a2 = (−0.1, 2, −1), a3 = (0, −1, 2.2) are linearly
dependent:
a1 + 2a2 − 3a3 = 0
linear independence SA — EE477 2.3
Linear independence of matrix columns
xn
Ax = 0 holds only if x = 0
Superset
any superset of a linearly dependent set is linearly dependent
example: if the vectors a1 , . . . , ak are linearly dependent, then the vectors
a1 , . . . , ak , ak+1
Subset
removing vectors from a collection of vectors preserves linear independence
example: if {a1 , a2 , a3 , a4 } is linearly independent, then the sets
Graphical illustration
a2 a3 a3 α2 a2
a1 α1 a1
x = α1 a1 + · · · + αk ak
Proof:
assume that we can find β1 , . . . , βk such that
x = β1 a1 + · · · + βk ak
AA−1 = A−1 A = In
• linear independence
• system of linear equations
• eigenvalues and eigenvectors
• definite matrices
Matrix rank
3 0 2 2
A = −6 42 24 54
21 −21 0 −15
the first two columns are linearly independent; moreover,
2 3 0
24 = 2 −6 + 2 42
3 3
0 21 −21
and
2 3 0
2
54 = −6 + 29 42
3 21
−15 21 −21
therefore, only two vectors are linearly independent, thus rank A = 2
Illustration
3 0 2 2
A = −6 42 24 54
21 −21 0 −15
hence, rank A = 2
compact representation
Ax = b,
where the m × n matrix A is called the coefficient matrix and the m vector b is
called the right-hand side
Solution
an n-vector x̂ a solution of the linear equations Ax = b if Ax̂ = b
there can be a unique solution, many solutions, or no solutions
x1 + x2 = 1, x1 = −1, x1 − x2 = 0
can be described as Ax = b with
1 1 1
A = 1 0, b = −1 ,
1 −1 0
which is an overdetermined system; it has no solutions.
the system of linear equations
x1 + x2 = 1, x2 + x3 = 2
can be written as Ax = b with
1 1 0 1
A= , b= ,
0 1 1 2
which is an underdetermined system; it has multiple solutions, including
x̂ = (1, 0, 2) and x̂ = (0, 1, 1)
system of linear equations SA — EE477 2.14
Existence of solution
rank A = rank[A b] = n
system has infinitely many solutions for any b if and only if rank A = m < n
−3 −4
A= 4 6
1 1
rank A = n = 2
the system Ax = (1, −2, 0) has a unique solution
x = (1, −1)
rank A = 2 6= rank[A b] = 3
rank C = 2 = m
the system
1
Cx =
2
has multiple solutions, including
1 2 38 1
x1 = , , x2 = 0, , −1
3 3 9 2
Ax = b
without loss of generality, we assume that the columns of the matrix A are
reordered such that the first m columns are linearly independent
xB = B −1 b − B −1 DxD
x = (B −1 b, 0)
• linear independence
• system of linear equations
• eigenvalues and eigenvectors
• definite matrices
Eigenvalues and eigenvectors
Av = λv
det(λI − A) = 0
A = U ΛU T
• linear independence
• system of linear equations
• eigenvalues and eigenvectors
• definite matrices
Definiteness of symmetric matrices
positive definite if xT Qx > 0 for all x 6= 0 (we use Q > 0 to indicate that Q
is positive semidefinite)
Identity matrix
the identity matrix I is positive-definite since
xT Ix = xT x = kxk2 > 0
for all x 6= 0
−I is negative definite
Diagonal matrices
a diagonal matrix D with positive diagonal elements dii > 0 is positive
definite
a diagonal matrix D with nonnegative diagonal elements dii ≥ 0 is positive
semi-definite
a diagonal matrix with positive and negative diagonal elements is indefinite
BTB
xT B T Bx = kBxk2 = 0 ⇐⇒ Bx = 0
a) the matrix
3 −4 4
A = −4 6 5
4 5 7
is indefinite; this is because it is not positive semi-definite since
det A1 = 3 > 0 and det A3 = −317 < 0; it is also not negative
semi-definite since −A is not positive semidefinite
b) the matrix
2 −1 0
A = −1 2 −1
0 −1 2
is positive definite since the determinant of all leading principle submatrices
are positive
definite matrices SA — EE477 2.32