Pair of Straight Lines
On this page
Direct answer
A pair of straight lines through the origin is represented by the homogeneous equation ax² + 2hxy + by² = 0, which describes real lines when h² ≥ ab. The angle between them satisfies tan θ = |2√(h² − ab)/(a + b)|, the pair is perpendicular when a + b = 0, and coincident when h² = ab. For a general second-degree equation to represent a pair of lines, the determinant abc + 2fgh − af² − bg² − ch² must equal zero.
What you must remember
- Homogeneous pair: ax² + 2hxy + by² = 0 gives lines through the origin when h² ≥ ab; substituting y = mx gives the slope equation bm² + 2hm + a = 0.
- Angle formula: tan θ = |2√(h² − ab)/(a + b)|, where a + b = 0 gives a perpendicular pair.
- Coincident pair: h² = ab means the two lines coincide.
- Bisectors: (x² − y²)/(a − b) = xy/h, and the two bisectors are always mutually perpendicular.
- Degeneracy condition: ax² + 2hxy + by² + 2gx + 2fy + c = 0 is a pair of straight lines when abc + 2fgh − af² − bg² − ch² = 0.
- Intersection point: solve ax + hy + g = 0 and hx + by + f = 0 simultaneously to find where the two lines cross.
- Conic-classification echo: the sign of h² − ab also classifies conics: zero for parabola-type, negative for ellipse-type, positive for hyperbola-type.
Factoring a pair and reading its angle
A pair of lines is often given in factorable form, and the angle can be found two ways. Take 2x² − 7xy + 3y² = 0 as the worked case.
- Factor the pair: write 2x² − 7xy + 3y² = (2x − y)(x − 3y), which expands back exactly.
- Read the slopes: the lines are 2x − y = 0, with slope 2, and x − 3y = 0, with slope 1/3.
- Apply the angle formula: with a = 2, b = 3 and h = −7/2, h² − ab = 25/4, so tan θ = 2√(25/4)/5 = 1.
- Cross-check with slopes: tan θ = |2 − 1/3|/(1 + 2 × 1/3) = (5/3)/(5/3) = 1, so θ = 45°.
- Find the bisectors: (x² − y²)/(2 − 3) = xy/(−7/2) gives the bisectors, which are perpendicular whatever the original angle.
Running both routes takes only a few seconds, and each confirms the other. Sign slips in h are otherwise silent, so the cross-check is worth the habit. The bisectors' perpendicularity comes from geometry rather than from the algebra, which is why it holds for any pair.
Where marks leak
JEE Main rewards quick factorisation, the angle formula and membership checks. JEE Advanced combines the pair with bisectors, distances from the intersection point or a rotation of axes.
- Trap: scrambling the letters in abc + 2fgh − af² − bg² − ch² Correct: keep the order exact, because a scrambled condition flips the verdict on questions built to catch it.
- Trap: reporting an obtuse angle after dropping the modulus Correct: the formula with its absolute value always returns the acute angle between the lines.
- Trap: treating a general second-degree equation as homogeneous Correct: only ax² + 2hxy + by² = 0 is guaranteed to pass through the origin, so the general form needs the determinant test.
Frequently asked questions
When does ax² + 2hxy + by² = 0 represent a real pair of lines?
The equation ax² + 2hxy + by² = 0 represents a real pair of lines through the origin when h² ≥ ab. Equality gives coincident lines, while strict inequality gives two distinct lines through the origin.
What is the angle between the lines of 2x² − 7xy + 3y² = 0?
The lines of 2x² − 7xy + 3y² = 0 meet at an angle of 45°. Factoring gives (2x − y)(x − 3y) = 0, and with a = 2, b = 3 and h = −7/2, the formula gives tan θ = 1.
What condition makes a pair of straight lines perpendicular?
A pair ax² + 2hxy + by² = 0 is perpendicular when a + b = 0, meaning the coefficients of x² and y² sum to zero. Then the denominator of the angle formula vanishes and the lines are at right angles.
What is the equation of the pair of angle bisectors?
For the pair ax² + 2hxy + by² = 0, the bisectors of the angles between the lines are (x² − y²)/(a − b) = xy/h. The two bisectors are always mutually perpendicular.
How do you find the intersection of a general pair of lines?
To find where the lines of a general pair cross, solve ax + hy + g = 0 and hx + by + f = 0 simultaneously. This is the point where both partial derivatives of the joint equation vanish.