Let $k$ be a natural number and $N_k$ be the set of all subsets with $k$ elements. For $X,Y\in N_k$ let $d(X,Y) = |(X\setminus Y) \cup (Y\setminus X)|$ (the number of elements in the union). How do I prove that $d: N_k \times N_k \rightarrow \mathbb{R}$ is a distance function on $N_k$?
2026-03-31 13:09:16.1774962556
Proving a distance function
761 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in REAL-ANALYSIS
- how is my proof on equinumerous sets
- Finding radius of convergence $\sum _{n=0}^{}(2+(-1)^n)^nz^n$
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- On sufficient condition for pre-compactness "in measure"(i.e. in Young measure space)
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Is this relating to continuous functions conjecture correct?
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Absolutely continuous functions are dense in $L^1$
- A particular exercise on convergence of recursive sequence
Related Questions in METRIC-SPACES
- Show that $d:\mathbb{C}\times\mathbb{C}\rightarrow[0,\infty[$ is a metric on $\mathbb{C}$.
- Question on minimizing the infimum distance of a point from a non compact set
- Is hedgehog of countable spininess separable space?
- Lemma 1.8.2 - Convex Bodies: The Brunn-Minkowski Theory
- Closure and Subsets of Normed Vector Spaces
- Is the following set open/closed/compact in the metric space?
- Triangle inequality for metric space where the metric is angles between vectors
- continuous surjective function from $n$-sphere to unit interval
- Show that $f$ with $f(\overline{x})=0$ is continuous for every $\overline{x}\in[0,1]$.
- Help in understanding proof of Heine-Borel Theorem from Simmons
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
We need to show that the four following properties hold for $d$ to be a metric:
This follows from the fact that the absolute value $|(X \setminus Y) \cup (Y \setminus X) | \geq 0$
($\Rightarrow$) If $X=Y$ then $d(X,Y) = d(X,X) = | X \setminus X \cup X \setminus X| = | \, \emptyset \, | = 0$.
($\Leftarrow$) If $d(X,Y) = 0$ then $$| (X \setminus Y) \cup (Y \setminus X) | = 0 \Rightarrow |X \setminus Y| = | Y \setminus X| = 0 \, \, \,\text{ (why is this true??)}$$ So there does not exist $x \in X$ such that $x \notin Y$ or $y \in Y$ such that $ y \notin X$. So $X = Y$
Let $X,Y \in N_k$. Then $$d(X,Y) = |(X \setminus Y) \cup (Y \setminus X)| = | (Y \setminus X) \cup (X \setminus Y)| = d(Y,X)$$
Here, it is (extremely) helpful to draw a venn diagram and do some colouring in to convince yourself!
We have $$X \setminus Y = ((Z \cap X) \setminus Y) \cup (X \setminus (Z \cup Y)) \subseteq (Z \setminus Y) \cup (X \setminus Z) $$ and $$ Y \setminus X = ((Z \cap Y) \setminus X) \cup (Y \setminus (Z \cup X)) \subseteq (Z \setminus X) \cup (Y \setminus Z) $$ So $( X \setminus Y) \cup (Y \setminus X) \subseteq (X \setminus Z) \cup (Z \setminus X) \cup (Z \setminus Y) \cup (Y \setminus Z) $ which gives us $ |(X \setminus Y) \cup (Y \setminus X)| \leq | (X\setminus Z) \cup (Z \setminus X) \cup (Z \setminus Y) \cup (Y \setminus Z)|$
Then \begin{align} d(X,Z) + d(Z,Y) & = |(X \setminus Z) \cup (Z \setminus X)| + |(Z \setminus Y) \cup (Y \setminus Z)|\\ & \geq |(X \setminus Z) \cup (Z \setminus X) \cup (Z \setminus Y) \cup (Y \setminus Z)|\\ & \geq |(X \setminus Y) \cup (Y \setminus X)|\\ & = d(X,Y) \end{align}