Matrix form - completing the square

  • Context: Graduate 
  • Thread starter Thread starter EmmaSaunders1
  • Start date Start date
  • Tags Tags
    Form Matrix Square
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 6K views
EmmaSaunders1
Messages
45
Reaction score
0
Hello,

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 news on Phys.org
Hello Emma! :smile:

(try using the X2 icon just above the Reply box :wink:)

I don't think I'd call that "completing the square", since it's the sum of two squares.

But you can easily check it (there seems to be an error :redface:) using (B-1Cy)' = y'C'B-1' :wink: