Suppose the two equations represent the same straight line. Since every line is parallel to itself, a1b2 = a2b1 and hence a1:b1 = a2:b2. If b1 = 0, then b2 = 0 so that a1 and a2 are non-zero.
This implies that
-c1/a1 = - c2/a2
Therefore
a1: b1: c1 = a2 : b2 : c2
If b1x ≠ 0, then b2 ≠ x 0(since a1b2 = a2b1). Let
b1/b2 = λ
Therefore,
a1b2 = a2b1 ⇒ a2/a1 = b2/b1 = 1/λ
⇒ a1 = λa2 ...(1)
Also (0, −c1/b1) is a point on a1x + b1y = c1 = 0 which implies that(0, -c1 /b1) also lies on a2x + b2y + c2 = 0.
Therefore
Therefore, from Eqs. (1) and (2)
a1: b1: c1 = a2 : b2 : c2
Conversely, suppose a1: b1: c1 = a2 : b2 : c2 Therefore, for some real λ ≠ 0, we have a1 = λa2, b1 = λb2, c1 = λc2. Hence
Therefore, both equations represent the same straight line.