Euclidean distance

From WikiMD's medical encyclopedia

Euclidean distance 2d
Euclidean distance 3d 2 cropped
Minkowski distance examples

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

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

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

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

External links

Given the constraints, this section is intentionally left blank.

Stub icon
   This article is a mathematics-related stub. You can help WikiMD by expanding it!



Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Transform your life with W8MD's budget GLP-1 injections from $125.

W8mdlogo.png
W8MD weight loss doctors team

W8MD offers a medical weight loss program to lose weight in Philadelphia. Our physician-supervised medical weight loss provides:

NYC weight loss doctor appointments

Start your NYC weight loss journey today at our NYC medical weight loss and Philadelphia medical weight loss clinics.

Linkedin_Shiny_Icon Facebook_Shiny_Icon YouTube_icon_(2011-2013) Google plus


Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

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, categories Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD