【線形代数】7-2-2 行列のn乗|問題集
1.2つの数列\(\{a_n\}\)と\(\{b_n\}\)は次の漸化式を満たしている。
\(a_1=1,\)\(b_1=2,\)\(a_{n+1}=5a_n+2b_n,\)\(b_{n+1}=a_n+4b_n\)\((n=1,2,\cdots)\)
(1)\(A=\begin{pmatrix}5 & 2 \\ 1 & 4\end{pmatrix}\)とおく。自然数\(n\)に対して、\(A^n\)を求めなさい。
\(A\)の固有方程式は
\(F_A(x)=\begin{vmatrix}x-5 & -2 \\ -1 & x-4\end{vmatrix}\)
\(=x^2-9x+18\)
\(=(x-3)(x-6)=0\)
より、\(A\)の固有値は\(\lambda=3,6\)であり、固有値が全て異なるので\(A\)は対角化可能。
・固有空間\(V(3)\)のとき、
\((A-3E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-3E=\begin{pmatrix}2 & 2 \\ 1 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 1 \\ 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2\end{pmatrix}=t\begin{pmatrix}-1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(3)\)の基底として\(\boldsymbol{p}_1=\begin{pmatrix}-1 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(6)\)のとき、
\((A-6E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-6E=\begin{pmatrix}-1 & 2 \\ 1 & -2\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & -2 \\ 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2\end{pmatrix}=t\begin{pmatrix}2 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(6)\)の基底として\(\boldsymbol{p}_2=\begin{pmatrix}2 \\ 1\end{pmatrix}\)がとれる。
ゆえに、
\(P=\begin{pmatrix}\boldsymbol{p}_1 & \boldsymbol{p}_2\end{pmatrix}=\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
\(P^{-1}AP=\begin{pmatrix}3 & 0 \\ 0 & 6\end{pmatrix}\)
ここで、
\((P^{-1}AP)^n=P^{-1}A^nP=\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}\)
\(\displaystyle P^{-1}=\frac{1}{-3}\begin{pmatrix}1 & -2 \\ -1 & -1\end{pmatrix}=\frac{1}{3}\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
よって、
\(A^n=P\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}P^{-1}\)
\(\displaystyle =\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}\frac{1}{3}\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
\(\displaystyle =\frac{1}{3}\begin{pmatrix}2\cdot6^n+3^n & 2\cdot6^n-2\cdot3^n \\ 6^n-3^n & 6^n+2\cdot3^n\end{pmatrix}\)
\(F_A(x)=\begin{vmatrix}x-5 & -2 \\ -1 & x-4\end{vmatrix}\)
\(=x^2-9x+18\)
\(=(x-3)(x-6)=0\)
より、\(A\)の固有値は\(\lambda=3,6\)であり、固有値が全て異なるので\(A\)は対角化可能。
・固有空間\(V(3)\)のとき、
\((A-3E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-3E=\begin{pmatrix}2 & 2 \\ 1 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 1 \\ 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2\end{pmatrix}=t\begin{pmatrix}-1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(3)\)の基底として\(\boldsymbol{p}_1=\begin{pmatrix}-1 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(6)\)のとき、
\((A-6E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-6E=\begin{pmatrix}-1 & 2 \\ 1 & -2\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & -2 \\ 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2\end{pmatrix}=t\begin{pmatrix}2 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(6)\)の基底として\(\boldsymbol{p}_2=\begin{pmatrix}2 \\ 1\end{pmatrix}\)がとれる。
ゆえに、
\(P=\begin{pmatrix}\boldsymbol{p}_1 & \boldsymbol{p}_2\end{pmatrix}=\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
\(P^{-1}AP=\begin{pmatrix}3 & 0 \\ 0 & 6\end{pmatrix}\)
ここで、
\((P^{-1}AP)^n=P^{-1}A^nP=\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}\)
\(\displaystyle P^{-1}=\frac{1}{-3}\begin{pmatrix}1 & -2 \\ -1 & -1\end{pmatrix}=\frac{1}{3}\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
よって、
\(A^n=P\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}P^{-1}\)
\(\displaystyle =\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\begin{pmatrix}3^n & 0 \\ 0 & 6^n\end{pmatrix}\frac{1}{3}\begin{pmatrix}-1 & 2 \\ 1 & 1\end{pmatrix}\)
\(\displaystyle =\frac{1}{3}\begin{pmatrix}2\cdot6^n+3^n & 2\cdot6^n-2\cdot3^n \\ 6^n-3^n & 6^n+2\cdot3^n\end{pmatrix}\)
(2)一般項\(a_n\)と\(b_n\)を求めなさい。
漸化式は
\(\begin{pmatrix}a_{n+1} \\ b_{n+1}\end{pmatrix}=\begin{pmatrix}5 & 2 \\ 1 & 4\end{pmatrix}\begin{pmatrix}a_n \\ b_n\end{pmatrix}=A\begin{pmatrix}a_n \\ b_n\end{pmatrix}\)
と表されるので、
\(\begin{pmatrix}a_n \\ b_n\end{pmatrix}=A^{n-1}\begin{pmatrix}a_1 \\ b_1\end{pmatrix}\)
\(\displaystyle =\frac{1}{3}\begin{pmatrix}2\cdot6^n+3^n & 2\cdot6^n-2\cdot3^n \\ 6^n-3^n & 6^n+2\cdot3^n\end{pmatrix}\begin{pmatrix}1 \\ 2\end{pmatrix}\)
\(=\begin{pmatrix}2\cdot6^{n-1}-3^{n-1} \\ 6^{n-1}+3^{n-1}\end{pmatrix}\)
よって、
\(a_n=2\cdot6^{n-1}-3^{n-1}\)
\(b_n=6^{n-1}+3^{n-1}\)
\(\begin{pmatrix}a_{n+1} \\ b_{n+1}\end{pmatrix}=\begin{pmatrix}5 & 2 \\ 1 & 4\end{pmatrix}\begin{pmatrix}a_n \\ b_n\end{pmatrix}=A\begin{pmatrix}a_n \\ b_n\end{pmatrix}\)
と表されるので、
\(\begin{pmatrix}a_n \\ b_n\end{pmatrix}=A^{n-1}\begin{pmatrix}a_1 \\ b_1\end{pmatrix}\)
\(\displaystyle =\frac{1}{3}\begin{pmatrix}2\cdot6^n+3^n & 2\cdot6^n-2\cdot3^n \\ 6^n-3^n & 6^n+2\cdot3^n\end{pmatrix}\begin{pmatrix}1 \\ 2\end{pmatrix}\)
\(=\begin{pmatrix}2\cdot6^{n-1}-3^{n-1} \\ 6^{n-1}+3^{n-1}\end{pmatrix}\)
よって、
\(a_n=2\cdot6^{n-1}-3^{n-1}\)
\(b_n=6^{n-1}+3^{n-1}\)
2.自然数\(n\)に対して、次の行列の\(A^n\)を求めなさい。
\(A=\begin{pmatrix}-2 & -5 & -1 \\ 2 & 4 & 0 \\ -2 & -3 & 1\end{pmatrix}\)
\(A\)の固有方程式は
\(F_A(x)=\begin{vmatrix}x+2 & 5 & 1 \\ -2 & x-4 & 0 \\ 2 & 3 & x-1\end{vmatrix}\)
\(=x^3-3x^2+2x\)
\(=x(x-1)(x-2)=0\)
より、\(A\)の固有値は\(\lambda=0,1,2\)であり、固有値が全て異なるので\(A\)は対角化可能。
・固有空間\(V(0)\)のとき、
\(A\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A=\begin{pmatrix}-2 & -5 & -1 \\ 2 & 4 & 0 \\ -2 & -3 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -1 & -1 \\ 2 & 4 & 0 \\ 0 & 1 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -2 \\ 0 & 1 & 1 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}2 \\ -1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(0)\)の基底として\(\boldsymbol{p}_1=\begin{pmatrix}2 \\ -1 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(1)\)のとき、
\((A-E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-E=\begin{pmatrix}-3 & -5 & -1 \\ 2 & 3 & 0 \\ -2 & -3 & 0\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -\frac{1}{2} & -1 \\ 2 & 3 & 0 \\ 0 & 0 & 0\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -3 \\ 0 & 1 & 2 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}3 \\ -2 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(1)\)の基底として\(\boldsymbol{p}_2=\begin{pmatrix}3 \\ -2 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(2)\)のとき、
\((A-2E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-2E=\begin{pmatrix}-4 & -5 & -1 \\ 2 & 2 & 0 \\ -2 & -3 & -1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -1 & -1 \\ 2 & 2 & 0 \\ 0 & -1 & -1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -1 \\ 0 & 1 & 1 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(2)\)の基底として\(\boldsymbol{p}_3=\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix}\)がとれる。
ゆえに、
\(P=\begin{pmatrix}\boldsymbol{p}_1 & \boldsymbol{p}_2 & \boldsymbol{p}_3\end{pmatrix}=\begin{pmatrix}2 & 3 & 1 \\ -1 & -2 & -1 \\ 1 & 1 & 1\end{pmatrix}\)
\(P^{-1}AP=\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2\end{pmatrix}\)
ここで、
\((P^{-1}AP)^n=P^{-1}A^nP=\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}\)
\((P|E_3)=\left(\begin{array}{ccc|ccc}2 & 3 & 1 & 1 & 0 & 0 \\ -1 & -2 & -1 & 0 & 1 & 0 \\ 1 & 1 & 1 & 0 & 0 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 1 & -1 & 1 & 0 & -2 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 1 & 1 & 0 & 0 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & -1 & 1 & 1 & -1 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 0 & 1 & 0 & 1 & 2\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & -1 & 1 & 1 & -1 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 0 & 0 & 1 & 2 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & 1 & -1 & -1 & 1 \\ 0 & 1 & 0 & 0 & -1 & -1 \\ 1 & 0 & 0 & 1 & 2 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}1 & 0 & 0 & 1 & 2 & 1 \\ 0 & 1 & 0 & 0 & -1 & -1 \\ 0 & 0 & 1 & -1 & -1 & 1\end{array}\right)\)
\(P^{-1}=\begin{pmatrix}1 & 2 & 1 \\ 0 & -1 & -1 \\ -1 & -1 & 1\end{pmatrix}\)
よって、
\(A^n=P\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}P^{-1}\)
\(=\begin{pmatrix}2 & 3 & 1 \\ -1 & -2 & -1 \\ 1 & 1 & 1\end{pmatrix}\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}\begin{pmatrix}1 & 2 & 1 \\ 0 & -1 & -1 \\ -1 & -1 & 1\end{pmatrix}\)
\(=\begin{pmatrix}-2^n & -2^n-3 & 2^n-3 \\ 2^n & 2^n+2 & -2^n+2 \\ -2^n & -2^n-1 & 2^n-1 \\\end{pmatrix}\)
\(F_A(x)=\begin{vmatrix}x+2 & 5 & 1 \\ -2 & x-4 & 0 \\ 2 & 3 & x-1\end{vmatrix}\)
\(=x^3-3x^2+2x\)
\(=x(x-1)(x-2)=0\)
より、\(A\)の固有値は\(\lambda=0,1,2\)であり、固有値が全て異なるので\(A\)は対角化可能。
・固有空間\(V(0)\)のとき、
\(A\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A=\begin{pmatrix}-2 & -5 & -1 \\ 2 & 4 & 0 \\ -2 & -3 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -1 & -1 \\ 2 & 4 & 0 \\ 0 & 1 & 1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -2 \\ 0 & 1 & 1 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}2 \\ -1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(0)\)の基底として\(\boldsymbol{p}_1=\begin{pmatrix}2 \\ -1 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(1)\)のとき、
\((A-E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-E=\begin{pmatrix}-3 & -5 & -1 \\ 2 & 3 & 0 \\ -2 & -3 & 0\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -\frac{1}{2} & -1 \\ 2 & 3 & 0 \\ 0 & 0 & 0\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -3 \\ 0 & 1 & 2 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}3 \\ -2 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(1)\)の基底として\(\boldsymbol{p}_2=\begin{pmatrix}3 \\ -2 \\ 1\end{pmatrix}\)がとれる。
・固有空間\(V(2)\)のとき、
\((A-2E)\mathbf{x}=\mathbf{0}\)の解空間であるから
\(A-2E=\begin{pmatrix}-4 & -5 & -1 \\ 2 & 2 & 0 \\ -2 & -3 & -1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}0 & -1 & -1 \\ 2 & 2 & 0 \\ 0 & -1 & -1\end{pmatrix}\)
\(\mapsto\begin{pmatrix}1 & 0 & -1 \\ 0 & 1 & 1 \\ 0 & 0 & 0\end{pmatrix}\)
解は\(\begin{pmatrix}x_1 \\ x_2 \\ x_3\end{pmatrix}=t\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix}\ \ (t\in\mathbb{R})\)
すなわち、\(V(2)\)の基底として\(\boldsymbol{p}_3=\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix}\)がとれる。
ゆえに、
\(P=\begin{pmatrix}\boldsymbol{p}_1 & \boldsymbol{p}_2 & \boldsymbol{p}_3\end{pmatrix}=\begin{pmatrix}2 & 3 & 1 \\ -1 & -2 & -1 \\ 1 & 1 & 1\end{pmatrix}\)
\(P^{-1}AP=\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2\end{pmatrix}\)
ここで、
\((P^{-1}AP)^n=P^{-1}A^nP=\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}\)
\((P|E_3)=\left(\begin{array}{ccc|ccc}2 & 3 & 1 & 1 & 0 & 0 \\ -1 & -2 & -1 & 0 & 1 & 0 \\ 1 & 1 & 1 & 0 & 0 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 1 & -1 & 1 & 0 & -2 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 1 & 1 & 0 & 0 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & -1 & 1 & 1 & -1 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 0 & 1 & 0 & 1 & 2\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & -1 & 1 & 1 & -1 \\ 0 & -1 & 0 & 0 & 1 & 1 \\ 1 & 0 & 0 & 1 & 2 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}0 & 0 & 1 & -1 & -1 & 1 \\ 0 & 1 & 0 & 0 & -1 & -1 \\ 1 & 0 & 0 & 1 & 2 & 1\end{array}\right)\)
\(\mapsto\left(\begin{array}{ccc|ccc}1 & 0 & 0 & 1 & 2 & 1 \\ 0 & 1 & 0 & 0 & -1 & -1 \\ 0 & 0 & 1 & -1 & -1 & 1\end{array}\right)\)
\(P^{-1}=\begin{pmatrix}1 & 2 & 1 \\ 0 & -1 & -1 \\ -1 & -1 & 1\end{pmatrix}\)
よって、
\(A^n=P\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}P^{-1}\)
\(=\begin{pmatrix}2 & 3 & 1 \\ -1 & -2 & -1 \\ 1 & 1 & 1\end{pmatrix}\begin{pmatrix}0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 2^n\end{pmatrix}\begin{pmatrix}1 & 2 & 1 \\ 0 & -1 & -1 \\ -1 & -1 & 1\end{pmatrix}\)
\(=\begin{pmatrix}-2^n & -2^n-3 & 2^n-3 \\ 2^n & 2^n+2 & -2^n+2 \\ -2^n & -2^n-1 & 2^n-1 \\\end{pmatrix}\)
次の学習に進もう!