Suppose the line is L which passes through (x1, y1).
Case 1: The line L is vertical so that θ = π/2. Since the equation of L is x = x1 which is written as (x - x1) : cosθ =(y - y1) : sin θ because cos θ = 0 and sinθ = 1.
Case 2: Suppose L is non-vertical so that θ ≠ π/ 2. Hence , its equation is
which shows that |γ| represents the distance of the point (x, y) on the line from the given point (x1, y1). Therefore, if (x, y) is any point on the line and γ is any real parameter, then the locus of the point (x1 + γcosθ, y1 + γ sinθ) is the straight line
(x - x1) : cosθ = (y - y1): sinθ
Also, γ takes positive values for points on the line on one side of (x1, y1) and takes negative values for the points on the other side of (x1, y1). For a given positive value of γ , there will be two points on the line which are equidistant from (x1, y1). Further, the equations
x = x1 + γcosθ and y = y1 + γsinθ
(θ is a fixed and γ is a parameter) are called the parametric equations of the line passing through (x1, y1) and making angle θ with the positive direction of the x-axis measured in counter clock sense.