Euclidean distance
Euclidean distance is a measure of the true straight line distance between two points in Euclidean space. With this distance, Euclidean geometry becomes a metric space. The Euclidean distance between two points in either the plane or 3-dimensional space measures the length of a segment connecting the two points. It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem, therefore occasionally being called the Pythagorean distance.
Definition[edit | edit source]
The Euclidean distance between two points p and q is the length of the line segment connecting them (pq or qp). In the Cartesian coordinate system, if p = (p1, p2,..., pn) and q = (q1, q2,..., qn), then the distance (d) between p and q is given by:
- d(p, q) = √[(p1 - q1)^2 + (p2 - q2)^2 + ... + (pn - qn)^2]
This formula is a direct application of the Pythagorean theorem.
Applications[edit | edit source]
Euclidean distance is used in many areas of science and engineering. It is fundamental in algorithms that solve problems involving distances, such as in machine learning for clustering and classification problems. In computer graphics, it is used to measure the distance between pixels or points in 3D modeling. In geography, it measures the actual distance between locations on a plane, assuming a flat earth, which is a good approximation for small distances.
Generalizations[edit | edit source]
The concept of Euclidean distance can be generalized to include points in any dimensional space. This generalization is straightforward and follows the same formula, adjusting for the number of dimensions. Furthermore, the concept of distance can be extended beyond Euclidean space to include other types of spaces, such as metric spaces, where the idea of distance can vary significantly from the Euclidean model.
See also[edit | edit source]
External links[edit | edit source]
Given the constraints, this section is intentionally left blank.
Navigation: Wellness - Encyclopedia - Health topics - Disease Index - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Contributors: Prab R. Tumpati, MD