H <- matrix(c(0, 1, 1, 0), ncol=2)
H
[,1] [,2]
[1,] 0 1
[2,] 1 0
eigen(H)
$values
[1] 1 -1
$vectors
[,1] [,2]
[1,] 0.7071068 -0.7071068
[2,] 0.7071068 0.7071068
= α + β
+
)
= α - β
- )
と求められました。
H <- matrix(c(0, 1, 0, 1, 0, 1, 0, 1, 0), ncol=3)
H
[,1] [,2] [,3]
[1,] 0 1 0
[2,] 1 0 1
[3,] 0 1 0
eigen(H)
$values
[1] 1.414214e+00 1.554312e-15 -1.414214e+00
$vectors
[,1] [,2]
[,3]
[1,] 0.5000000 -7.071068e-01 -0.5000000
[2,] 0.7071068 -9.420555e-16 0.7071068
[3,] 0.5000000 7.071068e-01 -0.5000000
= α + 1.414 β + 1.414 + )
= α - )
= α - 1.414β - )
と求められました。
H <- matrix(c(0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0), ncol=4)
H
[,1] [,2] [,3] [,4]
[1,] 0 1 0 0
[2,] 1 0 1 0
[3,] 0 1 0 1
[3,] 0 0 1 0
eigen(H)
$values
[1] 1.618034 0.618034 -0.618034 -1.618034
$vectors
[,1] [,2]
[,3] [,4]
[1,] 0.371748 0.601501 0.601501 0.371748
[2,] 0.601501 0.371748 -0.371748 -0.601501
[3,] 0.601501 -0.371748 -0.371748 0.601501
[4,] 0.371748 -0.601501 0.601501 -0.371748
= α + 1.618β
= α + 0.618β
= α - 0.618β
= α - 1.618β
と求められました。