Skip to main content
Mathematics LibreTexts

3.1: Three Dimensional Vectors

  • Page ID
    125035

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    3-Dimensional Space

    To this point, we have been working with vectors in 2-dimenisional space. Now, we will expand our discussion to 3-dimensional space.

    Definition: 2-Dimenisional Co-ordinate Sysytem

    The 2-dimensional coordinate system is built around a set of two axes that intersect at right angles and one particular point called the origin. Points in the plane are described by ordered pairs \((x, y)\) and vectors in standard position by \(\langle x, y\rangle\).

    Diagram showing the 2-dimensional coordinate system with a vector and its coordinates. The vector has a starting point of (0,0) and an ending point of (2,3). There are two black lines that connect the terminal point to the x-axis and the y-axis.

    Definition: 3-Dimenisional Co-ordinate Sysytem

    The 3-dimensional coordinate system is built around a set of three axes that intersect at right angles and one particular point again called the origin. Points in the plane are described by ordered triples \((x, y, z)\) and vectors in standard position by \(\langle x, y, z\rangle\).

    Diagram showing the 3-dimensional coordinate system with a vector and its coordinates. The vector  has a starting point of (0,0,0) and an ending point of (2,3,5). There are two black lines that connect the terminal point to the x-axis, the y-axis, and the z-axis.

    The Distance between two Points in 2 & 3-Dimensional Space

    In two-dimensional space, the distance \(d\) between two points say \(P(x_1,y_1)\) and \(Q(x_2,y_2)\) is given by the distance formula

    Diagram showing two points in a 2-dimensional coordinate system and the distance between them. There are two points P and Q where P is located at (x subscript 1, y subscript 1) and Q is located at (x subscript 2, y subscript 2).

    \[d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \nonumber \]

    In three-dimensional space, the distance \(d\) between two points say \(P(x_1,y_1,z_1)\) and \(Q(x_2,y_2,z_2)\) is given by the distance formula

    Diagram showing two points in a 3-dimensional coordinate system and the distance between them. There are two points P and Q where P is located at ((x subscript 1),(y subscript 1),(z subscript 1)) and Q is located at ((x subscript 2),(y subscript 2),(z subscript 2)).

    \[d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2} \nonumber \]

    Example \(\PageIndex{1}\)

    The distance between the two points \(P(2,\ 2,\ 5)\) and \(Q(5,\ 6,\ 2)\) is

    Solution

    Diagram showing two points in a 3-dimensional coordinate system and the calculation of the distance between them. There are two points P and Q where P is located at (2,2,5) and Q is located at (5,6,2). There is a line connection P and Q that is (square root of 34) units long. The gray lines connect point P to the x-axis, the y-axis, and the z-axis. The green lines connect point Q to the x-axis, the y-axis, and the z-axis.

    \(\begin{gathered}
    d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2} \\
    d=\sqrt{(5-2)^2+(6-2)^2+(2-5)^2} \\
    d=\sqrt{(3)^2+(4)^2+(-3)^2} \\
    d=\sqrt{9+16+9} \\
    d=\sqrt{34} \approx 5.8 \text { units }
    \end{gathered}\)

    The distance between the two points \(P(2,\ 2,\ 5)\) and \(Q(5,\ 6,\ 2)\) is \(\sqrt{34}\) \(\approx 5.8\\)units.

    Using Technology

    We can use technology to find the distance between points.

    Go to www.wolframalpha.com.

    To find the distance between the two points \((-3,\ 5)\) and \((-7,\ 4)\) enter distance \((-3,\ 5)\) and \((-7,\ 4)\) in the entry field. Wolframalpha tells you what it thinks you entered, then tells you its answer. In this case, \(\sqrt{17}\ \approx 4.1\)2311.

    This screenshot from WolframAlpha shows a calculation of the distance between the points (negative 3,5) and ( negative 7,4). The result is the (square root of 17) which is about 4.12311 units.

    The Equation of a Circle and a Sphere

    We can use the distance formulas to get equations of circles and spheres.

    The center-radius form of a circle with center at the point \(C(h,k)\) and radius \(r\) is

    Diagram showing use of distance formula to get equation of a circle with a point and radius. There is a circle with the center point (h,k) with an arrow from the center to the side of the circle labeled r. This circle is inside the xy plane.

    \[(x-h)^2+(y-k)^2=r^2 \nonumber \]

    The center-radius form of a sphere with center at the point \(C(h,k,j)\) and radius \(r\) is

    Diagram showing use of distance formula to get equation of a sphere with a point and radius. There is a sphere in the xyz plane with the center at (h,k,j). There is an arrow r that connects the center to the edge of the sphere.

    \[(x-h)^2+(y-k)^2+(z-j)^2=r^2 \nonumber \]

    Example \(\PageIndex{2}\)

    To write the equation of a circle that has the point \(C\left(4,\ 7\right)\) as its center and radius 8, we use the center-radius form \({\left(x-h\right)}^2+{\left(y-k\right)}^2=r^2\) with \(h=4\), \(k=7\), and \(r=8\).

    Solution

    \(\begin{aligned}
    & (x-h)^2+(y-k)^2=r^2 \\
    & (x-4)^2+(y-7)^2=8^2 \\
    & (x-4)^2+(y-7)^2=64
    \end{aligned}\)

    Example \(\PageIndex{3}\)

    To write the equation of a sphere that has the point \(C\left(4,\ 7,\ 1\right)\) as its center and radius 8, we use the center-radius form \({\left(x-h\right)}^2+{\left(y-k\right)}^2+\ {\left(z-j\right)}^2=r^2\) with \(h=4\), \(k=7\), \(j=1\), and \(r=8\).

    Solution

    \(\begin{aligned}
    & (x-h)^2+(y-k)^2+(z-j)^2=r^2 \\
    & (x-4)^2+(y-7)^2+(z-1)^2=8^2 \\
    & (x-4)^2+(y-7)^2+(z-1)^2=64
    \end{aligned}\)

    Try These

    Exercise \(\PageIndex{1}\)

    Find the distance between the two points (2,4) and (-3,6). Round to one decimal place.

    Answer

    \(\sqrt{29}\ \approx 5.4\) units

    Exercise \(\PageIndex{2}\)

    Find the distance between the two points (-3,5,-6) and (7,-4,2). Round to one decimal place.

    Answer

    \(7\sqrt{5}\ \approx 15.6\) units

    Exercise \(\PageIndex{3}\)

    Write the equation of a circle that has the point C(2,9) as its center and radius 1.

    Answer

    \({\left(x-2\right)}^2+{\left(y-9\right)}^2=1\)

    Exercise \(\PageIndex{4}\)

    Write the equation of a sphere that has the point C(-2,5,-7) as its center and radius 4.

    Answer

    \({\left(x+2\right)}^2+{\left(y-5\right)}^2+\ {\left(z+7\right)}^2=16\)


    This page titled 3.1: Three Dimensional Vectors is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Denny Burzynski (Downey Unified School District) .

    • Was this article helpful?