Slope=x2−x1y2−y1; line y=mx+c; parallel ⇒m1=m2; perpendicular ⇒m1m2=−1.
Circle:(x−h)2+(y−k)2=r2; general x2+y2+2gx+2fy+c=0 has centre (−g,−f), radius g2+f2−c.
Beyond-NCERT JEE Formulae
The one high-yield corner of Coordinate Geometry that NCERT barely touches is the Pair of Straight Lines (POSL) — a single second-degree equation that secretly stores two lines. These results also power the fast homogenisation trick.
1. Homogeneous Pair Through the Origin
The equation ax2+2hxy+by2=0 always represents two straight lines through the origin (real and distinct if h2>ab, coincident if h2=ab, not real if h2<ab). Substituting y=mx gives bm2+2hm+a=0, so the two slopes satisfy m1+m2=−b2h and m1m2=ba. The angle θ between the lines is
tanθ=a+b2h2−ab.
Perpendicular iff a+b=0 (coefficient of x2 plus coefficient of y2 is zero).
Coincident iff h2=ab.
[JEE Tip] The angle depends only on a,h,b, so the same formula gives the angle between the two lines of any second-degree equation — the x, y and constant terms never affect it.
2. General Second-Degree as a Pair of Lines
The conic
ax2+2hxy+by2+2gx+2fy+c=0
breaks into two straight lines iffabc+2fgh−af2−bg2−ch2=0,
equivalently the 3×3 determinant
ahghbfgfc=0.
When it holds, the two linear factors are found by solving the equation as a quadratic in x (treating y as a constant).
3. Homogenisation
To get the joint equation of the two lines joining the origin to the points where a curve S=0 meets a line, first write the line as nlx+my=1; then make every term of S second-degree by multiplying each linear term by nlx+my and the constant term by (nlx+my)2. The result is a homogeneous pair ax2+2hxy+by2=0.
[JEE Tip] After homogenising, "the two lines are perpendicular" collapses to (coefficient of x2) plus (coefficient of y2) equal to 0 — a one-line finish to a whole class of problems.
4. Angle Bisectors of Two Lines
The pair of bisectors of the angles between a1x+b1y+c1=0 and a2x+b2y+c2=0 is
a12+b12a1x+b1y+c1=±a22+b22a2x+b2y+c2.
The two bisectors are always mutually perpendicular. If c1,c2 are first made positive, the + sign gives the bisector of the angle that contains the origin.
5. Distance Between Parallel Lines
For two parallel lines written with identicalx- and y-coefficients, ax+by+c1=0 and ax+by+c2=0,
d=a2+b2∣c1−c2∣.Caution: equalise the coefficients first — e.g. rewrite 6x+8y+15=0 as 3x+4y+215=0 before comparing it with 3x+4y−5=0.
Solved Examples — Beyond-NCERT Formulae
Example 1 (Angle of a homogeneous pair). Find the acute angle between the two lines 6x2−xy−y2=0.
Here a=6, 2h=−1 so h=−21, and b=−1, giving h2−ab=41−(6)(−1)=425. Hence
tanθ=a+b2h2−ab=6−12⋅25=55=1,
so θ=45∘. As a check, 6x2−xy−y2=(3x+y)(2x−y), i.e. lines of slopes −3 and 2, and 1+(−3)(2)−3−2=1 confirms 45∘.
Example 2 (Perpendicular pair). Show that 3x2+8xy−3y2=0 is a pair of perpendicular lines and name them.
The coefficient test gives a+b=3+(−3)=0, so the lines are perpendicular. Factorising, 3x2+8xy−3y2=(3x−y)(x+3y), so the two lines are 3x−y=0 and x+3y=0; their slopes 3 and −31 multiply to −1, exactly as the perpendicularity test predicts.
Example 3 (Coincident pair). Find the values of k for which 9x2+kxy+4y2=0 represents a pair of coincident lines.
Coincident lines require h2=ab. With a=9, b=4 and h=2k, this becomes 4k2=36, so k2=144 and k=±12. For k=12 the equation is 9x2+12xy+4y2=(3x+2y)2, the single repeated line 3x+2y=0.
Example 4 (Does a conic split into lines?). Decide whether 2x2+3xy+y2+x+2y−3=0 is a pair of straight lines, and if so find them.
Matching ax2+2hxy+by2+2gx+2fy+c=0 gives a=2, b=1, c=−3, h=23, g=21, f=1. The test value is
abc+2fgh−af2−bg2−ch2=(2)(1)(−3)+2(1)(21)(23)−2(1)2−1(21)2−(−3)(23)2,
which simplifies to −6+23−2−41+427=0. So it is a pair of lines, and factoring the quadratic in x gives 2x2+3xy+y2+x+2y−3=(2x+y+3)(x+y−1), namely 2x+y+3=0 and x+y−1=0. Had the constant been −1 instead of −3, the test value would be −21=0 and no such split could exist.
Example 5 (Homogenisation). Find the pair of lines joining the origin to the points where the line x+3y=5 cuts the circle x2+y2−2x−6y+5=0, and hence show they are perpendicular.
Write the line as 5x+3y=1. Make the circle homogeneous by multiplying the linear terms by 5x+3y and the constant by (5x+3y)2:
x2+y2−(2x+6y)⋅5x+3y+5(5x+3y)2=0.
Since 2x+6y=2(x+3y), the last two terms combine to −5(x+3y)2, leaving x2+y2−5(x+3y)2=0. Multiplying by 5 and simplifying 5x2+5y2−(x2+6xy+9y2)=0 gives
4x2−6xy−4y2=0,i.e.2x2−3xy−2y2=0.
The coefficient of x2 plus the coefficient of y2 is 2+(−2)=0, so the two lines (which are 2x+y=0 and x−2y=0) are perpendicular.
Example 6 (Angle bisectors). Find the bisectors of the angles between x+2y−3=0 and 2x+y+3=0.
Each line has a2+b2=5, so the bisectors are
5x+2y−3=±52x+y+3⟹x+2y−3=±(2x+y+3).
The + sign gives x+2y−3=2x+y+3, i.e. x−y+6=0; the − sign gives x+2y−3=−(2x+y+3), i.e. 3x+3y=0, or x+y=0. The bisectors x−y+6=0 and x+y=0 have slopes 1 and −1, so they are perpendicular, as any pair of angle bisectors must be.
Example 7 (Distance between parallel lines). Find the distance between 2x+3y−4=0 and 4x+6y+5=0.
The lines are parallel, but their coefficients differ, so first divide the second by 2 to obtain 2x+3y+25=0. Now with c1=−4 and c2=25,
d=a2+b2∣c1−c2∣=22+32−4−25=13213=213.
Ready to test your knowledge?
Take a quick interactive quiz on this topic —
free, works without login.