Triangle Inequality for d(m,n) Metric Proof

  • Thread starter Thread starter Demon117
  • Start date Start date
  • Tags Tags
    Metric
Click For Summary
SUMMARY

The discussion focuses on proving that the function d(m,n) defined as d(m,n)=0 if m=n and d(m,n)=1/5^k otherwise, where k is the highest power of 5 dividing m-n, satisfies the properties of a metric. The proof demonstrates that d is symmetric and positive definite. The main challenge lies in establishing the triangle inequality, specifically showing that 1/5^k ≤ 1/5^i + 1/5^j, where i and j are the highest powers of 5 dividing m-r and r-n, respectively. The participants explore the relationships between these powers to conclude the proof.

PREREQUISITES
  • Understanding of metric spaces and their properties
  • Familiarity with divisibility and powers of integers
  • Knowledge of mathematical proof techniques
  • Basic algebra involving integers and equations
NEXT STEPS
  • Study the properties of metric spaces in detail
  • Learn about divisibility rules and their implications in number theory
  • Explore examples of triangle inequality in various metrics
  • Review techniques for constructing mathematical proofs
USEFUL FOR

Mathematicians, students studying metric spaces, and anyone interested in number theory and mathematical proofs will benefit from this discussion.

Demon117
Messages
162
Reaction score
1
1. For integers m and n, let d(m,n)=0 if m=n and d(m,n) = 1/5^k otherwise, where k is the highest power of 5 that divides m-n. Show that d is indeed a metric.

2. The attempt at a solution

Here is what I have come up with:

PROOF: Clearly by definition d(m,n) = 0 iff m=n and d(m,n)>0 for all k in Z. Next, the same highest power k of 5 that divides m-n will also divide n-m. Therefore we have d(n,m) = 1/5^k, thus d(m,n) = d(m,n) when n is not equal to m. So d is symmetric and positive definite. I must finally show that the triangle inequality holds.

I am unsure how to proceed in showing that the triangle inequality holds. Can anyone help me?
 
Physics news on Phys.org
All right so take k to be the highest power as in the problem description so that d(m,n) = 1/5^k. Let i and j be the associated powers of d(m,r) and d(r,n), respectively. We need to show that
[tex]\frac{1}{5^k} \leq \frac{1}{5^i} + \frac{1}{5^j}.[/tex]
Note that it suffices to prove that k is greater than or equal to one of i or j. Without loss of generality you may assume [itex]j \geq i \geq 0.[/itex] Now the key of course is that k is the highest power of 5 that divides m-n, so use the metric relations given to see if another power of 5 also divides m-n and conclude the desired inequality.
 
snipez90 said:
All right so take k to be the highest power as in the problem description so that d(m,n) = 1/5^k. Let i and j be the associated powers of d(m,r) and d(r,n), respectively. We need to show that
[tex]\frac{1}{5^k} \leq \frac{1}{5^i} + \frac{1}{5^j}.[/tex]
Note that it suffices to prove that k is greater than or equal to one of i or j. Without loss of generality you may assume [itex]j \geq i \geq 0.[/itex] Now the key of course is that k is the highest power of 5 that divides m-n, so use the metric relations given to see if another power of 5 also divides m-n and conclude the desired inequality.

That is more or less what I thought of. So the way you've explained implies that I am trying to show uniqueness? I maybe I misunderstood completely.

If d(m,r) = 1/5^j for j the highest power that divides m-r and I know that d(r,n) = 1/5^i for i the highest power that divides r-n, then I have j*p = m-r and i*q = r-n, for p,q in Z. Solving for r and substituting I get iq = m-n - jp. But m-n is equivalent to k*s for some s in Z.

In all I have iq = ks - jp, so that ks = iq + jp. Where do I go from here?
 

Similar threads

Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
7
Views
4K