Hello,(adsbygoogle = window.adsbygoogle || []).push({});

if B is a positive semi definite matrix, how can you complete the square around B from

x'Bx + x'Cy + y'C'x, where C is also a matrix.

The answer is (x+B^-1Cy)'B(x+B^-1Cy) + y'C'B^-1Cy

I have not come across completing the square using matrix notation before - thoughts appreciated.

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matrix form - completing the square

**Physics Forums | Science Articles, Homework Help, Discussion**