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.
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's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
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
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD