Journal of the Indonesian Mathematical Society
Vol. 32 No. 3 (2026): SEPTEMBER

A More Precise Elbow Method For Optimum K-means Clustering

Indra Herdiana (Mathematics Study Program, Jenderal Soedirman University)
Mokhamad Alfin Kamal (Mathematics Study Program, Jenderal Soedirman University)
Triyani Triyani (Mathematics Study Program, Jenderal Soedirman University)
Mutia Nur Estri (Mathematics Study Program, Jenderal Soedirman University)
Renny Renny (Mathematics Study Program, Jenderal Soedirman University)



Article Info

Publish Date
01 Sep 2026

Abstract

K-means clustering is an unsupervised clustering method that requires an initial decision of number of clusters. One method to determine the number of clusters is the elbow method, a heuristic method that relies on a graphical plot of the within-cluster sum of squares against the number of clusters. The method uses the number based on the elbow point, the point closest to $90^\circ$ that indicates the most optimum number of clusters. This research improves the elbow method such that the selection of cluster numbers is unbiased towards visual interpretation. We use the analytical geometric formula to calculate an angle between lines and real analysis principle of derivative to simplify the elbow point determination. We also consider every possibility of the elbow method graph behaviour such that the algorithm is universally applicable. The result is that the elbow point can be measured precisely with a simple algorithm that does not involve complex functions or calculations. This improved method gives an alternative of more reliable cluster determination method that contributes to more optimum k-means clustering, obtained by the fewest clusters with the lowest error.

Copyrights © 2026






Journal Info

Abbrev

JIMS

Publisher

Subject

Mathematics

Description

Journal of the Indonesian Mathematical Society disseminates new research results in all areas of mathematics and their applications. Besides research articles, the journal also receives survey papers that stimulate research in mathematics and their ...