markdown
直交補空間と射影md 420da6c
lecture/math/linear-algebra/orthogonal-complements-and-projections.lecture.n.md
Download PDF

直交補空間ちょっこうほくうかんorthogonal complement射影しゃえいprojection

date2026-07-14document_iddoc_fb535cce84bb548b52a0c7d3c255637edescription直交補空間を、部分空間に垂直な成分を集めた空間として定義し、直交分解と射影の一意性を説明する講義である。prerequisites内積空間の基本 / ノルムと三角不等式 / ベクトル空間と基底type講義content_typelecturestatusactiverelateddata/lecture/math/linear-algebra/linear-algebra-portal.lecture.n.md / data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md / data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md / data/lecture/math/linear-algebra/norms-and-triangle-inequality.lecture.n.md / data/lecture/math/linear-algebra/orthogonalization-basics.lecture.n.md / data/lecture/math/linear-algebra/least-squares-basics.lecture.n.md / data/exercise/math/linear-algebra/inner-products-orthogonality-and-projections.exercise.n.md
mathlinear-algebraundergraduatelecture

Orthogonal complements直交補空間ちょっこうほくうかん and projections射影しゃえい

1導入どうにゅう

この講義こうぎ重要じゅうようなのは、部分空間ぶぶんくうかんsubspace沿成分せいぶんcomponentと、それに直交ちょっこうorthogonalする成分せいぶんcomponentへベクトルを一意いちい分解ぶんかいするという発想はっそうである。

射影しゃえいprojection最小二乗法さいしょうにじょうほうleast squares methodでは、「列空間れつくうかんcolumn spaceもっとちかいベクトル」をもとめる。ちかさを記述きじゅつするには、誤差ごさ列空間れつくうかんcolumn space直交ちょっこうorthogonalする、という条件じょうけん中心ちゅうしんになる。この条件じょうけん整理せいりする道具どうぐ直交補空間ちょっこうほくうかんorthogonal complementである。

1Introduction

The key idea of this lecture is to decompose a vector uniquely into a component lying in a subspace部分空間ぶぶんくうかん and a component orthogonal直交ちょっこう to that subspace.

In projection and least squares最小二乗法さいしょうにじょうほう, one seeks the point in the column space列空間れつくうかん closest to a given vector. The central condition is that the error is orthogonal to the column space. The orthogonal complement直交補空間ちょっこうほくうかん organizes this condition.

2用語ようご定義ていぎ

直交補空間ちょっこうほくうかんOrthogonal complement とは、内積空間ないせきくうかんinner product space V部分空間ぶぶんくうかんsubspace Uたいして

U={vVv,u=0foralluU}

定義ていぎされる部分空間ぶぶんくうかんsubspaceである。

直交射影ちょっこうしゃえいOrthogonal projection とは、ベクトル vU 方向ほうこう成分せいぶんcomponent pU 方向ほうこう成分せいぶんcomponent r

v=p+r,pU,rU

分解ぶんかいしたときの p である。

2Terms and definitions

For a subspace U of an inner product space内積空間ないせきくうかん V, the orthogonal complement直交補空間ちょっこうほくうかん is

U={vVv,u=0foralluU}.

The orthogonal projection直交射影ちょっこうしゃえい of v onto U is the component p in the decomposition

v=p+r,pU,rU.

3方針ほうしん

まず U部分空間ぶぶんくうかんsubspaceであることを確認かくにんする。つぎに、有限次元ゆうげんじげん内積空間ないせきくうかんinner product spaceでは V=UU成立せいりつすることを説明せつめいし、直交射影ちょっこうしゃえいorthogonal projection公式こうしき移行いこうする。

data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md

3Plan

We first verify that U is a subspace. Then, in finite-dimensional inner product spaces, we explain the decomposition

V=UU

and derive the projection formula.

data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md

4直感的ちょっかんてき説明せつめい

平面へいめんなかに 1 ぽん直線ちょくせん U があるとする。あるベクトル v は、その直線ちょくせん沿かげ p と、直線ちょくせん垂直すいちょくのこr分解ぶんかいできる。この rぞくする方向ほうこう全体ぜんたいU である。

この分解ぶんかい重要じゅうようなのは、pUなかvもっとちかいベクトルになるためである。誤差ごさ v-pU直交ちょっこうorthogonalしていると、Uなかでさらにちかづく方向ほうこうのこっていない。

4Intuitive explanation

If U is a line in the plane, any vector v can be split into its shadow p along the line and a perpendicular remainder r. The set of all possible perpendicular remainders is U.

The component p is important because it is the closest vector in U to v. When the error v-p is orthogonal to U, there is no remaining direction inside U along which one can move to get closer.

5厳密げんみつ説明せつめい

5.11. U部分空間ぶぶんくうかんsubspaceである

v,wU、スカラー a,b任意にんい固定こていする。任意にんいuU について

av+bw,u=av,u+bw,u=0

である。したがって av+bwU であり、U部分空間ぶぶんくうかんsubspaceである。

5.22. 直交分解ちょっこうぶんかい

有限次元ゆうげんじげん内積空間ないせきくうかんinner product spaceU部分空間ぶぶんくうかんsubspaceなら、任意にんいvV

v=p+r,pU,rU

一意いちい分解ぶんかいできる。この事実じじつ直交分解ちょっこうぶんかいという。

存在そんざいは、U正規直交基底せいきちょっこうきていorthonormal basisから構成こうせいできる。U正規直交基底せいきちょっこうきていorthonormal basise1,[PARSE ERROR: Undefined("Command(\"dots\")")],ek とし、

p=i=1kv,eiei

く。この pU のベクトルである。さらにかく j について

v-p,ej=v,ej-i=1kv,eiei,ej=0

である。正規直交基底せいきちょっこうきていorthonormal basisでは ei,ej=0ij)かつ ej,ej=1 だからである。v-pU基底きていbasisすべてに直交ちょっこうorthogonalするので、v-pU である。したがって v=p+(v-p) という分解ぶんかい存在そんざいする。

一意性いちいせい直交性ちょっこうせいからしたがう。もし

v=p1+r1=p2+r2

であれば、p1-p2=r2-r1 である。左辺さへんleft-hand sideUぞくし、右辺うへんright-hand sideUぞくする。したがってこのベクトルは UUぞくする。ところが xUU なら x,x=0 なので x=0 である。よって p1=p2r1=r2 となる。

直交分解ちょっこうぶんかいから、有限次元ゆうげんじげんでは

dimU+dimU=dimV

したがう。また U(U) であり、両辺りょうへん次元じげんdimension一致いっちするため

(U)=U

である。これらは直交補空間ちょっこうほくうかんorthogonal complementたんなる垂直方向すいちょくほうこう集合しゅうごうsetではなく、部分空間ぶぶんくうかんsubspace次元じげんdimension補完ほかんする構造こうぞうstructureであることをしめす。

5.33. 正規直交基底せいきちょっこうきていorthonormal basisによる射影公式しゃえいこうしき

U正規直交基底せいきちょっこうきていorthonormal basise1,[PARSE ERROR: Undefined("Command(\"dots\")")],ek とする。このとき vU への直交射影ちょっこうしゃえいorthogonal projection

projU(v)=i=1kv,eiei

である。理由りゆうは、p=iv,eieiくと、かく j について

v-p,ej=0

成立せいりつし、v-pU となるためである。

複素ふくそcomplex内積空間ないせきくうかんinner product spaceでもおな公式こうしき使つかう。ただし、この系列けいれつではだい 1 変数へんすう線型せんけいとするため、係数けいすうcoefficientv,ei である。べつ規約きやくでは共役きょうやく位置いちわる。

射影行列しゃえいぎょうれつprojection matrixとしてると、直交射影ちょっこうしゃえいorthogonal projection

P2=P,P*=P

たす。P2=P は「一度いちど射影しゃえいprojectionしたら再度さいど射影しゃえいprojectionしてもわらない」こと、P*=P内積ないせきinner product両立りょうりつした直交ちょっこうorthogonal射影しゃえいprojectionであることをあらわす。

5Precise explanation

5.11. U is a subspace

Let v,wU and let a,b be scalars. For every uU,

av+bw,u=av,u+bw,u=0.

Therefore av+bwU, so U is a subspace.

5.22. Orthogonal decomposition

If V is finite-dimensional and U is a subspace, every vV can be written uniquely as

v=p+r,pU,rU.

For existence, take an orthonormal basis正規直交基底せいきちょっこうきてい e1,,ek of U and set

p=i=1kv,eiei.

Then pU, and for every j,

v-p,ej=v,ej-i=1kv,eiei,ej=0.

Hence v-pU.

For uniqueness, suppose

v=p1+r1=p2+r2.

Then p1-p2=r2-r1 lies in both U and U. If xUU, then x,x=0, so x=0. Thus p1=p2 and r1=r2.

Consequently, in finite dimensions,

dimU+dimU=dimV,(U)=U.

5.33. Projection formula using an orthonormal basis

If e1,,ek is an orthonormal basis of U, then

projU(v)=i=1kv,eiei.

The reason is that the residual v-projU(v) is orthogonal to every basis vector of U.

In the complex case, the same formula is used with the convention of this series: the first variable is linear, so the coefficient is v,ei. Under the opposite convention, conjugates appear in different positions.

As a matrix, an orthogonal projection P satisfies

P2=P,P*=P.

The first equation says that projecting twice changes nothing after the first projection; the second says the projection is compatible with the inner product.

6具体例ぐたいれい

R2U=span{(1,1)} とする。単位たんいベクトル e=12(1,1)もちいると、v=(2,0)射影しゃえいprojection

projU(v)=v,ee=2·12(1,1)=(1,1)

である。残差ざんさ

v-projU(v)=(1,-1)

であり、これは (1,1)直交ちょっこうorthogonalする。

6Concrete example

In R2, let

U=span{(1,1)}.

With

e=12(1,1),

the projection of v=(2,0) onto U is

projU(v)=v,ee=2·12(1,1)=(1,1).

The residual is

v-projU(v)=(1,-1),

which is orthogonal to (1,1).

7べつ観点かんてん

幾何的きかてきには、直交補空間ちょっこうほくうかんorthogonal complementは「部分空間ぶぶんくうかんsubspace垂直すいちょく方向ほうこうあつまり」である。代数的だいすうてきには、U内積ないせきinner productによる条件式じょうけんしき v,u=0解空間かいくうかんsolution spaceである。

7Another viewpoint

Geometrically, U is the collection of directions perpendicular to U. Algebraically, it is the solution space of the equations v,u=0 for all uU.

8判定基準はんていきじゅん

  • 射影しゃえいprojection最短距離さいたんきょり残差ざんさ登場とうじょうしたら、直交補空間ちょっこうほくうかんorthogonal complement確認かくにんする。
  • 部分空間ぶぶんくうかんsubspaceそとにあるベクトルを、内部ないぶ成分せいぶんcomponent垂直すいちょく誤差ごさ分解ぶんかいしたいとき、直交分解ちょっこうぶんかいもちいる。
  • 最小二乗法さいしょうにじょうほうleast squares methodでは、残差ざんさ列空間れつくうかんcolumn space直交補空間ちょっこうほくうかんorthogonal complementぞくすることを利用りようする。

8Criteria

  • When projection, shortest distance, or residuals appear, identify the relevant orthogonal complement.
  • To split a vector into a component inside a subspace and a perpendicular error, use orthogonal decomposition.
  • In least squares, the residual belongs to the orthogonal complement of the column space.

9どこまで成立せいりつするか

有限次元ゆうげんじげん内積空間ないせきくうかんinner product spaceでは、直交分解ちょっこうぶんかい安定あんていして成立せいりつする。無限次元むげんじげんでは、部分空間ぶぶんくうかんsubspaceへいじているかどうかが重要じゅうようになる。へいじていない部分空間ぶぶんくうかんsubspaceでは、最近点さいきんてん射影しゃえいprojection存在そんざいしない場合ばあいがある。

複素ふくそcomplex場合ばあいは、転置てんちではなく共役転置きょうやくてんちconjugate transpose A*射影しゃえいprojection最小二乗法さいしょうにじょうほうleast squares methodしきあらわれる。

9Scope and limitations

In finite-dimensional inner product spaces, orthogonal decomposition is stable. In infinite dimensions, closedness of the subspace matters; a non-closed subspace may fail to have nearest points or projections. In complex spaces, transpose is replaced by conjugate transpose A* in projection and least-squares formulas.

10最終形さいしゅうけい

[PARSE ERROR: Undefined("Command(\"boxed\")")]U={vVv,u=0foralluU}
[PARSE ERROR: Undefined("Command(\"boxed\")")]V=UU
[PARSE ERROR: Undefined("Command(\"boxed\")")]dimU+dimU=dimV,(U)=U
[PARSE ERROR: Undefined("Command(\"boxed\")")]projU(v)=i=1kv,eiei

10Final forms

[PARSE ERROR: Undefined("Command(\"boxed\")")]U={vVv,u=0foralluU}
[PARSE ERROR: Undefined("Command(\"boxed\")")]V=UU
[PARSE ERROR: Undefined("Command(\"boxed\")")]dimU+dimU=dimV,(U)=U
[PARSE ERROR: Undefined("Command(\"boxed\")")]projU(v)=i=1kv,eiei

11一言ひとことでいうと

  • 直交補空間ちょっこうほくうかんorthogonal complementは、部分空間ぶぶんくうかんsubspace垂直すいちょく誤差ごさ収容しゅうようする空間くうかんである。

直交射影ちょっこうしゃえいorthogonal projectionは、x部分空間ぶぶんくうかんsubspace W射影しゃえいしたベクトル pW で、残差ざんさ x-pWぞくするものである。この直交条件ちょっこうじょうけんorthogonality conditionは、幾何的きかてき意味いみであると同時どうじに、計算上けいさんじょう判定条件はんていじょうけんでもある。

最小二乗法さいしょうにじょうほうleast squares methodでもおなかんがえを使つかう。Axbひとしいとはかぎらないので、残差ざんさ b-AxA列空間れつくうかんcolumn space直交ちょっこうorthogonalするように xえらぶ。この条件じょうけんから正規方程式せいきほうていしき ATAx=ATbられる。れつcolumn一次独立いちじどくりつlinearly independentならかい一意いちいであり、一次従属いちじじゅうぞくlinearly dependentなら射影しゃえい一意いちいでも係数ベクトルcoefficient vector一意いちいでないことがある。

11In one sentence

The orthogonal complement直交補空間ちょっこうほくうかん is the space that holds the perpendicular error to a subspace.

The orthogonal projection直交射影ちょっこうしゃえい of x onto a subspace W is the vector pW for which the residual x-p lies in W. This orthogonality condition is both the geometric meaning and the computational test.

For least-squares problems, the same idea says that Ax may not equal b, so we choose x so that the residual b-Ax is orthogonal to the column space of A. This gives the normal equations ATAx=ATb. The solution is unique when the relevant columns are independent; otherwise the projection is still unique, but the coefficient vector may not be.

12定理ていり証明しょうめい直交射影ちょっこうしゃえい誤差ごさ最小さいしょうにする

U内積空間ないせきくうかん部分空間ぶぶんくうかんとし、pUv-pUたすとする。このとき pUなかvもっとちかベクトルvectorである。

証明しょうめいする。任意にんいuU について、

v-u=(v-p)+(p-u)

である。ここで p-uU であり、v-pU だから v-pp-u である。したがってピタゴラスの定理ていりより

v-u2=v-p2+p-u2[PARSE ERROR: Undefined("Command(\"ge\")")]v-p2

である。よって u=p のときに距離きょり最小さいしょうになる。

この定理ていりは、射影しゃえいが「かげとす操作そうさ」であるだけでなく、最小二乗法さいしょうにじょうほう根拠こんきょにもなることをしめしている。

12Theorem and proof: orthogonal projection minimizes error

Let U be a subspace of an inner product space, and suppose pU satisfies v-pU. Then p is the vector in U closest to v.

For any uU,

v-u=(v-p)+(p-u).

Since p-uU and v-pU, the two summands are orthogonal. By the Pythagorean theorem,

v-u2=v-p2+p-u2[PARSE ERROR: Undefined("Command(\"ge\")")]v-p2.

Thus the distance is minimized when u=p. This is the geometric basis of least squares.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる