I'm not mathematically trained. A module I'm taking this semester needs me to: Show that a square matrix with only diagonal values that are all positive is a positive definite matrix.
What is the most layman and simplistic way of answering this question? Thank you in advance!
Starting from definition:
A symmetric matrix $A$ is positive defined if for all non zero vectors $x$ we have $x^T A x >0$.
Let: $$ A= \begin{bmatrix} a_1&0&0&\cdots &0\\ 0&a_2&0&\cdots &0\\ \cdots\\ 0&0&0&\cdots& a_n \end{bmatrix} $$ be a diagonal matrix with $a_i>0$ than, for a vector $x=[x_1,x_2,\cdots,x_n]^T$, we have:
$$ x^TAx= \begin{bmatrix} x_1&x_2&\cdots &x_n\\ \end{bmatrix} \begin{bmatrix} a_1&0&0&\cdots &0\\ 0&a_2&0&\cdots &0\\ \cdots\\ 0&0&0&\cdots& a_n \end{bmatrix} \begin{bmatrix} x_1\\x_2\\\cdots \\x_n\\ \end{bmatrix}= $$ $$=\begin{bmatrix} a_1x_1&a_2x_2&\cdots &a_nx_n\\ \end{bmatrix} \begin{bmatrix} x_1\\x_2\\\cdots \\x_n\\ \end{bmatrix}= a_1x_1^2+a_2x_2^2+\cdots +a_nx_n^2 $$ that, since $a_i>0$, is a sum of squares, so it is always positive.