We set v = C − A {\displaystyle {}v=C-A} , and w = B − C {\displaystyle {}w=B-C} . The vector from A {\displaystyle {}A} to B {\displaystyle {}B} equals v + w {\displaystyle {}v+w} . Due to fact, the foot of the altitude is
Hence, we obtain