Part 1:
Given $n$ points $(x_1,y_1), \ldots, (x_n,y_n)$ on the plane, apply calculus tools to find equations on the point $(x,y)$ that minimizes the sum of distances from $(x,y)$ to the given points. You should formulate your answer in terms of vectors $r_1,r_2,\ldots,r_n$, where $r_i$ is the unit vector that points from $(x,y)$ to $(x_i,y_i)$ for all $i=1,2,\ldots,n$.
I have tried to solve this part by finding the vector equations of the 5 points, where 2 diagonals intersect. For Eg, To find vector AC, it is the sum of AO and OC, which is in unit vector form according to the diagram, -r1+r3 .
AC= -r1 +r3 BD= -r2 + r4 CE= -r3 + r5 DA= -r4 + r1 EB= -r5 + r2
This forms like a irregular Pentagon. So, how do i find a point which minimises the sum of distances from the vertices of the pentagon?
But i do not know if this is the correct way to go about coz I had great difficulty to start with the question. Hence, it would be very helpful if you could help me with starting the question, if my method is wrong. Thank you :)