Show the worked solutionWrite \(Q=\mathbf x^{T}A\mathbf x\) with a symmetric matrix; the cross term \(4x_1x_2\) is split equally between the two off-diagonal entries:\[A=\begin{bmatrix}5&2\\2&2\end{bmatrix}.\]For a real symmetric matrix (Rayleigh quotient),\[\boxed{\max_{\|\mathbf x\|=1}\mathbf x^{T}A\mathbf x=\lambda_{\max}(A)}\]The characteristic equation is \(\lambda^{2}-7\lambda+(10-4)=\lambda^{2}-7\lambda+6=0\), so \(\lambda=6\) or \(1\).The maximum is \(6\), attained at the unit eigenvector \(\tfrac{1}{\sqrt5}(2,1)\): \(Q=\tfrac15(20+8+2)=6\). (The minimum is \(1\). Putting \(4\) instead of \(2\) off the diagonal is a common slip.)Answer: 6
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com