Show the following is a metric

  • Thread starter Thread starter DotKite
  • Start date Start date
  • Tags Tags
    Metric
DotKite
Messages
81
Reaction score
1

Homework Statement



Show that ##d(f,g) = \int_{0}^{1}\left | f(x) - g(x) \right | dx## is a distance function. Where ##f : [0,1] \rightarrow R## and ##f## is continuous.

Homework Equations





The Attempt at a Solution


I am stuck on the second property where you have to show d(f,g) = 0 iff f = g. THe left direction is trivial. However d(f,g) = 0 implying f=g is giving me trouble. I have tried contrapositive, but it doesn't seem to be getting me anywhere.
 
Physics news on Phys.org
DotKite said:

Homework Statement



Show that ##d(f,g) = \int_{0}^{1}\left | f(x) - g(x) \right | dx## is a distance function. Where ##f : [0,1] \rightarrow R## and ##f## is continuous.

Homework Equations


The Attempt at a Solution


I am stuck on the second property where you have to show d(f,g) = 0 iff f = g. THe left direction is trivial. However d(f,g) = 0 implying f=g is giving me trouble. I have tried contrapositive, but it doesn't seem to be getting me anywhere.

The fact you need is that if F(x)>=0 on [0,1], F(a)>0 for some ##a## in [0,1] and F(x) is continuous (very important) then ##\int_{0}^{1}\left | F(x) \right | dx \gt 0##. Can you figure out how to prove that?
 
Last edited:
Dick said:
The fact you need is that if F(x)>=0 on [0,1], F(a)>0 for some ##a## in [0,1] and F(x) is continuous (very important) then ##\int_{0}^{1}\left | F(x) \right | dx \ge 0##. Can you figure out how to prove that?

wouldn't I need to show that ##\int_{0}^{1}\left | F(x) \right | dx > 0##
to get the contrapositive?
 
Oh I see! ok. NVM. Gonna try to prove it
 
DotKite said:
wouldn't I need to show that ##\int_{0}^{1}\left | F(x) \right | dx > 0##
to get the contrapositive?

Yes, of course. Typo. Sorry. I corrected it.
 
Last edited:

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K