where is a weight for the measurement between a pair of points , is the euclidean distance between and and is the ideal distance between the points (their separation) in the -dimensional data space. Note that can be used to specify a degree of confidence in the similarity between points (e.g. 0 can be specified if there is no information for a particular pair).
A configuration which minimises gives a plot in which points that are close together correspond to points that are also close together in the original -dimensional data space.
There are many ways that could be minimised. For example, Kruskal [citation|last=Kruskal|first=J. B.|authorlink=Joseph Kruskal|title=Multidimensional scaling by optimizing goodness of fit to a nonmetrichypothesis|journal=Psychometrika|volume=29|pages=1–27|year=1964.] recommended an iterative steepest descent approach. However, a significantly better (in terms of guarantees on, and rate of, convergence) method for minimising stress was introduced by Jan de Leeuw.[citation|last=de Leeuw|first=J.|contribution=Applications of convex analysis to multidimensional scaling|editor1=first=J. R.|editor1-last=Barra|editor2-first=F.|editor2-last=Brodeau|editor3-first=G.|editor3-last=Romie|editor4-first=B.|editor4-last=van Cutsem|title=Recent developments in statistics|pages=133-145|year=1977.] De Leeuw's "iterative majorization" method at each step minimises a simple convex function which both bounds from above and touches the surface of at a point , called the "supporting point". In convex analysis such a function is called a "majorizing" function. This iterative majorization process is also referred to as the SMACOF algorithm ("Scaling by majorizing a complicated function").] The SMACOF algorithm
The stress function can be expanded as follows:
: