Personal tools

Positive Definiteness

From biophysics wiki

Jump to: navigation, search

In this article we deal with Matrices $\mathbf{A}$ that are symmetric and have positive eigenvalues $\lambda_i>0$. This matrices are called positive definite and satisfy the equation \begin{equation} \mathbf{x}^T\mathbf{A}\mathbf{x} > 0 \end{equation} which is the case if $\lambda_i>0 \text{ for all } i$, beacause if we mulitply the eigenvalue equation with $\mathbf{x}^T$ we get \begin{equation} \mathbf{A}\mathbf{x} = \lambda_i \mathbf{x}\\ \mathbf{x}^T\mathbf{A}\mathbf{x} = \lambda_i \mathbf{x}^T\mathbf{x} = \lambda_i \left\Vert \mathbf{x} \right\Vert^2 > 0 \Leftrightarrow \lambda_i>0 \hspace{1cm} \text{ for all } i \end{equation}

A Matrix $\mathbf{A}$ is positive definite if

  • $\mathbf{A}$ is symmetric
  • all eigenvalues of $\mathbf{A}$ are positive


Applications

In single variable calculus the minimum of the single variable function $f(x)$ at $f'(x)=0$ satisfys \begin{equation} \frac{d^2 f}{dx^2}<0 \end{equation} What if we have more than one variable? Let's consider the equation \begin{equation} ax^2+2bxy+y^2 \end{equation} Is this equation positive for all $x$ and $y$, or in other words is $(x,y)=(0,0)$ a minimum? To answer this question we can use the concept of positive definiteness, since the equation above can be brought in the form \begin{equation} \begin{pmatrix} x\\ y \end{pmatrix} \begin{pmatrix} a &b\\ b &c \end{pmatrix} \begin{pmatrix} x\\ y \end{pmatrix} \end{equation}

Example We check if the function \begin{equation} h(x,y)=\begin{pmatrix} x\\ y \end{pmatrix} \begin{pmatrix} 2 &6\\ 6 &20 \end{pmatrix} \begin{pmatrix} x\\ y \end{pmatrix} \end{equation} or equivalently \begin{equation} h(x,y)=2x^2+12xy+20y^2 \end{equation} is positive for all $x$ and $y$

If we move along the $x$ direction leaving $y=0$, $f(x,0)=2x^2$ goes up and stays positive vor all values of $x$. If we keep $x=0$ and move in the $y$ direction we geht $f(0,y)=20y^2$, again $f$ increases for all $y$. What about the term $12xy$? It could become negative for certain values of $x$ and $y$.

We can solve this problem by completing the square \begin{equation} e(x,y)=2x^2+12xy+20y^2=2(x+3y)^2+2y^2 > 0 \end{equation} Since there only occur square terms after the right most equal sign the function $f(x,y)$ must be positive for all $x$ and $y$. Such a function is called elliptic, since the intersection of $h(x,y)$ with a horizontal plane describes an ellipse given by the equation \begin{equation} e(x,y)=2x^2+12xy+20y^2 =const. \end{equation}

The intersection of the graph $e(x,y)$ and the plane $150$ forms an ellips $e(x,y)=150$

This is another method to prove that an equation (or the associated matix) is positive definite that also gives a geometric interpretation of the function.

In the marginal case, where completion of the square gives \begin{equation} p(x,y)=2x^2+12xy+18y^2=2(x+3y)^2 > 0 \end{equation} without additional pure quadradic terms, such equations are called parabolic. \begin{equation} p(x,y)=2x^2+12xy+18y^2=2(x+3y)^2 =1 \end{equation} Notice, the rank of $\mathbf{A}$ is one there is only one eigenvalue that is degenerate (repeated).












Video Lectures: Mulitvariable Caluclus - Lecture 9 Max- Minproblems [1]