Representing a class of non-negative polynomial functions on $\Bbb R \times \Bbb R$.

52 Views Asked by At

Proposition: Let

$$\tag 1 f(x,y) = (a_1x+b_1y+c_1)^{2} + (a_2x+b_2y+c_2)^{2} + (a_3x+b_3y+c_3)^{2}$$

Then there exist numbers $\hat a_1,\hat b_1, \hat c_1,\hat a_2,\hat b_2, \hat c_2$ such that

$$\tag 2 f(x,y) = (\hat a_1x+\hat b_1y+\hat c_1)^{2} + (\hat a_2x+\hat b_2y+\hat c_2)^{2} $$


My work

I was trying to prove this after studying

Minimize this real function on $\mathbb{R}^{2}$ without calculus?

I tried to develop some theory but decided to seek help.

In the same spirit as the motivating question, please show me an algebra-precalculus proof.

I've been left with 'egg on my face' before, so the proposition might not even be true. If it isn't, any answers would have to impose further assumptions/constraints.

1

There are 1 best solutions below

6
On BEST ANSWER

Easy example: set up the coefficients so that your positive polynomial is $$ x^2 + y^2 + 1 $$ This is not the sum of two squares, by Sylvester's Law of Inertia

I don't believe that to be possible in general. This would take forever to typeset:

                                          Copyright (C) 2000-2015 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

parisize = 4000000, primelimit = 500000

? p = ( a*x + b*y + c * z )^2 + ( d*x + e*y + f * z )^2 + ( g*x + h*y + i* z )^2
%2 = (a^2 + (d^2 + g^2))*x^2 + ((2*y*b + 2*z*c)*a + ((2*e*d + 2*h*g)*y + (2*z*f*d + 2*z*i*g)))*x + (y^2*b^2 + 2*z*c*y*b + ((e^2 + h^2)*y^2 + (2*z*f*e + 2*z*i*h)*y + (z^2*c^2 + (z^2*f^2 + z^2*i^2))))
? 
? 
? 
? px = deriv( p, x)
%3 = (2*a^2 + (2*d^2 + 2*g^2))*x + ((2*y*b + 2*z*c)*a + ((2*e*d + 2*h*g)*y + (2*z*f*d + 2*z*i*g)))
? 
? pxx = deriv( px, x)
%4 = 2*a^2 + (2*d^2 + 2*g^2)
? pxy = deriv( px, y)
%5 = 2*b*a + (2*e*d + 2*h*g)
? pxz = deriv( px, z)
%6 = 2*c*a + (2*f*d + 2*i*g)
? 
? py = deriv( p, y)
%7 = (2*b*a + (2*e*d + 2*h*g))*x + (2*y*b^2 + 2*z*c*b + ((2*e^2 + 2*h^2)*y + (2*z*f*e + 2*z*i*h)))
? 
? pyy = deriv( py, y)
%8 = 2*b^2 + (2*e^2 + 2*h^2)
? pyz = deriv( py, z)
%9 = 2*c*b + (2*f*e + 2*i*h)
? 
? 
? pz = deriv( p, z)
%10 = (2*c*a + (2*f*d + 2*i*g))*x + (2*c*y*b + ((2*f*e + 2*i*h)*y + (2*z*c^2 + (2*z*f^2 + 2*z*i^2))))
? 

? pzz = deriv( pz, z)
%12 = 2*c^2 + (2*f^2 + 2*i^2)

? hessian_matrix = [ pxx, pxy, pxz; pxy, pyy, pyz; pxz,pyz, pzz]
%13 = 
[2*a^2 + (2*d^2 + 2*g^2) 2*b*a + (2*e*d + 2*h*g) 2*c*a + (2*f*d + 2*i*g)]

[2*b*a + (2*e*d + 2*h*g) 2*b^2 + (2*e^2 + 2*h^2) 2*c*b + (2*f*e + 2*i*h)]

[2*c*a + (2*f*d + 2*i*g) 2*c*b + (2*f*e + 2*i*h) 2*c^2 + (2*f^2 + 2*i^2)]



? disc = matdet( hessian_matrix  )
%16 = (8*i^2*e^2 - 16*i*h*f*e + 8*h^2*f^2)*a^2 + (((-16*i^2*e + 16*i*h*f)*d + (16*i*g*f*e - 16*h*g*f^2))*b + ((16*i*h*e - 16*h^2*f)*d + (-16*i*g*e^2 + 16*h*g*f*e))*c)*a + ((8*i^2*d^2 - 16*i*g*f*d + 8*g^2*f^2)*b^2 + (-16*i*h*d^2 + (16*i*g*e + 16*h*g*f)*d - 16*g^2*f*e)*c*b + (8*h^2*d^2 - 16*h*g*e*d + 8*g^2*e^2)*c^2)
?