MatheramaMatherama
← Straight Lines
Straight Lines·Section 6·5 min read

Triangles and Quadrilaterals formed by lines

Ratio of sides when equations of sides are given§

Consider three lines:

L1:a1x+b1y+c1=0L_1: a_1x + b_1y + c_1 = 0 L2:a2x+b2y+c2=0L_2: a_2x + b_2y + c_2 = 0 L3:a3x+b3y+c3=0L_3: a_3x + b_3y + c_3 = 0

L2L_2 and L3L_3 intersect at point AA, L3L_3 and L1L_1 intersect at point BB, and L1L_1 and L2L_2 intersect at point CC.

alt text

Coordinates of point AA are given by:

xA=∣b2c2b3c3∣∣a2b2a3b3∣,yA=−∣a2c2a3c3∣∣a2b2a3b3∣x_A = \frac{\begin{vmatrix} b_2 & c_2 \\ b_3 & c_3 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}}, \quad y_A = -\frac{\begin{vmatrix} a_2 & c_2 \\ a_3 & c_3 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}}

Similarly, coordinates of BB are:

(∣b3c3b1c1∣∣a3b3a1b1∣,−∣a3c3a1c1∣∣a3b3a1b1∣)\left( \frac{\begin{vmatrix} b_3 & c_3 \\ b_1 & c_1 \end{vmatrix}}{\begin{vmatrix} a_3 & b_3 \\ a_1 & b_1 \end{vmatrix}}, -\frac{\begin{vmatrix} a_3 & c_3 \\ a_1 & c_1 \end{vmatrix}}{\begin{vmatrix} a_3 & b_3 \\ a_1 & b_1 \end{vmatrix}} \right)

Coordinates of CC are:

(∣b1c1b2c2∣∣a1b1a2b2∣,−∣a1c1a2c2∣∣a1b1a2b2∣)\left( \frac{\begin{vmatrix} b_1 & c_1 \\ b_2 & c_2 \end{vmatrix}}{\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix}}, -\frac{\begin{vmatrix} a_1 & c_1 \\ a_2 & c_2 \end{vmatrix}}{\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix}} \right)

The distance of AA from BCBC, hAh_A:

hA=∣a1xA+b1yA+c1∣a12+b12h_A = \frac{|a_1 x_A + b_1 y_A + c_1|}{\sqrt{a_1^2 + b_1^2}} a1xA+b1yA+c1=a1∣b2c2b3c3∣∣a2b2a3b3∣−b1∣a2c2a3c3∣∣a2b2a3b3∣+c1a_1 x_A + b_1 y_A + c_1 = a_1 \frac{\begin{vmatrix} b_2 & c_2 \\ b_3 & c_3 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}} - b_1 \frac{\begin{vmatrix} a_2 & c_2 \\ a_3 & c_3 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}} + c_1 =a1∣b2c2b3c3∣−b1∣a2c2a3c3∣+c1∣a2b2a3b3∣∣a2b2a3b3∣= \frac{a_1 \begin{vmatrix} b_2 & c_2 \\ b_3 & c_3 \end{vmatrix} - b_1 \begin{vmatrix} a_2 & c_2 \\ a_3 & c_3 \end{vmatrix} + c_1 \begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}} =∣a1b2c2a2b3c3a3b2c2∣∣a2b2a3b3∣= \frac{\begin{vmatrix} a_1 & b_2 & c_2 \\ a_2 & b_3 & c_3 \\ a_3 & b_2 & c_2 \end{vmatrix}}{\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}}

Thus,

hA=Δa12+b12∣a2b2a3b3∣h_A = \frac{\Delta}{\sqrt{a_1^2 + b_1^2}\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}}

where, Δ=∣a1b2c2a2b3c3a3b2c2∣\Delta=\begin{vmatrix} a_1 & b_2 & c_2 \\ a_2 & b_3 & c_3 \\ a_3 & b_2 & c_2 \end{vmatrix}

Similarly,

hB=Δa22+b22∣a1b3a1b3∣,hC=Δa32+b32∣a1b2a1b2∣h_B = \frac{\Delta}{\sqrt{a_2^2 + b_2^2}\begin{vmatrix} a_1 & b_3 \\ a_1 & b_3 \end{vmatrix}}, \quad h_C = \frac{\Delta}{\sqrt{a_3^2 + b_3^2}\begin{vmatrix} a_1 & b_2 \\ a_1 & b_2 \end{vmatrix}}

Area of triangle ABCABC, which can be written in three ways as:

Area=12BC⋅hA=12CA⋅hB=12AB⋅hC\text{Area} = \frac{1}{2} BC \cdot h_A = \frac{1}{2} CA \cdot h_B = \frac{1}{2} AB \cdot h_C   ⟹  BC:CA:AB=1hA:1hB:1hC\implies BC : CA : AB = \frac{1}{h_A} : \frac{1}{h_B} : \frac{1}{h_C}   ⟹  BC:CA:AB=a12+b12∣a2b2a3b3∣:a22+b22∣a1b3a1b3∣:a32+b32∣a1b2a1b2∣\implies BC:CA:AB = \sqrt{a_1^2 + b_1^2}\begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}: \sqrt{a_2^2 + b_2^2}\begin{vmatrix} a_1 & b_3 \\ a_1 & b_3 \end{vmatrix}:\sqrt{a_3^2 + b_3^2}\begin{vmatrix} a_1 & b_2 \\ a_1 & b_2 \end{vmatrix}

Area of the triangle made by a line with axes§

The area of the triangle formed by the line ax+by+c=0ax + by + c = 0 with the coordinate axes is c22∣ab∣\frac{c^2}{2|ab|}.

alt text

Proof:

Consider the line ax+by+c=0ax + by + c = 0.

  1. Finding the x-intercept:

    Set y=0y = 0 in the equation:

    ax+c=0  ⟹  x=−caax + c = 0 \implies x = -\frac{c}{a}

    Therefore, the x-intercept is (−ca,0)\left( -\frac{c}{a}, 0 \right).

  2. Finding the y-intercept:

    Set x=0x = 0 in the equation:

    by+c=0  ⟹  y=−cbby + c = 0 \implies y = -\frac{c}{b}

    Therefore, the y-intercept is (0,−cb)\left( 0, -\frac{c}{b} \right).

  3. Area of the triangle formed by the line and the coordinate axes:

    The vertices of the triangle are (0,0)(0, 0), (−ca,0)\left( -\frac{c}{a}, 0 \right), and (0,−cb)\left( 0, -\frac{c}{b} \right).

    The area AA of a triangle with vertices at (0,0)(0,0), (x1,0)(x_1, 0), and (0,y1)(0, y_1) is given by:

    A=12∣x1⋅y1∣A = \frac{1}{2} \left| x_1 \cdot y_1 \right|

    Substituting x1=−cax_1 = -\frac{c}{a} and y1=−cby_1 = -\frac{c}{b}:

    A=12∣(−ca)(−cb)∣A = \frac{1}{2} \left| \left( -\frac{c}{a} \right) \left( -\frac{c}{b} \right) \right| A=12∣c2ab∣A = \frac{1}{2} \left| \frac{c^2}{ab} \right| A=c22∣ab∣A = \frac{c^2}{2|ab|}

    Therefore, the area of the triangle formed by the line ax+by+c=0ax + by + c = 0 with the coordinate axes is c22∣ab∣\frac{c^2}{2|ab|}.

Area of Triangle Formed by Three Lines§

Consider the three lines:

L1:a1x+b1y+c1=0L_1: a_1 x + b_1 y + c_1 = 0 L2:a2x+b2y+c2=0L_2: a_2 x + b_2 y + c_2 = 0 L3:a3x+b3y+c3=0L_3: a_3 x + b_3 y + c_3 = 0

These lines form a triangle ΔABC\Delta ABC, where L1L_1 is opposite to side BCBC, L2L_2 is opposite to side CACA, and L3L_3 is opposite to side ABAB.

Coordinates of vertices A,B,A, B, and CC can be calculated using the cross-multiplication method:

A=(∣b2c2b3c3∣∣a2b2a3b3∣, −∣a2c2a3c3∣∣a2b2a3b3∣)A = \left( \frac{\left| \begin{matrix} b_2 & c_2 \\ b_3 & c_3 \end{matrix} \right|}{\left| \begin{matrix} a_2 & b_2 \\ a_3 & b_3 \end{matrix} \right|}, \, -\frac{\left| \begin{matrix} a_2 & c_2 \\ a_3 & c_3 \end{matrix} \right|}{\left| \begin{matrix} a_2 & b_2 \\ a_3 & b_3 \end{matrix} \right|} \right) B=(∣b1c1b3c3∣∣a1b1a3b3∣, −∣a1c1a3c3∣∣a1b1a3b3∣)B = \left( \frac{\left| \begin{matrix} b_1 & c_1 \\ b_3 & c_3 \end{matrix} \right|}{\left| \begin{matrix} a_1 & b_1 \\ a_3 & b_3 \end{matrix} \right|}, \, -\frac{\left| \begin{matrix} a_1 & c_1 \\ a_3 & c_3 \end{matrix} \right|}{\left| \begin{matrix} a_1 & b_1 \\ a_3 & b_3 \end{matrix} \right|} \right) C=(∣b1c1b2c2∣∣a1b1a2b2∣, −∣a1c1a2c2∣∣a1b1a2b2∣)C = \left( \frac{\left| \begin{matrix} b_1 & c_1 \\ b_2 & c_2 \end{matrix} \right|}{\left| \begin{matrix} a_1 & b_1 \\ a_2 & b_2 \end{matrix} \right|}, \, -\frac{\left| \begin{matrix} a_1 & c_1 \\ a_2 & c_2 \end{matrix} \right|}{\left| \begin{matrix} a_1 & b_1 \\ a_2 & b_2 \end{matrix} \right|} \right)

Consider the determinant:

D=∣a1b1c1a2b2c2a3b3c3∣D = \left| \begin{matrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{matrix} \right|

Cofactor matrix of DD is:

Cofactor(D)=[C11C12C13C21C22C23C31C32C33]\text{Cofactor}(D) = \begin{bmatrix} C_{11} & C_{12} & C_{13} \\ C_{21} & C_{22} & C_{23} \\ C_{31} & C_{32} & C_{33} \end{bmatrix}

Observe that the coordinates A,B,A, B, and CC can be written using the cofactors of the elements in the determinant DD as:

A=(C11C13,C12C13)A = \left( \frac{C_{11}}{C_{13}}, \frac{C_{12}}{C_{13}} \right) B=(C21C23,C22C23)B = \left( \frac{C_{21}}{C_{23}}, \frac{C_{22}}{C_{23}} \right) C=(C31C33,C32C33)C = \left( \frac{C_{31}}{C_{33}}, \frac{C_{32}}{C_{33}} \right)

Area of ΔABC\Delta ABC:

Area=12∣xAyA1xByB1xCyC1∣\text{Area} = \frac{1}{2} \left| \begin{matrix} x_A & y_A & 1 \\ x_B & y_B & 1 \\ x_C & y_C & 1 \end{matrix} \right|

Substitute the coordinates:

Area=12∣∣C11C13C12C131C21C23C22C231C31C33C32C331∣∣\text{Area} = \frac{1}{2} \left|\left| \begin{matrix} \frac{C_{11}}{C_{13}} & \frac{C_{12}}{C_{13}} & 1 \\ \frac{C_{21}}{C_{23}} & \frac{C_{22}}{C_{23}} & 1 \\ \frac{C_{31}}{C_{33}} & \frac{C_{32}}{C_{33}} & 1 \end{matrix} \right|\right|

This can be simplified to:

Area=12∣C13C23C33∣∣∣C11C12C13C21C22C23C31C32C33∣∣\text{Area} = \frac{1}{2\left|C_{13}C_{23}C_{33}\right|} \left|\left| \begin{matrix} C_{11} & C_{12} & C_{13} \\ C_{21} & C_{22} & C_{23} \\ C_{31} & C_{32} & C_{33} \end{matrix} \right|\right|

We know that:

∣Cof(X)∣=[det(X)]2\left| \text{Cof}(X) \right| = [\text{det}(X)]^2

Therefore:

Area=12∣C13C23C33∣∣a1b1c1a2b2c2a3b3c3∣2\text{Area} = \frac{1}{2\left|C_{13}C_{23}C_{33}\right|} \left| \begin{matrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{matrix} \right|^2

Where:

C13=∣a2b2a3b3∣C_{13} = \left| \begin{matrix} a_2 & b_2 \\ a_3 & b_3 \end{matrix} \right| C23=∣a1b1a3b3∣C_{23} = \left| \begin{matrix} a_1 & b_1 \\ a_3 & b_3 \end{matrix} \right| C33=∣a1b1a2b2∣C_{33} = \left| \begin{matrix} a_1 & b_1 \\ a_2 & b_2 \end{matrix} \right|

Thus, the area of the triangle formed by the three lines is:

Area=12∣C13C23C33∣∣a1b1c1a2b2c2a3b3c3∣2\text{Area} = \frac{1}{2\left|C_{13}C_{23}C_{33}\right|} \left| \begin{matrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{matrix} \right|^2

Area of a parallelogram§

Area of a Parallelogram§

The area of a parallelogram can be determined when the distances between the pairs of parallel sides are d1d_1 and d2d_2, and the angle between the two non-parallel sides is θ\theta. The formula for the area is:

Area=d1d2∣sin⁡θ∣\text{Area} = \frac{d_1 d_2}{|\sin \theta|}

Area of a Parallelogram Given the Equations of Its Sides§

Consider a parallelogram ABCDABCD with the equations of its sides given by:

  • AB:ax+by+c1=0AB: ax + by + c_1 = 0
  • BC:dx+ey+f1=0BC: dx + ey + f_1 = 0
  • CD:ax+by+c2=0CD: ax + by + c_2 = 0
  • AD:dx+ey+f2=0AD: dx + ey + f_2 = 0

We aim to find the area of the parallelogram.

Formula for the Area

The area of the parallelogram can be given by:

Area=∣(c1−c2)(f1−f2)∣abde∣∣\text{Area} = \left| \frac{(c_1 - c_2)(f_1 - f_2)}{\left| \begin{matrix} a & b \\ d & e \end{matrix} \right|} \right|
Section 6 of 8 · Straight Lines

Mark this section complete when you have worked through its proofs.