Why is K-Means not invariant to feature rotation?

Updated May 16, 2026

Short answer

K-Means is not rotation-invariant because Euclidean distance depends on coordinate axes alignment.

Deep explanation

Rotating feature space changes axis-aligned distances even though true geometric relationships remain the same. Since K-Means relies on axis-aligned variance minimization, rotated datasets can yield different clustering results.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More K-Means Clustering interview questions

View all →