Alternative equation for a line

  • Thread starter Thread starter noxf
  • Start date Start date
  • Tags Tags
    Line
AI Thread Summary
The discussion centers on deriving an alternative equation for a line in R^2, specifically transitioning from the standard form ax + by = c to the polar form xsin(r) - ycos(r) + p = 0. The angle r is identified as the angle between the line and the x-axis, while |p| represents the distance from the line to the origin. A method is suggested involving the y-intercept and forming a right triangle to relate the coordinates of points on the line to the angle. The tangent function is used to derive a connection between the coordinates and the angle, facilitating the transition to the lemma's equation. This approach aims to clarify the relationship between the two forms of the line equation.
noxf
Messages
8
Reaction score
0
Hi there,

I've been having a problem understanding how to derive a formula. I have here a lemma that states:
A line L is a set of points (x,y) in R^2 where (x,y) satisfy the equation ax + by = c with (a,b) are not trivial and every such equation determines a line. This can be rewritten as:
xsin(r) - ycos(r) + p = 0

Maybe I'm constantly doing something wrong but I've tried to do tricks with the vector form of a line and polar coordinates but to no avail :(

Anyone got an idea?
 
Mathematics news on Phys.org
noxf said:
Hi there,

I've been having a problem understanding how to derive a formula. I have here a lemma that states:
A line L is a set of points (x,y) in R^2 where (x,y) satisfy the equation ax + by = c with (a,b) are not trivial and every such equation determines a line. This can be rewritten as:
xsin(r) - ycos(r) + p = 0

Maybe I'm constantly doing something wrong but I've tried to do tricks with the vector form of a line and polar coordinates but to no avail :(

Anyone got an idea?
What does r represent in the second equation? Pretty obviously it's an angle, but which angle?
 
r is the angle between the line L and x-axis. |p| is the distance from L to (0,0).
 
From the equation ax + by = c, solve for y to get y = (-a/b) * x + c/b
When x = 0, y = c/b, so the y-intercept is at (0, c/b).

Let P(x, y) be a point on line L. Form a right triangle whose vertices are (0, c/b), (x, y) and (x, y - c/b). (In my drawing I am assuming that line L has a positive slope, so that the point at (x, y) is above and to the right of the y-intercept.)

From this triangle, tan(r) = (y - c/b)/x, so x tan(r) = y - c/b. From here you should be able to get to the equation in the lemma.
 
Thanks a lot for the swift reply :)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.

Similar threads

Back
Top