Let X = (0,1) ∪ {2} and let d7: X x X->[0,∞+) be a function defined












-1












$begingroup$


In topology,Let $X = (0,1) ∪ {2}$ and let $d_7: X times Xto [0,∞)$ be a function defined formulas:
$$
d_7(x,y)=cases{|x-y| & if $x ∈ (0,1)$ and $y ∈ (0,1)$\7 & if $x=2$ and $y ∈(0,1)$\ 7& if $x ∈(0,1)$ and $y=2$\0& if $x=2$ and $y=2$}
$$

Please check if $d_7$ is a distance function on $X$.



Does anybody explain and solve this question ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
    $endgroup$
    – Adam Hrankowski
    Dec 23 '18 at 3:10
















-1












$begingroup$


In topology,Let $X = (0,1) ∪ {2}$ and let $d_7: X times Xto [0,∞)$ be a function defined formulas:
$$
d_7(x,y)=cases{|x-y| & if $x ∈ (0,1)$ and $y ∈ (0,1)$\7 & if $x=2$ and $y ∈(0,1)$\ 7& if $x ∈(0,1)$ and $y=2$\0& if $x=2$ and $y=2$}
$$

Please check if $d_7$ is a distance function on $X$.



Does anybody explain and solve this question ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
    $endgroup$
    – Adam Hrankowski
    Dec 23 '18 at 3:10














-1












-1








-1





$begingroup$


In topology,Let $X = (0,1) ∪ {2}$ and let $d_7: X times Xto [0,∞)$ be a function defined formulas:
$$
d_7(x,y)=cases{|x-y| & if $x ∈ (0,1)$ and $y ∈ (0,1)$\7 & if $x=2$ and $y ∈(0,1)$\ 7& if $x ∈(0,1)$ and $y=2$\0& if $x=2$ and $y=2$}
$$

Please check if $d_7$ is a distance function on $X$.



Does anybody explain and solve this question ?










share|cite|improve this question











$endgroup$




In topology,Let $X = (0,1) ∪ {2}$ and let $d_7: X times Xto [0,∞)$ be a function defined formulas:
$$
d_7(x,y)=cases{|x-y| & if $x ∈ (0,1)$ and $y ∈ (0,1)$\7 & if $x=2$ and $y ∈(0,1)$\ 7& if $x ∈(0,1)$ and $y=2$\0& if $x=2$ and $y=2$}
$$

Please check if $d_7$ is a distance function on $X$.



Does anybody explain and solve this question ?







metric-spaces






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 22 '18 at 3:29









Alex Ravsky

40.8k32282




40.8k32282










asked Dec 18 '18 at 19:21









Arda Batuhan DemirArda Batuhan Demir

11




11












  • $begingroup$
    Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
    $endgroup$
    – Adam Hrankowski
    Dec 23 '18 at 3:10


















  • $begingroup$
    Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
    $endgroup$
    – Adam Hrankowski
    Dec 23 '18 at 3:10
















$begingroup$
Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
$endgroup$
– Adam Hrankowski
Dec 23 '18 at 3:10




$begingroup$
Hi, and welcome to MSE! Please provide some context so that users know how best to help you with this. If you show some of your own thoughts, even (especially) ones resulting in dead ends, this will help users steer you in the right direction, and properly address your question at your level of understanding the subject. Cheers!
$endgroup$
– Adam Hrankowski
Dec 23 '18 at 3:10










1 Answer
1






active

oldest

votes


















0












$begingroup$

Yes, $d_7$ is a distance function, because for each $x,y,zin X$ we have $d_7(x,y)=0$ iff $x=y$, $d_7(x,y)=d_7(y,x)$, and $d_7(x,z)le d_7(x,y)+d_7 (y,z)$. The first two properties are easy to check while looking at the definition on $d_7$. The last inequality clearly holds when $x,y,zin (0,1)$, because then it is the triangle inequality for the standard distance on $Bbb R$. If $d_7(x,y)=7$ or $d_7(y,z)=7$ then the inequality holds, because anyway $d_7(x,z)le 7$. The remaining case is $x=y=z=2$, in which the inequality holds trivially.





We have to show that $d_7(x,y)+d_7 (y,z)ge d_7(x,z)$ for each $x,y,zin X$. The following cases are possible.



1) $x,y,zin (0,1)$. Then $d_7(x,z)=|x-z|$, $d_7(x,y)=|x-y|$, and $d_7(y,z)=|y-z|$. Then $d_7(x,z)le d_7(x,y)+d_7 (y,z)$ because $|a|+|b|ge |a+b| $ for all real $a$ and $b$, so $$|x-y|+|y-z|ge |(x-y)+(y-z)|=|x-z|.$$



2) $xin (0,1)$, $y=2$ or $yin (0,1)$, $x=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(x,y)=7ge d_7(x,z)$.



3) $zin (0,1)$, $y=2$ or $yin (0,1)$, $z=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(y,z)=7ge d_7(x,z)$.



4) $x=y=z=2$. Then $d_7(x,y)+d_7(y,z)=0+0=0=d_7(x,z)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 16:46










  • $begingroup$
    @ArdaBatuhanDemir Done.
    $endgroup$
    – Alex Ravsky
    Jan 10 at 21:48






  • 1




    $begingroup$
    Many thanks for your feedback!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 22:10










  • $begingroup$
    Can you look up this question ? math.stackexchange.com/questions/3067642/…
    $endgroup$
    – Arda Batuhan Demir
    Jan 11 at 15:47











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045580%2flet-x-0-1-%25e2%2588%25aa-2-and-let-d7-x-x-x-0-%25e2%2588%259e-be-a-function-defined%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









0












$begingroup$

Yes, $d_7$ is a distance function, because for each $x,y,zin X$ we have $d_7(x,y)=0$ iff $x=y$, $d_7(x,y)=d_7(y,x)$, and $d_7(x,z)le d_7(x,y)+d_7 (y,z)$. The first two properties are easy to check while looking at the definition on $d_7$. The last inequality clearly holds when $x,y,zin (0,1)$, because then it is the triangle inequality for the standard distance on $Bbb R$. If $d_7(x,y)=7$ or $d_7(y,z)=7$ then the inequality holds, because anyway $d_7(x,z)le 7$. The remaining case is $x=y=z=2$, in which the inequality holds trivially.





We have to show that $d_7(x,y)+d_7 (y,z)ge d_7(x,z)$ for each $x,y,zin X$. The following cases are possible.



1) $x,y,zin (0,1)$. Then $d_7(x,z)=|x-z|$, $d_7(x,y)=|x-y|$, and $d_7(y,z)=|y-z|$. Then $d_7(x,z)le d_7(x,y)+d_7 (y,z)$ because $|a|+|b|ge |a+b| $ for all real $a$ and $b$, so $$|x-y|+|y-z|ge |(x-y)+(y-z)|=|x-z|.$$



2) $xin (0,1)$, $y=2$ or $yin (0,1)$, $x=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(x,y)=7ge d_7(x,z)$.



3) $zin (0,1)$, $y=2$ or $yin (0,1)$, $z=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(y,z)=7ge d_7(x,z)$.



4) $x=y=z=2$. Then $d_7(x,y)+d_7(y,z)=0+0=0=d_7(x,z)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 16:46










  • $begingroup$
    @ArdaBatuhanDemir Done.
    $endgroup$
    – Alex Ravsky
    Jan 10 at 21:48






  • 1




    $begingroup$
    Many thanks for your feedback!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 22:10










  • $begingroup$
    Can you look up this question ? math.stackexchange.com/questions/3067642/…
    $endgroup$
    – Arda Batuhan Demir
    Jan 11 at 15:47
















0












$begingroup$

Yes, $d_7$ is a distance function, because for each $x,y,zin X$ we have $d_7(x,y)=0$ iff $x=y$, $d_7(x,y)=d_7(y,x)$, and $d_7(x,z)le d_7(x,y)+d_7 (y,z)$. The first two properties are easy to check while looking at the definition on $d_7$. The last inequality clearly holds when $x,y,zin (0,1)$, because then it is the triangle inequality for the standard distance on $Bbb R$. If $d_7(x,y)=7$ or $d_7(y,z)=7$ then the inequality holds, because anyway $d_7(x,z)le 7$. The remaining case is $x=y=z=2$, in which the inequality holds trivially.





We have to show that $d_7(x,y)+d_7 (y,z)ge d_7(x,z)$ for each $x,y,zin X$. The following cases are possible.



1) $x,y,zin (0,1)$. Then $d_7(x,z)=|x-z|$, $d_7(x,y)=|x-y|$, and $d_7(y,z)=|y-z|$. Then $d_7(x,z)le d_7(x,y)+d_7 (y,z)$ because $|a|+|b|ge |a+b| $ for all real $a$ and $b$, so $$|x-y|+|y-z|ge |(x-y)+(y-z)|=|x-z|.$$



2) $xin (0,1)$, $y=2$ or $yin (0,1)$, $x=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(x,y)=7ge d_7(x,z)$.



3) $zin (0,1)$, $y=2$ or $yin (0,1)$, $z=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(y,z)=7ge d_7(x,z)$.



4) $x=y=z=2$. Then $d_7(x,y)+d_7(y,z)=0+0=0=d_7(x,z)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 16:46










  • $begingroup$
    @ArdaBatuhanDemir Done.
    $endgroup$
    – Alex Ravsky
    Jan 10 at 21:48






  • 1




    $begingroup$
    Many thanks for your feedback!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 22:10










  • $begingroup$
    Can you look up this question ? math.stackexchange.com/questions/3067642/…
    $endgroup$
    – Arda Batuhan Demir
    Jan 11 at 15:47














0












0








0





$begingroup$

Yes, $d_7$ is a distance function, because for each $x,y,zin X$ we have $d_7(x,y)=0$ iff $x=y$, $d_7(x,y)=d_7(y,x)$, and $d_7(x,z)le d_7(x,y)+d_7 (y,z)$. The first two properties are easy to check while looking at the definition on $d_7$. The last inequality clearly holds when $x,y,zin (0,1)$, because then it is the triangle inequality for the standard distance on $Bbb R$. If $d_7(x,y)=7$ or $d_7(y,z)=7$ then the inequality holds, because anyway $d_7(x,z)le 7$. The remaining case is $x=y=z=2$, in which the inequality holds trivially.





We have to show that $d_7(x,y)+d_7 (y,z)ge d_7(x,z)$ for each $x,y,zin X$. The following cases are possible.



1) $x,y,zin (0,1)$. Then $d_7(x,z)=|x-z|$, $d_7(x,y)=|x-y|$, and $d_7(y,z)=|y-z|$. Then $d_7(x,z)le d_7(x,y)+d_7 (y,z)$ because $|a|+|b|ge |a+b| $ for all real $a$ and $b$, so $$|x-y|+|y-z|ge |(x-y)+(y-z)|=|x-z|.$$



2) $xin (0,1)$, $y=2$ or $yin (0,1)$, $x=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(x,y)=7ge d_7(x,z)$.



3) $zin (0,1)$, $y=2$ or $yin (0,1)$, $z=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(y,z)=7ge d_7(x,z)$.



4) $x=y=z=2$. Then $d_7(x,y)+d_7(y,z)=0+0=0=d_7(x,z)$.






share|cite|improve this answer











$endgroup$



Yes, $d_7$ is a distance function, because for each $x,y,zin X$ we have $d_7(x,y)=0$ iff $x=y$, $d_7(x,y)=d_7(y,x)$, and $d_7(x,z)le d_7(x,y)+d_7 (y,z)$. The first two properties are easy to check while looking at the definition on $d_7$. The last inequality clearly holds when $x,y,zin (0,1)$, because then it is the triangle inequality for the standard distance on $Bbb R$. If $d_7(x,y)=7$ or $d_7(y,z)=7$ then the inequality holds, because anyway $d_7(x,z)le 7$. The remaining case is $x=y=z=2$, in which the inequality holds trivially.





We have to show that $d_7(x,y)+d_7 (y,z)ge d_7(x,z)$ for each $x,y,zin X$. The following cases are possible.



1) $x,y,zin (0,1)$. Then $d_7(x,z)=|x-z|$, $d_7(x,y)=|x-y|$, and $d_7(y,z)=|y-z|$. Then $d_7(x,z)le d_7(x,y)+d_7 (y,z)$ because $|a|+|b|ge |a+b| $ for all real $a$ and $b$, so $$|x-y|+|y-z|ge |(x-y)+(y-z)|=|x-z|.$$



2) $xin (0,1)$, $y=2$ or $yin (0,1)$, $x=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(x,y)=7ge d_7(x,z)$.



3) $zin (0,1)$, $y=2$ or $yin (0,1)$, $z=2$. Then $d_7(x,y)+d_7(y,z)ge d_7(y,z)=7ge d_7(x,z)$.



4) $x=y=z=2$. Then $d_7(x,y)+d_7(y,z)=0+0=0=d_7(x,z)$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 10 at 21:48

























answered Dec 22 '18 at 3:29









Alex RavskyAlex Ravsky

40.8k32282




40.8k32282












  • $begingroup$
    Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 16:46










  • $begingroup$
    @ArdaBatuhanDemir Done.
    $endgroup$
    – Alex Ravsky
    Jan 10 at 21:48






  • 1




    $begingroup$
    Many thanks for your feedback!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 22:10










  • $begingroup$
    Can you look up this question ? math.stackexchange.com/questions/3067642/…
    $endgroup$
    – Arda Batuhan Demir
    Jan 11 at 15:47


















  • $begingroup$
    Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 16:46










  • $begingroup$
    @ArdaBatuhanDemir Done.
    $endgroup$
    – Alex Ravsky
    Jan 10 at 21:48






  • 1




    $begingroup$
    Many thanks for your feedback!
    $endgroup$
    – Arda Batuhan Demir
    Jan 10 at 22:10










  • $begingroup$
    Can you look up this question ? math.stackexchange.com/questions/3067642/…
    $endgroup$
    – Arda Batuhan Demir
    Jan 11 at 15:47
















$begingroup$
Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
$endgroup$
– Arda Batuhan Demir
Jan 10 at 16:46




$begingroup$
Could you giving more then clearly details by formally ? and writing all possible cases....This is so significant to me like as e.g 1) x,y,z ∈ (0,1) 2) d7(y,z)=7 for clearly and formally solutions ? Thank you so much!
$endgroup$
– Arda Batuhan Demir
Jan 10 at 16:46












$begingroup$
@ArdaBatuhanDemir Done.
$endgroup$
– Alex Ravsky
Jan 10 at 21:48




$begingroup$
@ArdaBatuhanDemir Done.
$endgroup$
– Alex Ravsky
Jan 10 at 21:48




1




1




$begingroup$
Many thanks for your feedback!
$endgroup$
– Arda Batuhan Demir
Jan 10 at 22:10




$begingroup$
Many thanks for your feedback!
$endgroup$
– Arda Batuhan Demir
Jan 10 at 22:10












$begingroup$
Can you look up this question ? math.stackexchange.com/questions/3067642/…
$endgroup$
– Arda Batuhan Demir
Jan 11 at 15:47




$begingroup$
Can you look up this question ? math.stackexchange.com/questions/3067642/…
$endgroup$
– Arda Batuhan Demir
Jan 11 at 15:47


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045580%2flet-x-0-1-%25e2%2588%25aa-2-and-let-d7-x-x-x-0-%25e2%2588%259e-be-a-function-defined%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith