Is the d(A,B) Function a Valid Metric for Finite Sets?

Click For Summary
SUMMARY

The function d(A,B) defined as d(A,B) = |A ∪ B| - |A ∩ B| is a valid metric for finite sets A and B. It satisfies the properties of a metric: d(A,A) = 0 and symmetry. The triangle inequality holds true, as demonstrated by the symmetric difference formula (A Δ B) Δ (B Δ C) = A Δ C. For infinite sets, the concept can be extended to pseudometrics by replacing cardinality with measures such as length or volume.

PREREQUISITES
  • Understanding of set theory concepts, including union and intersection.
  • Familiarity with the properties of metrics and pseudometrics.
  • Knowledge of symmetric difference in set operations.
  • Basic grasp of cardinality and measures in mathematics.
NEXT STEPS
  • Research the properties of symmetric difference in set theory.
  • Explore the concept of pseudometrics and their applications.
  • Study examples of metrics in real-valued spaces.
  • Investigate the implications of cardinality in infinite sets.
USEFUL FOR

Mathematicians, students of mathematics, and anyone interested in the properties of metrics and set theory will benefit from this discussion.

birulami
Messages
153
Reaction score
0
Hi,

recently I stumbled across the question whether for finite sets A,B the function

d(A,B):=|A\cup B| - |A\cap B|[/itex]<br /> <br /> is a http://en.wikipedia.org/wiki/Metric_distance&quot; ? Trivially, d(A,A)=0 and of course d is symmetric, but how about the triangle inequality? Does it hold?<br /> <br /> Harald.
 
Last edited by a moderator:
Physics news on Phys.org
yes it is. For the triangle inequality see the formula (A \Delta B) \Delta (B \Delta C) = A \Delta C here - http://en.wikipedia.org/wiki/Symmetric_difference" .

Also, for infinite sets you can replace the size |A| of a set with its measure (eg, length, volume, etc) to get a pseudometric, as mentioned in the wikipedia link.
 
Last edited by a moderator:
I never really came across symmetric difference as an explicit operator in set theory.

Thanks for the information,
Harald.
 
It's certainly not a metric in the usual sense, since metrics are real-valued not set-valued.
 
you didn't notice the bars around the sets, denoting cardinality. for finite sets this will be an integer number, hence it is a metric in a usual sense.
 
If there are an infinite number of natural numbers, and an infinite number of fractions in between any two natural numbers, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and... then that must mean that there are not only infinite infinities, but an infinite number of those infinities. and an infinite number of those...

Similar threads

Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K