Show that $ax^2+2hxy+by^2$ is positive definite when $h^2<ab$

1.1k Views Asked by At

The question asks to "show that the condition for $P(x,y)=ax^2+2hxy+by^2$ ($a$,$b$ and $h$ not all zero) to be positive definite is that $h^2<ab$, and that $P(x,y)$ has the same sign as $a$."

Now I've seen questions similar to this before where it's a two variable quadratic and I'm not too sure how to go about it. Normally with one variable you could just show the discriminant is less than $0$ but since there's two variables I can't use the same process (since I'm not sure how the discriminant is defined for a two variable quadratic). I also tried completing the square but that doesn't seem to make the algebra anything near as simple as the answer (I got a rather complicated fraction with cubes). Is there a way to go about this type of problem? Thanks.

4

There are 4 best solutions below

0
On BEST ANSWER

In higher dimensions (than 1), there is a elegant matrix based approach. In this approach, the sign is determined by the diagonal matrix. Specifically, note that for your question $$a{x^2} + 2hxy + b{y^2} = \left[ {\begin{array}{*{20}{c}}x&y\end{array}} \right]\left[ {\begin{array}{*{20}{c}}a&h\\h&b\end{array}} \right]\left[ {\begin{array}{*{20}{c}}x\\y\end{array}} \right]$$But the matrix could be diagonalized as $$\left[ {\begin{array}{*{20}{c}}a&h\\h&b\end{array}} \right] = M\left[ {\begin{array}{*{20}{c}}{\frac{{a + b - \sqrt {{{(a - b)}^2} + 4{h^2}} }}{2}}&0\\0&{\frac{{a + b + \sqrt {{{(a - b)}^2} + 4{h^2}} }}{2}}\end{array}} \right]{M^T}$$ (however irrelevant to your question, note that $$M = \left[ {\begin{array}{*{20}{c}}{\frac{{a - b - \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h\sqrt {1 + {{\left( {\frac{{a - b - \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h}}} \right)}^2}} }}}&{\frac{{a - b + \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h\sqrt {1 + {{\left( {\frac{{a - b + \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h}}} \right)}^2}} }}}\\{\frac{1}{{\sqrt {1 + {{\left( {\frac{{a - b - \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h}}} \right)}^2}} }}}&{\frac{1}{{\sqrt {1 + {{\left( {\frac{{a - b + \sqrt {{{(a - b)}^2} + 4{h^2}} }}{{2h}}} \right)}^2}} }}}\end{array}} \right]$$)Now, by introducing the new variables $${M^T}\left[ {\begin{array}{*{20}{c}}x\\y\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{x'}\\{y'}\end{array}} \right]$$we have $$P(x',y') = \left[ {\begin{array}{*{20}{c}}{x'}&y\end{array}'} \right]\left[ {\begin{array}{*{20}{c}}{\frac{{a + b - \sqrt {{{(a - b)}^2} + 4{h^2}} }}{2}}&0\\0&{\frac{{a + b + \sqrt {{{(a - b)}^2} + 4{h^2}} }}{2}}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}{x'}\\{y'}\end{array}} \right]$$ Clearly for the polynomial to be of determined sign, both values on the diagonal should have the same sign. Now you should be able to figure out the conditions. Good luck ;)

0
On

You know that $P(x,y)$ and $a$ have the same sign, so $b$ has the same sign as $a$ (consider $P(0,1)$, so you know that $ab \geq 0$. Next:

case 1: $xy\leq 0$ $$P(x,y)=ax^2+2hxy+by^2=ax^2+by^2+2\sqrt{ab}xy-2\sqrt{ab}xy+2hxy= \\ =(\sqrt{|a|}x+\sqrt{|b|}y)^2-2\sqrt{ab}xy+2hxy=(\sqrt{|a|}x+\sqrt{|b|}y)^2+2xy(h-\sqrt{ab})$$

You know that $ab>h^2$, so $h-\sqrt{ab} \leq 0$, so $xy(h-\sqrt{ab}) \geq 0$.

case 2: $xy \geq 0$

$$P(x,y)=ax^2+2hxy+by^2=ax^2+by^2+2\sqrt{ab}xy-2\sqrt{ab}xy+2hxy= \\ =(\sqrt{|a|}x-\sqrt{|b|}y)^2+2\sqrt{ab}xy+2hxy=(\sqrt{|a|}x-\sqrt{|b|}y)^2+2xy(h+\sqrt{ab})$$

You know that $ab>h^2$, so $h+\sqrt{ab} \geq 0$, so $xy(h-\sqrt{ab}) \geq 0$.

0
On

When $a,b,h$ are all positive, $$ ax^2+2hxy+by^2 = h \bigg( \Big(\frac ab\Big)^{1/4}x + \Big(\frac ba\Big)^{1/4}y \bigg)^2 + \Big(1-\frac{h}{\sqrt{ab}}\Big)(ax^2 + by^2). $$ If at least one of $a,b,h$ is negative, change some signs accordingly.

0
On

Following @SeyedMohsen's matrix approach, you can simply check the positive definiteness of the matrix by looking at the principal minors. The first principal minor is $a$ itself. The second one is the determinant of the matrix, $ab-h^2$. Both the principal minors need to be strictly positive for the matrix and hence your expression to be positive definite.