Pair of Straight Lines: Formulas & Solved Examples

Pair of Straight Lines: Formulas & Solved Examples

Edited By Komal Miglani | Updated on Jul 02, 2025 07:34 PM IST

A straight line, also called just a line, is a never-ending, one-dimensional shape that only has length and no width. It consists of an endless series of points. We use a linear equation with two variables to represent a straight line. Sometimes, a quadratic equation in two variables can describe a pair of straight lines.

This Story also Contains
  1. What is a Pair of Straight Lines?
  2. Derivation of Joint Equation of a Pair of Straight Lines
  3. Condition for a general two-degree equation to represent a pair of straight lines
  4. Derivation of a general two-degree equation to represent a pair of straight lines
  5. Point of Intersection of Pair of Straight Lines
  6. Derivation of Point of Intersection of Pair of Straight Lines
  7. Solved Examples Based on a Pair of Straight Line
Pair of Straight Lines: Formulas & Solved Examples
Pair of Straight Lines: Formulas & Solved Examples

In this article, we will cover the concept of Pair of straight lines. This category falls under the broader category of Coordinate Geometry, which is a crucial Chapter in class 11 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination(JEE Main) and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. A total of thirty questions have been asked on JEE MAINS( 2013 to 2023) from this topic.

What is a Pair of Straight Lines?

A pair of straight lines can be represented as a product of two linear equations in $x$ and $y$, representing a straight line.

If the equation of two straight lines is $a_1 x+b_1 y+c_1=0$ and $a_2 x+b_2 y+c_2=$ 0, then the combined or joint equation of these two lines is
$
a x^2+2 h x y+b y^2+2 g x+2 f y+c=0
$

Derivation of Joint Equation of a Pair of Straight Lines

$
\left(a_1 x+b_1 y+c_1\right)\left(a_2 x+b_2 y+c_2\right)=0
$

Multiplying the brackets we get
$
\begin{aligned}
& \Rightarrow a_1 a_2 x^2+\left(a_1 b_2+a_2 b_1\right) x y+b_1 b_2 y^2+\left(a_1 c_2+c_1 a_2\right) x+\left(b_1 c_2+c_1 b_2\right) y+ \\
& c_1 c_2=0
\end{aligned}
$

Here the coefficients can be re-named and this equation can be re-written as
$
a x^2+2 h x y+b y^2+2 g x+2 f y+c=0
$

So, a pair of straight lines is represented by a two-degree equation in $x$ and $y$.

Condition for a general two-degree equation to represent a pair of straight lines

A general two degree equation $a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$ may represent $a$

  • Pair of straight lines, or
  • Circle, or
  • Parabola, or
  • Ellipse, or
  • Hyperbola

To identify which of the following curves is represented by a given equation, we have a determinant

$\Delta=\left|\begin{array}{lll}a & h & g \\ h & b & f \\ g & f & c\end{array}\right|$

If this determinant equals zero, then the given equation represents a pair of straight lines.

Derivation of a general two-degree equation to represent a pair of straight lines

If we write the equation as a quadratic in x , where $\mathrm{a} \neq 0$
$
a x^2+2 x(h y+g)+\left(b y^2+2 f y+c\right)=0
$

Solving for ' $x$ ', we get
$
\begin{aligned}
x & =\frac{-2(h y+g) \pm \sqrt{4(h y+g)^2-4 a\left(b^2+2 f y+c\right)}}{2 a} \\
& =\frac{-(h y+g) \pm \sqrt{\left(h^2-a b\right) y^2+2(g h-a f) y+\left(g^2-a c\right)}}{a}
\end{aligned}
$

For this equation to represent two straight lines, we must have ' $x$ ' as a linear expression in ' $y$ '. For that, the value under the square root must be a perfect square of some linear expression in ' $y$ '. For this to happen, the Discriminant of the quadratic equation in $y$ (the equation inside the root) must be zero.

So,
Discriminant of $\left(h^2-a b\right) y^2+2(g h-a f) y+\left(g^2-a c\right)$ is 0
$
\begin{array}{ll}
\Rightarrow & 4(g h-a f)^2-4\left(h^2-a b\right)\left(g^2-a c\right)=0 \\
\Rightarrow & a b c+2 f g h-a f^2-b g^2-c h^2=0
\end{array}
$

This is the condition for which $a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$ represents a pair of straight lines.
This condition can also be written in a determinant form as
$
\left|\begin{array}{lll}
a & h & g \\
h & b & f \\
g & f & c
\end{array}\right|=0
$

Point of Intersection of Pair of Straight Lines

To get the point of intersection, first find the separate equations of straight lines and solve them simultaneously.
Or
The point of intersection of a pair of straight lines can also be determined with the help of partial differentiation
Point of Intersection of Pair of Straight Lines is
$
\therefore \quad(x, y)=\left(\frac{b g-f h}{h^2-a b}, \frac{a f-g h}{h^2-a b}\right)
$

Derivation of Point of Intersection of Pair of Straight Lines

Let $\phi \equiv \mathrm{ax}^2+2 \mathrm{hxy}+\mathrm{by}^2+2 \mathrm{gx}+2 \mathrm{fy}+\mathrm{c}=0$
Differentiating $\phi$ with respect to $x$, keeping $y$ constant, we get,
$
\frac{\partial \phi}{\partial \mathrm{x}}=2 \mathrm{ax}+2 \mathrm{hy}+2 \mathrm{~g}
$

Similarly, differentiating $\phi$ with respect to $y$, keeping $x$ constant, we get
$
\frac{\partial \phi}{\partial \mathrm{y}}=2 \mathrm{hx}+2 \mathrm{by}+2 \mathrm{f}
$

For point of intersection, we get
$
\frac{\partial \phi}{\partial \mathrm{x}}=0 \text { and } \frac{\partial \phi}{\partial \mathrm{y}}=0
$

Thus, we have $a x+h y+g=0$ and $h x+b y+f=0$.
Solving the two equations, we get
$
\begin{aligned}
& \frac{x}{f h-b g}=\frac{y}{g h-a f}=\frac{1}{a b-h^2} \\
\therefore & (x, y)=\left(\frac{b g-f h}{h^2-a b}, \frac{a f-g h}{h^2-a b}\right)
\end{aligned}
$

IMPORTANT NOTE:

In the above equations, $2 a x+2 h y+2 g=0$ and $2 h x+2 b y+2 f=0$ are NOT the equations of components of the straight line.

Recommended Video Based on Pair of Straight Lines


Solved Examples Based on a Pair of Straight Line

Example 1: The combined equation of the lines $x+y+2=0, y=x+2$ is
Solution:

Let us first re-write the given equations in standard form (with 0 on one side)
$
x+y+2=0 \text { and } x-y+2=0
$

Joint Equation $=(x+y+2)(x-y+2)=0 \Rightarrow(x+2)^2-y^2=0 \Rightarrow x^2-y^2+4 x+4=0$
Hence, the answer is $x^2-y^2+4 x+4=0$


Example 2: Find the separate equations of the lines represented by $x^2-4 x y+3 y^2=0$.
Solution:

In this question, we can use the method learned.
But as we do not have any term containing $x$, $y$, or constant term, we can easily factorize such expressions using middle-term split and get the desired lines
$
\begin{aligned}
& x^2-4 x y+3 y^2=0 \\
& \Rightarrow \quad x^2-x y-3 x y+3 y^2=0 \\
& \Rightarrow \quad x(x-y)-3 y(x-y)=0 \\
& \Rightarrow \quad(x-y)(x-3 y)=0
\end{aligned}
$

As combined equation is $(x-y)(x-3 y)=0$
so, separate equations are $x-y=0, x-3 y=0$
Hence, the answer is $x-y=0, x-3 y=0$

Example 3: If the sum of the slopes of the lines given by $x^2-2 c x y-7 y^2=0$ is four times their product, then $c$ has the value
Solution:

$x^2=2 c x y-7 y^2=0$
Divide equation by
$
\begin{gathered}
x^2 ; \frac{y}{x}=m \\
1-2 c m-7 m^2=0 \\
7 m^2+2 c m-1=0 \\
m_1+m_2=4 m_1 m_2
\end{gathered}
$
$
-\frac{2 c}{7}=4 \times \frac{-1}{7} \quad C=2
$

Hence, the answer is 2

Example 4: The absolute value of the difference of the slopes of the lines $x^2\left(\sec ^2 \theta-\sin ^2 \theta\right)-2 x y \tan \theta+y^2 \sin ^2 \theta=0$ is :
Solution:

The angle between a pair of lines -
$
\tan \theta=2\left|\frac{\sqrt{h^2-a b}}{a+b}\right|
$

Equation $a x^2+b y^2+2 h x y+2 g x+2 f y+c=0$
$
\begin{aligned}
& x^2\left(\sec ^2 \theta-\sin ^2 \theta\right)-2 x y \tan \theta+y^2 \sin ^2 \theta=0 \\
& \left|m_1-m_2\right|=\sqrt{\left(m_1+m_2\right)^2-4 m_1 m_2} \\
& \sqrt{\left(\frac{2 \tan \theta}{\sin ^2 \theta}\right)^2-4\left(\frac{\sec ^2 \theta-\sin ^2 \theta}{\sin ^2 \theta}\right)}=2
\end{aligned}
$

Hence, the answer is 2.

Example 5: If the pairs of straight lines $x^2-2 p x y-y^2=0$ and $x^2-2 q x y-y^2=0$ be such that each pair bisects the angle between the other pair, then
Solution:

$x^2+2 p x y-y^2=0$
and $x^2-2 p x y-y^2=0$
They bisect the angle between the other pair
The equation of bisector is given by
$
\frac{x^2-y^2}{1-(-1)}=\frac{x y}{-p} \Rightarrow x^2+\frac{2}{p} x y-y^2=0
$

So $\frac{2}{p}=-2 q \Rightarrow p q=-1$
Hence, the answer is $p q=-1$.

Frequently Asked Questions (FAQs)

1. If the equation of two straight lines is $a_1 x+b_1 y+c_1=0$ and $a_2 x+b_2 y+c_2=0$, what is the joint equation of these two lines?

 If the equation of two straight lines is $a_1 x+b_1 y+c_1=0$ and $a_2 x+b_2 y+c_2=0$, then the combined or joint equation of these two lines is $\left(a_1 x+b_1 y+c_1\right)\left(a_2 x+b_2 y+c_2\right)=0$.

2. How do you represent a pair of straight lines?

A pair of straight lines is represented by a two-degree equation in $x$ and $y-a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$

3. How can you represent the point of intersection of a pair of straight lines?

A pair of straight lines is represented by a two-degree equation in $x$ and $y-a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$

4. What are the conic curves represented by a general two-degree equation $a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$ ?

 A general two-degree equation $a x^2+2 h x y+b y^2+2 g x+2 f y+c=0$ may represent a Pair of straight lines, or Circle, or Parabola, or Ellipse, or Hyperbola.

5. What conditions must be satisfied for a general second-degree equation to represent a pair of straight lines?
For a general second-degree equation ax² + 2hxy + by² + 2gx + 2fy + c = 0 to represent a pair of straight lines, its discriminant must be zero. This means abc + 2fgh - af² - bg² - ch² = 0. This condition ensures that the equation can be factored into two linear terms, each representing a straight line.
6. How does the concept of homogeneity apply to pair of straight lines equations?
Homogeneity in pair of straight lines equations refers to terms of the same degree. The equation ax² + 2hxy + by² + 2gx + 2fy + c = 0 has homogeneous terms of degree 2 (ax², 2hxy, by²) and degree 1 (2gx, 2fy). The constant term c is of degree 0. Understanding homogeneity helps in analyzing and solving these equations.
7. What is the geometric interpretation of the coefficients in a pair of straight lines equation?
In the equation ax² + 2hxy + by² + 2gx + 2fy + c = 0:
8. How does changing the constant term 'c' affect a pair of straight lines?
Changing the constant term 'c' in the equation ax² + 2hxy + by² + 2gx + 2fy + c = 0 shifts the entire pair of lines parallel to their original position without changing their slope or the angle between them. Increasing 'c' moves the lines away from the origin, while decreasing 'c' moves them towards the origin.
9. What is the relationship between the slopes of a pair of straight lines?
For a pair of straight lines represented by ax² + 2hxy + by² + 2gx + 2fy + c = 0, the slopes m₁ and m₂ of the individual lines satisfy the equation am² + 2hm + b = 0. The sum and product of these slopes are given by m₁ + m₂ = -2h/a and m₁m₂ = b/a respectively.
10. What is the significance of the term '2hxy' in a pair of straight lines equation?
The term '2hxy' in ax² + 2hxy + by² + 2gx + 2fy + c = 0 represents the interaction between x and y coordinates. Its coefficient 'h' plays a crucial role in determining the angle between the lines. If h = 0, the lines are either parallel or perpendicular to each other.
11. What is the significance of the terms 2gx and 2fy in a pair of straight lines equation?
The terms 2gx and 2fy in ax² + 2hxy + by² + 2gx + 2fy + c = 0 represent the linear components in x and y respectively. They affect the position of the lines relative to the origin. If both g and f are zero, the lines pass through the origin.
12. How does the concept of symmetry apply to pair of straight lines?
Symmetry in pair of straight lines can be observed when the lines are equally inclined to a given line (often an axis). For example, if the equation has no x or y term (g = f = 0), the lines are symmetrical about the origin. If only g = 0 or f = 0, the lines are symmetrical about the y-axis or x-axis respectively.
13. How can you use the pair of straight lines equation to find the angle bisectors?
To find the angle bisectors of a pair of straight lines ax² + 2hxy + by² + 2gx + 2fy + c = 0, use the equation:
14. How does the concept of homogeneous coordinates simplify the study of pair of straight lines?
Homogeneous coordinates introduce a third variable z, allowing the equation to be written as ax² + 2hxy + by² + 2gxz + 2fyz + cz² = 0. This form simplifies the study of lines at infinity and makes it easier to handle transformations and projective geometry concepts related to pairs of straight lines.
15. How do you interpret a negative discriminant in the context of a pair of straight lines?
A negative discriminant (Δ = h² - ab < 0) indicates that the equation represents imaginary lines. These lines don't exist in the real coordinate system but can be considered in complex mathematics. In geometric terms, there are no real points satisfying the equation.
16. What is the significance of the angle between a pair of straight lines?
The angle between a pair of straight lines is important for understanding their geometric relationship. It determines whether the lines are perpendicular, acute, or obtuse to each other. The tangent of this angle can be calculated using the coefficients of the equation: tan θ = 2√(h² - ab) / (a - b).
17. How can you determine if a point lies on one of the lines in a pair of straight lines?
To determine if a point (x₀, y₀) lies on one of the lines, substitute its coordinates into the equation ax² + 2hxy + by² + 2gx + 2fy + c = 0. If the equation is satisfied (equals zero), the point lies on one of the lines. If not, the point is not on either line.
18. How can you find the point of intersection of a pair of straight lines?
To find the point of intersection, solve the pair of straight lines equation simultaneously with x and y as variables. If the lines intersect, you'll get a unique solution (x, y). If they're parallel, you'll get no real solution. If they coincide, you'll get infinitely many solutions.
19. What is the geometric interpretation of complex roots in a pair of straight lines equation?
When the discriminant is negative (h² < ab), the roots of the equation are complex. Geometrically, this means there are no real points satisfying the equation. However, these complex roots can be interpreted as imaginary lines in complex geometry, which have significance in advanced mathematical studies.
20. How is the general equation of a pair of straight lines different from a single line equation?
The general equation of a pair of straight lines is a quadratic equation in both x and y, typically in the form ax² + 2hxy + by² + 2gx + 2fy + c = 0. This is different from a single line equation, which is linear in x and y (ax + by + c = 0). The quadratic nature allows the equation to represent two lines at once.
21. How can you determine if two lines represented by a quadratic equation are real and distinct?
Two lines represented by a quadratic equation are real and distinct if the discriminant of the equation (Δ = h² - ab) is positive. This means h² > ab. In this case, the equation can be factored into two distinct linear factors, each representing a real line.
22. What does it mean when the discriminant of a pair of straight lines equation is zero?
When the discriminant (Δ = h² - ab) is zero, it means h² = ab. In this case, the pair of straight lines coincide, forming a single line. The equation can be factored as a perfect square of a linear expression.
23. How can you find the equations of individual lines from a pair of straight lines equation?
To find individual line equations, factor the quadratic equation into two linear factors. This can be done by solving the equation as a quadratic in either x or y. For example, if ax² + 2hxy + by² + 2gx + 2fy + c = 0 can be written as (mx + ny + p)(rx + sy + q) = 0, then mx + ny + p = 0 and rx + sy + q = 0 are the individual line equations.
24. What is the condition for a pair of straight lines to be perpendicular?
For a pair of straight lines to be perpendicular, their equation ax² + 2hxy + by² + 2gx + 2fy + c = 0 must satisfy the condition a + b = 0. This ensures that the angle between the lines is 90°.
25. What is the relationship between the pair of straight lines and the concept of linear independence?
The two lines represented by ax² + 2hxy + by² + 2gx + 2fy + c = 0 are linearly independent if they are distinct (not coincident). This means their direction vectors are not scalar multiples of each other. Linear independence is crucial in understanding the geometric configuration of the lines in the plane.
26. What is the significance of the line at infinity in the study of pair of straight lines?
The line at infinity is a concept in projective geometry that helps unify the treatment of parallel and intersecting lines. For a pair of straight lines, considering the line at infinity allows us to say that all pairs of lines intersect – either at a finite point or at a point on the line at infinity (for parallel lines).
27. What is the significance of the discriminant in determining the nature of a pair of straight lines?
The discriminant Δ = h² - ab is crucial in determining the nature of the lines:
28. How does the concept of invariants apply to pair of straight lines?
Invariants are quantities that remain unchanged under certain transformations. For pair of straight lines, important invariants include:
29. How does the concept of duality apply to pair of straight lines?
In projective geometry, the principle of duality states that to every theorem about points and lines, there corresponds a dual theorem about lines and points. For a pair of straight lines, this means we can consider dual concepts like the "pair of points" where the lines intersect a given line, enriching our understanding of the geometric relationships.
30. What is a pair of straight lines in mathematics?
A pair of straight lines refers to two distinct lines in a two-dimensional plane. These lines can be parallel, intersecting, or coincident. In analytical geometry, we often study pairs of straight lines using equations that represent both lines simultaneously.
31. What is the relationship between the pair of straight lines equation and conic sections?
The pair of straight lines is a degenerate case of conic sections. When a cone is intersected by a plane passing through its vertex, it forms a pair of straight lines. In the general conic equation ax² + 2hxy + by² + 2gx + 2fy + c = 0, when the discriminant abc + 2fgh - af² - bg² - ch² = 0, it represents a pair of straight lines.
32. What is the significance of the eccentricity in the context of pair of straight lines?
While eccentricity is typically associated with conic sections, for a pair of straight lines, it can be considered infinite. This is because straight lines can be viewed as limiting cases of parabolas or hyperbolas as their eccentricity approaches infinity. This concept helps in understanding the transition from conics to straight lines.
33. How can you use matrix representation to study pair of straight lines?
The pair of straight lines ax² + 2hxy + by² + 2gx + 2fy + c = 0 can be represented in matrix form as:
34. How can you use parametric representation for a pair of straight lines?
A pair of straight lines can be represented parametrically as:
35. How does the pair of straight lines equation change under rotation of axes?
When the coordinate axes are rotated, the coefficients a, b, and h in ax² + 2hxy + by² + 2gx + 2fy + c = 0 change, but their combination I = a + b remains invariant. This invariance helps in analyzing the properties of the lines that are independent of the coordinate system.
36. What is the condition for a pair of straight lines to be parallel to the coordinate axes?
For a pair of straight lines to be parallel to the coordinate axes, the equation must not have the xy term, i.e., h = 0 in ax² + 2hxy + by² + 2gx + 2fy + c = 0. Additionally, either a or b must be zero, resulting in an equation of the form ax² + 2gx + 2fy + c = 0 (parallel to y-axis) or by² + 2gx + 2fy + c = 0 (parallel to x-axis).
37. What is the connection between eigenvalues and pair of straight lines?
The eigenvalues of the matrix [a h] play a crucial role in analyzing pair of straight lines. If λ₁ and λ₂ are
38. How can you use the pair of straight lines equation to study the family of lines passing through their intersection point?
If ax² + 2hxy + by² + 2gx + 2fy + c = 0 represents a pair of intersecting lines, then the family of lines passing through their intersection point can be represented by:
39. What is the role of cross-ratio in the study of pair of straight lines?
Cross-ratio is an important concept in projective geometry that remains invariant under projective transformations. For a pair of straight lines, the cross-ratio of four points formed by the intersection of these lines with two other lines remains constant. This property is useful in studying projective properties of configurations involving pairs of lines.
40. How does the concept of polarity relate to pair of straight lines?
In the context of pair of straight lines, polarity refers to the relationship between points and lines with respect to the degenerate conic represented by the pair. The polar of a point with respect to this pair of lines is a line passing through the intersection point of the pair. This concept links the study of straight lines to broader ideas in conic geometry.
41. What is the significance of the Hessian form in representing a pair of straight lines?
The Hessian form of a pair of straight lines is:
42. How can you use the pair of straight lines equation to study pencils of lines?
A pencil of lines is a set of lines passing through a common point. If ax² + 2hxy + by² + 2gx + 2fy + c = 0 represents a pair of lines intersecting at (x₀, y₀), then the pencil of lines through this point can be represented by:

Articles

Back to top