Class 12 Maths, Worked in Full Past papersGet updates
Chapter 4 · Determinants

Example 7: Line through A(1,3)A(1,3)⁠, B(0,0)B(0,0) and kk for area 3

ExamplesArea of a triangle · Section 4.3
The question

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

Exam answer

(a) Let P(x,y)P(x, y) be any point on ABAB⁠. Then the area of the triangle with vertices B(0,0)B(0, 0)⁠, A(1,3)A(1, 3)⁠, P(x,y)P(x, y) is 0:

12∣001131xy1∣=0\frac12\begin{vmatrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ x & y & 1 \end{vmatrix} = 0

Expanding along R1R_1⁠:

12[0−0+1(y−3x)]=0⇒ y−3x=0\begin{aligned} &\frac12\big[0 - 0 + 1(y - 3x)\big] = 0 \\ &\Rightarrow\ y - 3x = 0 \end{aligned}

So the equation of ABAB is y=3xy = 3x⁠.

(b) Area of triangle ABDABD is 3 sq. units, so

12∣131001k01∣=±3\frac12\begin{vmatrix} 1 & 3 & 1 \\ 0 & 0 & 1 \\ k & 0 & 1 \end{vmatrix} = \pm 3

Expanding along R2R_2⁠:

12[−0+0−1(0−3k)]=±3⇒ 3k2=±3\begin{aligned} &\frac12\big[-0 + 0 - 1(0 - 3k)\big] = \pm 3 \\ &\Rightarrow\ \frac{3k}{2} = \pm 3 \end{aligned}

∴ k=±2\therefore\ k = \pm 2⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The area determinant answers two questions. Zero area means the three points lie on one line, so a point P(x,y)P(x, y) is on line ABAB exactly when the area of "triangle" ABPABP is 0: that condition is the equation of the line. A given area aa means the determinant is +2a+2a or −2a-2a (its sign depends only on the order of the vertices), so both signs must be solved, giving two values of kk⁠.

Given, to find, and the plan
Given
Points A(1,3)A(1, 3)⁠, B(0,0)B(0, 0)⁠, and D(k,0)D(k, 0) on the xx-axis with area of triangle ABD=3ABD = 3⁠.
To find
(a) The equation of line ABAB⁠. (b) Every value of kk⁠.
Plan
(a) Set the area determinant of B,A,PB, A, P equal to 0 and expand along the row with two zeros. (b) Set the area determinant of A,B,DA, B, D equal to ±3\pm3⁠, expand along the row with two zeros, solve both equations, and check with base and height.

Basics you need

1Area as a determinant

Area of the triangle with vertices (xi,yi)(x_i, y_i) is ∣Δ∣|\Delta|⁠, where

Δ=12∣x1y11x2y21x3y31∣.\Delta = \frac12\begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix}.

Basics: determinant as area

2Collinear points give zero area

Three points on one line form a "flat" triangle with area 0 (Remark (iii), Section 4.3). Conversely, if the area is 0 the three points cannot form a genuine triangle, so they lie on one line.

3Given area: use both signs

If the area is aa⁠, then Δ=a\Delta = a or Δ=−a\Delta = -a (Remark (ii), Section 4.3), because ∣Δ∣=a|\Delta| = a has both solutions. Basics: determinant as area

4Expansion along a row with zeros

Only entries that are not 0 contribute; each carries the sign (−1)i+j(-1)^{i+j}⁠. Basics: the + − + sign pattern

Part (a): the equation of line AB

  1. Turn "P is on AB" into "area is zero"

    Let P(x,y)P(x, y) be any point. This answers the book's "(Why?)":

    PP lies on line ABAB   ⟺  \iff BB⁠, AA⁠, PP are collinear   ⟺  \iff area of triangle ABPABP is 0.

    So, with the rows in the order B,A,PB, A, P used by the book,

    12∣001131xy1∣=0.\frac12\begin{vmatrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ x & y & 1 \end{vmatrix} = 0.
    If PP is on the line through AA and BB⁠, the three points are in a straight line and enclose no area. If PP is off the line, ABPABP is a genuine triangle with positive area. Because A≠BA \ne B⁠, there is exactly one line through them, so "area 0" describes exactly the points of that line, no more and no less. The order of the rows does not matter here, since a sign change does not affect "=0= 0".
    Section 4.3, Remark (iii): three collinear points give area 0. Basics: determinant as area
  2. Expand along the first row

    Row 1 is 0,0,10, 0, 1⁠: only a13=1a_{13} = 1 contributes, with sign (−1)1+3=+1(-1)^{1+3} = +1⁠. Delete R1R_1 and C3C_3⁠:

    ∣13xy∣=1⋅y−x⋅3=y−3x.\begin{vmatrix} 1 & 3 \\ x & y \end{vmatrix} = 1\cdot y - x\cdot 3 = y - 3x.

    So

    12[ 0−0+1 (y−3x) ]=12(y−3x).\frac12\big[\,0 - 0 + 1\,(y - 3x)\,\big] = \frac12(y - 3x).
    Row 1 holds the point B(0,0)B(0, 0)⁠, which gives two zeros, so it is the cheapest row: one 2×22\times2 determinant instead of three. This is why it is convenient to put the origin first.
    Expand along the line with the most zeros, Section 4.2.3, Remark (i). Lesson: expanding a 3 × 3 determinant
  3. Solve for the equation of the line

    12(y−3x)=0  ⟺  y−3x=0  ⟺  y=3x.\begin{aligned} \tfrac12(y - 3x) = 0 &\iff y - 3x = 0\\ &\iff y = 3x. \end{aligned}

    Check: A(1,3)A(1, 3) gives 3=3⋅13 = 3\cdot 1⁠, true; B(0,0)B(0, 0) gives 0=3⋅00 = 3\cdot0⁠, true. So line ABAB is y=3xy = 3x.

    Multiplying by 2 does not change which x,yx, y satisfy the equation. A line through the origin has the form y=mxy = mx⁠; here the slope is m=3−01−0=3m = \tfrac{3-0}{1-0} = 3⁠, which agrees.

Part (b): the values of k

  1. Write the area condition with both signs

    With the vertices in the order A(1,3)A(1, 3)⁠, B(0,0)B(0, 0)⁠, D(k,0)D(k, 0)⁠:

    12∣131001k01∣=±3.\frac12\begin{vmatrix} 1 & 3 & 1 \\ 0 & 0 & 1 \\ k & 0 & 1 \end{vmatrix} = \pm 3.
    The area is 3, and the area is the absolute value of Δ\Delta⁠. So Δ\Delta itself may be 33 or −3-3⁠, depending on whether A,B,DA, B, D go round anticlockwise or clockwise. We do not know which in advance, because we do not know kk⁠, so both must be solved.
    Section 4.3, Remark (ii): if area is given, use both positive and negative values of the determinant. Basics: determinant as area
  2. Expand along the second row

    Row 2 is 0,0,10, 0, 1⁠: only a23=1a_{23} = 1 contributes, with sign (−1)2+3=−1(-1)^{2+3} = -1⁠. Delete R2R_2 and C3C_3⁠:

    ∣13k0∣=1⋅0−k⋅3=−3k.\begin{vmatrix} 1 & 3 \\ k & 0 \end{vmatrix} = 1\cdot 0 - k\cdot 3 = -3k.

    The signs along R2R_2 are −,+,−-, +, -⁠, and the entries a21=a22=0a_{21} = a_{22} = 0 contribute nothing, so the determinant is

    −0+0−1⋅(−3k)=3k,-0 + 0 - 1\cdot(-3k) = 3k,

    and the condition becomes 12(3k)=±3\tfrac12(3k) = \pm 3⁠.

    A note on the book's line. The textbook's working shows −3k2\tfrac{-3k}{2} at this point. That is the value for the rows in the order B,A,DB, A, D⁠: expanding along R1=(0,0,1)R_1 = (0, 0, 1)⁠, only a13=1a_{13} = 1 (sign ++⁠) contributes, and

    ∣001131k01∣=+1∣13k0∣=−3k.\begin{vmatrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ k & 0 & 1 \end{vmatrix} = +1\begin{vmatrix} 1 & 3 \\ k & 0 \end{vmatrix} = -3k.

    With the rows in the order A,B,DA, B, D⁠, as printed in the book's determinant, the value is +3k2+\tfrac{3k}{2}⁠.

    Row 2 holds B(0,0)B(0, 0)⁠, so it has two zeros. The position (2,3)(2, 3) has an odd index sum, so its sign is −-⁠, and minus times −3k-3k gives +3k+3k⁠. The forms 3k2\tfrac{3k}{2} and −3k2\tfrac{-3k}{2} differ only in sign, and since both signs ±3\pm3 are solved, either form leads to exactly the same pair of values of kk⁠.
    Sign of position (2,3)(2,3)⁠: (−1)5=−1(-1)^5 = -1⁠. Basics: the + − + sign pattern
  3. Solve both equations

    3k2=3  ⟺  3k=6  ⟺  k=2,3k2=−3  ⟺  3k=−6  ⟺  k=−2.\begin{aligned} \tfrac{3k}{2} = 3 &\iff 3k = 6 \iff k = 2,\\ \tfrac{3k}{2} = -3 &\iff 3k = -6 \iff k = -2. \end{aligned}

    So k=2k = 2 or k=−2k = -2⁠, that is k=±2k = \pm 2 (the book writes k=∓2k = \mp 2⁠, the same pair).

    Each equation is linear in kk and has exactly one solution. Together they give all values of kk for which ∣Δ∣=3|\Delta| = 3⁠.
  4. Check both values with base and height

    B(0,0)B(0, 0) and D(k,0)D(k, 0) both lie on the xx-axis, so take BDBD as the base: its length is ∣k∣|k|⁠. The height is the distance of A(1,3)A(1, 3) from the xx-axis, which is 3.

    Area=12⋅∣k∣⋅3=3∣k∣2.\text{Area} = \tfrac12\cdot|k|\cdot 3 = \tfrac{3|k|}{2}.

    For k=2k = 2 and for k=−2k = -2⁠, ∣k∣=2|k| = 2⁠, so the area is 3⋅22=3\tfrac{3\cdot 2}{2} = 3⁠. Both values are correct.

    This check uses plain geometry and no determinant, so it is genuinely independent. It also shows why there are two answers: DD can sit 2 units to the right or 2 units to the left of BB⁠, and the height stays 3 either way.
x y y = 3x height 3 A(1, 3) B(0, 0) D(2, 0) D(−2, 0)
Equal scales on both axes. Both positions of DD give a base BDBD of length 2 on the xx-axis and height 3 (the dashed line), so both triangles have area 3.
Result

The line ABAB is y=3xy = 3x⁠. The area of triangle ABDABD is 3 square units when k=2k = 2 or k=−2k = -2⁠, that is k=±2k = \pm 2⁠.

This agrees with the textbook's solution.

Check it with numbers

Another point of y=3xy = 3x⁠, say P(2,6)P(2, 6)⁠, should give zero area with AA and BB⁠:

∣001131261∣=+1 (1⋅6−2⋅3)=0.\begin{vmatrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ 2 & 6 & 1 \end{vmatrix} = +1\,(1\cdot 6 - 2\cdot 3) = 0.

A point off the line, say P(2,5)P(2, 5)⁠, gives 1⋅5−2⋅3=−1≠01\cdot 5 - 2\cdot 3 = -1 \ne 0⁠, area 12\tfrac12⁠.

For k=2k = 2 the full determinant with rows A,B,DA, B, D is 3k=63k = 6⁠, so Δ=3\Delta = 3⁠; for k=−2k = -2 it is −6-6⁠, so Δ=−3\Delta = -3⁠. Both have ∣Δ∣=3|\Delta| = 3⁠.

Common mistakes
  1. Solving only Δ=3\Delta = 3⁠. That gives k=2k = 2 alone and misses k=−2k = -2⁠.
  2. Forgetting the sign of position (2,3)(2,3)⁠. Expanding along R2R_2⁠, the entry a23a_{23} carries (−1)2+3=−1(-1)^{2+3} = -1⁠.
  3. Stopping at "12(y−3x)=0\tfrac12(y-3x) = 0". The equation of the line should be simplified to y=3xy = 3x and checked at AA and BB⁠.
What to take away
  1. Equation of the line through two points: set the area determinant with a general point (x,y)(x, y) equal to 0.
  2. Given area aa⁠: solve Δ=a\Delta = a and Δ=−a\Delta = -a separately. The sign of Δ\Delta only records the order of the vertices.
  3. Put a vertex with zero coordinates in a row of its own: its zeros make the expansion short.

Every fact used, and where it comes from

FactUsed inSource
Area =∣Δ∣= |\Delta|⁠, Δ=12det⁡\Delta = \tfrac12\det with rows (xi,yi,1)(x_i, y_i, 1)Part (a), Step 1; Part (b), Step 1Section 4.3, equation (1) and Remark (i) (Basics: determinant as area)
Collinear points give area 0Part (a), Step 1Section 4.3, Remark (iii)
Given area: use both signsPart (b), Steps 1 and 3Section 4.3, Remark (ii)
Expansion along a row; sign (−1)i+j(-1)^{i+j}Part (a), Step 2; Part (b), Step 2Section 4.2.3 and Remark (ii) (Lesson: expanding a 3 × 3 determinant)
Area =12×= \tfrac12\times base ×\times heightPart (b), Step 4Mensuration (earlier classes)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →