Source: http://pgoutet.free.fr/td/mathsL3_formes_quadratiques.pdf