Area of a Triangle using Determinants

In earlier classes, you learned that the area of a triangle whose vertices are (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2) and (x3,y3)(x_3, y_3) is given by the expression: Δ=12x1(y2y3)+x2(y3y1)+x3(y1y2)\Delta = \frac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|

This expression can be written in the form of a determinant as: Δ=12x1y11x2y21x3y31\Delta = \frac{1}{2} \begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix}

Important Remarks

When applying this determinant formula, you must keep the following points in mind:

1.Absolute Value

Since area is a positive quantity, we always take the absolute value of the determinant for calculating the area.

2. Given Area

If the area is given in a problem (e.g., to find an unknown variable like kk), use both positive and negative values of the determinant for calculation. i.e., 12x1y11x2y21x3y31=±Area\frac{1}{2} \begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix} = \pm \text{Area}

3.Collinearity

The area of the triangle formed by three collinear points is zero. Thus, points (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2) and (x3,y3)(x_3, y_3) are collinear if and only if x1y11x2y21x3y31=0\begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix} = 0

Equation of a Line

The determinant formula can also be used to find the equation of a line passing through two given points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2). Let (x,y)(x, y) be any general point on the line. Since the three points (x,y)(x, y), (x1,y1)(x_1, y_1), and (x2,y2)(x_2, y_2) are collinear, the area of the triangle formed by them must be zero. Therefore, the equation of the line is: xy1x1y11x2y21=0\begin{vmatrix} x & y & 1 \\ x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \end{vmatrix} = 0

Example 1: Finding Area of a Triangle

Find the area of the triangle whose vertices are (3,8)(3, 8), (4,2)(-4, 2) and (5,1)(5, 1).

Solution: Step 1: Identify the coordinates of the vertices.

(x1,y1)=(3,8)(x_1, y_1) = (3, 8) (x2,y2)=(4,2)(x_2, y_2) = (-4, 2) (x3,y3)=(5,1)(x_3, y_3) = (5, 1)

Step 2: Set up the determinant for the area. Δ=12381421511\Delta = \frac{1}{2} \begin{vmatrix} 3 & 8 & 1 \\ -4 & 2 & 1 \\ 5 & 1 & 1 \end{vmatrix}

Step 3: Expand the determinant along the first row (R1R_1). Δ=12[3211184151+14251]\Delta = \frac{1}{2} \left[ 3 \begin{vmatrix} 2 & 1 \\ 1 & 1 \end{vmatrix} - 8 \begin{vmatrix} -4 & 1 \\ 5 & 1 \end{vmatrix} + 1 \begin{vmatrix} -4 & 2 \\ 5 & 1 \end{vmatrix} \right] Δ=12[3(2(1)1(1))8(4(1)5(1))+1(4(1)5(2))]\Delta = \frac{1}{2} [3(2(1) - 1(1)) - 8(-4(1) - 5(1)) + 1(-4(1) - 5(2))] Δ=12[3(21)8(45)+1(410)]\Delta = \frac{1}{2} [3(2 - 1) - 8(-4 - 5) + 1(-4 - 10)] Δ=12[3(1)8(9)+1(14)]\Delta = \frac{1}{2} [3(1) - 8(-9) + 1(-14)] Δ=12[3+7214]\Delta = \frac{1}{2} [3 + 72 - 14] Δ=12[61]=612\Delta = \frac{1}{2} [61] = \frac{61}{2}

Answer: 612\frac{61}{2} square units.


Example 2: Area with Negative Determinant

Find the area of the triangle whose vertices are (2,7)(2, 7), (1,1)(1, 1) and (10,8)(10, 8).

Solution: Step 1: Identify the coordinates.

(x1,y1)=(2,7)(x_1, y_1) = (2, 7), (x2,y2)=(1,1)(x_2, y_2) = (1, 1), (x3,y3)=(10,8)(x_3, y_3) = (10, 8)

Step 2: Set up the determinant. Δ=122711111081\Delta = \frac{1}{2} \begin{vmatrix} 2 & 7 & 1 \\ 1 & 1 & 1 \\ 10 & 8 & 1 \end{vmatrix}

Step 3: Expand the determinant along R1R_1. Δ=12[2(18)7(110)+1(810)]\Delta = \frac{1}{2} [2(1 - 8) - 7(1 - 10) + 1(8 - 10)] Δ=12[2(7)7(9)+1(2)]\Delta = \frac{1}{2} [2(-7) - 7(-9) + 1(-2)] Δ=12[14+632]\Delta = \frac{1}{2} [-14 + 63 - 2] Δ=12[47]=472\Delta = \frac{1}{2} [47] = \frac{47}{2}

Answer: 472\frac{47}{2} square units.


Example 3: Checking Collinearity

Show that points A(a,b+c)A(a, b+c), B(b,c+a)B(b, c+a) and C(c,a+b)C(c, a+b) are collinear.

Solution: Step 1: For the points to be collinear, the area of the triangle formed by them must be zero. Let's evaluate the determinant. Δ=12ab+c1bc+a1ca+b1\Delta = \frac{1}{2} \begin{vmatrix} a & b+c & 1 \\ b & c+a & 1 \\ c & a+b & 1 \end{vmatrix}

Step 2: Apply properties of determinants to simplify. Let's perform the operation C2C2+C1C_2 \rightarrow C_2 + C_1 (Add Column 1 to Column 2). Δ=12aa+b+c1ba+b+c1ca+b+c1\Delta = \frac{1}{2} \begin{vmatrix} a & a+b+c & 1 \\ b & a+b+c & 1 \\ c & a+b+c & 1 \end{vmatrix}

Step 3: Take out the common factor (a+b+c)(a+b+c) from Column 2 (C2C_2). Δ=12(a+b+c)a11b11c11\Delta = \frac{1}{2} (a+b+c) \begin{vmatrix} a & 1 & 1 \\ b & 1 & 1 \\ c & 1 & 1 \end{vmatrix}

Step 4: Observe that Column 2 (C2C_2) and Column 3 (C3C_3) are identical.

According to properties of determinants, if any two rows or columns are identical, the determinant is zero. Δ=12(a+b+c)×0=0\Delta = \frac{1}{2} (a+b+c) \times 0 = 0

Step 5: Since the area is zero, the points are collinear.

Answer: Proved.


Example 4: Finding an Unknown Variable Given Area

Find the values of kk if the area of the triangle is 44 sq. units and vertices are (k,0)(k, 0), (4,0)(4, 0) and (0,2)(0, 2).

Solution: Step 1: Set up the area formula. Since the area is given, we must use ±4\pm 4. 12k01401021=±4\frac{1}{2} \begin{vmatrix} k & 0 & 1 \\ 4 & 0 & 1 \\ 0 & 2 & 1 \end{vmatrix} = \pm 4

Step 2: Multiply both sides by 2. k01401021=±8\begin{vmatrix} k & 0 & 1 \\ 4 & 0 & 1 \\ 0 & 2 & 1 \end{vmatrix} = \pm 8

Step 3: Expand the determinant. Expanding along Column 2 (C2C_2) is easiest because it has two zeros. 0+02k141=±8-0 + 0 - 2 \begin{vmatrix} k & 1 \\ 4 & 1 \end{vmatrix} = \pm 8 2(k(1)4(1))=±8-2(k(1) - 4(1)) = \pm 8 2(k4)=±8-2(k - 4) = \pm 8

Step 4: Solve the two cases.

Case 1: 2(k4)=8-2(k - 4) = 8 k4=4k=0k - 4 = -4 \Rightarrow k = 0

Case 2: 2(k4)=8-2(k - 4) = -8 k4=4k=8k - 4 = 4 \Rightarrow k = 8

Answer: k=0,8k = 0, 8


Example 5: Finding Equation of a Line

Find the equation of the line joining (1,2)(1, 2) and (3,6)(3, 6) using determinants.

Solution: Step 1: Let P(x,y)P(x, y) be any point on the line passing through A(1,2)A(1, 2) and B(3,6)B(3, 6).

Step 2: Since P,A,BP, A, B are collinear on the same line, the area of the triangle formed by them is zero. 12xy1121361=0\frac{1}{2} \begin{vmatrix} x & y & 1 \\ 1 & 2 & 1 \\ 3 & 6 & 1 \end{vmatrix} = 0

Step 3: Multiply by 2 and expand along R1R_1. x(2(1)6(1))y(1(1)3(1))+1(1(6)3(2))=0x(2(1) - 6(1)) - y(1(1) - 3(1)) + 1(1(6) - 3(2)) = 0 x(26)y(13)+1(66)=0x(2 - 6) - y(1 - 3) + 1(6 - 6) = 0 x(4)y(2)+1(0)=0x(-4) - y(-2) + 1(0) = 0 4x+2y=0-4x + 2y = 0

Step 4: Simplify the equation.

Divide by 2-2: 2xy=02x - y = 0 or y=2xy = 2x

Answer: y=2xy = 2x


Example 6: Collinear Points with an Unknown

If the points (2,3)(2, -3), (k,1)(k, -1) and (0,4)(0, 4) are collinear, find the value of kk.

Solution: Step 1: For collinear points, the area determinant is zero. 231k11041=0\begin{vmatrix} 2 & -3 & 1 \\ k & -1 & 1 \\ 0 & 4 & 1 \end{vmatrix} = 0

Step 2: Expand the determinant along R1R_1. 2(1(1)4(1))(3)(k(1)0(1))+1(k(4)0(1))=02(-1(1) - 4(1)) - (-3)(k(1) - 0(1)) + 1(k(4) - 0(-1)) = 0 2(14)+3(k0)+1(4k0)=02(-1 - 4) + 3(k - 0) + 1(4k - 0) = 0 2(5)+3k+4k=02(-5) + 3k + 4k = 0

Step 3: Solve for kk.

10+7k=0-10 + 7k = 0 7k=10k=107\Rightarrow 7k = 10 \Rightarrow k = \frac{10}{7}

Answer: k=107k = \frac{10}{7}


Example 7: Area with Origin as a Vertex

Find the area of the triangle whose vertices are (0,0)(0, 0), (4,0)(4, 0) and (0,5)(0, 5).

Solution: Step 1: Set up the determinant. Δ=12001401051\Delta = \frac{1}{2} \begin{vmatrix} 0 & 0 & 1 \\ 4 & 0 & 1 \\ 0 & 5 & 1 \end{vmatrix}

Step 2: Expand along R1R_1. Since the first two elements are zero, we only calculate the cofactor of the third element. Δ=12[00+1(4(5)0(0))]\Delta = \frac{1}{2} [0 - 0 + 1(4(5) - 0(0))] Δ=12[1(200)]Δ=12[20]=10\Delta = \frac{1}{2} [1(20 - 0)] \Rightarrow \Delta = \frac{1}{2} [20] = 10

Answer: 1010 square units.


Example 8: Area and Unknown Coordinate

If the area of a triangle is 3535 sq units with vertices (2,6)(2, -6), (5,4)(5, 4) and (k,4)(k, 4). Then find the value of kk.

Solution: Step 1: Set up the equation using the area formula, remembering the ±\pm sign for given area. 12261541k41=±35\frac{1}{2} \begin{vmatrix} 2 & -6 & 1 \\ 5 & 4 & 1 \\ k & 4 & 1 \end{vmatrix} = \pm 35

Step 2: Multiply by 2. 261541k41=±70\begin{vmatrix} 2 & -6 & 1 \\ 5 & 4 & 1 \\ k & 4 & 1 \end{vmatrix} = \pm 70

Step 3: Expand the determinant along C3C_3 (or R1R_1). Let's use R1R_1. 2(4(1)4(1))(6)(5(1)k(1))+1(5(4)k(4))=±702(4(1) - 4(1)) - (-6)(5(1) - k(1)) + 1(5(4) - k(4)) = \pm 70 2(0)+6(5k)+(204k)=±702(0) + 6(5 - k) + (20 - 4k) = \pm 70 0+306k+204k=±70\Rightarrow 0 + 30 - 6k + 20 - 4k = \pm 70 5010k=±7050 - 10k = \pm 70

Step 4: Solve the two cases.

Case 1: 5010k=7010k=20k=250 - 10k = 70 \Rightarrow -10k = 20 \Rightarrow k = -2

Case 2: 5010k=7010k=120k=1250 - 10k = -70 \Rightarrow -10k = -120 \Rightarrow k = 12

Answer: k=12,2k = 12, -2


Example 9: Equation of line and third point

Find the equation of the line joining A(3,1)A(3, 1) and B(9,3)B(9, 3) using determinants. Also find kk if D(k,0)D(k, 0) is a point such that area of triangle ABDABD is 33 sq units.

Solution: Step 1: Find the equation of line AB. Let P(x,y)P(x, y) be a point on AB. 12xy1311931=0\frac{1}{2} \begin{vmatrix} x & y & 1 \\ 3 & 1 & 1 \\ 9 & 3 & 1 \end{vmatrix} = 0 x(13)y(39)+1(99)=0x(1 - 3) - y(3 - 9) + 1(9 - 9) = 0 2xy(6)+0=0-2x - y(-6) + 0 = 0 2x+6y=0x3y=0-2x + 6y = 0 \Rightarrow x - 3y = 0 So, the equation of the line is x3y=0x - 3y = 0.

Step 2: Use the area of triangle ABD to find kk. 12311931k01=±3\frac{1}{2} \begin{vmatrix} 3 & 1 & 1 \\ 9 & 3 & 1 \\ k & 0 & 1 \end{vmatrix} = \pm 3 311931k01=±6\begin{vmatrix} 3 & 1 & 1 \\ 9 & 3 & 1 \\ k & 0 & 1 \end{vmatrix} = \pm 6

Step 3: Expand along R3R_3. k(1(1)3(1))0+1(3(3)9(1))=±6k(1(1) - 3(1)) - 0 + 1(3(3) - 9(1)) = \pm 6 k(2)+(99)=±6k(-2) + (9 - 9) = \pm 6 2k=±6-2k = \pm 6

Step 4: Solve for kk.

k=±62=3k=3k = \frac{\pm 6}{-2} = \mp 3 \Rightarrow k = 3 or k=3k = -3

Answer: Equation of line is x3y=0x - 3y = 0. Value of kk is 3,33, -3.


Example 10: Condition for Points on X-axis

Find the area of the triangle formed by points (a,0)(a, 0), (b,0)(b, 0), and (c,d)(c, d). What does this result signify if d=0d = 0?

Solution: Step 1: Set up the area determinant. Δ=12a01b01cd1\Delta = \frac{1}{2} \begin{vmatrix} a & 0 & 1 \\ b & 0 & 1 \\ c & d & 1 \end{vmatrix}

Step 2: Expand along Column 2 (C2C_2) since it has two zeros. Δ=12[0+0da1b1]\Delta = \frac{1}{2} \left[ -0 + 0 - d \begin{vmatrix} a & 1 \\ b & 1 \end{vmatrix} \right] Δ=12[d(a(1)b(1))]\Delta = \frac{1}{2} [-d(a(1) - b(1))] Δ=12d(ab)=12d(ba)\Delta = -\frac{1}{2}d(a - b) = \frac{1}{2}d(b - a) Taking absolute value, Area =12d(ba)= \frac{1}{2} |d(b - a)|.

(Notice this is exactly 12×base×height\frac{1}{2} \times \text{base} \times \text{height}, where base is distance between (a,0)(a,0) and (b,0)(b,0) which is ba|b-a|, and height is d|d|).

Step 3: If d=0d = 0, then Area =12(0)(ba)=0= \frac{1}{2}(0)(b - a) = 0.

Significance: If d=0d=0, the third point (c,0)(c, 0) also lies on the x-axis. Since all three points lie on the x-axis, they are collinear, and the area of the triangle is naturally 00.

Answer: Area =12d(ba)= \frac{1}{2} |d(b - a)|. If d=0d=0, the points are collinear on the x-axis.