Is the Matrix Positive Definite?

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

The discussion centers on proving the positive definiteness of a specific $(N+1) \times (N+1)$ matrix defined by the equation involving $q(x)$, where $q(x) \geq q_0 > 0$. The matrix is expressed as $Q + T$, with $Q$ being a diagonal matrix and $T$ structured with specific values. The participants confirm that $T$ is positive definite by relating it to the matrix $S^{\textsf{T}}S$, which is known to be positive definite. The conclusion is that both $Q$ and $T$ are positive definite, ensuring the invertibility of the original matrix.

PREREQUISITES
  • Understanding of matrix theory, specifically positive definite matrices.
  • Familiarity with quadratic forms and their properties.
  • Knowledge of linear algebra concepts such as matrix inversion and eigenvalues.
  • Experience with mathematical notation and manipulation involving matrices.
NEXT STEPS
  • Study the properties of positive definite matrices in linear algebra.
  • Learn how to compute and interpret quadratic forms in the context of matrices.
  • Explore the relationship between matrix definiteness and eigenvalues.
  • Investigate applications of positive definite matrices in numerical methods and optimization.
USEFUL FOR

Mathematicians, students of linear algebra, and professionals working in fields requiring matrix analysis, particularly in optimization and numerical methods.

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
805
  • · Replies 6 ·
Replies
6
Views
2K
  • · 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
1K