For $Ax^2+2Bxy+Cy^2+2Dx+2Ey+F=0$, why are $\begin{vmatrix} A &B \\ B &C \end{vmatrix}$ and $\begin{vmatrix} A & B & D\\ B & C & E\\ D & E & F \end{vmatrix}$ invariant under an orthogonal transformation?
I was considering simply convincing myself of its self-evidence by through looking at the mechanics of the possible transformations, but the fact that 2 invariants are expressible in determinant form makes it look as if there's a far more elegant scheme underneath.
What is the 'book proof' of their invariance (if there is an elegant one beyond mechanics), and how is it proved that they (and $A+C$) are the only possible invariants for a second order equation (for orthogonal transformations)?
The answer to the following will probably be implicit in the main answer, but how would this proof be extendable into an $n$-ordered equation?