Consider two known points A, and B, an unknown point C. If we know the distances between C and the other two points, we can recover \(\pi_{AB}(C)\), the projection of C onto the line AB.
The distance between \(\pi_{AB}(C)\) and A is
This can be derived using the pythagorean theorem and fact triangles AC\pi(C) and BC\pi(C) share a side.
This can be used to derive an expression for \(\pi_{AB}(C)\) using a weighted sum of A and B: