Euclidean Space: Coordinate Vectors, Inner Products, Subspaces, and Orthogonal Projections
Fundamentals of the Standard Inner Product in Euclidean Space
Definition of the Standard Inner Product in Rn:
Let u,v∈Rn be column vectors represented by:
u=u1u2⋮un,v=v1v2⋮vn
The standard inner product (or dot product) of u and v, denoted (u,v) or u⋅v, is defined by matrix multiplication:
(u,v):=u⋅v=uTv=(u1u2…un)v1v2⋮vn=u1v1+u2v2+⋯+unvn=∑i=1nuivi
Elementary Properties of the Dot Product in Rn:
Geometric definition in geometric vector spaces: a⋅b=∣a∣∣b∣cos(a,b)
Symmetry (Commutativity): u⋅v=v⋅u
Linearity (Distributivity over addition): (u+v)⋅w=u⋅w+v⋅w
Homogeneity (Associativity with scalar multiplication): (cu)⋅v=c(u⋅v)=u⋅(cv) for any real scalar c
Positive Definiteness: u⋅u≥0, with u⋅u=0 if and only if u=0
Concrete Computation Example:
Given the vectors in R3:
u=2−5−1,v=32−3
The inner product is evaluated as:
u⋅v=uTv=(2−5−1)32−3=2×3+(−5)×2+(−1)×(−3)=6−10+3=−1
Vector Norms, Normalization, and Euclidean Distance
Definition of Length and Norm:
The length (or norm) of a vector v∈Rn is the nonnegative real scalar denoted by ∥v∥, defined as:
∥v∥=v⋅v=v12+v22+⋯+vn2
It follows directly that ∥v∥2=v⋅v.
In R2, if v=(a,b), the length coincides with the Pythagorean theorem: a2+b2.
Unit Vectors and the Normalization Process:
A vector u is defined as a unit vector if and only if its norm satisfies ∥u∥=1.
Any nonzero vector v can be transformed into a unit vector pointing in the same direction by dividing it by its norm (scalar multiplication by 1/∥v∥):
u=∥v∥1v
This construction is known as normalizing the vector v.
Normalization Example in R4:
Given v=(1,−2,2,0)T:
Calculate the squared norm and norm:
∥v∥2=v⋅v=12+(−2)2+22+02=1+4+4+0=9⟹∥v∥=9=3
Multiply v by 1/∥v∥:
u=311−220=1/3−2/32/30
Verification of unit length:
∥u∥2=(31)2+(−32)2+(32)2+02=91+94+94+0=1
Normalization Example for Subspace Bases:
Let W be the one-dimensional subspace of R2 spanned by x=(2/3,1)T.
To find a unit vector z forming an orthonormal basis for W, any nonzero scalar multiple of x spans W.
Eliminate fractions by scaling x by 3 to define y=3x=(2,3)T.
Compute the norm of y:
∥y∥2=22+32=4+9=13⟹∥y∥=13
Normalize y:
z=131(23)=(2/133/13)
An alternative opposite unit vector basis for W is:
−z=(−2/13−3/13)
Distance Between Vectors in Rn:
For vectors u and v in Rn, the distance between u and v, denoted dist(u,v), is defined as the length of the displacement vector u−v:
dist(u,v)=∥u−v∥=(u−v)⋅(u−v)=∑i=1n(ui−vi)2
Concrete calculation for u=(7,1)T and v=(3,2)T in R2:
u−v=(71)−(32)=(4−1)dist(u,v)=42+(−1)2=16+1=17
General Inner Products and Euclidean Spaces
Axiomatic Definition of a General Inner Product:
An inner product on a real vector space V is a function that associates a real number (u,v) with each pair of vectors u,v∈V such that the following four axioms are satisfied for all vectors u,v,w∈V and all real scalars c:
Axiom 1 (Symmetry):
(u,v)=(v,u)
Axiom 2 (Linearity in the First Argument / Additivity):
(u+v,w)=(u,w)+(v,w)
Axiom 3 (Homogeneity in the First Argument):
(cu,v)=c(u,v)=(u,cv)
Axiom 4 (Positive Definiteness):
(u,u)≥0for all u∈V,and(u,u)=0⟺u=0
Definition of a Euclidean Space:
A Euclidean space is defined as any finite-dimensional real vector space V equipped with an inner product (⋅,⋅):V×V→R. The structured pair is denoted (V,(⋅,⋅)).
Induced Geometric Concepts Under a General Inner Product:
Norm (Length): ∥u∥=(u,u)
Unit Vector: Any vector u satisfying ∥u∥=1
Distance: dist(u,v)=∥u−v∥=(u−v,u−v)
Angle θ∈[0,π] between nonzero vectors u and v:
cos(θ)=∥u∥∥v∥(u,v)
Orthogonality: Vectors u and v are orthogonal (u⊥v) if and only if:
(u,v)=0
Standard Inner Products on Classical Function and Matrix Spaces:
On the Euclidean vector space Rn:
(u,v)=u1v1+u2v2+⋯+unvn
On the function space C[a,b] (continuous real-valued functions on [a,b]):
(f,g)=∫abf(t)g(t)dt
On the matrix space Mn(R) (Frobenius inner product of real n×n matrices):
(A,B)=trace(ATB)=trace(ABT)
Analysis of Candidate Inner Product Forms:
In R2, (x,y)=3x1y1+4x2y2: Valid inner product. It satisfies symmetry, bilinear linearity, and positive definiteness (3x12+4x22>0 for all nonzero x).
In R2, (x,y)=x1y1−2x1y2+3x2y1+4x2y2: Invalid inner product. Symmetry fails because (x,y)=(y,x) due to the unequal asymmetric cross-coefficients (−2=3).
In R3, (x,y)=x1y1+x1y2+x2y1+4x2y2+x3y3: Valid inner product. The representation matrix is symmetric with strictly positive leading principal minors (Δ1=1, Δ2=1(4)−1(1)=3, Δ3=1×3=3).
In V=M2(R), (A,B)=det(AB): Invalid inner product. Linearity fails because det((A1+A2)B)=det(A1B)+det(A2B). In addition, determinants can be negative, violating positive definiteness.
In V=M2(R), (A,B)=trace(AB): Invalid inner product. Positive definiteness fails; for example, skew-symmetric matrices yield negative values (trace(A2)<0).
In V=M2(R), (A,B)=trace(ATB): Valid inner product (the standard Frobenius inner product). It is symmetric, linear, and trace(ATA)=∑i,jAij2≥0, equalling zero if and only if A=0.
In V=C1[0,1], (f,g)=f′(t)g′(t): Invalid inner product. Positive definiteness fails because any non-zero constant function f(t)=k has derivative f′(t)=0, yielding (f,f)=0 for f=0.
In V (arbitrary discontinuous functions on [0,1]), (f,g)=∫01f(t)g(t)dt: Invalid inner product. Positive definiteness fails because a function non-zero at isolated points integrates to zero.
In V=C[0,1], (f,g)=∫01f(t)g(t)dt: Valid inner product. Continuity guarantees that ∫01f(t)2dt=0⟺f(t)=0 everywhere on [0,1].
In V=R2[x], (p,q)=2p(−1)q(−1)+3p(0)q(0)+4p(1)q(1): Valid inner product. A quadratic polynomial having roots at three distinct points −1,0,1 must be identically the zero polynomial.
Representation Matrix and Inner Product Geometry
Definition of the Representation Matrix:
Any inner product (x,y) on Rn defined as a bilinear form (x,y)=∑i=1n∑j=1naijxiyj can be represented in matrix form as:
(x,y)=xTRy
Here, the vectors and matrix are given by:
xT=(x1x2…xn),R=a11a21⋮an1a12a22⋮an2……⋱…a1na2n⋮ann,y=y1y2⋮yn
The square matrix R=(aij) is called the representation matrix of the inner product.
For R to define an inner product, it must be symmetric (R=RT) and positive definite (xTRx>0 for all x=0).
Gram Matrix Formulation:
If U=(xy) is a matrix formed with vector columns x and y, the matrix product UTRU packages all pairwise inner products:
UTRU=(xTRxyTRxxTRyyTRy)=((x,x)(y,x)(x,y)(y,y))
This matrix completely captures metric geometry, including lengths, distances, angles, orthogonality, and linear independence.
Geometric Interpretation of Unit Sets:
Standard Inner Product: The unit sphere set consists of vectors satisfying:
∥x∥=1⟹x12+x22=1
This locus corresponds geometrically to a unit circle.
General Inner Product: The unit sphere set consists of vectors satisfying:
∥x∥A=1⟹xTRx=1
For example, the inner product defined by 4x12+x22=1 forms an ellipse in R2.
Concrete Exercises on Metric Computations:
Standard inner product in R3 with u=(1,1,2)T and v=(2,1,−1)T:
The Pythagorean Theorem:
Two vectors u and v in a Euclidean vector space V are orthogonal if and only if:
∥u+v∥2=∥u∥2+∥v∥2
Orthogonal Complements and Fundamental Subspaces
Definitions and Fundamental Theorems:
Let W be a subspace of a Euclidean space V. A vector u is orthogonal to W (u⊥W) if and only if u⊥v for every vector v∈W.
The orthogonal complement of W, denoted W⊥, is defined as the set:
W⊥={z∈V:z⊥W}={z∈V:(z,v)=0,∀v∈W}
Basis Criterion: If E={e1,e2,…,ek} is a basis of W, then:
W⊥={z∈V:(z,e)=0,∀e∈E}
Theorem: W⊥ is a subspace of V.
Geometric Duality: In R3, if W is a plane passing through the origin and L is the normal line passing through the origin, then L=W⊥ and W=L⊥.
Orthogonal Sets and Linear Independence:
A set of vectors {u1,u2,…,up} in a Euclidean space is called an orthogonal set if every distinct pair of vectors is orthogonal:
(ui,uj)=0whenever i=j
Theorem: If S={u1,u2,…,up} is an orthogonal set of nonzero vectors, then S is linearly independent. Consequently, S forms an orthogonal basis for the subspace spanned by S.
Subspace Orthogonality Test Example:
Given the inner product on R3:
(u,v)=u1v1+2u2v2+3u3v3−u1v2−u2v1+u2v3+u3v2
Representation matrix:
R=1−10−121013
Subspaces: U=span{(8,−6,1)T,(−7,5,0)T} and V=span{(1,0,−8)T,(0,1,6)T}.
Test u1=(8,−6,1)T and v1=(1,0,−8)T:
Rv1=1−10−12101310−8=1−9−24(u1,v1)=u1TRv1=8(1)+(−6)(−9)+1(−24)=8+54−24=38=0
Conclusion: Subspaces U and V are not orthogonal.
Orthogonality in Polynomial Spaces:
Problem: Find real coefficients a and b such that p(x)=ax+b is orthogonal to W=span{x2,1} on [0,1] under the standard inner product (f,g)=∫01f(t)g(t)dt.
The only linear polynomial orthogonal to W is the zero polynomial (a=0, b=0).
Duality Relations for Fundamental Subspaces Under a General Inner Product:
Theorem: Let A be an m×n matrix, and let R be the symmetric positive definite representation matrix of an inner product on Rn. The orthogonal complements of the fundamental subspaces satisfy:
Col(A)⊥=Nul(ATR)=R−1Nul(AT)Nul(A)⊥=Col(R−1AT)=R−1Col(AT)
Computation of Basis and Dimension of F⊥ for Spanned Subspaces:
Let F=span{(1,1,1),(2,1,0),(1,0,−1)} in R3.
Because (1,0,−1)=(2,1,0)−(1,1,1), the subspace has dimension dim(F)=2, with basis vectors v1=(1,1,1)T and v2=(2,1,0)T.
Case A: Inner product (x,y)=x1y1+2x2y2+3x3y3−x1y3−x3y1, matrix R=10−1020−103:
dim(F⊥)=3−dim(F)=3−2=1
A vector z=(x1,x2,x3)T∈F⊥ satisfies (z,v1)=0 and (z,v2)=0:
(z,v1)=zTRv1=(x1x2x3)022=2x2+2x3=0⟹x2=−x3(z,v2)=zTRv2=(x1x2x3)22−2=2x1+2x2−2x3=0
Computation of Basis and Dimension of F⊥ for Subspaces Defined by Linear Systems:
Let F={(x1,x2,x3)∈R3:x1+x2+x3=0,2x1+x2−x3=0}.
Solve the homogeneous system: subtracting the first from the second equation gives x1−2x3=0⟹x1=2x3. Then 2x3+x2+x3=0⟹x2=−3x3.
Basis for F: F=span{(2,−3,1)T}, with dim(F)=1.
Dimension of orthogonal complement: dim(F⊥)=3−dim(F)=3−1=2.
Case A (Under representation matrix R=10−1020−103):
Let v=(2,−3,1)T. Any vector z=(x1,x2,x3)T∈F⊥ satisfies zTRv=0:
Rv=10−1020−1032−31=1−61zT(Rv)=x1−6x2+x3=0
Parameterize solutions with free variables x2,x3:
x1=6x2−x3⟹x1x2x3=x2610+x3−101
Result: F⊥=span{(6,1,0)T,(−1,0,1)T}, dim(F⊥)=2
Case B (Under representation matrix R=1−10−121013):
Compute Rv for v=(2,−3,1)T:
Rv=1−10−1210132−31=5−70zT(Rv)=5x1−7x2+0x3=0
Parameterize solutions:
5x1=7x2⟹basis vectors are (7,5,0)T and (0,0,1)T
Result: F⊥=span{(7,5,0)T,(0,0,1)T}, dim(F⊥)=2
Parameter Solvability Analysis for Subspace Membership in F⊥:
Consider the inner product on R3:
(x,y)=4x1y1−2x1y2+2x1y3−2x2y1+6x2y2+4x2y3+2x3y1+4x3y2+8x3y3
Representation matrix:
R=4−22−264248
Scenario 1: Subspace F=span{v1,v2} with v1=(1,0,1)T and v2=(−1,1,1)T.
Dimension of F⊥: Since v1,v2 are linearly independent, dim(F)=2⟹dim(F⊥)=3−2=1.
A direct solve of zTRv1=0 and zTRv2=0 yields F⊥=span{(−5/4,−5/4,1)T}.
Test membership of u=(1,−1,m)T∈F⊥:
Rv1=4−22−264248101=6210(u,v1)=uT(Rv1)=1(6)+(−1)(2)+m(10)=4+10m=0⟹m=−104=−52Rv2=4−22−264248−111=−4−2+22+6+4−2+4+8=−41210(u,v2)=uT(Rv2)=1(−4)+(−1)(12)+m(10)=−16+10m=0⟹m=1016=58
Conclusion: Since −2/5=8/5, no real value of m exists such that u∈F⊥.
Basis for F: Setting free variables x1,x2 produces basis vectors w1=(1,0,2)T and w2=(0,1,3)T, so dim(F)=2.
Dimension: dim(F⊥)=3−2=1.
Test membership of u=(1,−1,m)T∈F⊥:
Rw1=4−22−264248102=8618(u,w1)=1(8)+(−1)(6)+m(18)=2+18m=0⟹18m+8=0⟹m=−188=−94Rw2=4−22−264248013=41828(u,w2)=1(4)+(−1)(18)+m(28)=−14+28m=0⟹28m−14=0⟹m=2814=21
Conclusion: The system is contradictory (−4/9=1/2), so no real value of m exists.
Orthogonal Projection Theory and Coordinate Calculation
The Orthogonal Decomposition Theorem:
Let W be a subspace of an inner product space V. Each vector x∈V can be uniquely represented in the decomposed form:
x=y+z,where y∈W and z∈W⊥
The unique vector y is defined as the orthogonal projection of x onto W, denoted:
y=projW(x)
The vector z=x−y is orthogonal to W, satisfying (x−y,v)=0 for all v∈W.
Direct Sum Decomposition: If V is finite-dimensional, and {v1,…,vm} is a basis of W, and {vm+1,…,vn} is a basis of W⊥, then the union {v1,…,vm,vm+1,…,vn} constitutes a basis of V.
Normal Equations for General Bases:
Let {v1,v2,…,vm} be any arbitrary basis for W.
Since y=projW(x)∈W, it can be expressed as a linear combination:
y=c1v1+c2v2+⋯+cmvm
Since z=x−y⊥W, the orthogonality condition requires (x−y,vk)=0, or equivalently:
(y,vk)=(x,vk)for each k=1,2,…,m
Expanding y yields the linear system of normal equations:
∑i=1m(vi,vk)ci=(x,vk)for k=1,2,…,m
Matrix Formulation:
Let U=([v1]E[v2]E…[vm]E) and coordinate vector C=(c1c2…cm)T.
(U,U)C=(U,x)
where (U,U)=UTRU is the m×m Gram matrix, and (U,x)=UTRx is the right-hand side vector.
Comprehensive Projection Examples:
Example 1:
Space: R3 equipped with the inner product matrix R=1−10−121013
Subspace U=span{v1,v2} with v1=(1,1,1)T and v2=(2,1,−1)T
Vector to project: x=(1,2,3)T
Normal equations: ((v1,v1)(v2,v1)(v1,v2)(v2,v2))(c1c2)=((x,v1)(x,v2))
An orthogonal basis for a subspace W of a Euclidean space is a basis for W that is simultaneously an orthogonal set.
Orthogonal Basis Expansion Theorem:
If {v1,v2,…,vm} is an orthogonal basis of a subspace W, then every vector y∈W can be uniquely represented as:
y=c1v1+c2v2+⋯+cmvm
where the Fourier coefficients are given by the direct decoupled projection formula:
ck=(vk,vk)(y,vk)=∥vk∥2(y,vk)for each k=1,2,…,m
Coordinate Expansion Example in R3:
Given the orthogonal basis S={u1,u2,u3} for R3 under the standard inner product:
u1=311,u2=−121,u3=−1/2−27/2
Objective: Express y=(6,1,−8)T as a linear combination y=c1u1+c2u2+c3u3.