The GATE Grind

GATE 2023 EC – Question 11

Engineering Mathematics · Linear Algebra · 1 mark · Multiple choice

Let $\boldsymbol v_1=\begin{bmatrix}1\\2\\0\end{bmatrix}$ and $\boldsymbol v_2=\begin{bmatrix}2\\1\\3\end{bmatrix}$ be two vectors. The value of the coefficient $\alpha$ in the expression $\boldsymbol v_1=\alpha\boldsymbol v_2+\boldsymbol e$, which minimizes the length of the error vector $\boldsymbol e$, is

  1. $\dfrac72$
  2. $\dfrac{-2}{7}$
  3. $\dfrac27$
  4. $\dfrac{-7}{2}$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) $\dfrac27$

Explanation

The best $\alpha$ makes the error $\boldsymbol e=\boldsymbol v_1-\alpha\boldsymbol v_2$ as short as possible, which happens when $\boldsymbol e$ is perpendicular to $\boldsymbol v_2$ (a projection).

$\alpha=\dfrac{\boldsymbol v_1\cdot\boldsymbol v_2}{\boldsymbol v_2\cdot\boldsymbol v_2}$. Here $\boldsymbol v_1\cdot\boldsymbol v_2=1(2)+2(1)+0(3)=4$ and $\boldsymbol v_2\cdot\boldsymbol v_2=4+1+9=14$, so $\alpha=\dfrac4{14}=\dfrac27$.

More Linear Algebra questions

All Linear Algebra questions →