Lemma 5.6. q:A is a quadratic form if and only if it satisfies the parallelogram law:

q(x+y)+q(xy)=2q(x)=2q(y)x,yA.