# 5.1.2: Distance Between Two Polar Coordinates

$$\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}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$

Application of the law of cosines.

## Distance Between Two Polar Coordinates

When playing a game of darts with your friend, the darts you throw land in a pattern like this

You and your friend decide to find out how far it is between the two darts you threw. If you know the positions of each of the darts in polar coordinates, can you somehow find a formula to let you determine the distance between the two darts?

### Finding the Distance Between Two Polar Coordinates

Just like the Distance Formula for x and y coordinates, there is a way to find the distance between two polar coordinates. One way that we know how to find distance, or length, is the Law of Cosines, $$a^2=b^2+c^2−2bc\cos A$$ or $$a=\sqrt{b^2+c^2−2bc\cos A}$$. If we have two points $$(r_1,\theta _1)$$ and $$(r_2,\theta _2)$$, we can easily substitute r1 for b and r2 for c. As for A, it needs to be the angle between the two radii, or $$(\theta _2−\theta _1)$$. Finally, a is now distance and you have $$d=r^2_1+r^2_2−2r_1r_2 \cos(\theta _2−\theta _1)$$.

#### Finding the Distance

1. Find the distance between $$(3,60^{\circ} )$$ and $$(5,145^{\circ} )$$.

After graphing these two points, we have a triangle. Using the new Polar Distance Formula, we have $$d=\sqrt{3^2+5^2−2(3)(5)\cos 85^{\circ} }\approx 5.6$$.

2. Find the distance between $$(9,−45^{\circ} )$$ and ($$−4,70^{\circ}$$).

This one is a little trickier than the last #1 because we have negatives. The first point would be plotted in the fourth quadrant and is equivalent to $$(9,315^{\circ} )$$. The second point would be $$(4,70^{\circ} )$$ reflected across the pole, or $$(4,250^{\circ} )$$. Use these two values of \theta for the formula. Also, the radii should always be positive when put into the formula. That being said, the distance is $$d=9^2+4^2−2(9)(4)\cos (315−250)^{\circ} \approx 8.16$$.

3. Find the distance between $$(2,10^{\circ} )$$ and $$(7,10^{\circ} )$$.

This problem is straightforward from looking at the relationship between the points. The two points lie at the same angle, so the straight line distance between them is 7−2=5. However, we can confirm this using the distance formula:

$$d=\sqrt{2^2+7^2−2(2)(7)\cos 0^{\circ} }=\sqrt{4+49−28}=\sqrt{25}=5$$.

##### Example $$\PageIndex{1}$$

Earlier, you were asked to find the distance between the two darts.

Using the Distance Formula for points in a polar plot, it is possible to determine the distance between the 2 darts:

Solution

\begin{aligned} d&=\sqrt{3^2+6^2−2(4)(6)\cos 45^{\circ} } \\ d&=\sqrt{9+36−48(.707)} \\ d&=\sqrt{45−33.936} \\ d&\approx 11.064 \end{aligned}

##### Example $$\PageIndex{2}$$

Given P1 and P2, calculate the distance between the points.

$$P_1(1,30^{\circ} )$$ and $$P_2(6,135^{\circ} )$$

Solution

Use $$P_1P_2=\sqrt{r^2_1+r^2_2−2r_1r_2\cos (\theta _2−\theta _1)}$$.

\begin{aligned} P_1P_2&=1^2+6^2−2(1)(6)\cos (135^{\circ} −30^{\circ} ) \\ P_1P_2 &\approx 6.33 \text{ units}\end{aligned}

##### Example $$\PageIndex{3}$$

Given $$P_1$$ and $$P_2$$, calculate the distance between the points.

$$P_1(2,−65^{\circ} )$$ and $$P_2(9,85^{\circ} )$$

Solution

Use $$P_1P_2=\sqrt{r^2_1+r^2_2−2r_1r_2\cos (\theta _2−\theta _1)}$$.

$$P_1P_2=\sqrt{2^2+9^2−2(2)(9)\cos 150^{\circ} }=10.78$$

##### Example $$\PageIndex{4}$$

Given $$(P_1$$ and $$P_2$$, calculate the distance between the points.

$$P_1(−3,142^{\circ} )$$ and $$P_2(10,−88^{\circ} )$$

Solution

3. Use $$P_1P_2=\sqrt{r^2_1+r^2_2−2r_1r_2\cos (\theta _2−\theta _1)}$$.

\begin{aligned} P_1P_2&=\sqrt{3^2+10^2−2(3)(10) \cos(322−272)^{\circ} } \\ &=8.39 \end{aligned}

### Review

Find the distance between each set of points.

1. $$(1,150^{\circ} )$$ and $$(2,130^{\circ} )$$
2. $$(4,90^{\circ} )$$ and $$(5,210^{\circ} )$$
3. $$(6,60^{\circ} )$$ and $$(2,90^{\circ} )$$
4. $$(2,120^{\circ} )$$ and $$(1,150^{\circ} )$$
5. $$(7,210^{\circ} )$$ and $$(4,300^{\circ} )$$
6. $$(−4,120^{\circ} )$$ and $$(2,100^{\circ} )$$
7. $$(3,−90^{\circ} )$$ and $$(5,150^{\circ} )$$
8. $$(−4,−30^{\circ} )$$ and $$(3,250^{\circ} )$$
9. $$(7,−150^{\circ} )$$ and $$(4,130^{\circ} )$$
10. $$(−2,300^{\circ} )$$ and $$(2,10^{\circ} )$$
11. Find the length of the arc between the points $$(3,40^{\circ} )$$ and $$(3,150^{\circ} )$$.
12. Find the length of the arc between the points $$(1,10^{\circ} )$$ and $$(1,70^{\circ} )$$.
13. Find the area of the sector created by the origin and the points $$(4,20^{\circ} )$$ and $$(4,110^{\circ} )$$.
14. Find the area of the sector created by the origin and the points $$(2,100^{\circ} )$$ and $$(2,180^{\circ} )$$.
15. Find the area of the sector created by the origin and the points $$(5,110^{\circ} )$$ and $$(5,160^{\circ} )$$.