Method of Lagrange multipliers. Placing points on a circle/sphere such that the each point is the geometric median of all its other points.
Main Problem: to find the algorithm of finding a uniform distribution of points on a sphere.
Search method: to find critical points of "specific" functional dependencies and understand "by simple models " to which particle distributions this leads.
The main idea of this applet - to find on the circle/sphere such location of points, that each of them is at the point of the geometric median of its other points, i.e. to maximize the sum of the mutual distances of all particles:
Applet. Method of Lagrange multipliers. Relative positioning of "repulsive" movable points on a circle
Applet. Finding the optimal relative position of the" repulsive " set of particles on the circle
Applet. Finding the optimal relative position of the" repulsive " set of particles on the sphere
Applet Some cases of polyhedra with an extreme distribution of their vertices on the surface of a sphere.
Applet. Polyhedra whose vertices are equivalent and have an extreme distribution on the same sphere.
Applet. Example of non-uniqueness of the extreme distribution of n=16 particles on the surface of a sphere.
Applet. 3d shapes: n=72. Extreme distribution of points on the surface of a sphere and comparison with two known but not extreme ones having the same number of vertices
Images. Placing points on a sphere such that the each point is the geometric median of all its other points.
The Geometric Median(GM) of a discrete set of sample points in a Euclidean space is the point minimizing the sum of distances to the sample points or Fermat point Fo. Let us generalize this definition for a set of "repulsive" points on the surface of a circle/sphere. Obviously, here is relevant the point on a circle/sphere, maximizing the sum of distance (Distance Sum) between every possible pair of points on a circle/sphere. It is of interest to find out such mutual arrangement of repulsive set of particles on a sphere, when each point of this set is Geometric Median(GM) of the remaining n-1 points. We assume that the equilibrium - stationary state in system of charges is reached if the sum of their mutual distances is maximal. Iterative approach of particle placement is applied for achieving a stationary state.
Problem statement: to place n points on the circle/sphere so that each point is located at a position of geometric median of remaining n-1 others points. And it is necessary to take into account the restriction: each this point must remain on the original circle/sphere.
The problem is solved by the method of Lagrange multipliers to maximize the the function of sum of distances (Distance Sum). The proposed iterative procedure is applied sequentially to each point until the correction vectors will not be parallel to their corresponding positional vectors: the gradient of the Distance Sum is perpendicular to the constraint-circle/sphere.
In the following, we will consider the case of distribution of points on the sphere.
Spherical Distribution of n Points with Maximal Distance Sum
Solution method: There is a set lP={p1, p2,...,pn} of points on a sphere and {(xi,yi,zi)∈S:i= 1,...,n} -their coordinates. Let S be a sphere of radius R centered at the origin (O): S:={||||∈ℝ³: ||||=R}.
The Geometric Median is defined here as point on a sphere from where the function of sum of the distances to each point pi's have at that point: local minimums, maximums or 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 : f(x,y,z)= -sum of the distances from (x,y,z) to each point pi's, subject to a constraining equation: g(x,y,z)= - point (x,y,z)∈S. I.e. it is necessary to find the critical points f (x,y,z) subject to: g (x,y,z)=0. Further we will use positional vectors :=(x,y,z)T : f(x,y,z)=and g(x,y,z)=-R. The gradients are: ∇f∼and ∇g =/R -gradient of the magnitude of a position vector r. There is a system of equations: ∇f(x,y,z)= λ*∇g(x,y,z). A local optimum occurs when ∇f(x,y,z) and ∇g(x,y,z) are parallel, and so ∇f is some multiple of ∇g.
Explanation. In the case of points on a sphere: stop animation is performed by pressing the button-Stop or automatically, provided that the geometric center of the points coincides (with a certain degree of accuracy) with the center of the sphere: ΔCm<2*10-k.
In the upper left part of the applet there are in two columns two (for convenience of comparison) subsequent iterations of the Distance Sum. Their values are calculated as the average distance between particles on the Unit Sphere : Distance Sum/[0.5*n*(n-1)*R].
The table of values of these values for different values n are given in https://www.geogebra.org/m/qmguscwp.