Equations of fluid dynamics

Appendix P Longitudinal and transversal projection of vectors

A vector 𝒂 can be split into two parts: the longitudinal part 𝒂, which is parallel to another vector 𝒃 and the transversal part 𝒂, which is perpendicular to 𝒃. The length of the longitudinal part a and the transversal part a can be computed from geometry (see figure LABEL:fig:projection)

aa=cosα a=acosα=abcosαb=𝒂𝒃b, (P.1)
aa=sinα a=asinα=absinαb=|𝒂×𝒃|b. (P.2)

But from the Pythagorean theorem we can get another expression for the length of the transversal part

a2=a2+a2 a2=a2-a2=a2-(𝒂𝒃)2b2. (P.3)

Substituting equation (P.2) in equation (P.3) we get

(|𝒂×𝒃|)2b2=a2-(𝒂𝒃)2b2,

which leads us to the following expression for the square of the norm of the cross product

|𝒂×𝒃|2=(ab)2-(𝒂𝒃)2. (P.4)