Triangle Inequality: What Have I Missed?

Click For Summary

Discussion Overview

The discussion centers around the Triangle Inequality, specifically its significance, applications, and properties in various mathematical contexts, including metrics and vector spaces. Participants explore both algebraic and geometric interpretations, as well as implications in different mathematical frameworks.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants find the Triangle Inequality to be obvious, questioning its special status in mathematics.
  • Others argue that the Triangle Inequality is particularly interesting when applied to vectors, highlighting its geometric interpretation as the shortest distance between two points.
  • One participant notes that while the Triangle Inequality is useful, it can be challenging to manipulate equations involving absolute values.
  • Another participant outlines the defining properties of a metric, including the Triangle Inequality as a key property.
  • There is a discussion about positive definiteness and whether it is a requirement for all metrics or only those defined by inner products.
  • Some participants introduce the concept of pseudo-metrics, explaining how they differ from true metrics and providing examples from measure theory.
  • One participant requests a geometric demonstration of the Triangle Inequality's assertion regarding straight lines and distances.
  • Another participant elaborates on the iterative nature of the Triangle Inequality, extending it to finite sums and integrals.
  • There is a mention of Minkowski space-time, where the Triangle Inequality does not hold, raising questions about its applicability in different contexts.
  • Participants discuss the terminology used in different fields, noting that physicists may use "metric" in ways that differ from mathematical definitions.

Areas of Agreement / Disagreement

Participants express a range of views on the significance and applicability of the Triangle Inequality, with no consensus reached on its status as a fundamental property across all mathematical spaces. The discussion includes both agreement on its utility and disagreement regarding its limitations in certain contexts.

Contextual Notes

Some participants highlight that the Triangle Inequality does not hold in all spaces, particularly in Minkowski space-time, where the properties of distance differ from those in Euclidean spaces. There are also unresolved questions regarding the definitions and requirements of metrics versus pseudo-metrics.

theperthvan
Messages
182
Reaction score
0
What's so special about the Triangle Inequality?

[tex]abs(x + y) <= abs(x) + abs(y)[/tex]

I have learned it in two or three units, but it seems too obvious to be given a special name.

What have I missed?

EDIT: I screwed up the tex here... if someone can fix it that would be cool
 
Physics news on Phys.org
It's more interesting when you apply it to vectors.

i.e.

[tex]|a + b| \le |a| + |b|[/tex]

where a and b are vectors.
 
It's not so much that it's special, but that it's useful.


Algebraically, it's hard to manipulate an equation where addition happens inside an absolute value, but it's easy to manipulate an equation where the additions are outside.

Geometrically, it's says that a straight line is the shortest distance between two points.
 
Alright, thanks.

And James, how did you do the tex?
 
It is, in fact, one of the defining properties of a distance, i.e. metric function:
1) [itex]d(x,y)\ge 0[/itex]
2) d(x,y)= 0 if and only if x= y
3) d(x,y)= d(y,x)
4) [itex]d(x,y)\le d(x,z)+ d(z,y)[/itex] for any point z.

To see the code for any LaTex, just click on it.
 
Halls, is positive definiteness a property of any metric or only when the metric is given by an inner product (as in a Hilbert space)?
 
Last edited:
If I remember correctly, "positive definiteness", that d(x,y)> 0 except in the case x= y, is a requirement for a metric. Allowing d(x,y)= 0 for x not equal to y, gives what is called a "pseudo-metric". For example, in measure theory, we may define
[tex]d(f,g)= \int_C |f(x)-g(x)|dx[/itex] <br /> where C is some base set. In that case the two d(f,g)= 0 if f and g are equal "almost everywhere" but not necessarily equal. Of course, given any psuedo-metric, we can say that two points are "equivalent" if and only if d(x,y)= 0. Then we can treat the equivalence classes as a metric space with a true metric.[/tex]
 
Hurkyl, could you demonstrate how the Triangle Inequality, geometrically, shows the shortest distance between 2 points is a straight line? Thanks
 
|x+y| <= |x| + |y|

is the base case. If x and y are the vectors describing two sides of a triangle, then x+y describes the third side, and this inequalty states the fact that the length of one side is no greater than the sum of the lengths of the other two. Thus the name.

You can repeat it iteratively, and you get the triangle inequality for finite sums. For example, with 5 terms

|a+b+c+d+e| <= |a| + |b| + |c| + |d| + |e|

when you take the limit, you get the triangle inequality for infinite sums and for integrals. In particular, if P and Q are two points and c is a curve of length L between them, then:

[tex] \vec{Q} - \vec{P} = \int_c d\vec{s}[/tex]

applying the triangle inequality for integrals gives

[tex] \left|\vec{Q} - \vec{P}\right| = \left|\int_c d\vec{s}\right|<br /> \leq \int_c |d\vec{s}| = L[/tex]


If you're not comfortable with ds then, if t is the parameter for the curve c, this is what those integrals mean:

[tex]\int_c d\vec{s} := \int_0^1 \frac{dc(t)}{dt} \, dt[/tex]

[tex]\int_c \left|d\vec{s}\right| := \int_0^1 \left|\frac{dc(t)}{dt}\right| \, dt[/tex]
 
Last edited:
  • #10
O thanks, clearly explained. Ty
 
  • #11
HallsofIvy said:
If I remember correctly, "positive definiteness", that d(x,y)> 0 except in the case x= y, is a requirement for a metric.
Hmmm...in non-relativistic QM, one of the postulates states that (roughly) the system is described by a state vector that resides in a space with a positive definite metric (which is why I asked the question). This is needed so we can make the probabilistic interpretation.

Mathworld doesn't seem to require this as a property of a metric.
 
  • #12
Gokul43201 said:
Mathworld doesn't seem to require this as a property of a metric.
Metric: A nonnegative function g(x, y) ... A metric also satisfies ... the condition that g(x, y) = 0 implies x = y.
 
  • #13
Hurkyl said:
Metric: A nonnegative function g(x, y) ... A metric also satisfies ... the condition that g(x, y) = 0 implies x = y.
Ouch! For some reason, I start reading only from the third word of each sentence.

So I guess the term "positive definite metric" is either a misnomer, or more likely, a concoction of my tired imagination(?)
 
  • #14
'When I use a word,' Humpty Dumpty said, in a rather scornful tone,' it means just what I choose it to mean, neither more nor less.' -- Through the Looking-Glass

Physicsts frequently study pseudometrics, generally arising in some way from an inner product. So, it is reasonable that in their language, the word "metric" means what a mathematician would refer to as "pseudometric" or "inner product". The physicist would then have to add the qualification "positive definite" to denote what the mathematician simply calls "metric".


It's actually like that in a lot of fields, even purely within mathematics. For example, if I'm thinking about category theory, I might call something a "graph". But if I was thinking about discrete math, I would call the exact same object a "directed multigraph with loops".
 
Last edited:
  • #15
theperthvan said:
What's so special about the Triangle Inequality?

[tex]abs(x + y) <= abs(x) + abs(y)[/tex]

I have learned it in two or three units, but it seems too obvious to be given a special name.
It is obvious until one realizes that it does not hold in all spaces.

The Minkowski space-time, frequently associated with the theory of relativity, violates this inequality. For instance in a Minkowski space-time not the shortest but the longest distance between two points is a straight line. And the distance between two points can be zero.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K