Quadratic form

A quadratic form over a field K is a map q:VK from a finite-dimensional vector space V over K such that

q(av)=a2q(v),aK,vV

and the function

bq(u,v):=12(q(u+v)q(u)q(v))

is bilinear. It takes the form of a degree 2 homogeneous polynomial in n variables with coefficients in K.

Fixed a basis of V, there exists a n×n matrix A such that

q(x)=xTAx

The bilinear map bq defined above is called the associated bilinear form. It is satisfied that

q(u,v)=vTAu

and

q(x)=bq(x,x).