Matrix form - completing the square

  • Context: Graduate 
  • Thread starter Thread starter EmmaSaunders1
  • Start date Start date
  • Tags Tags
    Form Matrix Square
Click For Summary
SUMMARY

The discussion focuses on completing the square for a quadratic form involving a positive semi-definite matrix B and another matrix C. The expression x'Bx + x'Cy + y'C'x can be transformed into (x+B^-1Cy)'B(x+B^-1Cy) + y'C'B^-1Cy. Participants clarify that this process may not strictly align with traditional "completing the square" terminology, as it involves the sum of two squares. A potential error in the transformation is also noted, emphasizing the importance of verifying matrix operations.

PREREQUISITES
  • Understanding of positive semi-definite matrices
  • Familiarity with quadratic forms in linear algebra
  • Knowledge of matrix inversion and multiplication
  • Experience with matrix notation and operations
NEXT STEPS
  • Study the properties of positive semi-definite matrices
  • Learn about quadratic forms and their applications in optimization
  • Explore matrix inversion techniques and their implications
  • Investigate the relationship between matrix operations and geometric interpretations
USEFUL FOR

Mathematicians, data scientists, and engineers working with linear algebra, particularly those involved in optimization problems and matrix computations.

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:
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K