Processing math: 41%

ベクトルの正射影と有向距離

(注)

ベクトルの正射影と有向距離の図その1

0 でない2 つのab に対して,点O を始点として

a=OA,b=OB

となるように点AB をとる.

いま,右図の点B からから直線OA に下ろした垂線の足をH とする.このとき,OHba への正射影(orthogonal projection) ベクトルといいba と表す.正射影ベクトルba は,ab とそのなす角θを用いて次のように表すことができる.

  1. \boldsymbol{0^\circ \leqq \theta \leqq 90^\circ} のとき

    ベクトルの正射影と有向距離の図その2
    \begin{align} _{\vec{b}\rightarrow}\vec{a} &= \dfrac{\text{OH}}{\text{OA}}\overrightarrow{\text{OA}} \\ &= \dfrac{\text{OB}\cos \theta}{\text{OA}}\overrightarrow{\text{OA}}\\ &=\dfrac{\left|\vec{b}\right| \cos \theta}{\left|\vec{a}\right|}\vec{a} \end{align}



  2. ベクトルの正射影と有向距離の図その3
  3. \boldsymbol{90^\circ < \theta \leqq 180^\circ} のとき

    \begin{align} _{\vec{b}\rightarrow}\vec{a} &= − \dfrac{\text{OH}}{\text{OA}}\overrightarrow{\text{OA}} \\ &= −\dfrac{\text{OB} \cos(180^\circ − \theta)}{\text{OA}}\overrightarrow{\text{OA}}\\ &=\dfrac{\left|\vec{b}\right| \cos \theta}{\left|\vec{a}\right|}\vec{a} \end{align}

つまり,0^\circ \leqq \theta \leqq 180^\circ_{\vec{b}\rightarrow}\vec{a} =\dfrac{\left|\vec{b}\right| \cos \theta}{\left|\vec{a}\right|}\vec{a}と表せる.この\left|\vec{b}\right| \cos \thetaの値のことを,_{\vec{b}\rightarrow}\vec{a}有向距離または符号付長さという.

なお,_{\vec{b}\rightarrow}\vec{a} の大きさは

\left|_{\vec{b}\rightarrow}\vec{a}\right| =\left|\dfrac{\left|\vec{b}\right| \cos \theta}{\left|\vec{a}\right|}\vec{a}\right| =\dfrac{\left|\vec{b} \cos \theta\right|}{\left|\vec{a}\right|}\left|\vec{a}\right|=\left|\vec{b} \cos \theta\right|

で表される.

【例】

ベクトルの正射影と有向距離の図その4

ますめの一辺の長さが1 の右図において

  1. _{\vec{b}\rightarrow}\vec{a} の有向距離は4
  2. _{\vec{c}\rightarrow}\vec{a} の有向距離は4
  3. _{\vec{d}\rightarrow}\vec{a} の有向距離は0
  4. _{\vec{e}\rightarrow}\vec{a} の有向距離は−2
  5. _{\vec{f}\rightarrow}\vec{a} の有向距離は−4

となる.