GATE EC 2023 · Matrices & General Properties
MCQ · 2 marks · Problem EM-MTYP-0087
Let \(x\) be an \(n \times 1\) real column vector with length \(l=\sqrt{x^{T} x}\). The trace of the matrix \(P=x x^{T}\) is
- A
\(l^{2}\)
- B
\(\frac{l^{2}}{4}\)
- C
\(l\)
- D
\(\frac{l^{2}}{2}\)
Solve it on GATE DA practice →More Matrix Types & Properties problems
Show the worked solution
Given,\(l=\sqrt{x^{T} x}, P=\left(x x^{T}\right)_{n \times n}\)Let\[\begin{aligned}
(x)_{n \times 1} & =\left[\begin{array}{l}
x_{1} \\
x_{2} \\
x_{3} \\
\vdots \\
x_{n}
\end{array}\right] \\
l & =\sqrt{x^{T} x}=\sqrt{x_{1}^{2}+x_{2}^{2}+x_{3}^{2}+\ldots x_{n}^{2}} \\
P & =x x^{T} \\
&=\left[\begin{array}{l}
x_{1} \\
x_{2} \\
x_{3} \\
\cdot \\
x_{n}
\end{array}\right]\left[x_{1} x_{2} x_{3} \ldots x_{n}\right]\\
P&=\left[
\begin{array}{lllll}
x_{1}^{2} & & & & \\
& x_{1}^{2} & & & \\
& & - & & \\
& & & - & \\
& & & & x_{n}^{2}
\end{array}
\right]
\end{aligned}\]Trace of \(P=x_{1}^{2}+x_{2}^{2}+ . . .+ x_{n}^{2}=l^2\)
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com