Professional Documents
Culture Documents
Consider two lines through the origin determined by vectors u and v . Two
lines OV and OU are geometrically perpendicular if and only if the
distance from u to v is same as the distance from u to −v .
(dist(u, −v ))2 = ∥u − (−v )∥2 = ∥u + v ∥2
= ∥u∥2 + ∥v ∥2 + 2⟨u, v ⟩
Now replace v by −v in the above expression.
(dist(u, v ))2 = ∥u∥2 + ∥ − v ∥2 + 2⟨u, −v ⟩
= ∥u∥2 + ∥v ∥2 − 2⟨u, v ⟩
Two distances are equal if and only if 2⟨u, v ⟩ = −2⟨u, v ⟩
4⟨u, v ⟩ = 0 ie ⟨u, v ⟩ = 0.
Dr. Sabitha D’Souza September 20,2022 2/9
Pythagoras theorem
Proof.
∥ ki=1 vi ∥2 = ⟨ ki=1 vi , kj=1 vj ⟩
P P P
P
= 1≤i,j≤k ⟨vi , vj ⟩
= ki=1 ⟨vi , vj ⟩ since ⟨vi , vj ⟩ = 0
P
= ki=1 ∥vi ∥2
P
Let v ∈ R n be any vector. Let u be any unit vector (i.e ∥u∥ = 1). We
want to find whether there is a vector u0 in the set Ru which is nearest to
v . i.e we are looking for a real number t0 such that d(v , t0 u) ≤ d(v , tu)
for all t ∈ R
Proof.
First we observe that (v − Pu (v )) ⊥ u;
So ⟨v − Pu (v ), u⟩ = ⟨v , u⟩ − ⟨⟨u, v ⟩.u, u⟩
= ⟨v , u⟩ − ⟨v , u⟩⟨u, u⟩
= ⟨v , u⟩ − ⟨v , u⟩
= 0 Hence (v − Pu (v )) ⊥ αu for all α ∈ R and therefore
(v − Pu (v )) ⊥ (Pu (v ) − u) for all α ∈ R
By Pythagoras theorem , ∥v − αu∥2 = ∥v − Pu (v ) + Pu (v ) − αu∥2
= ∥v − Pu (v )∥2 + ∥Pu (v ) − αu∥2
Dr. Sabitha D’Souza September 20,2022 8/9
Thus we get d(αu, v )2 ≥ d(Pu (v ), v )2 and equality holds if and only if
αu = Pu (v )
Definition
Let u be a unit vector and let v be any arbitrary vector. The orthogonal
projection of v along the vector u is defined as Pu (v ) = ⟨u, v ⟩u. If u is
u
any non-zero vector Pu (v ) = ⟨ ∥u∥ u
, v ⟩ ∥u∥ = ⟨u,v ⟩
⟨u,u⟩ u