Betelgeuse: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>LucasVB
m →‎Approaching supernova: neutrinos can't travel "at light speed" if they are massive, as described by current theories
en>Casliber
per talk
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
In [[mathematics]], the '''Euclidean distance''' or '''Euclidean metric''' is the "ordinary" [[distance]] between two points that one would measure with a ruler, and is given by the [[Pythagorean theorem|Pythagorean formula]]. By using this formula as distance, Euclidean space (or even any [[inner product space]]) becomes a [[metric space]]. The associated [[Norm (mathematics)|norm]] is called the '''[[Norm (mathematics)#Euclidean norm|Euclidean norm]].''' Older literature refers to the metric as '''Pythagorean metric'''.
Emilia Shryock is my title but you can contact me anything you like. The thing she adores most is physique developing and now she is attempting to earn cash with it. I am a meter reader. North Dakota is our beginning location.<br><br>my page :: [http://www.svejedno.ga/index.php?do=/profile-3016/info/ std testing at home]
 
==Definition==
The '''Euclidean distance''' between points '''p''' and '''q''' is the length of the [[line segment]] connecting them (<math>\overline{\mathbf{p}\mathbf{q}}</math>).
 
In [[Cartesian coordinates]], if '''p'''&nbsp;=&nbsp;(''p''<sub>1</sub>,&nbsp;''p''<sub>2</sub>,...,&nbsp;''p''<sub>''n''</sub>) and '''q'''&nbsp;=&nbsp;(''q''<sub>1</sub>,&nbsp;''q''<sub>2</sub>,...,&nbsp;''q''<sub>''n''</sub>) are two points in [[Euclidean space|Euclidean ''n''-space]], then the distance from '''p''' to '''q''', or from '''q''' to '''p''' is given by:
 
{{NumBlk|:|<math>\mathrm{d}(\mathbf{p},\mathbf{q}) = \mathrm{d}(\mathbf{q},\mathbf{p}) = \sqrt{(q_1-p_1)^2 + (q_2-p_2)^2 + \cdots + (q_n-p_n)^2} = \sqrt{\sum_{i=1}^n (q_i-p_i)^2}.</math>|{{EquationRef|1}}}}
 
The position of a point in a Euclidean ''n''-space is a [[Euclidean vector]]. So, '''p''' and '''q''' are Euclidean vectors, starting from the origin of the space, and their tips indicate two points. The '''[[Euclidean norm]]''', or '''Euclidean length''', or '''magnitude''' of a vector measures the length of the vector:
:<math>\|\mathbf{p}\| = \sqrt{p_1^2+p_2^2+\cdots +p_n^2} = \sqrt{\mathbf{p}\cdot\mathbf{p}}</math>
where the last equation involves the [[dot product]].
 
A vector can be described as a directed line segment from the [[Origin (mathematics)|origin]] of the Euclidean space (vector tail), to a point in that space (vector tip). If we consider that its length is actually the distance from its tail to its tip, it becomes clear that the Euclidean norm of a vector is just a special case of Euclidean distance: the Euclidean distance between its tail and its tip.
 
The distance between points '''p''' and '''q''' may have a direction (e.g. from '''p''' to '''q'''), so it may be represented by another vector, given by
 
:<math>\mathbf{q} - \mathbf{p} = (q_1-p_1, q_2-p_2, \cdots, q_n-p_n)</math>
 
In a three-dimensional space (''n''=3), this is an arrow from '''p''' to '''q''', which can be also regarded as the position of '''q''' relative to '''p'''. It may be also called a [[displacement (vector)|displacement]] vector if '''p''' and '''q''' represent two positions of the same point at two successive instants of time.
 
The Euclidean distance between '''p''' and '''q''' is just the Euclidean length of this distance (or displacement) vector:
{{NumBlk|:|<math>\|\mathbf{q} - \mathbf{p}\| = \sqrt{(\mathbf{q}-\mathbf{p})\cdot(\mathbf{q}-\mathbf{p})}.</math>|{{EquationRef|2}}}}
 
which is equivalent to equation 1, and also to:
 
:<math>\|\mathbf{q} - \mathbf{p}\| = \sqrt{\|\mathbf{p}\|^2 + \|\mathbf{q}\|^2 - 2\mathbf{p}\cdot\mathbf{q}}.</math>
 
===One dimension===
In one dimension, the distance between two points on the [[real line]] is the [[absolute value]] of their numerical difference.  Thus if ''x'' and ''y'' are two points on the real line, then the distance between them is given by:
:<math>\sqrt{(x-y)^2} = |x-y|.</math>
 
In one dimension, there is a single homogeneous, translation-invariant [[Metric (mathematics)|metric]] (in other words, a distance that is induced by a [[Norm (mathematics)|norm]]), up to a scale factor of length, which is the Euclidean distance. In higher dimensions there are other possible norms.
 
===Two dimensions===
In the [[Euclidean plane]], if '''p'''&nbsp;=&nbsp;(''p''<sub>1</sub>,&nbsp;''p''<sub>2</sub>) and '''q'''&nbsp;=&nbsp;(''q''<sub>1</sub>,&nbsp;''q''<sub>2</sub>) then the distance is given by
 
:<math>\mathrm{d}(\mathbf{p},\mathbf{q})=\sqrt{(p_1-q_1)^2 + (p_2-q_2)^2}.</math>
 
This is equivalent to the [[Pythagorean theorem]].
 
Alternatively, it follows from ({{EquationRef|2}}) that if the [[polar coordinates]] of the point '''p''' are (''r''<sub>1</sub>,&nbsp;θ<sub>1</sub>) and those of '''q''' are (''r''<sub>2</sub>,&nbsp;θ<sub>2</sub>), then the distance between the points is
 
:<math>\sqrt{r_1^2 + r_2^2 - 2 r_1 r_2 \cos(\theta_1 - \theta_2)}.</math>
 
===Three dimensions===
In three-dimensional Euclidean space, the distance  is
 
:<math>d(p, q) = \sqrt{(p_1 - q_1)^2 + (p_2 - q_2)^2+(p_3 - q_3)^2}.</math>
 
===N dimensions===
In general, for an n-dimensional space, the distance is
 
:<math>d(p, q) = \sqrt{(p_1- q_1)^2 + (p_2 - q_2)^2+...+(p_i - q_i)^2+...+(p_n - q_n)^2}.</math>
 
===Squared Euclidean distance===
The standard Euclidean distance can be squared in order to place progressively greater weight on objects that are farther apart. In this case, the equation becomes
 
:<math>d^2(p, q) = (p_1 - q_1)^2 + (p_2 - q_2)^2+...+(p_i - q_i)^2+...+(p_n - q_n)^2.</math>
 
Squared Euclidean Distance is not a metric as it does not satisfy the [[triangle inequality]], however it is frequently used in optimization problems in which distances only have to be compared.
 
It is also referred to as [[quadrance]] within the field of [[rational trigonometry]].
 
==See also==
*[[Chebyshev distance]] measures distance assuming only the most significant dimension is relevant.
*[[Mahalanobis distance]] normalizes based on a covariance matrix to make the distance metric scale-invariant.
*[[Manhattan distance]] measures distance following only axis-aligned directions.
*[[Metric (mathematics)|Metric]]
*[[Minkowski distance]] is a generalization that unifies Euclidean distance, Manhattan distance, and Chebyshev distance.
*[[Pythagorean addition]]
 
==References==
* Elena Deza & Michel Marie Deza (2009) ''Encyclopedia of Distances'', page 94, Springer.
* http://www.statsoft.com/textbook/cluster-analysis/, March 2, 2011
 
{{DEFAULTSORT:Euclidean Distance}}
[[Category:Metric geometry]]
[[Category:Length]]
[[Category:String similarity measures]]

Latest revision as of 10:29, 4 January 2015

Emilia Shryock is my title but you can contact me anything you like. The thing she adores most is physique developing and now she is attempting to earn cash with it. I am a meter reader. North Dakota is our beginning location.

my page :: std testing at home