What this lesson covers

A pair of lines through the origin, together with any third line lx+my+n=0lx + my + n = 0 that misses the origin, cuts out a triangle. This lesson gives the results about that triangle: its type, its centroid and orthocentre, the product of perpendiculars from a point to the pair, and its area.

Types of triangles

The pair of lines through the origin that forms an isosceles triangle with the line ax+by+c=0ax + by + c = 0 has the equation

(ax+by)2−k(bx−ay)2=0.(ax + by)^2 - k(bx - ay)^2 = 0.

Each line makes the same angle with the third side, namely tan⁡−1k\tan^{-1}\sqrt{k}, so the two sides through the origin are equal. In particular:

  • if k=1k = 1, the base angles are 45∘45^\circ and the triangle is right angled isosceles;
  • if k=3k = 3, the base angles are 60∘60^\circ and the triangle is equilateral;
  • if k=13\displaystyle k = \tfrac{1}{3}, the base angles are 30∘30^\circ and the triangle is isosceles and obtuse angled.

The triangle formed by the pair S≡ax2+2hxy+by2=0S \equiv ax^2 + 2hxy + by^2 = 0 and the line lx+my+n=0lx + my + n = 0 is

  • equilateral if ax2+2hxy+by2=(lx+my)2−3(mx−ly)2ax^2 + 2hxy + by^2 = (lx + my)^2 - 3(mx - ly)^2;
  • isosceles if h(l2−m2)=(a−b)lmh(l^2 - m^2) = (a - b)lm;
  • right angled if a+b=0a + b = 0 or S(l,m)=0S(l, m) = 0.

The first right angle condition says the two lines through the origin are perpendicular. The second says one of them is along the direction (l,m)(l, m), which is perpendicular to the third side.

Centres of the triangle

If (α,β)(\alpha, \beta) is the centroid of the triangle whose sides are ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 and lx+my+n=0lx + my + n = 0, then

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

Writing F=bx2−2hxy+ay2F = bx^2 - 2hxy + ay^2, this is the same as

α(∂F∂x)(l,m)=β(∂F∂y)(l,m)=−n3F(l,m).\displaystyle \frac{\alpha}{\left(\dfrac{\partial F}{\partial x}\right)_{(l,m)}} = \frac{\beta}{\left(\dfrac{\partial F}{\partial y}\right)_{(l,m)}} = \frac{-n}{3F(l, m)}.

If S=0S = 0 gives two sides of a triangle and (x1,y1)(x_1, y_1) is the midpoint of the third side, the third side is S1=S11S_1 = S_{11}, that is

axx1+h(xy1+x1y)+byy1=ax12+2hx1y1+by12.axx_1 + h(xy_1 + x_1y) + byy_1 = ax_1^2 + 2hx_1y_1 + by_1^2.

If ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 gives two sides of a triangle and G(x1,y1)G(x_1, y_1) is its centroid, the midpoint of the third side is 32G=(3x12,3y12)\displaystyle \tfrac{3}{2}G = \left(\tfrac{3x_1}{2}, \tfrac{3y_1}{2}\right), because the centroid lies two thirds of the way from the vertex (here the origin) to that midpoint.

If (kl,km)(kl, km) is the orthocentre of the triangle formed by ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 and lx+my+n=0lx + my + n = 0, then

k=−n(a+b)am2−2hlm+bl2.\displaystyle k = \frac{-n(a + b)}{am^2 - 2hlm + bl^2}.

The orthocentre lies on the altitude from the origin, which has direction (l,m)(l, m); that is why it has the form (kl,km)(kl, km).

The distance from the origin to the orthocentre of the triangle formed by xα+yβ=1\displaystyle \dfrac{x}{\alpha} + \dfrac{y}{\beta} = 1 and ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 is

α2+β2 ∣(a+b)αβaα2−2hαβ+bβ2∣.\displaystyle \sqrt{\alpha^2 + \beta^2}\,\left|\frac{(a + b)\alpha\beta}{a\alpha^2 - 2h\alpha\beta + b\beta^2}\right|.

If ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 gives two sides of a triangle whose orthocentre is (l,m)(l, m), the third side is

lx+my=am2−2hlm+bl2a+b.\displaystyle lx + my = \frac{am^2 - 2hlm + bl^2}{a + b}.

Product of perpendiculars

The product of the perpendiculars from (α,β)(\alpha, \beta) to the pair ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 is

∣aα2+2hαβ+bβ2∣(a−b)2+4h2.\displaystyle \frac{|a\alpha^2 + 2h\alpha\beta + b\beta^2|}{\sqrt{(a - b)^2 + 4h^2}}.

Area of the triangle

The area of the triangle formed by lx+my+n=0lx + my + n = 0 and ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 is

n2h2−ab∣am2−2hlm+bl2∣.\displaystyle \frac{n^2\sqrt{h^2 - ab}}{|am^2 - 2hlm + bl^2|}.

The pair of lines through the origin making an angle α\alpha with lx+my+n=0lx + my + n = 0 is (lx+my)2−tan⁡2α (mx−ly)2=0(lx + my)^2 - \tan^2\alpha\,(mx - ly)^2 = 0, and the area of the triangle is

n2tan⁡α (l2+m2).\displaystyle \frac{n^2}{\tan\alpha\,(l^2 + m^2)}.

The area of the equilateral triangle formed by ax+by+c=0ax + by + c = 0 and (ax+by)2−3(bx−ay)2=0(ax + by)^2 - 3(bx - ay)^2 = 0 is

c23(a2+b2)=p23,\displaystyle \frac{c^2}{\sqrt{3}(a^2 + b^2)} = \frac{p^2}{\sqrt{3}},

where pp is the perpendicular distance from the origin to ax+by+c=0ax + by + c = 0.

Example 1

Find the area, centroid and orthocentre of the triangle formed by x2−3xy+2y2=0x^2 - 3xy + 2y^2 = 0 and x+y−3=0x + y - 3 = 0.

Here a=1a = 1, h=−32\displaystyle h = -\tfrac{3}{2}, b=2b = 2, l=m=1l = m = 1, n=−3n = -3. Then am2−2hlm+bl2=1+3+2=6am^2 - 2hlm + bl^2 = 1 + 3 + 2 = 6 and h2−ab=12\displaystyle \sqrt{h^2 - ab} = \tfrac{1}{2}, so

Area=9⋅126=34.\displaystyle \text{Area} = \frac{9 \cdot \tfrac{1}{2}}{6} = \frac{3}{4}.

For the centroid, bl2−2hlm+am2=6bl^2 - 2hlm + am^2 = 6 and −2n3⋅6=13\displaystyle \dfrac{-2n}{3 \cdot 6} = \dfrac{1}{3}, so α=(bl−hm)⋅13=72⋅13=76\displaystyle \alpha = (bl - hm)\cdot\tfrac{1}{3} = \tfrac{7}{2}\cdot\tfrac{1}{3} = \tfrac{7}{6} and β=(am−hl)⋅13=56\displaystyle \beta = (am - hl)\cdot\tfrac{1}{3} = \tfrac{5}{6}.

For the orthocentre, k=3⋅36=32\displaystyle k = \dfrac{3 \cdot 3}{6} = \dfrac{3}{2}, giving (32,32)\displaystyle \left(\tfrac{3}{2}, \tfrac{3}{2}\right). The vertices are (0,0)(0, 0), (2,1)(2, 1) and (32,32)\displaystyle \left(\tfrac{3}{2}, \tfrac{3}{2}\right); the line x=yx = y meets x+y=3x + y = 3 at a right angle, so the orthocentre is that right angled vertex, as it should be.

Example 2

Find the pair of lines through the origin forming an equilateral triangle with x+y=2x + y = 2, and the area.

The pair is (x+y)2−3(x−y)2=0(x + y)^2 - 3(x - y)^2 = 0, which simplifies to x2−4xy+y2=0x^2 - 4xy + y^2 = 0. The area is c23(a2+b2)=423=23\displaystyle \dfrac{c^2}{\sqrt{3}(a^2 + b^2)} = \dfrac{4}{2\sqrt{3}} = \dfrac{2}{\sqrt{3}}.

Practice

  1. Find the area of the triangle formed by x2−y2=0x^2 - y^2 = 0 and x=2x = 2.
  2. Find the pair of lines through the origin forming an equilateral triangle with 3x+4y=53x + 4y = 5, and its area.
  3. Find the product of the perpendiculars from (1,−1)(1, -1) to the pair x2−3xy+2y2=0x^2 - 3xy + 2y^2 = 0.
  4. What kind of triangle do x2−y2=0x^2 - y^2 = 0 and x=2x = 2 form?
  5. Find the centroid of the triangle formed by 2x2−5xy+2y2=02x^2 - 5xy + 2y^2 = 0 and x+y=3x + y = 3.
  6. Find the orthocentre of the triangle formed by x2−y2=0x^2 - y^2 = 0 and 2x+y=62x + y = 6.

Answers

Show answers
  1. a=1a = 1, b=−1b = -1, h=0h = 0, l=1l = 1, m=0m = 0, n=−2n = -2: area =4⋅1∣−1∣=4\displaystyle = \dfrac{4 \cdot 1}{|-1|} = 4.
  2. (3x+4y)2−3(4x−3y)2=0(3x + 4y)^2 - 3(4x - 3y)^2 = 0, that is 39x2−96xy+11y2=039x^2 - 96xy + 11y^2 = 0. Area =25253=13\displaystyle = \dfrac{25}{25\sqrt{3}} = \dfrac{1}{\sqrt{3}}.
  3. ∣1+3+2∣1+9=610\displaystyle \dfrac{|1 + 3 + 2|}{\sqrt{1 + 9}} = \dfrac{6}{\sqrt{10}}.
  4. Isosceles, since h(l2−m2)=0=(a−b)lmh(l^2 - m^2) = 0 = (a - b)lm; and right angled, since a+b=0a + b = 0. It is a right angled isosceles triangle.
  5. l=m=1l = m = 1, n=−3n = -3, bl2−2hlm+am2=2+5+2=9bl^2 - 2hlm + am^2 = 2 + 5 + 2 = 9, so the common ratio is 627=29\displaystyle \tfrac{6}{27} = \tfrac{2}{9}. Then α=(2+52)⋅29=1\displaystyle \alpha = (2 + \tfrac{5}{2})\cdot\tfrac{2}{9} = 1 and β=1\beta = 1. The centroid is (1,1)(1, 1).
  6. a+b=0a + b = 0, so k=0k = 0 and the orthocentre is the origin, the right angled vertex.