Let\[ A=\begin{bmatrix} 2 & 1\\ 1 & 2 \end{bmatrix}\quad\text{and}\quad \mathbf{x}=\begin{bmatrix} 3\\ 1 \end{bmatrix}. \]If \(A^{6}\mathbf{x}=\begin{bmatrix} p\\ q \end{bmatrix}\), then the value of \(p\) is .
Show the worked solutionThe eigenpairs of \(A\) are \(\lambda_1=3,\ \mathbf{v}_1=(1,1)^{T}\) and \(\lambda_2=1,\ \mathbf{v}_2=(1,-1)^{T}\).Write \(\mathbf{x}=c_1\mathbf{v}_1+c_2\mathbf{v}_2\): \(c_1+c_2=3\) and \(c_1-c_2=1\), so \(c_1=2\) and \(c_2=1\).\[\boxed{A^{k}\mathbf{x}=c_1\lambda_1^{k}\mathbf{v}_1+c_2\lambda_2^{k}\mathbf{v}_2}\]\[A^{6}\mathbf{x}=2\cdot3^{6}\begin{bmatrix}1\\1\end{bmatrix}+1\cdot1^{6}\begin{bmatrix}1\\-1\end{bmatrix}=\begin{bmatrix}1458+1\\1458-1\end{bmatrix}=\begin{bmatrix}1459\\1457\end{bmatrix}.\]So \(p=1459\) (and \(q=1457\)).Answer: 1459
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com