Vectors in Three-Dimensional Space

the coordinate xyz-space In three-dimensional space, we add a zz-axis perpendicular (orthogonal) to the usual xx- and yy-axis to create a rectangular coordinate system called xyzxyz-space. The zz-axis is oriented relative to the xyxy-plane in accordance to the right-hand rule. Any pair of axes span a coordinate plane, and these coordinate planes split xyzxyz-space into eight octants. Each point can be described by a ordered triple (x,y,z).(x,y,z). All computations from two-dimensional space regarding either points or vectors generalize to three-dimensional space in the most natural way.

Given two points (x1,y1,z1)(x_1, y_1, z_1) and (x2,y2,z2),(x_2, y_2, z_2), the distance between them is (x2 ⁣ ⁣x1)2+(y2 ⁣ ⁣y1)2+(z2 ⁣ ⁣z1)2, \sqrt{(x_2\!-\!x_1)^2+(y_2\!-\!y_1)^2+(z_2\!-\!z_1)^2}, and their midpoint has coordinates (x,y,z)(\overline{x}, \overline{y}, \overline{z}) given by the formulas x=12(x1 ⁣+ ⁣x2) \overline{x} = \frac{1}{2}(x_1\!+\!x_2) and y=12(y1 ⁣+ ⁣y2) \overline{y} = \frac{1}{2}(y_1\!+\!y_2) and z=12(z1 ⁣+ ⁣z2). \overline{z} = \frac{1}{2}(z_1\!+\!z_2). In three-dimensional space, two points uniquely determine a line and three non-colinear points uniquely determine a plane. A sphere of radius rr centered at (h,k,)(h,k,\ell) has equation r2=(x2h)2+(y2k)2+(z2)2. r^2 = (x_2-h)^2+(y_2-k)^2+(z_2-\ell)^2\,. If a sphere intersects a plane in space, the resulting shape of their intersection, generically a circle, is called the trace of the sphere in the plane.

TK Vectors in xyzxyz-space have three components. The magnitude of v=v1,v2,v3\bm{v} = \langle v_1, v_2, v_3\rangle is calculated as v=v12+v22+v32.|\bm{v}| = \sqrt{v_1^2+v_2^2+v_3^2}\,. In addition to the unit coordinate vectors i=1,0,0{\mathbf{i} = \langle 1,0,0 \rangle} and j=0,1,0,{\mathbf{j} = \langle 0,1,0 \rangle,} we now have k=0,0,1.{\mathbf{k} = \langle 0,0,1 \rangle}. For vectors u=u1,u2,u3{\bm{u} = \langle u_1,u_2,u_3 \rangle} and v=v1,v2,v3{\bm{v} = \langle v_1,v_2,v_3 \rangle} their dot product is calculated as uv=u1v1+u2v2+u3v3=uvcos(θ).{\bm{u}\cdot\bm{v} = u_1v_1 + u_2v_2 + u_3v_3} = |\bm{u}||\bm{v}|\cos(\theta). The direction angles of a vector v\bm{v} are the three angles between v\bm{v} and each of the three coordinate axes. The cosines of these angles are referred to as the vector’s direction cosines. If α\alpha and β\beta and γ\gamma are the direction angles of v\bm{v} with the xx- and yy- and zz-axis respectively, then cos(α)=v1vcos(β)=v2vcos(γ)=v2vv=vcos(α),vcos(β),vcos(γ). \cos(\alpha) = \frac{v_1}{|\bm{v}|} \quad \cos(\beta) = \frac{v_2}{|\bm{v}|} \quad \cos(\gamma) = \frac{v_2}{|\bm{v}|} \qquad \bm{v} = \Bigl\langle |\bm{v}|\cos(\alpha), |\bm{v}|\cos(\beta), |\bm{v}|\cos(\gamma) \Bigr\rangle \,.