Let D be the point at which median drawn from A touches side BC.
Let \(\vec a,\vec b\) and \(\vec c\) be the position vectors of the vertices A, B and C.
So position vector of D = \(\cfrac{\vec b+\vec c}2\)
So we creating a vector in the direction of AD
\(\vec {AD}\) = Position vector of D - position vector of A