MatheramaMatherama
← Pair of Straight Lines
Pair of Straight Lines·Section 10·4 min read

Parallel Pair of Straight Lines

Condition Parallel Pair of Straight Lines§

Consider a pair of straight lines given by the equation:

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

Writing it as a quadratic equation in xx:

ax2+2(hy+g)x+(by2+2fy+c)=0ax^2 + 2(hy + g)x + (by^2 + 2fy + c) = 0

Using the quadratic formula to solve for xx:

x=−(2hy+2g)±[2(hy+g)]2−4a(by2+2fy+c)2ax = \frac{-(2hy + 2g) \pm \sqrt{[2(hy + g)]^2 - 4a(by^2 + 2fy + c)}}{2a}

Simplifying under the square root:

x=−(2hy+2g)±4(h2y2+2hgy+g2−aby2−2afy−ac)2ax = \frac{-(2hy + 2g) \pm \sqrt{4(h^2y^2 + 2hgy + g^2 - aby^2 - 2afy - ac)}}{2a} x=−(2hy+2g)±2(h2−ab)y2+2(hg−af)y+g2−ac2ax = \frac{-(2hy + 2g) \pm 2\sqrt{(h^2 - ab)y^2 + 2(hg - af)y + g^2 - ac}}{2a} x=−(hy+g)±(h2−ab)y2+2(hg−af)y+g2−acax = \frac{-(hy + g) \pm \sqrt{(h^2 - ab)y^2 + 2(hg - af)y + g^2 - ac}}{a}

There is a possibility that h2−ab=0h^2 - ab = 0 and hg−af=0hg - af = 0 (while g2−acg^2 - ac may not be zero). In that case:

x=−(hy+g)±g2−acax = \frac{-(hy + g) \pm \sqrt{g^2 - ac}}{a}

This gives us two values for xx:

x=−(hy+g)+g2−acaandx=−(hy+g)−g2−acax = \frac{-(hy + g) + \sqrt{g^2 - ac}}{a} \quad \text{and} \quad x = \frac{-(hy + g) - \sqrt{g^2 - ac}}{a}

These correspond to the equations:

ax+hy+g+g2−ac=0ax + hy + g + \sqrt{g^2 - ac} = 0 ax+hy+g−g2−ac=0ax + hy + g - \sqrt{g^2 - ac} = 0

Therefore, we get two parallel straight lines:

ax+hy+g+g2−ac=0ax + hy + g + \sqrt{g^2 - ac} = 0 ax+hy+g−g2−ac=0ax + hy + g - \sqrt{g^2 - ac} = 0

Thus, if h2−ab=0h^2 - ab = 0 and hg−af=0hg - af = 0, the original quadratic equation represents two parallel straight lines.

h2−ab=0&hg−af=0h^2 - ab = 0 \quad \& \quad hg - af = 0   ⟹  ha=bh&ha=fg\implies \frac{h}{a} = \frac{b}{h} \quad \& \quad \frac{h}{a} = \frac{f}{g}   ⟹  bh=fg\implies \frac{b}{h} = \frac{f}{g}   ⟹  hf−bg=0\implies hf - bg = 0 Δ=abc+2fgh−af2−bg2−ch2\Delta = abc + 2fgh - af^2 - bg^2 - ch^2 =(abc−ah2)+(fgh−af2)+(fgh−bg2)= (abc - ah^2) + (fgh - af^2) + (fgh - bg^2) =c(ab−h2)+f(hg−af)+g(hf−bg)= c(ab - h^2) + f(hg - af) + g(hf - bg) =c⋅0+f⋅0+g⋅0=0= c \cdot 0 + f \cdot 0 + g \cdot 0 = 0

So, the equation

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

represents a parallel pair of straight lines if

ha=bh=fg\frac{h}{a} = \frac{b}{h} = \frac{f}{g}

Coincident Lines§

If g2−ac=0g^2 - ac = 0 (which will also mean f2−bc=0f^2 - bc = 0), then the lines are coincident.

When g2−ac=0g^2 - ac = 0, the equation for the lines simplifies as follows:

Given:

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

We previously found:

x=−(hy+g)±g2−acax = \frac{-(hy + g) \pm \sqrt{g^2 - ac}}{a}

If g2−ac=0g^2 - ac = 0, the square root term vanishes:

x=−(hy+g)ax = \frac{-(hy + g)}{a}

This means both solutions for xx are the same, indicating coincident lines. Specifically:

ax+hy+g=0ax + hy + g = 0

Similarly, considering the equation as a quadratic in yy:

by2+2(hx+f)y+(ax2+2gx+c)=0by^2 + 2(hx + f)y + (ax^2 + 2gx + c) = 0

We use the quadratic formula to solve for yy:

y=−(2hx+2f)±[2(hx+f)]2−4b(ax2+2gx+c)2by = \frac{-(2hx + 2f) \pm \sqrt{[2(hx + f)]^2 - 4b(ax^2 + 2gx + c)}}{2b}

Simplifying under the square root:

y=−(2hx+2f)±4(h2x2+2hfx+f2−abx2−2agx−ac)2by = \frac{-(2hx + 2f) \pm \sqrt{4(h^2x^2 + 2hfx + f^2 - abx^2 - 2agx - ac)}}{2b} y=−(2hx+2f)±2(h2−ab)x2+2(hf−ag)x+f2−ac2by = \frac{-(2hx + 2f) \pm 2\sqrt{(h^2 - ab)x^2 + 2(hf - ag)x + f^2 - ac}}{2b} y=−(hx+f)±(h2−ab)x2+2(hf−ag)x+f2−acby = \frac{-(hx + f) \pm \sqrt{(h^2 - ab)x^2 + 2(hf - ag)x + f^2 - ac}}{b}

For the expression inside the square root to be zero:

(h2−ab)x2+2(hf−ag)x+(f2−ac)=0(h^2 - ab)x^2 + 2(hf - ag)x + (f^2 - ac) = 0

If h2−ab=0h^2 - ab = 0 and hf−ag=0hf - ag = 0, and also f2−ac=0f^2 - ac = 0, we get coincident lines.

So, the conditions for coincident lines are:

h2=abh^2 = ab hg=afhg = af g2=acg^2 = ac f2=bcf^2 = bc

Under these conditions, the equation:

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

represents coincident lines. These conditions ensure that the quadratic equation simplifies into a single pair of overlapping lines, confirming that the lines are coincident.

Distance between a parallel pair of straight lines§

Consider a parallel pair of straight lines represented by the quadratic equation:

ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0

Writing it as a quadratic equation in xx:

ax2+2(hy+g)x+(by2+2fy+c)=0ax^2 + 2(hy + g)x + (by^2 + 2fy + c) = 0

For the lines to be parallel, we set h2−ab=0h^2 - ab = 0 and hf−bg=0hf - bg = 0. Under these conditions, we get:

x=−(hy+g)±g2−acax = \frac{-(hy + g) \pm \sqrt{g^2 - ac}}{a}

This simplifies to the equations of two parallel lines:

ax+hy+g+g2−ac=0ax + hy + g + \sqrt{g^2 - ac} = 0 ax+hy+g−g2−ac=0ax + hy + g - \sqrt{g^2 - ac} = 0

The distance dd between these two parallel lines can be calculated using the formula for the distance between two parallel lines ax+by+c1=0ax + by + c_1 = 0 and ax+by+c2=0ax + by + c_2 = 0:

d=∣c1−c2∣a2+b2d = \frac{|c_1 - c_2|}{\sqrt{a^2 + b^2}}

In this case, c1=g+g2−acc_1 = g + \sqrt{g^2 - ac} and c2=g−g2−acc_2 = g - \sqrt{g^2 - ac}. Therefore, the distance dd between the two lines is:

d=∣(g+g2−ac)−(g−g2−ac)∣a2+h2d = \frac{|(g + \sqrt{g^2 - ac}) - (g - \sqrt{g^2 - ac})|}{\sqrt{a^2 + h^2}} d=∣g+g2−ac−g+g2−ac∣a2+h2d = \frac{|g + \sqrt{g^2 - ac} - g + \sqrt{g^2 - ac}|}{\sqrt{a^2 + h^2}} d=∣2g2−ac∣a2+h2d = \frac{|2\sqrt{g^2 - ac}|}{\sqrt{a^2 + h^2}}

Substituting h2=abh^2 = ab in the denominator:

d=2g2−aca2+abd = \frac{2\sqrt{g^2 - ac}}{\sqrt{a^2 + ab}} d=2g2−aca(a+b)d = \frac{2\sqrt{g^2 - ac}}{\sqrt{a(a + b)}}

Thus, the distance between the two parallel lines is:

d=2g2−aca(a+b)\boxed{d = \frac{2\sqrt{g^2 - ac}}{\sqrt{a(a + b)}}}

Alternatively,

Writing the given pair as a quadratic equation in yy:

by2+2(hx+f)y+(ax2+2gx+c)=0by^2 + 2(hx + f)y + (ax^2 + 2gx + c) = 0

For the lines to be parallel, we set h2−ab=0h^2 - ab = 0 and hf−bg=0hf - bg = 0. Under these conditions, we get:

y=−(hx+f)±f2−bcby = \frac{-(hx + f) \pm \sqrt{f^2 - bc}}{b}

This simplifies to the equations of two parallel lines:

bx+hy+f+f2−bc=0bx + hy + f + \sqrt{f^2 - bc} = 0 bx+hy+f−f2−bc=0bx + hy + f - \sqrt{f^2 - bc} = 0

The distance dd between these two parallel lines can be calculated using the formula for the distance between two parallel lines ax+by+c1=0ax + by + c_1 = 0 and ax+by+c2=0ax + by + c_2 = 0:

d=∣(f+f2−bc)−(f−f2−bc)∣a2+b2d = \frac{|(f + \sqrt{f^2 - bc}) - (f - \sqrt{f^2 - bc})|}{\sqrt{a^2 + b^2}} d=∣2f2−bc∣a2+b2d = \frac{|2\sqrt{f^2 - bc}|}{\sqrt{a^2 + b^2}}

Substituting h2=abh^2 = ab in the denominator:

d=2f2−bcb2+abd = \frac{2\sqrt{f^2 - bc}}{\sqrt{b^2 + ab}} d=2f2−bcb(a+b)d = \frac{2\sqrt{f^2 - bc}}{\sqrt{b(a + b)}}

Thus, the distance between the two parallel lines is:

d=2f2−bcb(a+b)\boxed{d = \frac{2\sqrt{f^2 - bc}}{\sqrt{b(a + b)}}}
Section 10 of 12 · Pair of Straight Lines

Mark this section complete when you have worked through its proofs.