Concept understanding — Angle Between a Pair of Lines
For a homogeneous pair of lines ax2+2hxy+by2=0 with real, distinct slopes m1 and m2 (so h2>ab), we can find the angle between them directly from a,h,b without ever solving for m1 and m2 individually. Treating the equation as a quadratic in y/x gives, by the sum and product of its roots,
m1+m2=−b2h,m1m2=ba.
The angle θ between two lines of slopes m1,m2 is given by the familiar formula tanθ=1+m1m2m1−m2. Using (m1−m2)2=(m1+m2)2−4m1m2=b24h2−b4a=b24(h2−ab), we get m1−m2=±b2h2−ab, and 1+m1m2=ba+b. The factor of b cancels, leaving
tanθ=a+b2h2−ab,
a formula that reads the angle straight off the three coefficients of the combined equation.
This single formula packages three separate geometric facts. First, if a+b=0 the formula gives θ=90∘ (the lines are perpendicular) — because the denominator vanishes while the numerator (assuming h2>ab) stays finite and non-zero. Second, if h2=ab the numerator vanishes, giving θ=0∘ — the two lines coincide, consistent with the discriminant condition from the previous concept. Third, for any other combination of values, the formula gives the genuine acute angle between two distinct, non-perpendicular lines.
As a worked example, take 2x2−7xy+3y2=0: here a=2, h=−27, b=3, so h2−ab=449−6=425 and a+b=5. Then tanθ=225/4/5=2×25/5=1, so θ=45∘. …
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
CBSE 2025Set 1B7 marks
Q.The equation ax2+2hxy+by2=0 represents a pair of straight lines and θ is the angle between the lines. Then show that cosθ=(a−b)2+4h2∣a+b∣.
›Reveal solutionSolution
Writing the pair of lines as y=m1x and y=m2x, using the sum/product of roots from the quadratic in m, and the standard angle-between-lines formula gives the required identity.
The equation ax2+2hxy+by2=0 represents two lines through the origin, y=m1x and y=m2x. Dividing by x2: b(xy)2+2h(xy)+a=0, i.e. bm2+2hm+a=0, whose roots are m1,m2.
Q.Suppose that ax2+2hxy+by2=0 represents a pair of straight lines. If θ is the angle between them, show that cosθ=(a−b)2+4h2∣a+b∣.
›Reveal solutionSolution
Writing the pair of lines as b(y−m1x)(y−m2x)=0 gives m1+m2=−b2h, m1m2=ba; substituting these into the angle-between-two-lines formula and simplifying yields the required result.
Concept
ax2+2hxy+by2=0 (a homogeneous second-degree equation) represents a pair of straight lines through the origin with slopes m1,m2 satisfying (writing b(y−m1x)(y−m2x)=ax2+2hxy+by2 and comparing coefficients):