MatheramaMatherama
← Pair of Straight Lines
Pair of Straight Lines·Section 9·7 min read

General Pair of Straight Lines

General Pair of Straight Lines§

Consider two straight lines given by the equations:

l1x+m1y+n1=0l_1 x + m_1 y + n_1 = 0

and

l2x+m2y+n2=0l_2 x + m_2 y + n_2 = 0

The joint equation representing these two lines can be obtained by multiplying their individual equations:

(l1x+m1y+n1)(l2x+m2y+n2)=0(l_1 x + m_1 y + n_1)(l_2 x + m_2 y + n_2) = 0

Expanding this product, we get:

l1l2x2+(l1m2+l2m1)xy+m1m2y2+(l1n2+l2n1)x+(m1n2+m2n1)y+n1n2=0l_1 l_2 x^2 + (l_1 m_2 + l_2 m_1) xy + m_1 m_2 y^2 + (l_1 n_2 + l_2 n_1) x + (m_1 n_2 + m_2 n_1) y + n_1 n_2 = 0

This expanded form has the general quadratic structure:

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

where:

  • a=l1l2a = l_1 l_2
  • 2h=l1m2+l2m12h = l_1 m_2 + l_2 m_1
  • b=m1m2b = m_1 m_2
  • 2g=l1n2+l2n12g = l_1 n_2 + l_2 n_1
  • 2f=m1n2+m2n12f = m_1 n_2 + m_2 n_1
  • c=n1n2c = n_1 n_2

Converse Analysis§

A natural question arises: does the general second-degree equation

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

always represent a pair of straight lines?

The answer is no. The quadratic equation represents a pair of straight lines only under specific conditions. This is what we will first analyze: determining the conditions under which the equation represents a pair of straight lines.

Factorization§

To answer this question, let us first consider an example.

Take the lines 2x+y−3=02x + y - 3 = 0 and x+3y−1=0x + 3y - 1 = 0. To find their joint equation, we multiply the individual equations:

(2x+y−3)(x+3y−1)=0(2x + y - 3)(x + 3y - 1) = 0

Expanding this product, we get:

(2x+y−3)(x+3y−1)=2x(x+3y−1)+y(x+3y−1)−3(x+3y−1)(2x + y - 3)(x + 3y - 1) = 2x(x + 3y - 1) + y(x + 3y - 1) - 3(x + 3y - 1) =2x2+6xy−2x+xy+3y2−y−3x−9y+3= 2x^2 + 6xy - 2x + xy + 3y^2 - y - 3x - 9y + 3 =2x2+7xy+3y2−5x−10y+3=0= 2x^2 + 7xy + 3y^2 - 5x - 10y + 3 = 0

This expanded form is the joint equation of the lines 2x+y−3=02x + y - 3 = 0 and x+3y−1=0x + 3y - 1 = 0:

2x2+7xy+3y2−5x−10y+3=02x^2 + 7xy + 3y^2 - 5x - 10y + 3 = 0

The next step is to ask how one can get back the original equations from this expanded quadratic form. In other words, how can we factorize the quadratic equation to retrieve the two linear factors?

Given the quadratic equation:

2x2+7xy+3y2−5x−10y+3=02x^2 + 7xy + 3y^2 - 5x - 10y + 3 = 0

To factorize the given example equation 2x2+7xy+3y2−5x−10y+3=02x^2 + 7xy + 3y^2 - 5x - 10y + 3 = 0, we express it as a quadratic equation in xx:

2x2+(7y−5)x+(3y2−10y+3)=02x^2 + (7y - 5)x + (3y^2 - 10y + 3) = 0

Next, we solve for xx using the quadratic formula:

x=−(7y−5)±(7y−5)2−4⋅2⋅(3y2−10y+3)2⋅2x = \frac{-(7y - 5) \pm \sqrt{(7y - 5)^2 - 4 \cdot 2 \cdot (3y^2 - 10y + 3)}}{2 \cdot 2} x=−(7y−5)±49y2−70y+25−24y2+80y−244x = \frac{-(7y - 5) \pm \sqrt{49y^2 - 70y + 25 - 24y^2 + 80y - 24}}{4} x=−(7y−5)±25y2+10y+14x = \frac{-(7y - 5) \pm \sqrt{25y^2 + 10y + 1}}{4} x=−(7y−5)±(5y+1)24x = \frac{-(7y - 5) \pm \sqrt{(5y + 1)^2}}{4} x=−(7y−5)±(5y+1)4x = \frac{-(7y - 5) \pm (5y + 1)}{4}

This gives us two solutions for xx:

x=−(7y−5)+(5y+1)4=−7y+5+5y+14=−2y+64=−y+32x = \frac{-(7y - 5) + (5y + 1)}{4} = \frac{-7y + 5 + 5y + 1}{4} = \frac{-2y + 6}{4} = \frac{-y + 3}{2} x=−(7y−5)−(5y+1)4=−7y+5−5y−14=−12y+44=−3y+1x = \frac{-(7y - 5) - (5y + 1)}{4} = \frac{-7y + 5 - 5y - 1}{4} = \frac{-12y + 4}{4} = -3y + 1

Thus, the two factors of the quadratic equation are:

x=−y+32  ⟹  2x+y−3=0x = \frac{-y + 3}{2} \implies 2x + y - 3 = 0 x=−3y+1  ⟹  x+3y−1=0x = -3y + 1 \implies x + 3y - 1 = 0

Therefore, we have successfully factorized the quadratic equation back into its original linear equations:

2x+y−3=02x + y - 3 = 0 x+3y−1=0x + 3y - 1 = 0

This process illustrates how to factorize a quadratic equation representing a pair of straight lines by expressing it as a quadratic equation in one variable and then using the quadratic formula to find the linear factors.

Let us apply the same process to a general quadratic equation representing a pair of straight lines, consider the equation:

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

We express this equation as a quadratic 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=−2(hy+g)±[2(hy+g)]2−4a(by2+2fy+c)2ax = \frac{-2(hy + g) \pm \sqrt{[2(hy + g)]^2 - 4a(by^2 + 2fy + c)}}{2a}

Simplifying the discriminant:

x=−2(hy+g)±4(hy+g)2−4a(by2+2fy+c)2ax = \frac{-2(hy + g) \pm \sqrt{4(hy + g)^2 - 4a(by^2 + 2fy + c)}}{2a} x=−2(hy+g)±4(h2y2+2hgy+g2−aby2−2afy−ac)2ax = \frac{-2(hy + g) \pm \sqrt{4(h^2y^2 + 2hgy + g^2 - aby^2 - 2afy - ac)}}{2a} x=−2(hy+g)±2(h2−ab)y2+2(hg−af)y+g2−ac2ax = \frac{-2(hy + g) \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}

For this quadratic equation to represent a pair of straight lines, the expression inside the square root must be a perfect square. This requires that the discriminant of the quadratic expression inside the square root, which is a quadratic equation in yy, should be zero.

The discriminant of the quadratic expression (h2−ab)y2+2(hg−af)y+(g2−ac)(h^2 - ab)y^2 + 2(hg - af)y + (g^2 - ac) is:

Δ=[2(hg−af)]2−4(h2−ab)(g2−ac)\Delta = [2(hg - af)]^2 - 4(h^2 - ab)(g^2 - ac) Δ=4(hg−af)2−4(h2−ab)(g2−ac)\Delta = 4(hg - af)^2 - 4(h^2 - ab)(g^2 - ac) Δ=4[(hg−af)2−(h2−ab)(g2−ac)]\Delta = 4[(hg - af)^2 - (h^2 - ab)(g^2 - ac)]

For this discriminant to be zero:

(hg−af)2−(h2−ab)(g2−ac)=0(hg - af)^2 - (h^2 - ab)(g^2 - ac) = 0

Expanding and simplifying, we get the condition:

(hg−af)2−(h2g2−ach2−abg2+abac)=0(hg - af)^2 - (h^2g^2 - ac h^2 - ab g^2 + ab ac) = 0

Simplifying further, we obtain:

(hg−af)2−h2g2+h2ac+abg2−abac=0(hg - af)^2 - h^2g^2 + h^2ac + abg^2 - abac = 0

Which simplifies to:

abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

Thus, for the quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 to represent a pair of straight lines, it must satisfy the condition:

abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

Furthermore, the term under the square root (h2−ab)y2+2(hg−af)y+(g2−ac)(h^2 - ab)y^2 + 2(hg - af)y + (g^2 - ac) must be non-negative for real values of xx. This implies that:

h2−ab≥0h^2 - ab \geq 0

If h2−ab<0h^2 - ab < 0, the expression inside the square root is always negative, indicating that the original quadratic equation does not represent a pair of real straight lines.

Therefore, the quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 represents a pair of straight lines if and only if:

  1. h2−ab≥0h^2 - ab \geq 0
  2. abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

When these conditions are met, the quadratic equation can be factored into two linear equations, confirming that it represents a pair of straight lines.

A quadratic expression ax2+bx+cax^2 + bx + c for which a>0a > 0 and b2−4ac=0b^2 - 4ac = 0 implies that cc is always ≥0\geq 0. This can be understood from the graph of the quadratic expression.

When a>0a > 0 and b2−4ac=0b^2 - 4ac = 0, the graph is a parabola that opens upwards and touches the x-axis at a single point, indicating that the vertex of the parabola is on the x-axis. Consequently, the y-intercept, which is cc, cannot be negative. Therefore, c≥0c \geq 0.

Applying this understanding to the quadratic expression inside the square root in our general equation, we can conclude that if the expression represents a pair of straight lines (i.e., both conditions 1 and 2 are satisfied), then:

g2−ac≥0g^2 - ac \geq 0

This follows because the expression inside the square root, (h2−ab)y2+2(hg−af)y+(g2−ac)(h^2 - ab)y^2 + 2(hg - af)y + (g^2 - ac), must be a non-negative perfect square. Given that h2−ab≥0h^2 - ab \geq 0, the quadratic term in yy must be non-negative. Consequently, the constant term g2−ac≥0g^2 - ac \geq 0.

Thus, the condition g2−ac≥0g^2 - ac \geq 0 ensures that the quadratic expression inside the square root is a non-negative perfect square, which is necessary for the original quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 to represent a pair of straight lines.

We can also write the quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 as a quadratic equation in terms of yy:

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

Using 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 the discriminant:

y=−(2hx+2f)±4(hx+f)2−4b(ax2+2gx+c)2by = \frac{-(2hx + 2f) \pm \sqrt{4(hx + f)^2 - 4b(ax^2 + 2gx + c)}}{2b} y=−(2hx+2f)±4(h2x2+2hfx+f2−abx2−4bgx−4bc)2by = \frac{-(2hx + 2f) \pm \sqrt{4(h^2x^2 + 2hfx + f^2 - abx^2 - 4bgx - 4bc)}}{2b} y=−(2hx+2f)±2(h2−ab)x2+2(hf−bg)x+f2−bc2by = \frac{-(2hx + 2f) \pm 2\sqrt{(h^2 - ab)x^2 + 2(hf - bg)x + f^2 - bc}}{2b} y=−(hx+f)±(h2−ab)x2+2(hf−bg)x+f2−bcby = \frac{-(hx + f) \pm \sqrt{(h^2 - ab)x^2 + 2(hf - bg)x + f^2 - bc}}{b}

For this quadratic equation to represent a pair of straight lines, the expression inside the square root must be a perfect square. This requires that the discriminant of the quadratic expression inside the square root, which is a quadratic equation in xx, should be zero.

The discriminant of the quadratic expression (h2−ab)x2+2(hf−bg)x+(f2−bc)(h^2 - ab)x^2 + 2(hf - bg)x + (f^2 - bc) is:

Δ=[2(hf−bg)]2−4(h2−ab)(f2−bc)\Delta = [2(hf - bg)]^2 - 4(h^2 - ab)(f^2 - bc) Δ=4(hf−bg)2−4(h2−ab)(f2−bc)\Delta = 4(hf - bg)^2 - 4(h^2 - ab)(f^2 - bc) Δ=4[(hf−bg)2−(h2−ab)(f2−bc)]\Delta = 4[(hf - bg)^2 - (h^2 - ab)(f^2 - bc)]

For this discriminant to be zero:

(hf−bg)2−(h2−ab)(f2−bc)=0(hf - bg)^2 - (h^2 - ab)(f^2 - bc) = 0

Expanding and simplifying, we get the condition:

(hf−bg)2−(h2f2−abf2+h2bc−abbc)=0(hf - bg)^2 - (h^2f^2 - abf^2 + h^2bc - abbc) = 0

Simplifying further, we obtain:

(hf−bg)2−h2f2+abf2+h2bc−abbc=0(hf - bg)^2 - h^2f^2 + abf^2 + h^2bc - abbc = 0

Which simplifies to:

abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

Therefore, for the quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 to represent a pair of straight lines, it must satisfy the condition:

abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

Additionally, we can observe that for the expression to be a non-negative perfect square, it must meet several conditions. When written as a quadratic in xx and yy, both the constant and quadratic terms must be non-negative.

Therefore:

  1. h2−ab≥0h^2 - ab \geq 0
  2. f2−bc≥0f^2 - bc \geq 0
  3. g2−ac≥0g^2 - ac \geq 0

Thus, for the quadratic equation ax2+2hxy+by2+2gx+2fy+c=0ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 to represent a pair of straight lines, it must satisfy the following conditions:

  1. h2−ab≥0h^2 - ab \geq 0
  2. f2−bc≥0f^2 - bc \geq 0
  3. g2−ac≥0g^2 - ac \geq 0
  4. abc+2fgh−af2−bg2−ch2=0abc + 2fgh - af^2 - bg^2 - ch^2 = 0

Of which conditions 1 and 4 together are necessary and sufficient. If 1 and 4 are true, then 2 and 3 can never be false. If any of the condition is false, then the equation provided is not a pair of straight lines.

Section 9 of 12 · Pair of Straight Lines

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