Points from a distance and a direction · Mathematics… | StemPy Lab
Course 14.2·Lesson 1 of 3
Points from a distance and a direction
A point in the plane can be fixed by its distance r from a centre called the pole and by the angle θ of the direction, measured from the polar axis. The two systems are linked by x=rcosθ
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
change a point between polar and rectangular coordinates, with the right quadrant;
write a point in more than one polar form, including one with a negative r;
change an equation between the two systems, and find the distance between two points.
Distance and direction
A lighthouse keeper does not say "the ship is 3 km east and 4 km north". She says "the ship is 5 km away, in that direction". A distance and a direction place the ship just as well. This is the idea of polar coordinates.
Fix a point O, the pole, and a ray from it, the polar axis. It is the positive x-axis. A point P has polar coordinates (r,θ):
r is the distance OP;
θ is the angle from the polar axis to the line OP, measured counterclockwise and in radians.
Books also call θ the polar angle, and some use degrees. In calculus we always use radians, because the formulas for slope and area depend on it.
A coordinate plane with the pole at the origin and the polar axis along the positive x-axis. A point P is joined to the origin by a line of length r. An arc marked theta shows the angle from the polar axis to the line OP, measured counterclockwise. Dashed lines drop from P to the axes and are marked x = r cos theta and y = r sin theta. A second point is shown in the third quadrant with a negative r, marked as the same point as (r, theta + pi).
Between polar and rectangular coordinates
Put the pole at the origin and the polar axis along the positive x-axis. Then
x=rcosθ,y=rsinθ,r2=x2+y2,tanθ=xy.
Polar to rectangular. For (4,3π) we get x=4cos3π=2 and y=4sin3π=23.
Rectangular to polar. Take (−3,3). Then r=9+9=32. The equation tanθ=−33=−1 has two solutions between 0 and 2π, namely 43π and 47π. The point is in the second quadrant (x<0, y>0), so θ=43π. The calculator value tan−1(−1)=−4π would put the point in the fourth quadrant. Always check the signs of x and y. In Python, atan2(y, x) does this for you.
Many names for one point
Adding a full turn changes nothing: (r,θ) and (r,θ+2π) are the same point.
A negative r means "go the opposite way". The points (r,θ) and (−r,θ+π) are the same.
The pole is the point with r=0, for any θ.
So (−2,6π) is the same point as (2,67π). Both give x=−3 and y=−1. In a rectangular system every point has one name. In a polar system it has infinitely many. This matters when we look for the places where two curves meet.
Equations in the two systems
Use the four formulas above, and multiply by r when it helps.
r=c is a circle of radius c with its centre at the pole: x2+y2=c2.
θ=α is a line through the pole, with slope tanα.
rcosθ=a is the vertical line x=a, so r=asecθ. Likewise rsinθ=b is the horizontal line y=b.
r=2acosθ. Multiply by r: r2=2arcosθ, which is x2+y2=2ax, or (x−a)2+y2=a2. It is a circle of radius a with centre (a,0). In the same way r=2bsinθ is a circle of radius b with centre (0,b).
Example. The curve r=6cosθ is the circle (x−3)2+y2=9, with centre (3,0) and radius 3. The curve x2+y2=4y becomes r2=4rsinθ, which is r=4sinθ.
The distance between two points
For the points (r1,θ1) and (r2,θ2), the cosine rule in the triangle with the pole gives
d2=r12+r22−2r1r2cos(θ1−θ2).
For (3,0) and (4,3π): d2=9+16−24cos3π=13, so d=13≈3.606.
Practise with new numbers
Try it in Python
The program changes points from one system to the other. It shows why tan−1(y/x) can give a wrong quadrant, and it confirms that two names of a point give the same position.
Common mistakes
Taking the calculator angle without checking the quadrant. Look at the signs of x and y.
Using degrees in calculus. The formulas for slope and area need radians.
Forgetting that r can be negative. A negative r points the opposite way.
Thinking that a point has only one polar name. There are infinitely many.
Remember these
x=rcosθ, y=rsinθ, r2=x2+y2, tanθ=xy with the quadrant checked.
(r,θ)=(r,θ+2π)=(−r,θ+π).
r=2acosθ is a circle through the pole with centre (a,0). r=2bsinθ has centre (0,b).
d2=r12+r22−2r1r2cos(θ1−θ2).
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Change (6,32π) to rectangular coordinates.
Write the point (−2,2) in polar form with r>0 and 0≤θ<2π.
Give another name for (3,4π) that has a negative r.
Write r=8cosθ in rectangular form.
Write the line x+y=4 in polar form.
Find the distance between the points (3,0) and (4,3π) without changing to rectangular coordinates.