markdown
Basics of orthogonalizationmd 6f35c6e
lecture/math/linear-algebra/orthogonalization-basics.lecture.n.md
Download PDF

Basics of orthogonalization直交化ちょっこうか

date2026-07-14document_iddoc_c21549e9d8e64a63809a93395cc5464adescription直交化を、射影を順に除去して直交基底を構成するGram-Schmidt processとして説明し、最小二乗法への接続まで整理する講義である。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/orthogonal-complements-and-projections.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 / data/exercise/math/linear-algebra/complex-inner-products-and-unitary-matrices.exercise.n.md
mathlinear-algebraundergraduatelecture

1Introduction

The main point of this lecture is that orthogonalization直交化ちょっこうか replaces a given basis基底きてい by an orthogonal basis直交基底ちょっこうきてい spanning the same subspace部分空間ぶぶんくうかん. The subspace is unchanged; only the basis is made easier to compute with.

Even when a basis is linearly independent, lengths, coefficients, and projections may be awkward to calculate. If the basis vectors are mutually orthogonal直交ちょっこう, the calculations become transparent.

2Terms and definitions

An orthogonal basis直交基底ちょっこうきてい is a basis whose distinct basis vectors are orthogonal to each other.

An orthonormal basis正規直交基底せいきちょっこうきてい is an orthogonal basis in which every vector has length 1.

The Gram-Schmidt processグラム・シュミットほう constructs an orthogonal basis spanning the same subspace from a linearly independent list of vectors.

3Plan

Start with vectors v1,v2,. At each step, remove the components in the directions already constructed. What remains is the new direction not already accounted for.

4Intuitive explanation

If v2 contains a component in the same direction as v1, subtract that component. The remainder is orthogonal to v1. Repeating this idea gives the Gram-Schmidt process.

5Precise explanation

5.10. Removing projections

For u0, the projection射影しゃえい of v onto the direction of u is

proju(v)=v,uu,uu.

This extracts the component of v in the direction of u. Orthogonalization removes projections onto previously constructed orthogonal directions.

In a complex inner product space複素内積空間ふくそないせきくうかん, the projection coefficient depends on the inner-product convention. In this series the first variable is linear, so the coefficient is v,u/u,u.

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

5.21. The case of two vectors

If projection or inner product is still unclear, review the inner product lecture first.

data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md

Start with linearly independent v1,v2. Set

u1=v1.

Then remove the component of v2 in the direction of u1:

u2=v2-v2,u1u1,u1u1.

Now u1 and u2 are orthogonal, because

\begin{aligned} \langle u_2,u_1\rangle &= \left\langle v_2-\frac{\langle v_2,u_1\rangle}{\langle u_1,u_1\rangle}u_1,\, u_1 \right\rangle\\ &= \langle v_2,u_1\rangle - \frac{\langle v_2,u_1\rangle}{\langle u_1,u_1\rangle}\langle u_1,u_1\rangle\\ &=0. \end{aligned}

5.32. General form

From v1,,vn, define

u1=v1

and

uk=vk-j=1k-1vk,ujuj,ujuj.

Then u1,,un are mutually orthogonal and span the same subspace as the original vectors.

The key point is that uk is obtained from vk by subtracting a linear combination of u1,,uk-1, so

ukspan(v1,,vk).

Conversely,

vk=uk+j=1k-1vk,ujuj,ujuj,

so vkspan(u1,,uk). Therefore the spans agree at every stage.

5.43. Normalization

To obtain an orthonormal basis正規直交基底せいきちょっこうきてい, set

ek=ukuk.

5.54. Connection with least squares

Orthogonalization is one foundation of the least squares method最小二乗法さいしょうにじょうほう. When Ax=b cannot be solved exactly, one projects b onto the column space列空間れつくうかん of A. The residual

r=b-Ax

is orthogonal to the column space, leading in the real case to the normal equations

AT(b-Ax)=0.

Thus Gram-Schmidt and least squares share the same geometric structure: remove orthogonal components and keep the best projection.

6Criteria

  • Use orthogonalization直交化ちょっこうか when a basis spans the right subspace but is not orthogonal.
  • Projection, least squares, and Fourier expansion all rely on decomposing into orthogonal components.
  • The subspace is preserved; only the basis is changed.

7Scope and limitations

The procedure assumes an inner product and linearly independent input vectors. If some uk=0 appears, the original list was linearly dependent. In complex inner product spaces, the positions of conjugates must match the chosen convention.

8Final forms

[PARSE ERROR: Undefined("Command(\"boxed\")")]uk=vk-j=1k-1vk,ujuj,ujuj
[PARSE ERROR: Undefined("Command(\"boxed\")")]ek=ukuk
[PARSE ERROR: Undefined("Command(\"boxed\")")]proju(v)=v,uu,uu

9In one sentence

Orthogonalization直交化ちょっこうか rebuilds a basis of the same subspace as an orthogonal basis that is easier to compute with.

10Theorem and proof: Gram-Schmidt preserves spans

If Gram-Schmidt is applied to linearly independent vectors v1,,vk and produces q1,,qk, then for every r,

span(v1,,vr)=span(q1,,qr).

The proof is by induction on r. For r=1, q1 is a nonzero scalar multiple of v1, so the spans agree.

At step r, the vector before normalization is

wr=vr-i=1r-1vr,qiqi.

Thus wr lies in span(v1,,vr). Conversely,

vr=wr+i=1r-1vr,qiqi,

so vr lies in span(q1,,qr). Hence the spans are equal.

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
タブを全て閉じる