平面ベクトル $\mathbf{x} = \begin{pmatrix} x \\ y \end{pmatrix}$ に対して、ベクトル $\mathbf{a} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$ との内積を対応させる写像が線形写像であることを示し、その写像を表す行列を求める。

代数学線形代数ベクトル線形写像内積外積回転
2025/5/23
## 問題1

1. 問題の内容

平面ベクトル x=(xy)\mathbf{x} = \begin{pmatrix} x \\ y \end{pmatrix} に対して、ベクトル a=(34)\mathbf{a} = \begin{pmatrix} 3 \\ 4 \end{pmatrix} との内積を対応させる写像が線形写像であることを示し、その写像を表す行列を求める。

2. 解き方の手順

内積写像 f(x)=axf(\mathbf{x}) = \mathbf{a} \cdot \mathbf{x} は線形写像である。なぜなら、任意のベクトル x,y\mathbf{x}, \mathbf{y} とスカラー cc に対して、
f(x+y)=a(x+y)=ax+ay=f(x)+f(y)f(\mathbf{x} + \mathbf{y}) = \mathbf{a} \cdot (\mathbf{x} + \mathbf{y}) = \mathbf{a} \cdot \mathbf{x} + \mathbf{a} \cdot \mathbf{y} = f(\mathbf{x}) + f(\mathbf{y})
f(cx)=a(cx)=c(ax)=cf(x)f(c\mathbf{x}) = \mathbf{a} \cdot (c\mathbf{x}) = c(\mathbf{a} \cdot \mathbf{x}) = cf(\mathbf{x})
が成り立つからである。
この線形写像を表す行列を AA とすると、
f(x)=ax=(34)(xy)=3x+4y=(34)(xy)=Axf(\mathbf{x}) = \mathbf{a} \cdot \mathbf{x} = \begin{pmatrix} 3 \\ 4 \end{pmatrix} \cdot \begin{pmatrix} x \\ y \end{pmatrix} = 3x + 4y = \begin{pmatrix} 3 & 4 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = A\mathbf{x}
したがって、A=(34)A = \begin{pmatrix} 3 & 4 \end{pmatrix} である。

3. 最終的な答え

求める行列は (34)\begin{pmatrix} 3 & 4 \end{pmatrix} である。
## 問題2

1. 問題の内容

空間ベクトル x=(xyz)\mathbf{x} = \begin{pmatrix} x \\ y \\ z \end{pmatrix} に対して、ベクトル a=(212)\mathbf{a} = \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} との外積 a×x\mathbf{a} \times \mathbf{x} を対応させる写像が線形写像であることを示し、その写像を表す行列を求める。さらに、xa×(a×x)\mathbf{x} \mapsto \mathbf{a} \times (\mathbf{a} \times \mathbf{x}) も線形写像であることを示し、その写像を表す行列を求める。

2. 解き方の手順

外積写像 f(x)=a×xf(\mathbf{x}) = \mathbf{a} \times \mathbf{x} は線形写像である。なぜなら、外積は線形性を持つからである。
f(x+y)=a×(x+y)=a×x+a×y=f(x)+f(y)f(\mathbf{x}+\mathbf{y}) = \mathbf{a}\times (\mathbf{x}+\mathbf{y}) = \mathbf{a}\times \mathbf{x} + \mathbf{a}\times \mathbf{y} = f(\mathbf{x}) + f(\mathbf{y})
f(cx)=a×(cx)=c(a×x)=cf(x)f(c\mathbf{x}) = \mathbf{a}\times (c\mathbf{x}) = c(\mathbf{a}\times \mathbf{x}) = cf(\mathbf{x})
a×x=(212)×(xyz)=(z+2y2x2z2yx)=(0x+2y+z2x+0y2zx+2y+0z)=Ax\mathbf{a} \times \mathbf{x} = \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} \times \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} z+2y \\ -2x-2z \\ 2y-x \end{pmatrix} = \begin{pmatrix} 0x + 2y + z \\ -2x + 0y -2z \\ -x + 2y + 0z \end{pmatrix} = A\mathbf{x}
したがって、A=(021202120)A = \begin{pmatrix} 0 & 2 & 1 \\ -2 & 0 & -2 \\ -1 & 2 & 0 \end{pmatrix} である。
次に、a×(a×x)\mathbf{a} \times (\mathbf{a} \times \mathbf{x}) を求める。
a×(a×x)=a×(z+2y2x2z2yx)=(212)×(z+2y2x2z2yx)=((2yx)(2)(2x2z)(2)(z+2y)2(2yx)2(2x2z)(z+2y))=(5x+2y4z2x8y2z4x2y5z)=(5x+2y4z2x8y2z4x2y5z)=Bx\mathbf{a} \times (\mathbf{a} \times \mathbf{x}) = \mathbf{a} \times \begin{pmatrix} z+2y \\ -2x-2z \\ 2y-x \end{pmatrix} = \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} \times \begin{pmatrix} z+2y \\ -2x-2z \\ 2y-x \end{pmatrix} = \begin{pmatrix} (2y-x) - (-2)( -2x -2z) \\ (-2)(z+2y) - 2(2y-x) \\ 2(-2x-2z) - (z+2y) \end{pmatrix} = \begin{pmatrix} -5x + 2y -4z \\ 2x - 8y -2z \\ -4x -2y -5z \end{pmatrix} = \begin{pmatrix} -5x + 2y - 4z \\ 2x - 8y - 2z \\ -4x - 2y - 5z \end{pmatrix} = B\mathbf{x}
したがって、B=(524282425)B = \begin{pmatrix} -5 & 2 & -4 \\ 2 & -8 & -2 \\ -4 & -2 & -5 \end{pmatrix} である。

3. 最終的な答え

a×x\mathbf{a} \times \mathbf{x} を表す行列は (021202120)\begin{pmatrix} 0 & 2 & 1 \\ -2 & 0 & -2 \\ -1 & 2 & 0 \end{pmatrix} である。
a×(a×x)\mathbf{a} \times (\mathbf{a} \times \mathbf{x}) を表す行列は (524282425)\begin{pmatrix} -5 & 2 & -4 \\ 2 & -8 & -2 \\ -4 & -2 & -5 \end{pmatrix} である。
## 問題3

1. 問題の内容

空間内に、長さが等しく直交する2つのベクトル a,b\mathbf{a}, \mathbf{b} があるとする。a\mathbf{a}b\mathbf{b} の方に θ\theta 回転したベクトルを a,b,θ\mathbf{a}, \mathbf{b}, \theta で表す。

2. 解き方の手順

a\mathbf{a}b\mathbf{b} の方向に θ\theta 回転したベクトルを a\mathbf{a'} とする。a\mathbf{a}a\mathbf{a'} は同じ長さを持つ。a\mathbf{a'}a\mathbf{a}b\mathbf{b} の線形結合で表せる。
a=αa+βb\mathbf{a'} = \alpha \mathbf{a} + \beta \mathbf{b}
aa=aacosθ=a2cosθ\mathbf{a'} \cdot \mathbf{a} = |\mathbf{a}| |\mathbf{a'}| \cos \theta = |\mathbf{a}|^2 \cos \theta
aa=(αa+βb)a=α(aa)+β(ba)=αa2\mathbf{a'} \cdot \mathbf{a} = (\alpha \mathbf{a} + \beta \mathbf{b}) \cdot \mathbf{a} = \alpha (\mathbf{a} \cdot \mathbf{a}) + \beta (\mathbf{b} \cdot \mathbf{a}) = \alpha |\mathbf{a}|^2
したがって、α=cosθ\alpha = \cos \theta である。
また、ベクトル a,b,a\mathbf{a}, \mathbf{b}, \mathbf{a'} は同一平面上に存在し、 a\mathbf{a}b\mathbf{b} の方向に θ\theta 回転させたものが a\mathbf{a'} なので、 β=sinθ\beta = \sin \theta となる。
a=cosθa+sinθb\mathbf{a'} = \cos\theta \mathbf{a} + \sin\theta \mathbf{b}

3. 最終的な答え

a\mathbf{a}b\mathbf{b} の方に θ\theta 回転したベクトルは cosθa+sinθb\cos\theta \mathbf{a} + \sin\theta \mathbf{b} と表される。
## 問題4

1. 問題の内容

単位ベクトル n=(n1n2n3)\mathbf{n} = \begin{pmatrix} n_1 \\ n_2 \\ n_3 \end{pmatrix} を回転軸とする θ\theta 回転を表す行列を求める。

2. 解き方の手順

ロドリゲスの回転公式を用いる。
v=cos(θ)v+sin(θ)(n×v)+(1cos(θ))(nv)n\mathbf{v'} = \cos(\theta) \mathbf{v} + \sin(\theta) (\mathbf{n} \times \mathbf{v}) + (1-\cos(\theta)) (\mathbf{n} \cdot \mathbf{v})\mathbf{n}
回転行列 RR を求める。
v=Rv\mathbf{v'} = R\mathbf{v}
v=(xyz)\mathbf{v} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}
n×v=(n1n2n3)×(xyz)=(n2zn3yn3xn1zn1yn2x)\mathbf{n} \times \mathbf{v} = \begin{pmatrix} n_1 \\ n_2 \\ n_3 \end{pmatrix} \times \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} n_2 z - n_3 y \\ n_3 x - n_1 z \\ n_1 y - n_2 x \end{pmatrix}
nv=n1x+n2y+n3z\mathbf{n} \cdot \mathbf{v} = n_1 x + n_2 y + n_3 z
v=cos(θ)(xyz)+sin(θ)(n2zn3yn3xn1zn1yn2x)+(1cos(θ))(n1x+n2y+n3z)(n1n2n3)\mathbf{v'} = \cos(\theta) \begin{pmatrix} x \\ y \\ z \end{pmatrix} + \sin(\theta) \begin{pmatrix} n_2 z - n_3 y \\ n_3 x - n_1 z \\ n_1 y - n_2 x \end{pmatrix} + (1-\cos(\theta))(n_1 x + n_2 y + n_3 z)\begin{pmatrix} n_1 \\ n_2 \\ n_3 \end{pmatrix}
(xyz)=(cos(θ)x+sin(θ)(n2zn3y)+(1cos(θ))(n1x+n2y+n3z)n1cos(θ)y+sin(θ)(n3xn1z)+(1cos(θ))(n1x+n2y+n3z)n2cos(θ)z+sin(θ)(n1yn2x)+(1cos(θ))(n1x+n2y+n3z)n3)\begin{pmatrix} x' \\ y' \\ z' \end{pmatrix} = \begin{pmatrix} \cos(\theta) x + \sin(\theta) (n_2 z - n_3 y) + (1-\cos(\theta))(n_1 x + n_2 y + n_3 z)n_1 \\ \cos(\theta) y + \sin(\theta) (n_3 x - n_1 z) + (1-\cos(\theta))(n_1 x + n_2 y + n_3 z)n_2 \\ \cos(\theta) z + \sin(\theta) (n_1 y - n_2 x) + (1-\cos(\theta))(n_1 x + n_2 y + n_3 z)n_3 \end{pmatrix}
R=(cosθ+(1cosθ)n12(1cosθ)n1n2sinθn3(1cosθ)n1n3+sinθn2(1cosθ)n1n2+sinθn3cosθ+(1cosθ)n22(1cosθ)n2n3sinθn1(1cosθ)n1n3sinθn2(1cosθ)n2n3+sinθn1cosθ+(1cosθ)n32)R = \begin{pmatrix} \cos\theta + (1-\cos\theta)n_1^2 & (1-\cos\theta)n_1n_2 - \sin\theta n_3 & (1-\cos\theta)n_1n_3 + \sin\theta n_2 \\ (1-\cos\theta)n_1n_2 + \sin\theta n_3 & \cos\theta + (1-\cos\theta)n_2^2 & (1-\cos\theta)n_2n_3 - \sin\theta n_1 \\ (1-\cos\theta)n_1n_3 - \sin\theta n_2 & (1-\cos\theta)n_2n_3 + \sin\theta n_1 & \cos\theta + (1-\cos\theta)n_3^2 \end{pmatrix}

3. 最終的な答え

回転行列は
R=(cosθ+(1cosθ)n12(1cosθ)n1n2sinθn3(1cosθ)n1n3+sinθn2(1cosθ)n1n2+sinθn3cosθ+(1cosθ)n22(1cosθ)n2n3sinθn1(1cosθ)n1n3sinθn2(1cosθ)n2n3+sinθn1cosθ+(1cosθ)n32)R = \begin{pmatrix} \cos\theta + (1-\cos\theta)n_1^2 & (1-\cos\theta)n_1n_2 - \sin\theta n_3 & (1-\cos\theta)n_1n_3 + \sin\theta n_2 \\ (1-\cos\theta)n_1n_2 + \sin\theta n_3 & \cos\theta + (1-\cos\theta)n_2^2 & (1-\cos\theta)n_2n_3 - \sin\theta n_1 \\ (1-\cos\theta)n_1n_3 - \sin\theta n_2 & (1-\cos\theta)n_2n_3 + \sin\theta n_1 & \cos\theta + (1-\cos\theta)n_3^2 \end{pmatrix}