PYQ Vault

NDA Mathematics · Formula sheet

Lines formulas

12 formulas and 13 common traps for NDA Mathematics Lines, grouped by subtopic.

Full notes with worked examples

Equations, Slope & Family of Lines

Learn this subtopic in the notes

Slope and the forms of a line

Slope and forms of a line

m=y2−y1x2−x1max+by+c=0=−aby−y1=m(x−x1)y=mx+cm=\dfrac{y_2-y_1}{x_2-x_1}\qquad m_{ax+by+c=0}=-\dfrac{a}{b}\qquad y-y_1=m(x-x_1)\qquad y=mx+c
  • mmslope of the line
  • θ\thetaangle the LINE makes with the positive x-axis
  • α\alphaangle the PERPENDICULAR from the origin makes — normal form only
  • ccy-intercept in y=mx+cy=mx+c; the constant term in ax+by+c=0ax+by+c=0
  • ppdistance from the origin to the line

Intercept form and intercepts

xa+yb=1from px+qy+r=0:x-int=−rp,y-int=−rq\dfrac{x}{a}+\dfrac{y}{b}=1\qquad\text{from }px+qy+r=0:\quad x\text{-int}=-\dfrac{r}{p},\quad y\text{-int}=-\dfrac{r}{q}
  • a,ba,bthe x- and y-INTERCEPTS (numbers), in intercept form only
  • p,q,rp,q,rthe COEFFICIENTS of a general line px+qy+r=0px+qy+r=0
  • (h,k)(h,k)midpoint of the segment cut between the axes

Family of lines and concurrency

L1+λL2=0∣a1b1c1a2b2c2a3b3c3∣=0L_1+\lambda L_2=0\qquad \begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0

Image of a point and reflections

Image of a point in a line

midpoint(PP′)∈LPP′⊥LP′=2F−P\text{midpoint}(PP')\in L\qquad PP'\perp L\qquad P'=2F-P
  • PPthe original point
  • P′P'its image (mirror reflection) in the line
  • FFfoot of the perpendicular from PP to the line — the MIDPOINT of PP′PP'

Common traps

Slope is Δy/Δx\Delta y/\Delta x, not Δx/Δy\Delta x/\Delta y — and a vertical line has undefined slope

Two slips. First, slope is rise over run: m=y2−y1x2−x1m=\dfrac{y_2-y_1}{x_2-x_1}, not x2−x1y2−y1\dfrac{x_2-x_1}{y_2-y_1} — keep the yy-difference on top. Second, a vertical line x=kx=k has undefined slope (the run is 00), not slope 00 — that's a horizontal line y=ky=k. Likewise, the slope of ax+by+c=0ax+by+c=0 is −a/b-a/b, with the minus sign — dropping it flips the line.

Intercept form needs the constant on the RHS as 11 — a,ba,b are the intercepts only then

You can read the intercepts straight off xa+yb=1\dfrac{x}{a}+\dfrac{y}{b}=1 only when the right side is exactly 11. From ax+by=cax+by=c the x-intercept is c/ac/a, not aa: divide through by cc first to reach xc/a+yc/b=1\dfrac{x}{c/a}+\dfrac{y}{c/b}=1. Grabbing the coefficients before normalising to 11 is the classic error.

The pencil is L1+λL2=0L_1+\lambda L_2=0 — keep each LiL_i in the form =0=0 first

The family through L1∩L2L_1\cap L_2 is L1+λL2=0L_1+\lambda L_2=0, where each LiL_i is the whole expression aix+biy+cia_ix+b_iy+c_i moved to one side so the line reads Li=0L_i=0. Combining 2x+3y=52x+3y=5 and x−y=1x-y=1 means using L1=2x+3y−5L_1=2x+3y-5 and L2=x−y−1L_2=x-y-1 — forgetting to move the constants over (using 2x+3y2x+3y and x−yx-y) silently shifts the pencil off the intersection.

The foot of the perpendicular is the midpoint of PP′PP', not the image itself

The foot of the perpendicular FF from PP to the line is halfway to the image: FF is the midpoint of PP and P′P'. So the image is P′=2F−PP'=2F-P — you must double the displacement from PP to FF. Reporting the foot FF as the reflected image gives a point only half as far across the line.

Angle Between Lines, Parallel & Perpendicular

Learn this subtopic in the notes

Angle between two lines

tan⁡θ=∣m1−m21+m1m2∣\tan\theta=\left|\dfrac{m_1-m_2}{1+m_1 m_2}\right|

Parallel and perpendicular conditions

Parallel: m1=m2Perpendicular: m1m2=−1a1a2+b1b2=0\text{Parallel: } m_1=m_2\qquad \text{Perpendicular: } m_1 m_2=-1\qquad a_1a_2+b_1b_2=0

Common traps

The difference of slopes is on top: tan⁡θ=∣m1−m21+m1m2∣\tan\theta=\left|\dfrac{m_1-m_2}{1+m_1m_2}\right|

The angle formula puts the difference m1−m2m_1-m_2 in the numerator and 1+m1m21+m_1m_2 in the denominator — students often invert it to 1+m1m2m1−m2\dfrac{1+m_1m_2}{m_1-m_2}. Also watch the denominator's plus sign (1+m1m21+m_1m_2, not 1−m1m21-m_1m_2); when 1+m1m2=01+m_1m_2=0 the tangent blows up, correctly signalling θ=90∘\theta=90^\circ.

Perpendicular slope is the negative reciprocal: m2=−1m1m_2=-\dfrac{1}{m_1}, not 1m1\dfrac{1}{m_1}

Parallel ⇒ equal slopes (m1=m2m_1=m_2); perpendicular ⇒ the product is −1-1 (m1m2=−1m_1m_2=-1), so the second slope is the negative reciprocal −1/m1-1/m_1. The two classic slips: forgetting the minus (using 1/m11/m_1, the plain reciprocal), and swapping the two rules — "perpendicular means equal slopes" is wrong. If m1=23m_1=\tfrac23, a perpendicular line has slope −32-\tfrac32, not 32\tfrac32.

Distance, Section & Locus

Learn this subtopic in the notes

Distance: point-point, point-line, parallel lines

Distance formulas

(x2−x1)2+(y2−y1)2∣ax0+by0+c∣a2+b2∣c1−c2∣a2+b2\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\qquad \dfrac{|ax_0+by_0+c|}{\sqrt{a^2+b^2}}\qquad \dfrac{|c_1-c_2|}{\sqrt{a^2+b^2}}

Section formula and ratios

Section formula and midpoint

(mx2+nx1m+n,my2+ny1m+n)(x1+x22,y1+y22)\left(\dfrac{mx_2+nx_1}{m+n},\dfrac{my_2+ny_1}{m+n}\right)\qquad \left(\dfrac{x_1+x_2}{2},\dfrac{y_1+y_2}{2}\right)

Common traps

Put the line in ax+by+c=0ax+by+c=0 form first, and divide by a2+b2\sqrt{a^2+b^2} — not by a+ba+b

Two things go wrong with point-to-line distance. (1) The line must be written as ax+by+c=0ax+by+c=0 (everything on one side) before substituting — applying the formula to y=mx+cy=mx+c or ax+by=cax+by=c as-is gives the wrong numerator. (2) The denominator is a2+b2\sqrt{a^2+b^2}, not a2+b2a^2+b^2 or a+ba+b. For parallel lines, the a,ba,b coefficients of both lines must be made identical first, or ∣c1−c2∣|c_1-c_2| is meaningless.

In m:nm:n the weight mm multiplies the far endpoint x2x_2 — mind the cross-pairing

For a point dividing P1P2P_1P_2 in ratio m:nm:n (with mm the part nearer P2P_2), the x-coordinate is mx2+nx1m+n\dfrac{mx_2+nx_1}{m+n}: the ratio's first number mm pairs with the second point's coordinate x2x_2. Writing mx1+nx2m+n\dfrac{mx_1+nx_2}{m+n} swaps the weights and divides in ratio n:mn:m instead — the point lands on the wrong side. Also remember the m+nm+n in the denominator.

Equidistant from two points gives a line (perp. bisector); equidistant from two lines gives the angle bisectors

Don't conflate the two 'equidistant' loci. Equidistant from two points A,BA,B is the perpendicular bisector of ABAB — a single straight line. Equidistant from two lines is the pair of angle bisectors between them. Setting up PA2=PB2PA^2=PB^2 (distances to points) when the question means distance-to-lines, or vice versa, produces the wrong locus entirely.

Triangles, Quadrilaterals & Polygons

Learn this subtopic in the notes

Area of a triangle and collinearity

Area of a triangle from vertices

Area=12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\text{Area}=\dfrac12\left|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\right|

Centroid, incentre, circumcentre

Centroid and incentre

G=(x1+x2+x33,y1+y2+y33)I=a A+b B+c Ca+b+cG=\left(\dfrac{x_1+x_2+x_3}{3},\dfrac{y_1+y_2+y_3}{3}\right)\qquad I=\dfrac{a\,A+b\,B+c\,C}{a+b+c}

Constructing a triangle: vertices, medians, altitudes

Vertex from a midpoint

B+C=2MC=2M−BB+C=2M\qquad C=2M-B

Parallelograms, squares and diagonals

Parallelogram: fourth vertex and area

A+C=B+DD=A+C−BArea=∣u1v2−u2v1∣A+C=B+D\qquad D=A+C-B\qquad \text{Area}=|u_1v_2-u_2v_1|
  • A,B,C,DA,B,C,Dthe vertices, labelled in order around the figure
  • (u1,v1)(u_1,v_1)components of the side vector AB⃗=B−A\vec{AB}=B-A
  • (u2,v2)(u_2,v_2)components of the side vector AD⃗=D−A\vec{AD}=D-A

Common traps

Don't forget the 12\tfrac12 and the absolute value — and collinearity is area =0=0

Two routine slips on the area formula 12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\tfrac12|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)|: dropping the leading 12\tfrac12 (which doubles the answer), and omitting the modulus (a clockwise vertex order makes the bare determinant negative — area can't be negative). When the expression equals 00, the three points are collinear, so the 'area' test and the collinearity test are the same computation.

Centroid is the plain average; the incentre weights by the opposite side lengths a,b,ca,b,c

The centroid GG is the unweighted average of the three vertices, (x1+x2+x33,y1+y2+y33)\left(\tfrac{x_1+x_2+x_3}{3},\tfrac{y_1+y_2+y_3}{3}\right). The incentre is not that average — it is the side-length-weighted average aA+bB+cCa+b+c\dfrac{aA+bB+cC}{a+b+c}, where a,b,ca,b,c are the lengths of the sides opposite vertices A,B,CA,B,C. Using equal weights for the incentre (or pairing a side with its adjacent vertex) is the usual mistake; the two centres coincide only for an equilateral triangle.

An altitude is perpendicular to the opposite side — use the negative-reciprocal slope

The altitude from a vertex is perpendicular to the opposite side, so its slope is the negative reciprocal of that side's slope (not the same slope, which would be parallel, and not the side's own slope). To recover a vertex from a midpoint, use B+C=2M⇒C=2M−BB+C=2M\Rightarrow C=2M-B — i.e. 2M−B2M-B, not M−BM-B; the factor of 22 is essential because MM is the average of BB and CC.

In parallelogram ABCDABCD the diagonals are ACAC and BDBD: A+C=B+DA+C=B+D

The diagonals of ABCDABCD join opposite vertices — ACAC and BDBD — and they bisect each other, so the midpoints match: A+C=B+DA+C=B+D, giving D=A+C−BD=A+C-B. The slip is pairing adjacent vertices (e.g. computing A+BA+B); the order of the labels around the parallelogram tells you which pairs are diagonals. Get the pairing wrong and the 'fourth vertex' is misplaced.

More NDA Mathematics formula sheets