次の2次形式について考える。[ Consider the following quadratic form. ]
f(x,y,z)=3x2+3y2+3z2+2xy+2yz+2zx
以下の問に答えよ. [Solve the following problems. ]
(a) ベクトル x=(x,y,z)T と対称行列 A を用いて、2次形式 f(x,y,z)=xTAx と表すとき、 A を求めよ. ここで上付添字 T は転置を表す. [ Find a symmetric matrix A when the quadratic form is described as f(x,y,z)=xTAx using a vector x=(x,y,z)T and the symmetric matrix A . The superscript T denotes transposition. ]
(b) 前問 (a) で求めた対称行列 A の固有値と固有ベクトルを求めよ. [ Find the eigenvalues and eigenvectors of the symmetric matrix A obtained in the problem (a). ]
(c) 直交行列を用いて,前問 (a)で求めた対称行列 A を対角化せよ. [Diagonalize the symmetric matrix A obtained in the problem (a) using an orthogonal matrix. ]
(d) 変数 x,y,z が x2+y2+z2=1 を満たすとき、2次形式 f(x,y,z) の最大値と最小値を求めよ. [ Find the maximum and minimum of the quadratic form f(x,y,z) , if the variables x,y , and z satisfy x2+y2+z2=1 . ]
(e) 前問 (d) で求めた f(x,y,z) の最大値および最小値を与える x,y,z の値を一組ずつ求めよ. [ Find the values of x,y , and z for the maximum and minimum of f(x,y,z) obtained in the problem (d), respectively. ]
The eigenvectors are of the form v=xy−x−y=x10−1+y01−1 .
Let v1=10−1 and v2=01−1 . These are linearly independent, but not orthogonal.
We use Gram-Schmidt to orthogonalize them:
u1=v1=10−1u2=v2−u1⋅u1v2⋅u1u1=01−1−2110−1=−1/21−1/2 . We can take u2=−12−1 .
So the eigenvectors corresponding to λ=2 are u1=10−1 and u2=−12−1 .
For λ=5 :
(A−5I)v=0⇒−2111−2111−2xyz=000
From the first equation, −2x+y+z=0 . From the second equation, x−2y+z=0 . Subtracting the two equations gives −3x+3y=0⇒x=y . Substituting x=y into the first equation: −2x+x+z=0⇒z=x . So the eigenvector is of the form v=xxx . We can take v3=111 .
We normalize the eigenvectors obtained in (b):
u1=10−1⇒2110−1u2=−12−1⇒61−12−1v3=111⇒31111
The orthogonal matrix P is formed by these normalized eigenvectors:
Since f(x,y,z)=xTAx and we have diagonalized A as PTAP=D , let x=Py , where y=x′y′z′ .
Then f(x,y,z)=yTDy=2x′2+2y′2+5z′2 . Also, x2+y2+z2=1⇒(Py)T(Py)=1⇒yTPTPy=1⇒yTy=1⇒x′2+y′2+z′2=1 .
We want to find the maximum and minimum of 2x′2+2y′2+5z′2 subject to x′2+y′2+z′2=1 .
Since x′2+y′2=1−z′2 , f(x,y,z)=2(1−z′2)+5z′2=2+3z′2 .
Since 0≤z′2≤1 , the minimum value of f(x,y,z) is 2 (when z′=0 ) and the maximum value is 2+3=5 (when z′=±1 ).
From (d), the maximum value of f(x,y,z) is 5 when z′=±1 and x′=y′=0 . Then x=P001=313131 . Or x=−31−31−31 .
The minimum value of f(x,y,z) is 2 when z′=0 and x′2+y′2=1 . In this case, x=Px′y′0=2x′−6y′62y′−2x′−6y′ . For example, when x′=1,y′=0 , x=210−21 . When x′=0,y′=1 , x=−6162−61 .