
There are no explicit Geometric Medians formulas, in contrast to Geometric Centers explicit formulas.
In our case, the solution of the system of equations can be found use iterative procedures. I propose iterative procedures in which each step produces is a more accurate approximation. Relationship between vectors of two consecutive iterations is defined by finds the Maxima - points. That means that the := (sum of unit vectors location of a point ps relative to others n-1 points) -is the collective "force" action at point ps (as shown on the Fig. 1 above . All points are successively corrected until the system of points comes to a stationary state. Finally, at the end of iterations they must match ps✱=ps for all s=1,2,...,n and vectors fs will be perpendicular to the surface S of the sphere at all points from lP. The iteration is terminated when the center of mass of n particles on a sphere (with a certain degree of accuracy) will not be in the center of the sphere).
Spherical Distribution of n Points with Maximal quadrat Distance Sum
Solution method: The Geometric Center is defined here as point on sphere from where the sum of the squares of all Euclidean distances to each point pi's have at that point: local minimum, maximum or a saddle points.
Critical points can be found using Lagrange multipliersas (Λ(x,y,z,λ)=f(x,y,z)+λ*g(x,y,z)) finding the Extreme values of the function :
fq(x,y,z)= -sum of the squares of the distances to the points pi, subject to a constraining equation:
g(x,y,z)=x2+y2+z2-R2 - points (x,y,z)∈S. I.e. it is necessary to find the critical points fq(x,y,z) subject to: g(x,y,z)=0. Let's denote the resulting point as Sum(lP):= , then ∇f/2=n*(x,y,z)- or ∇f/2=n*(x,y,z)-Sum(lP) and ∇g/2=(x,y,z): ⇒(x,y,z)∼Sum(lP).
The point (x,y,z) that minimize the sum of the squares of the distances to the points pi is the Geometric Center (gravity center, barycenter, center of mass, centroid) GC: Cm= -its coordinates are the averages of the coordinates of the points from set lP.
In our case, the position of the points on a sphere must be defined as: ✱=R*UnitVector( ) and :=. However, this iteration scheme does not converge. Iterations in this case do not lead to stationary positions of the particles.
Notation in applets:
position vector(s)∼lP(s) -position vector for each point s;
GM vector(s) ∼Sum[Zip(UnitVector(lP(s)-a),a,lP\lP(s))] - the vector of the geometric median(GM) at point ps caused by the „action“ of the remaining (n-1) points;
GC vector(s) ∼Sum[lP\lP(i)]/(n-1) - the vector of the geometric center(GC) at point ps caused by the „action“ of the remaining (n-1) points;
Δφs:=Angle(position vector(s),GM vector(s));
Δφs:=Angle(position vector(i),GC vector(s)).