Is the Matrix Positive Definite?

  • Context: MHB 
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Matrix Positive
Click For Summary

Discussion Overview

The discussion centers on the properties of a specific $(N+1) \times (N+1)$ matrix, particularly whether it is positive definite and thus invertible. Participants explore the structure of the matrix, its decomposition into components, and the implications of these properties in the context of mathematical reasoning.

Discussion Character

  • Technical explanation, Mathematical reasoning, Debate/contested

Main Points Raised

  • Some participants propose expressing the matrix as a sum of a diagonal matrix $Q$ and another matrix $T$, where $Q$ contains terms involving $q(x_i)$.
  • Participants discuss the form of the matrix $T$ and its potential positive definiteness, with one participant suggesting that $x^T T x$ can be expressed in a specific quadratic form.
  • Another participant introduces a matrix $S$ and demonstrates that $S^{\textsf{T}}S$ is positive definite, suggesting that $T$ can be derived from $S$ by modifying its diagonal elements.
  • There is a query about the correctness of the method used to show positive definiteness, which is later affirmed by other participants.
  • Participants confirm that the matrix $Q$ is also positive definite based on its quadratic form, with a specific emphasis on the positivity of the terms involved.
  • A linguistic note is made regarding the correct terminology, clarifying that the term "positive definite" is preferred over "positive defined."

Areas of Agreement / Disagreement

Participants generally agree on the positive definiteness of both matrices $T$ and $Q$, although there are moments of uncertainty regarding the methods used to demonstrate these properties. The discussion reflects a collaborative effort to refine understanding rather than a definitive resolution of competing views.

Contextual Notes

The discussion includes assumptions about the positivity of $q(x)$ and the conditions under which the matrices are defined. The exploration of positive definiteness relies on specific forms of quadratic expressions, which may depend on the definitions and properties of the matrices involved.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

We have that $q(x) \geq q_0>0, x \in [0,1], h>0$.

Suppose that we have this $(N+1) \times (N+1) matrix$:

$\begin{bmatrix}
\frac{1}{h^2}+\frac{1}{h}+\frac{q(x_0)}{2} & -\frac{1}{h^2} & 0 & \cdots & 0 \\
-\frac{1}{h^2} & \frac{2}{h^2}+q(x_1) & -\frac{1}{h^2} & \cdots &0 \\
0 & & & & \\
& & & & \\
0 & & 0 & -\frac{1}{h^2} &\frac{2}{h^2}+q(x_N)
\end{bmatrix}$

I want to show that it is invertible.

I thought to write it as $Q+T$, where $Q=diag (\frac{1}{2}q(x_0),q(x_1), \dots, q(x_N))$ and

$$T=\begin{bmatrix}
\frac{1}{h^2}+\frac{1}{h} & -\frac{1}{h^2} & 0 & & 0\\
-\frac{1}{h^2} & \frac{2}{h^2} & -\frac{1}{h^2}& &0 \\
0 & -\frac{1}{h^2} & \frac{2}{h^2} & & \\
& & & & -\frac{1}{h^2}\\
& & & -\frac{1}{h^2} & \frac{2}{h^2}
\end{bmatrix}$$But how can we show that $T$ is positive defined?

I have found that $x^T T x=\frac{x_0^2}{2}+\frac{1}{h^2} \sum_{i=0}^{N-1} (x_i-x_{i+1})^2+ \frac{x_N^2}{h^2}$. Is it right? (Thinking)
 
Physics news on Phys.org
evinda said:
Hello! (Wave)

We have that $q(x) \geq q_0>0, x \in [0,1], h>0$.

Suppose that we have this $(N+1) \times (N+1)$ matrix:

$\begin{bmatrix}
\frac{1}{h^2}+\frac{1}{h}+\frac{q(x_0)}{2} & -\frac{1}{h^2} & 0 & \cdots & 0 \\
-\frac{1}{h^2} & \frac{2}{h^2}+q(x_1) & -\frac{1}{h^2} & \cdots &0 \\
0 & & & & \\
& & & & \\
0 & & 0 & -\frac{1}{h^2} &\frac{2}{h^2}+q(x_N)
\end{bmatrix}$

I want to show that it is invertible.

I thought to write it as $Q+T$, where $Q=diag (\frac{1}{2}q(x_0),q(x_1), \dots, q(x_N))$ and

$$T=\begin{bmatrix}
\frac{1}{h^2}+\frac{1}{h} & -\frac{1}{h^2} & 0 & & 0\\
-\frac{1}{h^2} & \frac{2}{h^2} & -\frac{1}{h^2}& &0 \\
0 & -\frac{1}{h^2} & \frac{2}{h^2} & & \\
& & & & -\frac{1}{h^2}\\
& & & -\frac{1}{h^2} & \frac{2}{h^2}
\end{bmatrix}$$But how can we show that $T$ is positive defined?

I have found that $x^T T x=\frac{x_0^2}{2}+\frac{1}{h^2} \sum_{i=0}^{N-1} (x_i-x_{i+1})^2+ \frac{x_N^2}{h^2}$. Is it right? (Thinking)
For convenience, I'll write $a = 1/h$. Let $S$ be the $(N+1) \times (N+1)$ matrix with $a$'s all down the main diagonal, $-a$'s all down the first super-diagonal, and zeros everywhere else: $$S = \begin{bmatrix}
a & -a & 0 & & 0\\ 0 & a & -a & &0 \\ 0 & 0 & a & & \\ & & & \ddots & -a\\ & & & 0 & a \end{bmatrix}.$$ You can check that $$S^{\textsf{T}}S = \begin{bmatrix}a^2 & -a^2 & 0 & & & 0\\ -a^2 & 2a^2 & -a^2 & & &0 \\ 0 & -a^2 & 2a^2 & & & \\ &&& \ddots && \\ & & & & 2a^2& -a^2\\ & & & & -a^2 & 2a^2 \end{bmatrix}.$$ That is a positive definite matrix. It is almost the same as your matrix $T$, which you can obtain by adding $a$ to the element in the top left corner of $S^{\textsf{T}}S$. That will preserve the positive-definiteness (alternatively you could add $a$ to the first element of the diagonal matrix $Q$). This shows that $T$ is positive definite.
 
Is the way I did it wrong? (Thinking)
 
evinda said:
Is the way I did it wrong? (Thinking)
Your method is fine. I had not noticed that you already found a solution.
 
Opalg said:
Your method is fine. I had not noticed that you already found a solution.

Great! And $Q$ is positive defined since $x^T Q x=\frac{q(x_0)}{2} x_0^2+q(x_1) x_1^2+ \dots+ q(x_N) x_N^2>0$ for $x \neq \overline{0}$ where $x \in R^{N+1}$, right? (Thinking)
 
evinda said:
Great! And $Q$ is positive defined since $x^T Q x=\frac{q(x_0)}{2} x_0^2+q(x_1) x_1^2+ \dots+ q(x_N) x_N^2>0$ for $x \neq \overline{0}$ where $x \in R^{N+1}$, right? (Thinking)
Yes! (Star)

Linguistic note: the name for such a matrix is "positive definite", not "positive defined".
 
Opalg said:
Yes! (Star)

Great! Thank you! (Smirk)
Opalg said:
Linguistic note: the name for such a matrix is "positive definite", not "positive defined".

A ok... (Nod)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
905
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 26 ·
Replies
26
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K