PYQ Vault

NDA Maths · Lines

Triangles, Quadrilaterals & Polygons

Coordinate geometry applied to figures: the area of a triangle from its vertices, the triangle centres (centroid, incentre, circumcentre), constructing vertices from medians/altitudes, and quadrilateral relations.

Why this matters

This is the chapter's largest subtopic and its capstone — it combines slope, distance, section and area into figure problems. Knowing the area determinant and the centre formulas cold makes most of it routine.

Test yourself — a quick 13-question Lines recall quiz, instant score.

Concept 1 of 4: Area of a triangle and collinearity

The area of a triangle from its three vertices is half the absolute value of a determinant. When that determinant is zero the 'triangle' has collapsed — the points are collinear.

Definition

Area =12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣=\dfrac12\left|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\right| =12∣x1y11x2y21x3y31∣=\dfrac12\left|\begin{smallmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{smallmatrix}\right|. Collinear iff this is 00. The same determinant gives the condition three points lie on a line.

  • Vertices on a curve: for points (xi,1xi)\big(x_i,\tfrac1{x_i}\big) on xy=1xy=1 the determinant factorises to ∣(x1−x2)(x2−x3)(x3−x1)∣2 x1x2x3\dfrac{|(x_1-x_2)(x_2-x_3)(x_3-x_1)|}{2\,x_1x_2x_3}; for (xi,xi2)(x_i,x_i^2) on a parabola it is 12∣(x1−x2)(x2−x3)(x3−x1)∣\tfrac12|(x_1-x_2)(x_2-x_3)(x_3-x_1)| — Vandermonde shapes.
  • Mensuration the coordinate questions borrow: an equilateral triangle of side aa has area 34a2\tfrac{\sqrt3}{4}a^2 and altitude 32a\tfrac{\sqrt3}{2}a; the segment joining the midpoints of two sides is parallel to the third side and half its length (midpoint theorem), so the midpoint triangle has a quarter of the area.

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|

Worked example

Find the area of the triangle with vertices (0,0),(4,0),(0,3)(0,0),(4,0),(0,3).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2018 · Q61Hard

Example 1 · Lines · Triangles, Quadrilaterals, and Polygons

What is the area of the triangle with vertices (x1,1x1),(x2,1x2),(x3,1x3)\left(x_1,\frac{1}{x_1}\right), \left(x_2,\frac{1}{x_2}\right), \left(x_3,\frac{1}{x_3}\right)?

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.

Concept 2 of 4: Centroid, incentre, circumcentre

Each triangle centre has a formula: the centroid is the plain average of the vertices; the incentre is the side-length-weighted average; the circumcentre is equidistant from all three vertices (intersection of perpendicular bisectors).

Definition

First, what aA+bB+cCaA+bB+cC means: do it one coordinate at a time. The x-coordinate is ax1+bx2+cx3ax_1+bx_2+cx_3, the y-coordinate is ay1+by2+cy3ay_1+by_2+cy_3. Adding points, and multiplying a point by a number, always works coordinate-wise in this chapter.

  • Centroid: (x1+x2+x33,y1+y2+y33)\left(\dfrac{x_1+x_2+x_3}{3},\dfrac{y_1+y_2+y_3}{3}\right) — the plain, unweighted average.
  • Incentre: a A+b B+c Ca+b+c\dfrac{a\,A+b\,B+c\,C}{a+b+c}, where a,b,ca,b,c are the side lengths opposite A,B,CA,B,C. You must compute those three lengths first; they are the weights.
  • Circumcentre: equidistant from all three vertices — solve two perpendicular-bisector equations. For a right triangle it is simply the midpoint of the hypotenuse.

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}

Worked example

Find the incentre of the triangle with vertices A(0,0)A(0,0), B(4,0)B(4,0), C(0,3)C(0,3).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q52Moderate

Example 2 · Lines · Triangles, Quadrilaterals, and Polygons

The incentre of the triangle with vertices A(1,3)A(1, \sqrt{3}), B(0,0)B(0, 0) and C(2,0)C(2, 0) is

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.

Concept 3 of 4: Constructing a triangle: vertices, medians, altitudes

Many questions give partial data — midpoints, a median, an altitude — and ask for a vertex or a side's equation. Use midpoint and section relations to recover vertices, and slope/perpendicularity for altitudes and bisectors.

Definition

  • Recover a vertex from a midpoint: if MM is the midpoint of BCBC, then B+C=2MB+C=2M, so C=2M−BC=2M-B. The factor of 22 is the whole point — MM is the average of BB and CC.
  • A median joins a vertex to the midpoint of the opposite side. So being given a median is being given a midpoint, and a midpoint hands you the missing vertex by the line above.
  • An altitude from a vertex is perpendicular to the opposite side: its slope is the negative reciprocal of that side's slope, and it passes through the vertex.
  • Special triangles: an equilateral or isosceles condition fixes the third vertex, usually through equal distances. The third vertex of an equilateral triangle on a given base generally has irrational coordinates.
  • Isosceles triangle from its apex angle: if the apex angle is AA, each base angle is 90°−A290°-\tfrac A2, so tan⁡(base angle)=cot⁡A2\tan(\text{base angle})=\cot\tfrac A2; conversely with t=tan⁡(base angle)t=\tan(\text{base angle}), tan⁡A=tan⁡(180°−2⋅base)=−2t1−t2\tan A=\tan(180°-2\cdot\text{base})=-\dfrac{2t}{1-t^2}. When the sides through the apex are given as lines, their slopes give tan⁡A\tan A and this recovers the base direction.

Vertex from a midpoint

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

Worked example

The midpoint of side BCBC of a triangle is M(4,2)M(4,2), and B=(1,3)B=(1,3). Find CC.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2024 · Q62Moderate

Example 3 · Lines · Triangles, Quadrilaterals, and Polygons

Triangle ABCABC has A(3,5)A(3,5). The mid-points of sides ABAB and ACAC are at (−1,2)(-1,2) and (6,4)(6,4) respectively. What are the coordinates of the centroid of the triangle ABCABC?

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.

Concept 4 of 4: Parallelograms, squares and diagonals

Quadrilateral problems lean on two facts: in a parallelogram the diagonals bisect each other (so the fourth vertex is D=A+C−BD=A+C-B), and the diagonals' intersection is their common midpoint. The area comes from a small determinant built out of the two side vectors meeting at one corner.

Definition

  • Parallelogram ABCDABCD: the diagonals join opposite vertices, ACAC and BDBD, and they bisect each other. So A+C=B+DA+C=B+D, giving D=A+C−BD=A+C-B, and they meet at the midpoint of either.
  • Side vector: the vector from AA to BB is just B−AB-A, computed coordinate by coordinate. Write AB⃗=(u1,v1)\vec{AB}=(u_1,v_1) and AD⃗=(u2,v2)\vec{AD}=(u_2,v_2) for the two sides meeting at AA.
  • Area =∣u1v2−u2v1∣=|u_1v_2-u_2v_1|. These are components of the two side vectors — note that everywhere else in this chapter (x1,y1)(x_1,y_1) means a vertex, so do not feed vertices into this formula.
  • A square or rectangle built on two given parallel sides uses the perpendicular distance between them as the other side length. A square with diagonal dd has area d22\tfrac{d^2}{2} and side d2\tfrac{d}{\sqrt2}.
  • Telling the quadrilaterals apart by their diagonals (compute both diagonal vectors first): a parallelogram whose diagonals are perpendicular (AC⃗⋅BD⃗=0\vec{AC}\cdot\vec{BD}=0) is a rhombus; one whose diagonals are equal in length is a rectangle; both together make a square. A non-parallelogram with equal diagonals and one pair of parallel sides is an isosceles trapezium. "Rhombus, not rectangle" is the key when the diagonals are perpendicular but unequal.

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

Worked example

Three consecutive vertices of a parallelogram are A(1,2),B(4,3),C(6,6)A(1,2),B(4,3),C(6,6). Find DD.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2021 · Q57Easy

Example 4 · Lines · Triangles, Quadrilaterals, and Polygons

A parallelogram has three consecutive vertices (−3,4)(-3, 4), (0,−4)(0, -4) and (5,2)(5, 2). The fourth vertex is

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.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • 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|

Watch out for (4)

Test yourself on Lines

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes