Quick Recap — Points and Straight Lines

  • Distance =(x2x1)2+(y2y1)2=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}; midpoint =(x1+x22,y1+y22)=\left(\tfrac{x_1+x_2}{2},\tfrac{y_1+y_2}{2}\right).
  • Section (internal, m:nm:n): (mx2+nx1m+n,my2+ny1m+n)\left(\tfrac{mx_2+nx_1}{m+n},\tfrac{my_2+ny_1}{m+n}\right); centroid =(x1+x2+x33,y1+y2+y33)=\left(\tfrac{x_1+x_2+x_3}{3},\tfrac{y_1+y_2+y_3}{3}\right).
  • Slope =y2y1x2x1=\tfrac{y_2-y_1}{x_2-x_1}; line y=mx+cy=mx+c; parallel m1=m2\Rightarrow m_1=m_2; perpendicular m1m2=1\Rightarrow m_1m_2=-1.
  • Circle: (xh)2+(yk)2=r2(x-h)^2+(y-k)^2=r^2; general x2+y2+2gx+2fy+c=0x^2+y^2+2gx+2fy+c=0 has centre (g,f)(-g,-f), radius g2+f2c\sqrt{g^2+f^2-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=0ax^2+2hxy+by^2=0 always represents two straight lines through the origin (real and distinct if h2>abh^2>ab, coincident if h2=abh^2=ab, not real if h2<abh^2<ab). Substituting y=mxy=mx gives bm2+2hm+a=0bm^2+2hm+a=0, so the two slopes satisfy m1+m2=2hbm_1+m_2=-\dfrac{2h}{b} and m1m2=abm_1m_2=\dfrac{a}{b}. The angle θ\theta between the lines is tanθ=2h2aba+b.\tan\theta=\left|\dfrac{2\sqrt{h^2-ab}}{a+b}\right|.

  • Perpendicular iff a+b=0a+b=0 (coefficient of x2x^2 plus coefficient of y2y^2 is zero).
  • Coincident iff h2=abh^2=ab.

[JEE Tip] The angle depends only on a,h,ba,h,b, so the same formula gives the angle between the two lines of any second-degree equation — the xx, yy and constant terms never affect it.

2. General Second-Degree as a Pair of Lines

The conic ax2+2hxy+by2+2gx+2fy+c=0ax^2+2hxy+by^2+2gx+2fy+c=0 breaks into two straight lines iff abc+2fghaf2bg2ch2=0,abc+2fgh-af^2-bg^2-ch^2=0, equivalently the 3×33\times3 determinant ahghbfgfc=0.\begin{vmatrix} a & h & g \\ h & b & f \\ g & f & c \end{vmatrix}=0. When it holds, the two linear factors are found by solving the equation as a quadratic in xx (treating yy as a constant).

3. Homogenisation

To get the joint equation of the two lines joining the origin to the points where a curve S=0S=0 meets a line, first write the line as lx+myn=1\dfrac{lx+my}{n}=1; then make every term of SS second-degree by multiplying each linear term by lx+myn\dfrac{lx+my}{n} and the constant term by (lx+myn)2\left(\dfrac{lx+my}{n}\right)^2. The result is a homogeneous pair ax2+2hxy+by2=0ax^2+2hxy+by^2=0.

[JEE Tip] After homogenising, "the two lines are perpendicular" collapses to (coefficient of x2x^2) plus (coefficient of y2y^2) equal to 00 — 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=0a_1x+b_1y+c_1=0 and a2x+b2y+c2=0a_2x+b_2y+c_2=0 is a1x+b1y+c1a12+b12=±a2x+b2y+c2a22+b22.\dfrac{a_1x+b_1y+c_1}{\sqrt{a_1^2+b_1^2}}=\pm\dfrac{a_2x+b_2y+c_2}{\sqrt{a_2^2+b_2^2}}. The two bisectors are always mutually perpendicular. If c1,c2c_1,c_2 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 identical xx- and yy-coefficients, ax+by+c1=0ax+by+c_1=0 and ax+by+c2=0ax+by+c_2=0, d=c1c2a2+b2.d=\dfrac{|c_1-c_2|}{\sqrt{a^2+b^2}}. Caution: equalise the coefficients first — e.g. rewrite 6x+8y+15=06x+8y+15=0 as 3x+4y+152=03x+4y+\dfrac{15}{2}=0 before comparing it with 3x+4y5=03x+4y-5=0.

Solved Examples — Beyond-NCERT Formulae

Example 1 (Angle of a homogeneous pair). Find the acute angle between the two lines 6x2xyy2=06x^2-xy-y^2=0.

Here a=6a=6, 2h=12h=-1 so h=12h=-\dfrac{1}{2}, and b=1b=-1, giving h2ab=14(6)(1)=254h^2-ab=\dfrac{1}{4}-(6)(-1)=\dfrac{25}{4}. Hence tanθ=2h2aba+b=25261=55=1,\tan\theta=\left|\dfrac{2\sqrt{h^2-ab}}{a+b}\right|=\left|\dfrac{2\cdot\dfrac{5}{2}}{6-1}\right|=\dfrac{5}{5}=1, so θ=45\theta=45^\circ. As a check, 6x2xyy2=(3x+y)(2xy)6x^2-xy-y^2=(3x+y)(2x-y), i.e. lines of slopes 3-3 and 22, and 321+(3)(2)=1\left|\dfrac{-3-2}{1+(-3)(2)}\right|=1 confirms 4545^\circ.

Example 2 (Perpendicular pair). Show that 3x2+8xy3y2=03x^2+8xy-3y^2=0 is a pair of perpendicular lines and name them.

The coefficient test gives a+b=3+(3)=0a+b=3+(-3)=0, so the lines are perpendicular. Factorising, 3x2+8xy3y2=(3xy)(x+3y)3x^2+8xy-3y^2=(3x-y)(x+3y), so the two lines are 3xy=03x-y=0 and x+3y=0x+3y=0; their slopes 33 and 13-\dfrac{1}{3} multiply to 1-1, exactly as the perpendicularity test predicts.

Example 3 (Coincident pair). Find the values of kk for which 9x2+kxy+4y2=09x^2+kxy+4y^2=0 represents a pair of coincident lines.

Coincident lines require h2=abh^2=ab. With a=9a=9, b=4b=4 and h=k2h=\dfrac{k}{2}, this becomes k24=36\dfrac{k^2}{4}=36, so k2=144k^2=144 and k=±12k=\pm12. For k=12k=12 the equation is 9x2+12xy+4y2=(3x+2y)29x^2+12xy+4y^2=(3x+2y)^2, the single repeated line 3x+2y=03x+2y=0.

Example 4 (Does a conic split into lines?). Decide whether 2x2+3xy+y2+x+2y3=02x^2+3xy+y^2+x+2y-3=0 is a pair of straight lines, and if so find them.

Matching ax2+2hxy+by2+2gx+2fy+c=0ax^2+2hxy+by^2+2gx+2fy+c=0 gives a=2a=2, b=1b=1, c=3c=-3, h=32h=\dfrac{3}{2}, g=12g=\dfrac{1}{2}, f=1f=1. The test value is abc+2fghaf2bg2ch2=(2)(1)(3)+2(1)(12)(32)2(1)21(12)2(3)(32)2,abc+2fgh-af^2-bg^2-ch^2=(2)(1)(-3)+2(1)\left(\dfrac{1}{2}\right)\left(\dfrac{3}{2}\right)-2(1)^2-1\left(\dfrac{1}{2}\right)^2-(-3)\left(\dfrac{3}{2}\right)^2, which simplifies to 6+32214+274=0-6+\dfrac{3}{2}-2-\dfrac{1}{4}+\dfrac{27}{4}=0. So it is a pair of lines, and factoring the quadratic in xx gives 2x2+3xy+y2+x+2y3=(2x+y+3)(x+y1)2x^2+3xy+y^2+x+2y-3=(2x+y+3)(x+y-1), namely 2x+y+3=02x+y+3=0 and x+y1=0x+y-1=0. Had the constant been 1-1 instead of 3-3, the test value would be 120-\dfrac{1}{2}\neq0 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=5x+3y=5 cuts the circle x2+y22x6y+5=0x^2+y^2-2x-6y+5=0, and hence show they are perpendicular.

Write the line as x+3y5=1\dfrac{x+3y}{5}=1. Make the circle homogeneous by multiplying the linear terms by x+3y5\dfrac{x+3y}{5} and the constant by (x+3y5)2\left(\dfrac{x+3y}{5}\right)^2: x2+y2(2x+6y)x+3y5+5(x+3y5)2=0.x^2+y^2-(2x+6y)\cdot\dfrac{x+3y}{5}+5\left(\dfrac{x+3y}{5}\right)^2=0. Since 2x+6y=2(x+3y)2x+6y=2(x+3y), the last two terms combine to (x+3y)25-\dfrac{(x+3y)^2}{5}, leaving x2+y2(x+3y)25=0x^2+y^2-\dfrac{(x+3y)^2}{5}=0. Multiplying by 55 and simplifying 5x2+5y2(x2+6xy+9y2)=05x^2+5y^2-(x^2+6xy+9y^2)=0 gives 4x26xy4y2=0,i.e.2x23xy2y2=0.4x^2-6xy-4y^2=0,\qquad\text{i.e.}\qquad 2x^2-3xy-2y^2=0. The coefficient of x2x^2 plus the coefficient of y2y^2 is 2+(2)=02+(-2)=0, so the two lines (which are 2x+y=02x+y=0 and x2y=0x-2y=0) are perpendicular.

Example 6 (Angle bisectors). Find the bisectors of the angles between x+2y3=0x+2y-3=0 and 2x+y+3=02x+y+3=0.

Each line has a2+b2=5\sqrt{a^2+b^2}=\sqrt{5}, so the bisectors are x+2y35=±2x+y+35x+2y3=±(2x+y+3).\dfrac{x+2y-3}{\sqrt{5}}=\pm\dfrac{2x+y+3}{\sqrt{5}}\quad\Longrightarrow\quad x+2y-3=\pm(2x+y+3). The ++ sign gives x+2y3=2x+y+3x+2y-3=2x+y+3, i.e. xy+6=0x-y+6=0; the - sign gives x+2y3=(2x+y+3)x+2y-3=-(2x+y+3), i.e. 3x+3y=03x+3y=0, or x+y=0x+y=0. The bisectors xy+6=0x-y+6=0 and x+y=0x+y=0 have slopes 11 and 1-1, so they are perpendicular, as any pair of angle bisectors must be.

Example 7 (Distance between parallel lines). Find the distance between 2x+3y4=02x+3y-4=0 and 4x+6y+5=04x+6y+5=0.

The lines are parallel, but their coefficients differ, so first divide the second by 22 to obtain 2x+3y+52=02x+3y+\dfrac{5}{2}=0. Now with c1=4c_1=-4 and c2=52c_2=\dfrac{5}{2}, d=c1c2a2+b2=45222+32=13213=132.d=\dfrac{|c_1-c_2|}{\sqrt{a^2+b^2}}=\dfrac{\left|-4-\dfrac{5}{2}\right|}{\sqrt{2^2+3^2}}=\dfrac{\dfrac{13}{2}}{\sqrt{13}}=\dfrac{\sqrt{13}}{2}.