| この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方) 出典検索?: "回転行列" – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2011年12月) |
線型代数において、回転行列(かいてんぎょうれつ、英: rotation matrix)とは、ユークリッド空間内における原点中心の回転変換の表現行列のことである。
2次元や3次元の回転は、幾何学、物理学、コンピュータグラフィックスの分野での計算に非常によく使われている。大半の応用で扱うのはこのふたつの場合だが、一般の次元でも回転行列を定義することができる。
n 次元空間における回転行列は、実数を成分とする正方行列であって、行列式が 1 の n 次直交行列として特徴づけられる:
![{\displaystyle {}^{t}\!R=R^{-1},\;\det R=1.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0768121dfcee26b8607ef60cb4e48ebda568079d)
n 次元の回転行列の全体は特殊直交群(あるいは回転群)と呼ばれる群をなす。
2次元の回転行列[編集]
2次元ユークリッド空間では、原点中心の θ 回転(反時計回りを正とする)の回転行列は、以下の形で表すことができる。
![{\displaystyle R(\theta )={\begin{bmatrix}\cos \theta &-\sin \theta \\\sin \theta &\cos \theta \\\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0166e674df67cf24314537211848adec91813945)
なぜならば、原点中心に θ 回転して点 (x, y) が (x ', y ') に写るとすると、図形的考察または三角関数の加法定理より、x ', y ' は以下のように表されることが分かる。
![{\displaystyle x'=x\cos \theta -y\sin \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/ea2a2afb8c2c5d404999fe1d9be93838cba5dc4c)
![{\displaystyle y'=x\sin \theta +y\cos \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/76867df645419a8c64b041271ed4b4cfb968cd09)
このことを行列の積で表すと、
![{\displaystyle {\begin{bmatrix}x'\\y'\end{bmatrix}}={\begin{bmatrix}\cos \theta &-\sin \theta \\\sin \theta &\cos \theta \\\end{bmatrix}}{\begin{bmatrix}x\\y\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4718e2ba8eda39344814ae8aeb0f645b79975f85)
となるからである。
逆の回転は、回転角が −θ になるだけなので、
![{\displaystyle R(-\theta )={\begin{bmatrix}\cos(-\theta )&-\sin(-\theta )\\\sin(-\theta )&\cos(-\theta )\\\end{bmatrix}}={\begin{bmatrix}\cos \theta &\sin \theta \\-\sin \theta &\cos \theta \\\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d0abbfb252d288ac9b86e31f7a90c1146fd6b46b)
となる。
また回転行列には行列の指数関数を用いた表示
![{\displaystyle R(\theta )=\exp \left(\theta {\begin{bmatrix}0&-1\\1&0\end{bmatrix}}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0325e64bac026d424b56ada0f984167990ce0b7a)
もある。
3次元の回転行列[編集]
各軸周りの回転[編集]
3次元空間でのx軸、y軸、z軸周りの回転を表す回転行列は、それぞれ次の通りである:
![{\displaystyle R_{x}(\theta )={\begin{bmatrix}1&0&0\\0&\cos \theta &-\sin \theta \\0&\sin \theta &\cos \theta \\\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b2ac0ffc248c06b980f77fb9bc38518b9b621394)
![{\displaystyle R_{y}(\theta )={\begin{bmatrix}\cos \theta &0&\sin \theta \\0&1&0\\-\sin \theta &0&\cos \theta \\\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/769f03a9eea685228b3b7b86c0d075924da7351a)
![{\displaystyle R_{z}(\theta )={\begin{bmatrix}\cos \theta &-\sin \theta &0\\\sin \theta &\cos \theta &0\\0&0&1\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d38d8c8c4e068ef8a0a397ae4a0f385d63246811)
ここで回転の方向は、
はy軸をz軸に向ける方向、
はz軸をx軸に向ける方向、
はx軸をy軸に向ける方向である。
オイラー角[編集]
一般の回転行列も、これら3つの各軸周りの回転行列
の積によって得ることができる[1]。 例えば、次の積
![{\displaystyle R_{z}(\gamma )R_{x}(\beta )R_{y}(\alpha )}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c0283bca443e66b257b987f0eb71145747d7df3e)
は、yxz系で表したときのオイラー角が α, β, γ であるような回転を表す。
任意の軸周りの回転[編集]
任意の回転行列は、ある軸
まわりの角度
の回転という形に表示できる(オイラーの定理 (剛体) (英語版))[2]。このような回転行列はロドリゲスの回転公式により
![{\displaystyle R_{\mathbf {n} }(\theta )={\begin{bmatrix}\cos \theta +n_{x}^{2}\left(1-\cos \theta \right)&n_{x}n_{y}\left(1-\cos \theta \right)-n_{z}\sin \theta &n_{z}n_{x}\left(1-\cos \theta \right)+n_{y}\sin \theta \\n_{x}n_{y}\left(1-\cos \theta \right)+n_{z}\sin \theta &\cos \theta +n_{y}^{2}\left(1-\cos \theta \right)&n_{y}n_{z}\left(1-\cos \theta \right)-n_{x}\sin \theta \\n_{z}n_{x}\left(1-\cos \theta \right)-n_{y}\sin \theta &n_{y}n_{z}\left(1-\cos \theta \right)+n_{x}\sin \theta &\cos \theta +n_{z}^{2}\left(1-\cos \theta \right)\\\end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ac296c372a5533930994305475685548706f2ccd)
と表示できる[3]。また、任意のベクトル
へのその作用は
![{\displaystyle R_{\mathbf {n} }(\theta )\mathbf {r} =\mathbf {r} \cos \theta +\mathbf {n} (\mathbf {n} \cdot \mathbf {r} )(1-\cos \theta )+(\mathbf {n} \times \mathbf {r} )\sin \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/9ad5a783a2b109e1351e760218636385fa9a3474)
と書ける[4][注釈 1]。
ケーリー・クラインのパラメータ[編集]
フェリックス・クラインによって考案されたケーリー・クラインのパラメータは、回転行列を4つの複素数
,
,
,
(ただし
,
を満たすものとする)を用いて
![{\displaystyle R(\alpha ,\beta ,\gamma ,\delta )={\begin{bmatrix}{\frac {1}{2}}(\alpha ^{2}-\gamma ^{2}+\delta ^{2}-\beta ^{2})&{\frac {i}{2}}(\gamma ^{2}-\alpha ^{2}+\delta ^{2}-\beta ^{2})&\gamma \delta -\alpha \beta \\{\frac {i}{2}}(\alpha ^{2}+\gamma ^{2}-\beta ^{2}-\delta ^{2})&{\frac {1}{2}}(\alpha ^{2}+\gamma ^{2}+\beta ^{2}+\gamma ^{2})&-i(\alpha \beta +\gamma \delta )\\\beta \delta -\alpha \gamma &i(\alpha \gamma +\beta \delta )&\alpha \delta +\beta \gamma \end{bmatrix}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4496ce4dd968df8a151960190a6a6ee839b1d245)
と表示するものである[5]。
- ^ ここでは角度
は右手の法則に従って選んでおり、Goldstein, Poole & Safko とは反対である。
- ^ Goldstein, Poole & Safko, pp. 151-154.
- ^ Goldstein, Poole & Safko, p. 156.
- ^ “Rodrigues' Rotation Formula”. Wolfram MathWorld. 2020年12月8日閲覧。
- ^ Goldstein, Poole & Safko, p. 162.
- ^ Goldstein, Poole & Safko, pp. 154-155.
参考文献[編集]
- Goldstein, Herbert; Poole, Charles; Safko, John (2001). Classical Mechanics (third ed.). Pearson. ISBN 978-0201657029
関連項目[編集]
外部リンク[編集]