Math Lab
Home/Class X/Ch 7/Collinearity and area of a triangle

Collinearity and area of a triangle

Three points are collinear if they lie on a single straight line. A clean coordinate test: the "triangle" they form has area zero.

Area formula

For a triangle with vertices A=(x1,y1),B=(x2,y2),C=(x3,y3)A = (x_1, y_1), B = (x_2, y_2), C = (x_3, y_3), the area is Area=12x1(y2y3)+x2(y3y1)+x3(y1y2).\text{Area} = \frac{1}{2} \left| x_1 (y_2 - y_3) + x_2 (y_3 - y_1) + x_3 (y_1 - y_2) \right|.

The absolute value keeps the area positive. Without it, the signed area is positive if the vertices go counter-clockwise and negative if clockwise.

Collinearity test

Three points are collinear if and only if the area of the triangle they form is zero: x1(y2y3)+x2(y3y1)+x3(y1y2)=0.x_1 (y_2 - y_3) + x_2 (y_3 - y_1) + x_3 (y_1 - y_2) = 0.

Equivalently, y2y1x2x1=y3y1x3x1\dfrac{y_2 - y_1}{x_2 - x_1} = \dfrac{y_3 - y_1}{x_3 - x_1} (the slope is the same between any two pairs).

Why the formula works

The area formula can be derived in a few ways. One: write the triangle as the sum/difference of trapezoids hanging off the xx-axis. Another: use the shoelace formula (a special case of determinants from later linear algebra). Both produce the same boxed formula above.

The collinearity-from-area test is intuitive: if the three points are on one line, the "triangle" is degenerate and has no width , area zero.

Worked examples

Example 1. Area of the triangle with vertices (1,1),(4,3),(2,5)(1, 1), (4, 3), (2, 5).

Area=121(35)+4(51)+2(13)=122+164=1210=5\text{Area} = \frac{1}{2} |1(3 - 5) + 4(5 - 1) + 2(1 - 3)| = \frac{1}{2} | -2 + 16 - 4 | = \frac{1}{2} \cdot 10 = 5.

Example 2. Are (1,4),(3,1),(1,7)(1, 4), (3, 1), (-1, 7) collinear?

Compute area: 121(17)+3(74)+(1)(41)=126+93=0\frac{1}{2}|1(1 - 7) + 3(7 - 4) + (-1)(4 - 1)| = \frac{1}{2}|-6 + 9 - 3| = 0.

Yes, collinear.

Example 3. Find kk if the points (k,2),(2,k+1),(3,4)(k, 2), (2, k+1), (3, 4) are collinear.

Set area =0= 0: k(k+14)+2(42)+3(2(k+1))=0k(k + 1 - 4) + 2(4 - 2) + 3(2 - (k + 1)) = 0.

k(k3)+4+3(1k)=0k23k+4+33k=0k26k+7=0k(k - 3) + 4 + 3(1 - k) = 0 \Rightarrow k^2 - 3 k + 4 + 3 - 3 k = 0 \Rightarrow k^2 - 6 k + 7 = 0.

Discriminant =3628=8= 36 - 28 = 8. k=(6±22)/2=3±2k = (6 \pm 2 \sqrt{2})/2 = 3 \pm \sqrt{2}.

Example 4. Find the area of the quadrilateral with vertices (4,2),(3,5),(3,2),(2,3)(-4, 2), (-3, -5), (3, -2), (2, 3).

Split into two triangles by a diagonal. Use diagonal A(4,2)A(-4, 2) to C(3,2)C(3, -2).

ABC\triangle ABC vertices (4,2),(3,5),(3,2)(-4, 2), (-3, -5), (3, -2): Area=124(5(2))+(3)((2)2)+3(2(5))=124(3)+(3)(4)+37=1212+12+21=452\text{Area} = \frac{1}{2}|-4(-5 - (-2)) + (-3)((-2) - 2) + 3(2 - (-5))| = \frac{1}{2}|-4 \cdot (-3) + (-3)(-4) + 3 \cdot 7| = \frac{1}{2}|12 + 12 + 21| = \frac{45}{2}.

ACD\triangle ACD vertices (4,2),(3,2),(2,3)(-4, 2), (3, -2), (2, 3): Area=124(23)+3(32)+2(2(2))=1220+3+8=312\text{Area} = \frac{1}{2}|-4(-2 - 3) + 3(3 - 2) + 2(2 - (-2))| = \frac{1}{2}|20 + 3 + 8| = \frac{31}{2}.

Total: 45/2+31/2=3845/2 + 31/2 = 38.

Example 5. If (x,y)(x, y), (2,4)(2, 4), and (3,6)(3, 6) are collinear, show y=2xy = 2 x.

Set area =0= 0: x(46)+2(6y)+3(y4)=02x+122y+3y12=0y2x=0x(4 - 6) + 2(6 - y) + 3(y - 4) = 0 \Rightarrow -2 x + 12 - 2 y + 3 y - 12 = 0 \Rightarrow y - 2 x = 0, i.e., y=2xy = 2 x. ✓

Try it yourself

  1. Area of triangle with vertices (2,3),(1,0),(4,2)(2, 3), (-1, 0), (4, -2).
  2. Are (1,1),(2,7),(3,3)(1, 1), (-2, 7), (3, -3) collinear?
  3. Find kk if (k,0),(3,0),(0,k)(k, 0), (3, 0), (0, k) are collinear. (Geometry hint: think about the line.)
  4. Show that the points (a,b+c),(b,c+a),(c,a+b)(a, b + c), (b, c + a), (c, a + b) are collinear.
  5. Area of triangle with vertices (0,0),(5,0),(0,7)(0, 0), (5, 0), (0, 7).
  6. Find the area of the quadrilateral with vertices (1,1),(3,4),(5,2),(4,7)(1, 1), (3, 4), (5, -2), (4, -7).
  7. Find kk if the area of the triangle with vertices (k,0),(4,0),(0,2)(k, 0), (4, 0), (0, 2) is 44.
  8. Find kk if (2,3),(4,k),(6,3)(2, 3), (4, k), (6, -3) are collinear.
  9. Prove that if the area of the triangle with vertices (a1,b1),(a2,b2),(a3,b3)(a_1, b_1), (a_2, b_2), (a_3, b_3) is zero, then the points are collinear.
  10. Find the area of the triangle whose vertices are (2,3),(3,2),(1,3)(-2, 3), (3, 2), (1, -3).

Pitfalls / Insight

  • Take absolute value at the end to keep area positive.
  • Don't divide by 2 too early. Compute the bracket first, then halve.
  • Collinearity = area zero , easier than computing slopes (and avoids division by zero edge cases).

Insight. Area is the algebraic measure of "how spread out" three points are. Collinearity is the limit of zero spread. One formula handles both.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Collinearity and area
6 questions · pick the best answer
Q1

Area of triangle with vertices (2,3),(1,0),(4,2)(2,3), (-1,0), (4,-2):

Q2

Three points are collinear iff:

Q3

Are (1,1),(2,7),(3,3)(1,1), (-2,7), (3,-3) collinear?

Q4

Area of triangle (0,0),(5,0),(0,7)(0,0), (5,0), (0,7):

Q5

(a,b+c),(b,c+a),(c,a+b)(a, b+c), (b, c+a), (c, a+b) are:

Q6

If area of triangle with vertices (k,0),(4,0),(0,2)(k, 0), (4, 0), (0, 2) is 44: