MathCastle
Linear AlgebraHardSymmetric Matrices & Quadratic Forms

Symmetric Matrices & Quadratic Forms · Hard problem

Lagrange's method writes a quadratic form as a sum of squares by completing the square one variable at a time. For q(x,y,z)=x2+2y2+3z2+4xy+2xzq(x,y,z) = x^2+2y^2+3z^2+4xy+2xz, completing the square in xx first and then in yy gives q=(x+2y+z)2+a(y+z)2+bz2q = (x+2y+z)^2 + a(y+z)^2 + bz^2 for some numbers a,ba,b. Find a+ba+b.