GATE EC 2025 · Matrices & General Properties

NAT · 2 marks · Problem EM-MTYP-0086

Consider the vectors\[\mathbf{a}=\left[\begin{array}{l}1 \\ 1\end{array}\right], \mathbf{b}=\left[\begin{array}{c}0 \\ 3 \sqrt{2}\end{array}\right]\]For real-valued scalar variable x , the value of \(\min _{x}\|a x-b\|_{2}\)is (rounded off to two decimal places).\(\|\cdot\|_{2}\) denotes the Euclidean norm, i.e., if for \[\mathbf{y}=\left[\begin{array}{l}\mathrm{y}_{1} \\ \mathrm{y}_{2}\end{array}\right],\|\mathbf{y}\|_{2}=\sqrt{\mathrm{y}_{1}^{2}+\mathrm{y}_{2}^{2}}\].

Numerical answer (NAT).

Solve it on GATE DA practice →More Matrix Types & Properties problems

Show the worked solutionWe are given: \(\mathbf{a} = \begin{bmatrix} 1 \ 1 \end{bmatrix}, \quad \mathbf{b} = \begin{bmatrix} 0 \ 3\sqrt{2} \end{bmatrix}\) We need to minimize: \(| ax - b |_2 = \left| \begin{bmatrix} x \ x \end{bmatrix} - \begin{bmatrix} 0 \ 3\sqrt{2} \end{bmatrix} \right|_2 = \left| \begin{bmatrix} x \ x - 3\sqrt{2} \end{bmatrix} \right|_2\) Now compute the square of the norm: \(| ax - b |_2^2 = x^2 + (x - 3\sqrt{2})^2\) Expand: \(| ax - b |_2^2 = x^2 + (x^2 - 6\sqrt{2}x + 18) = 2x^2 - 6\sqrt{2}x + 18\) Minimize this quadratic in \(x\). The minimum occurs at: \(x = \frac{6\sqrt{2}}{2 \cdot 2} = \frac{3\sqrt{2}}{2}\) Now compute the minimum value: \(| ax - b |_2 = \left| \begin{bmatrix} x \ x - 3\sqrt{2} \end{bmatrix} \right|_2 = \sqrt{x^2 + (x - 3\sqrt{2})^2}\) Substitute \(x = \dfrac{3\sqrt{2}}{2}\) into the expression: First term: \(x^2 = \left( \dfrac{3\sqrt{2}}{2} \right)^2 = \dfrac{9 \cdot 2}{4} = \dfrac{18}{4} = 4.5\) Second term: \(x - 3\sqrt{2} = \dfrac{3\sqrt{2}}{2} - 3\sqrt{2} = -\dfrac{3\sqrt{2}}{2}\) So, \((x - 3\sqrt{2})^2 = \left( -\dfrac{3\sqrt{2}}{2} \right)^2 = 4.5\) Therefore, the minimum norm is: \(\sqrt{4.5 + 4.5} = \sqrt{9} = 3\)

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com