Sufficient and necessary binary relation for given metric
$begingroup$
Problem:
Let $p$ be binary relation on the set $X$, for any $x,y$ $in$ $X$ let:
$$ d(x,y) = begin{cases}
3, & text{for } hspace{0.5cm}xpy \
0, & text{for} hspace{0.5cm} neg xpy
end{cases}
$$
Determine necessary and sufficient condition(characteristic of relation $p$) so that $d$ is metric on the set $X$.
Necessary conditions for metric:
$$d(x,y)=0 Leftrightarrow x=y$$
$$d(x,y)= d(x,y)=0 $$
$$d(x,z)leq d(x,y) + d(y,z)$$
Possible solution:
The binary relation must be symmetric, because of the second condition for metric, but I do not know whether that is necessary and sufficient. It seems to me that the relation $p$ is non-equality, is it possible? Any help is appreciated.
metric-spaces relations
$endgroup$
add a comment |
$begingroup$
Problem:
Let $p$ be binary relation on the set $X$, for any $x,y$ $in$ $X$ let:
$$ d(x,y) = begin{cases}
3, & text{for } hspace{0.5cm}xpy \
0, & text{for} hspace{0.5cm} neg xpy
end{cases}
$$
Determine necessary and sufficient condition(characteristic of relation $p$) so that $d$ is metric on the set $X$.
Necessary conditions for metric:
$$d(x,y)=0 Leftrightarrow x=y$$
$$d(x,y)= d(x,y)=0 $$
$$d(x,z)leq d(x,y) + d(y,z)$$
Possible solution:
The binary relation must be symmetric, because of the second condition for metric, but I do not know whether that is necessary and sufficient. It seems to me that the relation $p$ is non-equality, is it possible? Any help is appreciated.
metric-spaces relations
$endgroup$
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
1
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25
add a comment |
$begingroup$
Problem:
Let $p$ be binary relation on the set $X$, for any $x,y$ $in$ $X$ let:
$$ d(x,y) = begin{cases}
3, & text{for } hspace{0.5cm}xpy \
0, & text{for} hspace{0.5cm} neg xpy
end{cases}
$$
Determine necessary and sufficient condition(characteristic of relation $p$) so that $d$ is metric on the set $X$.
Necessary conditions for metric:
$$d(x,y)=0 Leftrightarrow x=y$$
$$d(x,y)= d(x,y)=0 $$
$$d(x,z)leq d(x,y) + d(y,z)$$
Possible solution:
The binary relation must be symmetric, because of the second condition for metric, but I do not know whether that is necessary and sufficient. It seems to me that the relation $p$ is non-equality, is it possible? Any help is appreciated.
metric-spaces relations
$endgroup$
Problem:
Let $p$ be binary relation on the set $X$, for any $x,y$ $in$ $X$ let:
$$ d(x,y) = begin{cases}
3, & text{for } hspace{0.5cm}xpy \
0, & text{for} hspace{0.5cm} neg xpy
end{cases}
$$
Determine necessary and sufficient condition(characteristic of relation $p$) so that $d$ is metric on the set $X$.
Necessary conditions for metric:
$$d(x,y)=0 Leftrightarrow x=y$$
$$d(x,y)= d(x,y)=0 $$
$$d(x,z)leq d(x,y) + d(y,z)$$
Possible solution:
The binary relation must be symmetric, because of the second condition for metric, but I do not know whether that is necessary and sufficient. It seems to me that the relation $p$ is non-equality, is it possible? Any help is appreciated.
metric-spaces relations
metric-spaces relations
edited Jan 11 at 14:14
Samo Poláček
31
31
asked Jan 10 at 16:25
nocturnenocturne
689
689
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
1
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25
add a comment |
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
1
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
1
1
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
$d$ is a metric if and only if $p$ is equal to the relation $ne$, or $$(x,y) in p iff x ne y$$
Assume that $p$ is equal to $ne$ and let's check that $d$ is a metric.
- Clearly $d ge 0$. For $x in X$ we have $x = x$ so $(x,x) notin p$ which implies $d(x,x) = 0$.
Assume $d(x,y) = 0$ for some $x,y in X$. Then $(x,y) notin p$ so $x = y$. - We have $$d(x,y) = 3 iff (x,y) in p iff x ne y iff y ne x iff (y,x) in piff d(y,x) = 3$$
- Since $d$ attains only the values $0,3$ we only have to check that it isn't possible that $d(x,z) = 3$ but $d(x,y) = d(y,z) = 0$. This would be equivalent to $x ne z$ and $x = y = z$, which is a contradiction.
Conversely, if $p$ isn't equal to $ne$, then either
$p$ doesn't contain $ne$, so there exist $x,y in X, x ne y$ such that $(x,y) notin p$. It follows $d(x,y) = 0$ but $x ne y$ so $d$ isn't a metric.
$ne$ doesn't contain $p$ so there exists $x in X$ such that $(x,x) in p$. This implies $d(x,x) = 3$ so $d$ isn't a metric.
$endgroup$
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068853%2fsufficient-and-necessary-binary-relation-for-given-metric%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
$d$ is a metric if and only if $p$ is equal to the relation $ne$, or $$(x,y) in p iff x ne y$$
Assume that $p$ is equal to $ne$ and let's check that $d$ is a metric.
- Clearly $d ge 0$. For $x in X$ we have $x = x$ so $(x,x) notin p$ which implies $d(x,x) = 0$.
Assume $d(x,y) = 0$ for some $x,y in X$. Then $(x,y) notin p$ so $x = y$. - We have $$d(x,y) = 3 iff (x,y) in p iff x ne y iff y ne x iff (y,x) in piff d(y,x) = 3$$
- Since $d$ attains only the values $0,3$ we only have to check that it isn't possible that $d(x,z) = 3$ but $d(x,y) = d(y,z) = 0$. This would be equivalent to $x ne z$ and $x = y = z$, which is a contradiction.
Conversely, if $p$ isn't equal to $ne$, then either
$p$ doesn't contain $ne$, so there exist $x,y in X, x ne y$ such that $(x,y) notin p$. It follows $d(x,y) = 0$ but $x ne y$ so $d$ isn't a metric.
$ne$ doesn't contain $p$ so there exists $x in X$ such that $(x,x) in p$. This implies $d(x,x) = 3$ so $d$ isn't a metric.
$endgroup$
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
add a comment |
$begingroup$
$d$ is a metric if and only if $p$ is equal to the relation $ne$, or $$(x,y) in p iff x ne y$$
Assume that $p$ is equal to $ne$ and let's check that $d$ is a metric.
- Clearly $d ge 0$. For $x in X$ we have $x = x$ so $(x,x) notin p$ which implies $d(x,x) = 0$.
Assume $d(x,y) = 0$ for some $x,y in X$. Then $(x,y) notin p$ so $x = y$. - We have $$d(x,y) = 3 iff (x,y) in p iff x ne y iff y ne x iff (y,x) in piff d(y,x) = 3$$
- Since $d$ attains only the values $0,3$ we only have to check that it isn't possible that $d(x,z) = 3$ but $d(x,y) = d(y,z) = 0$. This would be equivalent to $x ne z$ and $x = y = z$, which is a contradiction.
Conversely, if $p$ isn't equal to $ne$, then either
$p$ doesn't contain $ne$, so there exist $x,y in X, x ne y$ such that $(x,y) notin p$. It follows $d(x,y) = 0$ but $x ne y$ so $d$ isn't a metric.
$ne$ doesn't contain $p$ so there exists $x in X$ such that $(x,x) in p$. This implies $d(x,x) = 3$ so $d$ isn't a metric.
$endgroup$
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
add a comment |
$begingroup$
$d$ is a metric if and only if $p$ is equal to the relation $ne$, or $$(x,y) in p iff x ne y$$
Assume that $p$ is equal to $ne$ and let's check that $d$ is a metric.
- Clearly $d ge 0$. For $x in X$ we have $x = x$ so $(x,x) notin p$ which implies $d(x,x) = 0$.
Assume $d(x,y) = 0$ for some $x,y in X$. Then $(x,y) notin p$ so $x = y$. - We have $$d(x,y) = 3 iff (x,y) in p iff x ne y iff y ne x iff (y,x) in piff d(y,x) = 3$$
- Since $d$ attains only the values $0,3$ we only have to check that it isn't possible that $d(x,z) = 3$ but $d(x,y) = d(y,z) = 0$. This would be equivalent to $x ne z$ and $x = y = z$, which is a contradiction.
Conversely, if $p$ isn't equal to $ne$, then either
$p$ doesn't contain $ne$, so there exist $x,y in X, x ne y$ such that $(x,y) notin p$. It follows $d(x,y) = 0$ but $x ne y$ so $d$ isn't a metric.
$ne$ doesn't contain $p$ so there exists $x in X$ such that $(x,x) in p$. This implies $d(x,x) = 3$ so $d$ isn't a metric.
$endgroup$
$d$ is a metric if and only if $p$ is equal to the relation $ne$, or $$(x,y) in p iff x ne y$$
Assume that $p$ is equal to $ne$ and let's check that $d$ is a metric.
- Clearly $d ge 0$. For $x in X$ we have $x = x$ so $(x,x) notin p$ which implies $d(x,x) = 0$.
Assume $d(x,y) = 0$ for some $x,y in X$. Then $(x,y) notin p$ so $x = y$. - We have $$d(x,y) = 3 iff (x,y) in p iff x ne y iff y ne x iff (y,x) in piff d(y,x) = 3$$
- Since $d$ attains only the values $0,3$ we only have to check that it isn't possible that $d(x,z) = 3$ but $d(x,y) = d(y,z) = 0$. This would be equivalent to $x ne z$ and $x = y = z$, which is a contradiction.
Conversely, if $p$ isn't equal to $ne$, then either
$p$ doesn't contain $ne$, so there exist $x,y in X, x ne y$ such that $(x,y) notin p$. It follows $d(x,y) = 0$ but $x ne y$ so $d$ isn't a metric.
$ne$ doesn't contain $p$ so there exists $x in X$ such that $(x,x) in p$. This implies $d(x,x) = 3$ so $d$ isn't a metric.
answered Jan 11 at 16:58
mechanodroidmechanodroid
28k62447
28k62447
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
add a comment |
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
$begingroup$
Are you sure that this is the right solution? I mean it is looking good, but I got confused by that notation $neg xpy$, is it equal to the notation $x neg p y$?
$endgroup$
– nocturne
Jan 11 at 17:56
1
1
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
$begingroup$
@nocturne Yes, more precisely it is $xp^cy$ where $p^c = Xtimes X setminus p$. $$neg xpy iff neg big[(x,y) in pbig] iff (x,y) notin p iff (x,y) in p^c iff xp^cy$$
$endgroup$
– mechanodroid
Jan 11 at 19:58
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068853%2fsufficient-and-necessary-binary-relation-for-given-metric%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Why do you want me to do that?
$endgroup$
– José Carlos Santos
Jan 10 at 16:26
1
$begingroup$
Hint: show $x$ is related to $y$ if and only if $xne y$.
$endgroup$
– Gerry Myerson
Jan 11 at 15:19
$begingroup$
That might be a right solution. Thank you.
$endgroup$
– nocturne
Jan 11 at 16:25