Basic Definitions

Linear Operations on Vectors
I.1 Components of a Vector

If a vector a\overline{a} has Cartesian rectangular coordinates x,y,zx,\,y,\,z, then

a=xi+yj+zk={x,y,z}.\overline{a}=x\overline{i}+y\overline{j}+z\overline{k}=\{x,\,y,\,z\}.

If a vector AB\overline{AB} is given by its initial point A(x1,y1,z1)A(x_1,y_1,z_1) and terminal point B(x2,y2,z2)B(x_2,y_2,z_2), then the coordinates of this vector AB={x,y,z}\overline{AB}=\{x,y,z\} equal the differences of the like coordinates of the end and the start:

x=x2x1;y=y2y1;z=z2z1.x=x_2-x_1;\qquad y=y_2-y_1;\qquad z=z_2-z_1.

The zero vector is a vector whose start and end coincide. It has magnitude zero and no defined direction.

I.2 Sum and Difference of Vectors

Sum. The sum of two vectors is built either by the triangle rule (place them head to tail) or by the parallelogram rule (draw them from a common origin).

Triangle rule: vector a followed by vector b, resultant c = a + b
Parallelogram rule: vectors a and b from a common origin, diagonal c = a + b

Difference. The difference c=ab\overline{c}=\overline{a}-\overline{b} is the other diagonal of the parallelogram built on a\overline{a} and b\overline{b}.

Difference of vectors: parallelogram on a and b, with c = a − b

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\}, then

a±b={x1±x2; y1±y2; z1±z2}.\overline{a}\pm\overline{b}=\{x_1\pm x_2;\ y_1\pm y_2;\ z_1\pm z_2\}.

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and λ=const\lambda=\text{const}, then

λa={λx1, λy1, λz1}.\lambda\overline{a}=\{\lambda x_1,\ \lambda y_1,\ \lambda z_1\}.
I.3 Magnitude of a Vector

If a={x,y,z}\overline{a}=\{x,y,z\}, the magnitude (length) of the vector in an orthonormal basis is

a=x2+y2+z2.|\overline{a}|=\sqrt{x^2+y^2+z^2}.

Since

cosα=cos(a,i^)=xa;cosβ=cos(a,j^)=ya;cosγ=cos(a,k^)=za,\begin{aligned}\cos\alpha&=\cos\bigl(\widehat{\overline{a},\overline{i}}\bigr)=\frac{x}{|\overline{a}|};\\[6pt] \cos\beta&=\cos\bigl(\widehat{\overline{a},\overline{j}}\bigr)=\frac{y}{|\overline{a}|};\\[6pt] \cos\gamma&=\cos\bigl(\widehat{\overline{a},\overline{k}}\bigr)=\frac{z}{|\overline{a}|},\end{aligned}

we have cos2α+cos2β+cos2γ=1\cos^2\alpha+\cos^2\beta+\cos^2\gamma=1. The direction cosines of a nonzero vector are the coordinates of its unit vector:

a0=aa=(cosα, cosβ, cosγ)(a0).\overline{a}^{\,0}=\frac{\overline{a}}{|\overline{a}|}=(\cos\alpha,\ \cos\beta,\ \cos\gamma)\qquad(\overline{a}\neq\overline{0}).

The zero vector has no direction, hence no direction cosines and no unit vector.

Scalar Product
I.4 Scalar Product of Vectors

Definition. The scalar product (dot product) of two vectors is the number equal to the product of their lengths and the cosine of the angle between them:

(ab)=abcos(ab^).(\overline{a}\cdot\overline{b})=|\overline{a}|\cdot|\overline{b}|\cos\bigl(\widehat{\overline{a}\,\overline{b}}\bigr).

Properties of the scalar product:

  1. ab=ba\overline{a}\cdot\overline{b}=\overline{b}\cdot\overline{a} — commutativity;
  2. (λa)b=a(λb)=λ(ab)(\lambda\overline{a})\cdot\overline{b}=\overline{a}\cdot(\lambda\overline{b})=\lambda(\overline{a}\cdot\overline{b}) — homogeneity (a scalar factor pulls out); the dot product is not associative, since (ab)c(\overline{a}\cdot\overline{b})\cdot\overline{c} is undefined;
  3. a(b+c)=ab+ac\overline{a}\cdot(\overline{b}+\overline{c})=\overline{a}\cdot\overline{b}+\overline{a}\cdot\overline{c} — distributivity;
  4. ab=0ab\overline{a}\cdot\overline{b}=0\Leftrightarrow\overline{a}\perp\overline{b}, or a=0\overline{a}=0, or b=0\overline{b}=0;
  5. aa=a2a=aa\overline{a}\cdot\overline{a}=|\overline{a}|^2\Rightarrow|\overline{a}|=\sqrt{\overline{a}\cdot\overline{a}}.

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\}, then

(ab)=x1x2+y1y2+z1z2.(\overline{a}\cdot\overline{b})=x_1x_2+y_1y_2+z_1z_2.
I.4 (a) Length of a=αm+βn\overline{a}=\alpha\overline{m}+\beta\overline{n}

If a=αm+βn\overline{a}=\alpha\overline{m}+\beta\overline{n}, where m,n|\overline{m}|,\,|\overline{n}| and the angle m,n^\widehat{\overline{m},\overline{n}} between the vectors are known and α,β=const\alpha,\beta=\text{const}, then

a=aa=(αm+βn)(αm+βn)==α2(mm)+2αβ(mn)+β2(nn)==α2m2+2αβmncos(m,n^)+β2n2.\begin{aligned}|\overline{a}|&=\sqrt{\overline{a}\cdot\overline{a}}=\sqrt{(\alpha\overline{m}+\beta\overline{n})\cdot(\alpha\overline{m}+\beta\overline{n})}=\\[6pt] &=\sqrt{\alpha^2(\overline{m}\cdot\overline{m})+2\alpha\beta(\overline{m}\cdot\overline{n})+\beta^2(\overline{n}\cdot\overline{n})}=\\[6pt] &=\sqrt{\alpha^2|\overline{m}|^2+2\alpha\beta|\overline{m}||\overline{n}|\cos\bigl(\widehat{\overline{m},\overline{n}}\bigr)+\beta^2|\overline{n}|^2}.\end{aligned}
I.4 (b) Scalar Product of Two Combinations

If a=αm+βn\overline{a}=\alpha\overline{m}+\beta\overline{n} and b=lm+dn\overline{b}=l\overline{m}+d\overline{n}, where m,n|\overline{m}|,\,|\overline{n}| and the angle m,n^\widehat{\overline{m},\overline{n}} are known and α,β,l,d=const\alpha,\beta,l,d=\text{const}, then

(ab)=(αm+βn)(lm+dn)=αlm2++(αd+βl)mncos(m,n^)+βdn2.\begin{aligned}(\overline{a}\cdot\overline{b})&=(\alpha\overline{m}+\beta\overline{n})\cdot(l\overline{m}+d\overline{n})=\alpha l\,|\overline{m}|^2+\\[6pt] &\quad+(\alpha d+\beta l)\,|\overline{m}||\overline{n}|\cos\bigl(\widehat{\overline{m},\overline{n}}\bigr)+\beta d\,|\overline{n}|^2.\end{aligned}
I.4 (c) Angle Between Two Vectors

The angle φ\varphi between two nonzero vectors a\overline{a} and b\overline{b} is computed by the formula

cosφ=(ab)ab(a,b0).\cos\varphi=\frac{(\overline{a}\cdot\overline{b})}{|\overline{a}|\cdot|\overline{b}|}\qquad(\overline{a},\overline{b}\neq\overline{0}).
Two vectors a and b with the angle φ between them
I.4 (d) Angle Between Two Vectors in Coordinates

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\} are both nonzero, then

cosφ=(ab)ab=x1x2+y1y2+z1z2x12+y12+z12x22+y22+z22.\cos\varphi=\frac{(\overline{a}\cdot\overline{b})}{|\overline{a}||\overline{b}|}=\frac{x_1x_2+y_1y_2+z_1z_2}{\sqrt{x_1^2+y_1^2+z_1^2}\,\sqrt{x_2^2+y_2^2+z_2^2}}.
Vector Product
I.5 Vector Product of Vectors

Definition. The vector product (cross product) of a vector a\overline{a} by a vector b\overline{b} is the vector c\overline{c} satisfying the following conditions:

  1. c=absin(a,b^)|\overline{c}|=|\overline{a}|\cdot|\overline{b}|\sin\bigl(\widehat{\overline{a},\overline{b}}\bigr);
  2. ca, cb\overline{c}\perp\overline{a},\ \overline{c}\perp\overline{b};
  3. the vector c\overline{c} is directed so that, seen from its end, the shortest rotation from a\overline{a} to b\overline{b} is counterclockwise (the right-hand rule).

The vector product is denoted a×b\overline{a}\times\overline{b} or [a,b][\overline{a},\overline{b}]. Conditions 2–3 fix a direction only when a×b0\overline{a}\times\overline{b}\neq\overline{0}, i.e. when a\overline{a} and b\overline{b} are nonzero and non-parallel; otherwise a×b=0\overline{a}\times\overline{b}=\overline{0} (property 2 below).

Properties of the vector product:

  1. a×b=b×a\overline{a}\times\overline{b}=-\,\overline{b}\times\overline{a} — anticommutative;
  2. a×b=0\overline{a}\times\overline{b}=0 if a=0\overline{a}=0 or b=0\overline{b}=0, or ab\overline{a}\parallel\overline{b};
  3. (λa)×b=a×(λb)=λ(a×b)(\lambda\overline{a})\times\overline{b}=\overline{a}\times(\lambda\overline{b})=\lambda(\overline{a}\times\overline{b}) — the scalar factor may be taken outside;
  4. a×(b+c)=a×b+a×c\overline{a}\times(\overline{b}+\overline{c})=\overline{a}\times\overline{b}+\overline{a}\times\overline{c} — distributive over addition.

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\}, then

a×b=ijkx1y1z1x2y2z2==i(y1z2y2z1)j(x1z2x2z1)+k(x1y2x2y1).\begin{aligned}\overline{a}\times\overline{b}&=\begin{vmatrix}\overline{i}&\overline{j}&\overline{k}\\ x_1&y_1&z_1\\ x_2&y_2&z_2\end{vmatrix}=\\[6pt] &=\overline{i}(y_1z_2-y_2z_1)-\overline{j}(x_1z_2-x_2z_1)+\overline{k}(x_1y_2-x_2y_1).\end{aligned}
I.5 (a) Area of a Triangle

The area of the triangle built on the vectors a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\} is computed by the formula

SΔ=12[a,b]=12ijkx1y1z1x2y2z2==12(y1z2y2z1)i+(x2z1x1z2)j+(x1y2x2y1)k==12(y1z2y2z1)2+(x2z1x1z2)2+(x1y2x2y1)2.\begin{aligned}S_\Delta&=\tfrac12\,\bigl|[\overline{a},\overline{b}]\bigr|=\tfrac12\left|\begin{vmatrix}\overline{i}&\overline{j}&\overline{k}\\ x_1&y_1&z_1\\ x_2&y_2&z_2\end{vmatrix}\right|=\\[6pt] &=\tfrac12\bigl|(y_1z_2-y_2z_1)\overline{i}+(x_2z_1-x_1z_2)\overline{j}+(x_1y_2-x_2y_1)\overline{k}\bigr|=\\[6pt] &=\tfrac12\sqrt{(y_1z_2-y_2z_1)^2+(x_2z_1-x_1z_2)^2+(x_1y_2-x_2y_1)^2}.\end{aligned}
I.5 (b) Vector Product of Two Combinations · Area of a Parallelogram

If a=αm+βn\overline{a}=\alpha\overline{m}+\beta\overline{n} and b=lm+dn\overline{b}=l\overline{m}+d\overline{n}, where α,β,l,d=const\alpha,\beta,l,d=\text{const}, then

[a,b]=[αm+βn, lm+dn]==αl[m,m]+αd[m,n]+βl[n,m]+βd[n,n]=(βlαd)[n,m],\begin{aligned}[\overline{a},\overline{b}]&=[\alpha\overline{m}+\beta\overline{n},\ l\overline{m}+d\overline{n}]=\\[6pt] &=\alpha l[\overline{m},\overline{m}]+\alpha d[\overline{m},\overline{n}]+\beta l[\overline{n},\overline{m}]+\beta d[\overline{n},\overline{n}]=(\beta l-\alpha d)[\overline{n},\overline{m}],\end{aligned}

since [m,n]=[n,m][\overline{m},\overline{n}]=-[\overline{n},\overline{m}]; [m,m]=0[\overline{m},\overline{m}]=0; [n,n]=0[\overline{n},\overline{n}]=0. The area of the parallelogram is

Spar=[a,b]=(βlαd)[n,m]==βlαdnmsin(n,m^).\begin{aligned}S_{\text{par}}&=\bigl|[\overline{a},\overline{b}]\bigr|=\bigl|(\beta l-\alpha d)[\overline{n},\overline{m}]\bigr|=\\[6pt] &=|\beta l-\alpha d|\cdot|\overline{n}|\cdot|\overline{m}|\sin\bigl(\widehat{\overline{n},\overline{m}}\bigr).\end{aligned}
I.5 (c) A Vector Perpendicular to Two Vectors

The vector product [a,b][\overline{a},\overline{b}] is perpendicular to both a\overline{a} and b\overline{b}. If a\overline{a} and b\overline{b} are non-parallel, the vectors perpendicular to both form a line: every such c\overline{c} satisfies c=λ[a,b]\overline{c}=\lambda[\overline{a},\overline{b}]. For a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\} and b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\}, one such vector is

[a,b]=ijkx1y1z1x2y2z2==(y1z2y2z1)i+(x2z1z2x1)j+(x1y2x2y1)k,\begin{aligned}[\overline{a},\overline{b}]&=\begin{vmatrix}\overline{i}&\overline{j}&\overline{k}\\ x_1&y_1&z_1\\ x_2&y_2&z_2\end{vmatrix}=\\[6pt] &=(y_1z_2-y_2z_1)\overline{i}+(x_2z_1-z_2x_1)\overline{j}+(x_1y_2-x_2y_1)\overline{k},\end{aligned}

or

c=Xi+Yj+Zk,\overline{c}=X\overline{i}+Y\overline{j}+Z\overline{k},

where

X=y1z2y2z1;Y=x2z1z2x1;Z=x1y2x2y1.X=y_1z_2-y_2z_1;\qquad Y=x_2z_1-z_2x_1;\qquad Z=x_1y_2-x_2y_1.

When a×b0\overline{a}\times\overline{b}\neq\overline{0}, the two unit vectors perpendicular to both a\overline{a} and b\overline{b} are ±[a,b][a,b]\pm\dfrac{[\overline{a},\overline{b}]}{\bigl|[\overline{a},\overline{b}]\bigr|}.

Mixed Product
I.6 Mixed Product of Three Vectors

Definition. The mixed product of vectors a,b\overline{a},\overline{b} and c\overline{c} is the scalar product of the vector a×b\overline{a}\times\overline{b} with the vector c\overline{c}, i.e. (a×b)c(\overline{a}\times\overline{b})\cdot\overline{c} — also called the scalar triple product.

Properties of the mixed product:

  1. The mixed product equals zero if: (a) at least one of the factors is zero; (b) two of the factors are collinear (lie on parallel lines); (c) the three nonzero vectors are parallel to one and the same plane (coplanarity).
  2. The mixed product is unchanged when the dot and the cross are interchanged (without reordering the vectors): (a×b)c=a(b×c)(\overline{a}\times\overline{b})\cdot\overline{c}=\overline{a}\cdot(\overline{b}\times\overline{c}); it is therefore written simply abc\overline{a}\,\overline{b}\,\overline{c}.
  3. It does not change under a cyclic permutation of the vectors: abc=bca=cab\overline{a}\,\overline{b}\,\overline{c}=\overline{b}\,\overline{c}\,\overline{a}=\overline{c}\,\overline{a}\,\overline{b}.
  4. Swapping any two vectors changes only its sign: bac=abc;  cba=abc;  acb=abc.\overline{b}\,\overline{a}\,\overline{c}=-\overline{a}\,\overline{b}\,\overline{c};\ \ \overline{c}\,\overline{b}\,\overline{a}=-\overline{a}\,\overline{b}\,\overline{c};\ \ \overline{a}\,\overline{c}\,\overline{b}=-\overline{a}\,\overline{b}\,\overline{c}.

If a={x1,y1,z1}\overline{a}=\{x_1,y_1,z_1\}; b={x2,y2,z2}\overline{b}=\{x_2,y_2,z_2\}; c={x3,y3,z3}\overline{c}=\{x_3,y_3,z_3\}, then

abc=x1y1z1x2y2z2x3y3z3.\overline{a}\,\overline{b}\,\overline{c}=\begin{vmatrix}x_1&y_1&z_1\\ x_2&y_2&z_2\\ x_3&y_3&z_3\end{vmatrix}.

From these properties it follows that:

(a) the necessary and sufficient condition for the coplanarity of three vectors is abc=0\overline{a}\,\overline{b}\,\overline{c}=0, i.e.

x1y1z1x2y2z2x3y3z3=0;\begin{vmatrix}x_1&y_1&z_1\\ x_2&y_2&z_2\\ x_3&y_3&z_3\end{vmatrix}=0;

(b) the volume V1V_1 of the parallelepiped built on a,b,c\overline{a},\overline{b},\overline{c} and the volume V2V_2 of the triangular pyramid (tetrahedron) they form are found by the formulas V1=abcV_1=\bigl|\overline{a}\,\overline{b}\,\overline{c}\bigr|, or

V1=abs.valx1y1z1x2y2z2x3y3z3,V2=16V1=16abc,V_1=\text{abs.val}\begin{vmatrix}x_1&y_1&z_1\\ x_2&y_2&z_2\\ x_3&y_3&z_3\end{vmatrix},\qquad V_2=\tfrac16 V_1=\tfrac16\bigl|\overline{a}\,\overline{b}\,\overline{c}\bigr|,

or

V2=16abs.valx1y1z1x2y2z2x3y3z3.V_2=\tfrac16\,\text{abs.val}\begin{vmatrix}x_1&y_1&z_1\\ x_2&y_2&z_2\\ x_3&y_3&z_3\end{vmatrix}.
Projection onto an Axis
I.7 Scalar and Vector Projections

The projection of a vector AB\overline{AB} onto an axis ll is the value of the directed segment ABA'B' enclosed between the projections of the start and the end of AB\overline{AB}, taken with a positive sign when AB\overline{A'B'} has the direction of the unit vector of the axis ll, and with a negative sign when AB\overline{A'B'} and that unit vector have opposite directions. Let l\overline{l} be any nonzero vector along the axis ll; then

prlAB=ABcos(AB,l^)=(ABl)l(l0);\text{pr}_l\,\overline{AB}=|\overline{AB}|\cos\bigl(\widehat{\overline{AB},\,l}\bigr)=\frac{(\overline{AB}\cdot\overline{l})}{|\overline{l}|}\qquad(\overline{l}\neq\overline{0});
AB=llprlAB=l(ABl)l2.\overline{A'B'}=\frac{\overline{l}}{|\overline{l}|}\cdot\text{pr}_l\,\overline{AB}=\overline{l}\,\frac{(\overline{AB}\cdot\overline{l})}{|\overline{l}|^2}.
Projection of vector AB onto axis l, between the feet A′ and B′ of the perpendiculars