[Math] How to find the shortest distance from a line given in polar coordinates and a point given in Cartesian coordinates

polar coordinates

How do I find the shortest distance from a line given in polar coordinates and a point given in Cartesian coordinates?

For example, say that the line is given by the polar coordinates rho = 2 and theta = 30 degrees, while the point is given by the Cartesian coordinates x = 7 and y = 7. How would I find the shortest distance from the point to the line? Thanks!

EDIT:

The line I described above is the line which passes though the polar point given by rho = 2 and theta = 30 degrees and is also perpendicular to the the line from the origin to this point. This is how I was defining this line using only rho and theta. Sorry for the confusion. With this added note, can anyone help? Thanks!

Best Answer

First, use $r$ and $\theta$ to find an equation for the line you are describing in slope-intercept form.

In particular, convert your given point from polar coordinates to its Cartesian coordinates $(x,y)$, using $x = r\cos\theta$ and $y = r\sin\theta$.

Note also that the line from the origin through this point has slope $y/x$.

Now, to find the line this point describes (as in your question) note that you have a point on the line, namely, $(x,y)$, and know the slope will be $-x/y$. A single point and the slope are enough to find an equation for the line. (I'll leave that to you.)

Now the question becomes: given a line in slope-intercept form and a point's Cartesian coordinates, how do we find the shortest distance between them?

This last question has a standard formula whose derivation I assume you are familiar with.