— Assume that E is finite-dimensional. There exist a basis (e1,…,en) of E and an integer m with 0≤m≤n such that
H(i=1∑ntiei)=i=1∑mti2
for t1,…,tn real. If, moreover, the relation H(x)=0 implies Q(x)=0 for x∈E, then Tr(Q/H)=∑i=1mQ(ei).
There exists a basis (e1′,…,en′) of E orthogonal for H. One can assume the basis to be indexed in such a way that H(ei′)>0 for 1≤i≤m and H(ei′)=0 for m<i≤n. Then set ei=ei′/H(ei′)1/2 for 1≤i≤m and ei=ei′ for m<i≤n; the relation (1) is satisfied.
Let F be the subspace of E generated by em+1′,…,en′; it is the set of x∈E such that H(x)=0. Denote by π the canonical mapping of E onto E1=E/F. Since Q and H are zero on F, there exist two positive quadratic forms Q1 and H1 on E1 such that Q=Q1∘π and H=H1∘π. Moreover, (π(e1),…,π(em)) is a basis of E1 orthonormal for H1, and therefore H1 is nondegenerate.
By Prop. 1 and Remark 2,
Tr(Q/H)=Tr(Q1/H1)=i=1∑mQ1(π(ei))=i=1∑mQ(ei).
Q.E.D.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.
Nothing.