Projection and Reflection in Coordinate Geometry

Lesson · Advanced

Geometry: Coordinate Geometry

Let

P=(x0,y0)P=(x_0,y_0)

and let the line be

ax+by+c=0ax+by+c=0
Projection and reflection of a point across a line

Projection onto a Line

Let H be the perpendicular projection of P onto the line.

Then

H=(x0a(ax0+by0+c)a2+b2,y0b(ax0+by0+c)a2+b2) H=\left( x_0-\frac{a(ax_0+by_0+c)}{a^2+b^2}, y_0-\frac{b(ax_0+by_0+c)}{a^2+b^2} \right)

Reflection Across a Line

If P'=(x',y') is the reflection of P across

ax+by+c=0ax+by+c=0

then

P=(x02a(ax0+by0+c)a2+b2,y02b(ax0+by0+c)a2+b2) P'=\left( x_0-\frac{2a(ax_0+by_0+c)}{a^2+b^2}, y_0-\frac{2b(ax_0+by_0+c)}{a^2+b^2} \right)