Problem about positive definiteness in the context of matrices

In summary: Yes, it is.In summary, the problem asks for someone to show that a matrix is not positive definite, which is what was accomplished.
  • #1
s3a
818
8

Homework Statement


The problem:
Attached as TheProblem.jpg.

Solution:
xT A x is 0 when (x1, x2, x3) = (0,1,0) because of the zero on the diagonal. Actually, xT A x goes negative for x = (1, -10, 0) because the second pivot is negative.

Homework Equations


xT A x

The Attempt at a Solution


I computed the product and got 9x22 + 4 x1x1 + 4x12.

I'm thinking that I might need to show that that obtained polynomial must be below zero since we want to show that matrix A is not a positive definite matrix but, I don't know where to go from here.

Any input would be appreciated!
 

Attachments

  • TheProblem.jpg
    TheProblem.jpg
    7 KB · Views: 421
Physics news on Phys.org
  • #2
That's right, and you know the squares certainly won't be negative so it comes down to the cross term (which I think you mislabeled) to cause a negative number.
 
  • #3
Yes, I did mislabel it. I meant: 9x22 + 4 x1x2 + 4x212.

However, I am still confused as to where I should go from here, algebraically.
 
  • #4
How did you get that polynomial from the 3x3 matrix?
 
  • #5
I computed the xTA x product.
 
  • #6
The polynomial you wrote down looks like it came from a 2x2 matrix. The matrix in the problem is 3x3. You should have x1, x2, and x3 appearing.
 
  • #7
Oops.

Is this the correct polynomial?:
5 x32 + 4 x2 x3 + 2 x1 x3 + 2 x1 x2 + 4 x12

P.S.
That seems to make my initial algebraic challenge from the beginning of this thread even greater.
 
  • #8
In this particular case, the lack of an ##x_2^2## term gives you the freedom to choose a large value for ##x_2## to get the overall sign you want. That's the easiest way to deal with this problem.

In the general case, one way would be to find linear combinations ##y_i## of the ##x_j##'s so that you can write the polynomial in the form ##\lambda_1 y_1^2+ \lambda_2 y_2^2 + \lambda_3 y_3^2##. Then from the signs of the coefficients, you can determine whether the matrix is positive definite or not.

For example, suppose you have the polynomial ##4x_1^2 + 20x_1x_2 + 4x_2^2##. If you let ##y_1 = x_1 + x_2## and ##y_2 = x_1 - x_2##, you'd have
$$4x_1^2 + 20x_1x_2 + 4x_2^2 = 7y_1^2 - 3y_2^2.$$ From the second form, it's clear the polynomial will be negative when ##y_1=0## and ##y_2=1##.

The linear combinations correspond to the eigenvectors of the matrix, and the coefficients, to the eigenvalues. So finding the eigenvalues of the matrix is enough to tell you whether it's positive definite or not.
 
  • #9
Is that how this problem is asking to be answered or is that just a neat trick? I'm asking because I don't want to miss anything that's more standard, if it exists.
 
  • #10
Finding the eigenvalues? It's a standard way of determining whether a matrix is positive-definite. For this particular problem, however, I think you're just supposed to look at the polynomial and reason out how you can make it negative with the correct choice of ##x_1##, ##x_2##, and ##x_3##.
 
  • #11
So, is there any significance to the particular answers given in the solution or do I just need to show that the polynomial is able to, at least, reach a negative value?
 
  • #12
It's just a counterexample to show the matrix isn't positive-definite.
 
  • #13
Okay so, that's essentially what I said, right?
 
  • #14
If I choose ##x_1 = 1##, ##x_2 = -5## and ##x_3 = 0##, do I accomplish what the problem is asking for?
 
  • #15
What is the problem asking you to show?
 
  • #16
The problem wants me to show that the definition of what makes a matrix positive definite fails. I believe what I did accomplishes this but, could you please confirm?
 
  • #17
What condition must a matrix satisfy if it is positive-definite?
 
  • #18
The ##x^T####A## ##x## product (which is the polynomial we were working with just now) needs to be positive.
 
  • #19
That statement is not quite complete. You need to show ##x^T A x > 0 ## for all x. If you've shown this statement is false, you're done.
 
  • #20
Oh, thanks for correcting me/adding that. Now, that I see it, it does make sense but, to ask again, what I did is satisfactory, right?
 

1. What is positive definiteness in the context of matrices?

Positive definiteness in the context of matrices refers to a property of a square matrix where all of its eigenvalues are positive. This means that the matrix is invertible and has only positive values in its diagonal entries.

2. How is positive definiteness determined in a matrix?

Positive definiteness can be determined by checking the signs of the matrix's eigenvalues. If all eigenvalues are positive, then the matrix is positive definite. Another way to determine positive definiteness is by using the Sylvester's criterion, which involves checking the determinants of the matrix's principal submatrices.

3. What is the importance of positive definiteness in matrices?

Positive definiteness is important in matrices because it ensures that the matrix is invertible and has a unique solution in systems of linear equations. It also guarantees that the matrix has a minimum value, which is useful in optimization problems.

4. Can a matrix be positive definite and positive semidefinite at the same time?

No, a matrix cannot be positive definite and positive semidefinite at the same time. A positive definite matrix has all positive eigenvalues, while a positive semidefinite matrix has all non-negative eigenvalues. Therefore, if a matrix has all positive eigenvalues, it cannot have any zero eigenvalues, which is a requirement for positive semidefiniteness.

5. How is positive definiteness used in real-world applications?

Positive definiteness is used in various real-world applications, such as in finance, engineering, and computer science. For example, in finance, positive definite matrices are used to model risk in portfolio optimization. In engineering, they are used in structural analysis to ensure stability and strength. In computer science, they are used in machine learning algorithms for efficient optimization and feature selection.

Similar threads

  • Math POTW for Graduate Students
Replies
1
Views
465
  • Calculus and Beyond Homework Help
Replies
2
Views
388
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
837
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
31
Views
3K
  • Linear and Abstract Algebra
Replies
1
Views
599
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Back
Top