MatheramaMatherama
← Pair of Straight Lines
Pair of Straight Lines·Section 8·4 min read

Centres of a Triangle

Centroid§

Consider a triangle formed by a pair of straight lines passing through the origin, ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0, and a line lx+my+n=0lx + my + n = 0. Then the centroid (α,β)(\alpha, \beta) of this triangle is given by:

αbl−hm=βam−hl=−2n3(am2−2hlm+bl2)\frac{\alpha}{bl - hm} = \frac{\beta}{am - hl} = \frac{-2n}{3(am^2 - 2hlm + bl^2)}

alt text

Proof:

Let y=m1xy = m_1 x and y=m2xy = m_2 x be lines represented by ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0. Then,

m1+m2=−2hbandm1m2=abm_1 + m_2 = -\frac{2h}{b} \quad \text{and} \quad m_1 m_2 = \frac{a}{b}

Let the line lx+my+n=0lx + my + n = 0 cut the pair at points AA and BB. We wish to calculate the centroid of △OAB\triangle OAB. To do that, we find AA and BB.

AA is the intersection point of y=m1xy = m_1 x and lx+my+n=0lx + my + n = 0: Eliminating y,

lx+mm1x+n=0  ⟹  x=−nl+mm1lx + mm_1x + n = 0 \implies x = \frac{-n}{l + mm_1}   ⟹  A=(−nl+mm1,−m1nl+mm1)\implies A = \left( \frac{-n}{l + mm_1}, \frac{-m_1 n}{l + mm_1} \right)

Similarly, BB is the intersection point of y=m2xy = m_2 x and lx+my+n=0lx + m y + n = 0:

  ⟹  B=(−nl+mm2,−m2nl+mm2)\implies B = \left( \frac{-n}{l + mm_2}, \frac{-m_2 n}{l + mm_2} \right)

The centroid of △OAB\triangle OAB is:

(0+xA+xB3,0+yA+yB3)\left( \frac{0 + x_A + x_B}{3}, \frac{0 + y_A + y_B}{3} \right)

For the xx-coordinate:

xA+xB3=−n3(1l+mm1+1l+mm2)\frac{x_A + x_B}{3} = \frac{-n}{3} \left( \frac{1}{l + mm_1} + \frac{1}{l + mm_2} \right) =−n3((l+mm2)+(l+mm1)(l+mm1)(l+mm2))= \frac{-n}{3} \left( \frac{(l + mm_2) + (l + mm_1)}{(l + mm_1)(l + mm_2)} \right) =−n3(2l+m(m1+m2)l2+ml(m1+m2)+m2m1m2)= \frac{-n}{3} \left( \frac{2l + m(m_1 + m_2)}{l^2 + m l (m_1 + m_2) + m^2 m_1 m_2} \right) =−n3(2l−m2hbl2−2hlmb+am2b)= \frac{-n}{3} \left( \frac{2l - m \frac{2h}{b}}{l^2 - \frac{2hlm}{b} + \frac{am^2}{b}} \right) =−n3(2bl−2hmbl2−2hlm+am2)= \frac{-n}{3} \left( \frac{2bl - 2hm}{bl^2 - 2hlm + am^2} \right) =−2n(bl−hm)3(bl2−2hlm+am2)= \frac{-2n (bl - hm)}{3(bl^2 - 2hlm + am^2)}

For the yy-coordinate:

yA+yB3=−nm13(l+mm1)+−nm23(l+mm2)\frac{y_A + y_B}{3} = \frac{-n m_1}{3 (l + mm_1)} + \frac{-n m_2}{3 (l + mm_2)} =−n3(m1(l+mm2)+m2(l+mm1)(l+mm1)(l+mm2))= \frac{-n}{3} \left( \frac{m_1 (l + mm_2) + m_2 (l + mm_1)}{(l + mm_1) (l + mm_2)} \right) =−n3(m1l+m12m+m2l+m22ml2+lm(m1+m2)+m2m1m2)= \frac{-n}{3} \left( \frac{m_1 l + m_1^2 m + m_2 l + m_2^2 m}{l^2 + lm (m_1 + m_2) + m^2 m_1 m_2} \right) =−n3(l(m1+m2)+2mm1m2l2+lm(m1+m2)+m2m1m2)= \frac{-n}{3} \left( \frac{l (m_1 + m_2) + 2m m_1 m_2}{l^2 + lm (m_1 + m_2) + m^2 m_1 m_2} \right) =−n3(l−2hb+2mabl2−lm2hb+m2ab)= \frac{-n}{3} \left( \frac{l \frac{-2h}{b} + 2m \frac{a}{b}}{l^2 - lm \frac{2h}{b} + m^2 \frac{a}{b}} \right) =−2n(hl−am)3(bl2−2hlm+am2)= \frac{-2n (hl - am)}{3 (bl^2 - 2hlm + am^2)}

So, the centroid (α,β)(\alpha, \beta) is given by:

α=−2n(bl−hm)3(bl2−2hlm+am2)andβ=−2n(hl−am)3(bl2−2hlm+am2)\alpha = \frac{-2n (bl - hm)}{3 (bl^2 - 2hlm + am^2)} \quad \text{and} \quad \beta = \frac{-2n (hl - am)}{3 (bl^2 - 2hlm + am^2)}   ⟹  αbl−hm=βam−hl=−2n3(am2−2hlm+bl2)\implies \frac{\alpha}{bl - hm} = \frac{\beta}{am - hl} = \frac{-2n}{3 (am^2 - 2hlm + bl^2)}

Orthocentre§

Consider a pair of straight lines ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 forming a triangle with lx+my+n=0lx + my + n = 0. We wish to find the orthocentre of this triangle.

orthocentre

To do that we first finf the points of intersection AA and BB of the line with the pair of straight lines. we have already done so in the calculation of centroid. So for the sake of efficiency let's use that.

Coordinates of point AA are:

(−nl+mm1,−nm1l+mm1)\left( \frac{-n}{l + mm_1}, \frac{-nm_1}{l + mm_1} \right)

Coordinates of point BB are:

(−nl+mm2,−nm2l+mm2)\left( \frac{-n}{l + mm_2}, \frac{-nm_2}{l + mm_2} \right)

We know that the orthocenter H(α,β)H (\alpha, \beta) is the intersection of altitudes of the ΔOAB\Delta OAB. Consider altitudes AMAM and BNBN.

  • Slope of AMAM:
−1m2-\frac{1}{m_2}
  • Slope of BNBN:
−1m1-\frac{1}{m_1}
  • Equation of AMAM:
−1m2=y−yAx−xA  ⟹  y=−1m2(x−xA)+yA(1)-\frac{1}{m_2} = \frac{y - y_A}{x - x_A} \implies y = -\frac{1}{m_2}(x - x_A) + y_A \tag{1}
  • Equation of BNBN:
−1m1=y−yBx−xB  ⟹  y=−1m1(x−xB)+yB(2)-\frac{1}{m_1} = \frac{y - y_B}{x - x_B} \implies y = -\frac{1}{m_1}(x - x_B) + y_B \tag{2}

Orthocenter H(α,β)H (\alpha, \beta) is the intersection point of (1)(1) and (2)(2). Eliminating yy:

−1m2(x−xA)+yA=−1m1(x−xB)+yB(1m1−1m2)x=xBm1−xAm2+yB−yA\begin{align*} -\frac{1}{m_2}(x - x_A) + y_A &= -\frac{1}{m_1}(x - x_B) + y_B \\ \left( \frac{1}{m_1} - \frac{1}{m_2} \right) x &= \frac{x_B}{m_1} - \frac{x_A}{m_2} + y_B - y_A \\ \end{align*} (1m1−1m2)x=xBm1−xAm2+yB−yA\left( \frac{1}{m_1} - \frac{1}{m_2} \right) x = \frac{x_B}{m_1} - \frac{x_A}{m_2} + y_B - y_A m2−m1m1m2x=−n(l+mm2)m1+n(l+mm1)m2−nm2(l+mm2)+nm1(l+mm1)\frac{m_2 - m_1}{m_1 m_2} x = - \frac{n}{(l + mm_2) m_1} + \frac{n}{(l + mm_1) m_2} - \frac{nm_2}{(l + mm_2)} + \frac{nm_1}{(l + mm_1)} m2−m1m1m2x=−nl+mm2(1m1+m2)+nl+mm1(1m2+m1)\frac{m_2 - m_1}{m_1 m_2} x = - \frac{n}{l + mm_2} \left( \frac{1}{m_1} + m_2 \right) + \frac{n}{l + mm_1} \left( \frac{1}{m_2} + m_1 \right) m2−m1m1m2x=−n(1+m1m2)m1(l+mm2)+n(1+m1m2)m2(l+mm1)\frac{m_2 - m_1}{m_1 m_2} x = - \frac{n(1 + m_1 m_2)}{m_1 (l + m m_2)} + \frac{n(1 + m_1 m_2)}{m_2 (l + m m_1)} m2−m1m1m2x=−n(1+m1m2)[m2l+mm1m2−m1l−mm1m2m1m2(l+mm1)(l+mm2)]\frac{m_2 - m_1}{m_1 m_2} x = - n (1 + m_1 m_2) \left[ \frac{m_2 l + m m_1 m_2 - m_1 l - m m_1 m_2}{m_1 m_2 (l + m m_1) (l + m m_2)} \right] m2−m1m1m2x=−n(1+m1m2)[l(m2−m1)m1m2(l2+lm(m1+m2)+m2m1m2)]\frac{m_2 - m_1}{m_1 m_2} x = - n (1 + m_1 m_2) \left[ \frac{l (m_2 - m_1)}{m_1 m_2 (l^2 + lm (m_1 + m_2) + m^2 m_1 m_2)} \right] x=−nl(1+m1m2)l2+lm(m1+m2)+m2m1m2=−nl(1+ab)l2−2mhb+m2ab=−nl(a+b)bl2−2hlm+am2x = \frac{-nl \left(1 + m_1 m_2 \right)}{l^2 + lm \left(m_1 + m_2 \right) + m^2 m_1 m_2} = \frac{-nl \left(1 + \frac{a}{b} \right)}{l^2 - \frac{2mh}{b} + \frac{m^2 a}{b}} = \frac{-nl \left(a + b \right)}{bl^2 - 2hlm + am^2}

Thus:

α=−nl(a+b)bl2−2hlm+am2\alpha = -\frac{nl (a + b)}{bl^2 - 2hlm + am^2}

Since (α,β)(\alpha, \beta) also lies on the third altitude from origin whose slope is ml\frac{m}{l}:

β=mlα  ⟹  β=ml(−nl(a+b)bl2−2hlm+am2)  ⟹  β=−nm(a+b)bl2−2hlm+am2\begin{align*} \beta &= \frac{m}{l} \alpha \\ &\implies \beta = \frac{m}{l} \left( -\frac{nl (a + b)}{bl^2 - 2hlm + am^2} \right) \\ &\implies \beta = -\frac{nm (a + b)}{bl^2 - 2hlm + am^2} \end{align*}

We can write this as:

αl=βm=−n(a+b)bl2−2hlm+am2\frac{\alpha}{l} = \frac{\beta}{m} = -\frac{n(a + b)}{bl^2 - 2hlm + am^2}

Equation of a line with known midpoint§

Consider the pair of straight lines given by the equation ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 and a line LL that intersects these lines at points AA and BB. Suppose the midpoint of the segment ABAB is known to be (x1,y1)(x_1, y_1). We aim to determine the equation of the line LL.

alt text

To find the equation of line LL, we only need to find it's slope because we already know a point on it. Let the slope of LL be mm. Thus, the equation of LL can be expressed in slope-intercept form as:

y=mx+cy = mx + c

Since (x1,y1)(x_1, y_1) lies on LL, we substitute these coordinates into the line equation:

y1=mx1+c  ⟹  c=y1−mx1y_1 = mx_1 + c \implies c = y_1 - mx_1

Thus, the equation of LL becomes:

y=mx+(y1−mx1)y = mx + (y_1 - mx_1)

Next, we substitute y=mx+(y1−mx1)y = mx + (y_1 - mx_1) into the equation of the pair of lines ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 to find the points of intersection AA and BB:

ax2+2hx(mx+y1−mx1)+b(mx+y1−mx1)2=0ax^2 + 2h x (mx + y_1 - mx_1) + b (mx + y_1 - mx_1)^2 = 0

This simplifies to a quadratic equation in xx, which can be written as:

ax2+2hx(mx+y1−mx1)+b(mx+y1−mx1)2=0ax^2 + 2hx(mx + y_1 - mx_1) + b(mx + y_1 - mx_1)^2 = 0

Expanding and simplifying, we find:

ax2+2hx(mx+y1−mx1)+b(m2x2+2mx(y1−mx1)+(y1−mx1)2)=0ax^2 + 2h x (mx + y_1 - mx_1) + b(m^2x^2 + 2m x (y_1 - mx_1) + (y_1 - mx_1)^2) = 0

Grouping like terms, the quadratic equation in xx becomes:

(a+2hm+bm2)x2+2(h+bm)(y1−mx1)x+b(y1−mx1)2=0(a + 2hm + bm^2)x^2 + 2(h + bm)(y_1 - mx_1)x + b(y_1 - mx_1)^2 = 0

Absciisas of AA and BB, that is, xAx_A and xBx_B are the roots of this quadratic equation. Since (x1,y1)(x_1, y_1) is the midpoint of A(xA,yA)A(x_A, y_A) and B(xB,yB)B(x_B, y_B), we have:

xA+xB2=x1\frac{x_A + x_B}{2} = x_1

From the properties of the roots of a quadratic equation, the sum of the roots xAx_A and xBx_B is given by:

xA+xB=−Coefficient of xCoefficient of x2=−2(h+bm)(y1−mx1)a+2hm+bm2x_A + x_B = - \frac{\text{Coefficient of } x}{\text{Coefficient of } x^2} = - \frac{2(h + bm)(y_1 - mx_1)}{a + 2hm + bm^2}

Thus,

2x1=−2(h+bm)(y1−mx1)a+2hm+bm2  ⟹  x1=−(h+bm)(y1−mx1)a+2hm+bm22x_1 = - \frac{2(h + bm)(y_1 - mx_1)}{a + 2hm + bm^2} \implies x_1 = -\frac{(h + bm)(y_1 - mx_1)}{a + 2hm + bm^2}

Rewriting this, we obtain:

(a+2hm+bm2)x1=−(h+bm)(y1−mx1)(a + 2hm + bm^2)x_1 = -(h + bm)(y_1 - mx_1) ax1+2hmx1+bm2x1=−hy1+hmx1−by1m+bm2x1a x_1 + 2hmx_1 + bm^2 x_1 = -h y_1 + h mx_1 - b y_1 m + bm^2 x_1 ax1+hmx1+bmy1+hy1=0a x_1 + h mx_1 + b m y_1 + h y_1 = 0

Solving for mm:

m=−ax1+hy1hx1+by1m = -\frac{ax_1 + h y_1}{h x_1 + b y_1}

Thus, the slope mm is found. Now, substituting back, the equation of the line LL in point-slope form is:

−(ax1+hy1)hx1+by1=y−y1x−x1\frac{-(ax_1 + h y_1)}{h x_1 + b y_1} = \frac{y - y_1}{x - x_1}

Expanding and verifying, we obtain:

−ax1+ax12−hy1x+hy1x1=hx1y−hx1y1+byy1−by2-ax_1 + ax_1^2 - hy_1x + hy_1x_1 = hx_1y - hx_1y_1 + byy_1 - by^2 ax12+by2+2hx1y=h(xy1+yx1)+ax1+byy1ax_1^2 + by^2 + 2hx_1y = h(xy_1 + yx_1) + ax_1 + byy_1 ax12+2hx1y+by2=ax1+h(xy1+yx1)+byy1\boxed{ax_1^2 + 2hx_1y + by^2 = ax_1 + h(xy_1 + yx_1) + byy_1}

Hence, we have derived the equation of the line LL that intersects the given pair of lines at points AA and BB, with the midpoint of the segment ABAB being (x1,y1)(x_1, y_1).

Section 8 of 12 · Pair of Straight Lines

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