Processing math: 60%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 1 year ago

Cyrille gravatar image

Is there a way to find the symbolic matrix associated to an expended quadratic form?

Suppose I have a complex quadratic form

Q(px,py)=p2yy2α22pxpyxyαβ+p2xx2β2p2yy2αp2xx2β

Of course all parameters has been declared as variables, that is

var('p_x p_y x y \alpha \beta')

(I use unicode α and β)

Is there a way to find the matrix \boldsymbol{A} such that

Q(\boldsymbol{p})= \boldsymbol{p}^\top \boldsymbol{A}\boldsymbol{p} ?