Conclusion:
The equation x/a + y/b = 1
:
- defines a string
- has x-intercept = a
- has y-intercept = b
From trigonometry, remember how rays rotated by the angle t
will be projected on the x and y axis in accordance with (angle=t, radius=1) -> (x=cos(t), y=sin(t))
*

Draw a tangent line at the marked point. Trigonometry (or even geometry with similar triangles) tells us that the tangent line intersects at x=1/cos(t)
, y=1/sin(t)
. Thus, a line at a distance of 1 will have a=1/cos(t)
and b=1/sin(t)
and thus x/(1/cos(t)) + y/(1/sin(t)) = 1
...
... which is just cos(t) x + sin(t) y = rho
, where rho=1
You can see that rho
corresponds to how far the line is from the origin (either playing with the equation, or noting that here the multiplication scales all the values ββby the same amount, effectively scaling the grid).
* see http://en.wikipedia.org/wiki/File:Unit_circle.svg for a loan
source share