Given quadratic form is:
$$2x_1^2+8x_2^2+x_3^2+2\lambda x_1x_2-2x_1x_3+2x_2x_3$$
$\textbf{What I was thinking about}:$
1.) As far as I can understand we have to use Sylvester's criterion to determine its sign.
2.) To check its sign we have to write down the matrix of сoefficients taken from the quadric form
3.) Check if leading principles minors are positive or negative, it shows us the sign of the quadratic form.
$\textbf{Questions:}$
What should be in matrix of coefficients? (I mean I do not know what to write as a row and what as a column)?
How do I find the values of $\lambda$ if I know that quadratic form is defined positively?
The matrix is$$\begin{pmatrix}2&\lambda&-1\\\lambda&8&1\\-1&1&1\end{pmatrix}.$$By Sylvester's criterion, the quadratic form is positive definite if and anly if$$2>0\text{, }\det\begin{pmatrix}2&\lambda\\\lambda&8\end{pmatrix}>0\text{, and}\det\begin{pmatrix}2&\lambda&-1\\\lambda&8&1\\-1&1&1\end{pmatrix}>0.$$The first condition is automatic, the second one is equivalent to $16-\lambda^2>0$ and the third one is equivalent to $6-2\lambda-\lambda^2>0$. These conditions hold if and only if $-1-\sqrt7<\lambda<-1+\sqrt7$.