In analytic geometry, the distance between two points \\((x_1, y_1)\\) and \\((x_2, y_2)\\) is found using the formula \\(\\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\\), deriving from the Pythagorean theorem.