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

  • Context: Undergrad 
  • Thread starter Thread starter birulami
  • Start date Start date
  • Tags Tags
    Finite Metric Sets
Click For Summary

Discussion Overview

The discussion centers on whether the function defined as \( d(A,B) := |A \cup B| - |A \cap B| \) qualifies as a valid metric for finite sets A and B. Participants explore properties such as symmetry, identity of indiscernibles, and the triangle inequality, while considering implications for both finite and infinite sets.

Discussion Character

  • Debate/contested

Main Points Raised

  • One participant, Harald, questions whether the function \( d(A,B) \) satisfies the triangle inequality and seeks clarification on its status as a metric.
  • Another participant asserts that the triangle inequality holds, referencing the symmetric difference and providing a link to a relevant Wikipedia article.
  • A different participant argues that the function is not a metric in the traditional sense, as metrics are typically real-valued rather than set-valued.
  • In response, another participant points out that the cardinality bars indicate that for finite sets, the function yields an integer, suggesting it meets the criteria for a metric in the usual sense.

Areas of Agreement / Disagreement

Participants express differing views on whether the function qualifies as a metric, particularly regarding the triangle inequality and the nature of metrics. There is no consensus on the validity of the function as a metric.

Contextual Notes

Some participants note the distinction between finite and infinite sets, suggesting that the function may behave differently under various conditions. The discussion includes references to set theory concepts that may not be universally familiar.

birulami
Messages
153
Reaction score
0
Hi,

recently I stumbled across the question whether for finite sets [itex]A,B[/itex] the function

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

Similar threads

Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K