Positive Definite Matrices
A matrix is positive semi-definite (PSD), denoted , if and for all . A matrix is positive definite, denoted , if and for all , that is, all non-zero vectors . The simplest example of a positive definite matrix is the identity (the diagonal matrix with 1s on the diagonal and 0s elsewhere), which satisfies .
(a) Let be an n-vector. Show that is positive semidefinite.
(b) Let be a non-zero n-vector. Let . What is the null-space of ? What is the rank of ?
(c) Let be positive semidefinite and be arbitrary, where . Is PSD? If so, prove it. If not, give a counterexample with explicit .
Solutions
Problem 2(a)
To solve problem (a), we need to show that the matrix is positive semidefinite (PSD). A matrix is positive semidefinite if, for any vector , the following condition is satisfied:
Here are the steps to show that is PSD:
-
Apply the definition: For any vector , we need to consider and show that this is always greater than or equal to 0.
-
Substitute with : We have .
-
Use matrix multiplication: Remember that matrix multiplication is associative, so we can rearrange the multiplication as .
-
Recognize the dot product: The term is a dot product of and , which gives a scalar. Let's denote it as , so and is a real number since it's a scalar.
-
Express as a scalar multiplication: We now have , which is the same as because will also give the same dot product as .
-
Conclude the proof: We know that is always non-negative for any real number , and hence .
So, we have shown that for any vector , is always non-negative, hence is positive semidefinite.
Problem 2(b)
Problem (b) asks for the null-space and the rank of the matrix , where is a non-zero -vector.
Here's how to solve it:
-
Null-space: The null-space (or kernel) of consists of all vectors such that . So we need to solve for .
Since is non-zero, is a rank-1 matrix (because each row is a multiple of ), and the only vector that gets mapped to the zero vector by is a vector orthogonal to . Therefore, the null-space is the set of all vectors that are orthogonal to .
-
Rank: The rank of a matrix is the dimension of the column space (the space spanned by its columns). Since has each column as a multiple of , and is non-zero, the column space is the line through (and the origin). Therefore, the rank of is 1, because there is only one linearly independent column in .
So the null-space of is the -dimensional subspace of orthogonal to , and the rank of is 1.
Problem 2(c)
To solve problem (c), we are asked to determine if the matrix is positive semidefinite (PSD) given that is PSD and is arbitrary, where and .
Here's how to approach the problem:
-
Use the definition of a PSD matrix: A matrix is PSD if for any vector , .
-
Apply this definition to : Let be any vector in , then we need to show that .
-
Expand using matrix multiplication: The expression becomes .
-
Rearrange the expression: Since matrix multiplication is associative, we can write this as .
-
Recognize that is a vector in : Let's denote , which is a valid vector in since has columns.
-
Apply the fact that is PSD: Since is PSD, it follows that for any vector , .
-
Conclude the proof: Since and for any , we can conclude that for any . Thus, is PSD.
So, regardless of what is, as long as is PSD, the matrix will also be PSD. This is because the product will always be non-negative due to the properties of , and is simply the result of transforming by , which does not affect the non-negativity of .