This lesson finds the foot of the perpendicular from a point to a line, the image (reflection) of a point and of a curve in a line, and uses reflections to solve shortest-path and extreme-value problems.

Foot of the perpendicular

The foot (h,k)(h, k) of the perpendicular from (x1,y1)(x_1, y_1) to ax+by+c=0ax + by + c = 0 is given by

h−x1a=k−y1b=−(ax1+by1+c)a2+b2.\displaystyle \frac{h - x_1}{a} = \frac{k - y_1}{b} = \frac{-(ax_1 + by_1 + c)}{a^2 + b^2}.

The perpendicular runs in the direction (a,b)(a, b), the normal to the line, so the foot is (x1,y1)+t(a,b)(x_1, y_1) + t(a, b) for the value of tt that puts it on the line. In particular the foot of (x1,y1)(x_1, y_1) on the x-axis is (x1,0)(x_1, 0); on the y-axis (0,y1)(0, y_1); on x=kx = k it is (k,y1)(k, y_1); on y=ky = k it is (x1,k)(x_1, k).

Images

The image of a point AA in a point PP is 2P−A2P - A.

The image (h,k)(h, k) of (x1,y1)(x_1, y_1) in the line ax+by+c=0ax + by + c = 0 is given by

h−x1a=k−y1b=−2(ax1+by1+c)a2+b2,\displaystyle \frac{h - x_1}{a} = \frac{k - y_1}{b} = \frac{-2(ax_1 + by_1 + c)}{a^2 + b^2},

twice as far along the normal as the foot. Special cases:

  1. In the x-axis: (x1,−y1)(x_1, -y_1). In the y-axis: (−x1,y1)(-x_1, y_1).
  2. In the line x=kx = k: (2k−x1,y1)(2k - x_1, y_1). In the line y=ky = k: (x1,2k−y1)(x_1, 2k - y_1).
  3. In y=xy = x: (y1,x1)(y_1, x_1). In y=−xy = -x: (−y1,−x1)(-y_1, -x_1).

Reflecting a curve or a line

  1. The reflection of f(x,y)=0f(x, y) = 0 in the x-axis is f(x,−y)=0f(x, -y) = 0.
  2. The reflection of f(x,y)=0f(x, y) = 0 in the y-axis is f(−x,y)=0f(-x, y) = 0.
  3. The reflection of f(x,y)=0f(x, y) = 0 in y=xy = x is f(y,x)=0f(y, x) = 0.
  4. The image of the line ax+by+c=0ax + by + c = 0 in the line lx+my+n=0lx + my + n = 0 (equivalently, the other line of a pair bisected by lx+my+n=0lx + my + n = 0) is

ax+by+clx+my+n=2(al+bm)l2+m2.\displaystyle \frac{ax + by + c}{lx + my + n} = \frac{2(al + bm)}{l^2 + m^2}.

Extreme values

  1. A line through (x1,y1)(x_1, y_1) (with x1,y1>0x_1, y_1 > 0) meets the positive axes at AA and BB. The minimum value of OA+OBOA + OB is (x1+y1)2\left(\sqrt{x_1} + \sqrt{y_1}\right)^2.
  2. A line through (x1,y1)(x_1, y_1) meets the axes at AA and BB. The area of triangle OABOAB is least when (x1,y1)(x_1, y_1) is the midpoint of ABAB, and that least area is 2∣x1y1∣2|x_1y_1|.

Shortest and longest paths via a line

Let AA, BB be fixed points and PP a point on the line L=0L = 0.

  1. If AA, BB are on opposite sides of L=0L = 0, then PA+PBPA + PB is least when PP, AA, BB are collinear, that is when PP is where ABAB meets L=0L = 0; the least value is ABAB.
  2. If AA, BB are on the same side, reflect BB in the line to get B′B'. Then PA+PB=PA+PB′PA + PB = PA + PB' is least when PP is where AB′AB' meets L=0L = 0, and the least value is AB′AB'.
  3. If AA, BB are on the same side, ∣PA−PB∣|PA - PB| is greatest when PP is where line ABAB meets L=0L = 0, and the greatest value is ABAB.
  4. If AA, BB are on opposite sides, ∣PA−PB∣|PA - PB| is greatest when PP is where AB′AB' meets L=0L = 0 (B′B' the image of BB), and the greatest value is AB′AB'.

Example 1

Find the foot of the perpendicular and the image of (3,4)(3, 4) in x+y−1=0x + y - 1 = 0.

ax1+by1+c=6ax_1 + by_1 + c = 6 and a2+b2=2a^2 + b^2 = 2. Foot: h−31=k−41=−3\displaystyle \dfrac{h - 3}{1} = \dfrac{k - 4}{1} = -3, so (0,1)(0, 1). Image: h−31=k−41=−6\displaystyle \dfrac{h - 3}{1} = \dfrac{k - 4}{1} = -6, so (−3,−2)(-3, -2).

Example 2

Find the image of the line x+2y−3=0x + 2y - 3 = 0 in the line x−y=0x - y = 0.

x+2y−3x−y=2(1−2)1+1=−1,\displaystyle \frac{x + 2y - 3}{x - y} = \frac{2(1 - 2)}{1 + 1} = -1,

so x+2y−3=−x+yx + 2y - 3 = -x + y, that is 2x+y−3=02x + y - 3 = 0. (Reflecting in y=xy = x simply swaps xx and yy, which agrees.)

Example 3

A(1,1)A(1, 1) and B(3,3)B(3, 3) lie above the x-axis. Find the point PP on the x-axis making PA+PBPA + PB least.

Reflect BB to B′(3,−3)B'(3, -3). The line AB′AB' has slope −2-2: y−1=−2(x−1)y - 1 = -2(x - 1), which meets y=0y = 0 at x=32\displaystyle x = \dfrac{3}{2}. So P=(32,0)\displaystyle P = \left(\dfrac{3}{2}, 0\right) and the least value is AB′=4+16=25AB' = \sqrt{4 + 16} = 2\sqrt{5}.

Example 4

A line through (2,3)(2, 3) cuts off a triangle from the axes. Find the least area.

The least area is 2⋅2⋅3=122\cdot 2\cdot 3 = 12, when (2,3)(2, 3) is the midpoint of the intercepted segment, so the intercepts are 44 and 66: 12⋅4⋅6=12\displaystyle \dfrac{1}{2}\cdot 4\cdot 6 = 12.

Practice

  1. Find the foot of the perpendicular from (1,2)(1, 2) to 3x+4y−1=03x + 4y - 1 = 0.
  2. Find the image of (1,2)(1, 2) in 3x+4y−1=03x + 4y - 1 = 0.
  3. Find the image of (3,−5)(3, -5) in the line y=xy = x.
  4. Find the image of (2,7)(2, 7) in the line x=4x = 4.
  5. Find the image of (4,1)(4, 1) in the point (2,3)(2, 3).
  6. Find the reflection of the line 3x−2y+6=03x - 2y + 6 = 0 in the y-axis.
  7. A line through (4,9)(4, 9) meets the positive axes at AA and BB. Find the least value of OA+OBOA + OB.
  8. Find the least area of the triangle cut off from the axes by a line through (3,2)(3, 2).
  9. PP is on the x-axis, A=(1,2)A = (1, 2), B=(5,4)B = (5, 4). Find the least value of PA+PBPA + PB.

Answers

Show answers
  1. h−13=k−24=−1025\displaystyle \dfrac{h - 1}{3} = \dfrac{k - 2}{4} = -\dfrac{10}{25}, so (−15,25)\displaystyle \left(-\dfrac{1}{5}, \dfrac{2}{5}\right)
  2. h−13=k−24=−2025\displaystyle \dfrac{h - 1}{3} = \dfrac{k - 2}{4} = -\dfrac{20}{25}, so (−75,−65)\displaystyle \left(-\dfrac{7}{5}, -\dfrac{6}{5}\right)
  3. (−5,3)(-5, 3)
  4. (6,7)(6, 7)
  5. 2(2,3)−(4,1)=(0,5)2(2, 3) - (4, 1) = (0, 5)
  6. −3x−2y+6=0-3x - 2y + 6 = 0, that is 3x+2y−6=03x + 2y - 6 = 0
  7. (2+3)2=25(2 + 3)^2 = 25
  8. 2⋅3⋅2=122\cdot 3\cdot 2 = 12
  9. B′=(5,−4)B' = (5, -4), so AB′=16+36=213AB' = \sqrt{16 + 36} = 2\sqrt{13}