How to solve the equality $|x−y|=|x|−|y|$ given that both $x$ and $y$ are of same sign and $|x|>|y|$











up vote
2
down vote

favorite












I have tried using the method of
$|x| = |x-y+y| < |x-y| + |y|$



so $|x| - |y| < |x - y|$



But the above statement not right coz the greater than sign comes in because of Triangle inequality










share|cite|improve this question
























  • The title presents an equality.
    – gimusi
    Nov 20 at 19:46










  • thank you sir. I fixed it
    – RiRi
    Nov 20 at 19:50















up vote
2
down vote

favorite












I have tried using the method of
$|x| = |x-y+y| < |x-y| + |y|$



so $|x| - |y| < |x - y|$



But the above statement not right coz the greater than sign comes in because of Triangle inequality










share|cite|improve this question
























  • The title presents an equality.
    – gimusi
    Nov 20 at 19:46










  • thank you sir. I fixed it
    – RiRi
    Nov 20 at 19:50













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have tried using the method of
$|x| = |x-y+y| < |x-y| + |y|$



so $|x| - |y| < |x - y|$



But the above statement not right coz the greater than sign comes in because of Triangle inequality










share|cite|improve this question















I have tried using the method of
$|x| = |x-y+y| < |x-y| + |y|$



so $|x| - |y| < |x - y|$



But the above statement not right coz the greater than sign comes in because of Triangle inequality







inequality






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 20 at 19:52









Key Flex

6,83431228




6,83431228










asked Nov 20 at 19:43









RiRi

143




143












  • The title presents an equality.
    – gimusi
    Nov 20 at 19:46










  • thank you sir. I fixed it
    – RiRi
    Nov 20 at 19:50


















  • The title presents an equality.
    – gimusi
    Nov 20 at 19:46










  • thank you sir. I fixed it
    – RiRi
    Nov 20 at 19:50
















The title presents an equality.
– gimusi
Nov 20 at 19:46




The title presents an equality.
– gimusi
Nov 20 at 19:46












thank you sir. I fixed it
– RiRi
Nov 20 at 19:50




thank you sir. I fixed it
– RiRi
Nov 20 at 19:50










2 Answers
2






active

oldest

votes

















up vote
1
down vote













We can assume that $xge 0$ and $yge 0$.



then



$$|x|>|y|implies x>y$$
$$ implies |x-y|=x-y=|x|-|y|$$



it is always satisfied.






share|cite|improve this answer





















  • Thank you very much!
    – RiRi
    Nov 20 at 20:08


















up vote
1
down vote













We have two cases





  • $x,y>0 quad |x|>|y| implies x>y$



    $$|x−y|=x-y=|x|-|y|$$




  • $x,y<0 quad |x|>|y| implies x<y$



    $$|x−y|=y-x=|x|-|y|$$








share|cite|improve this answer























  • Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
    – RiRi
    Nov 20 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 at 20:04










  • @RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
    – gimusi
    Nov 20 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 at 20:08










  • @RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
    – gimusi
    Nov 20 at 20:08











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',
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%2f3006795%2fhow-to-solve-the-equality-x%25e2%2588%2592y-x%25e2%2588%2592y-given-that-both-x-and-y-are-of-sam%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













We can assume that $xge 0$ and $yge 0$.



then



$$|x|>|y|implies x>y$$
$$ implies |x-y|=x-y=|x|-|y|$$



it is always satisfied.






share|cite|improve this answer





















  • Thank you very much!
    – RiRi
    Nov 20 at 20:08















up vote
1
down vote













We can assume that $xge 0$ and $yge 0$.



then



$$|x|>|y|implies x>y$$
$$ implies |x-y|=x-y=|x|-|y|$$



it is always satisfied.






share|cite|improve this answer





















  • Thank you very much!
    – RiRi
    Nov 20 at 20:08













up vote
1
down vote










up vote
1
down vote









We can assume that $xge 0$ and $yge 0$.



then



$$|x|>|y|implies x>y$$
$$ implies |x-y|=x-y=|x|-|y|$$



it is always satisfied.






share|cite|improve this answer












We can assume that $xge 0$ and $yge 0$.



then



$$|x|>|y|implies x>y$$
$$ implies |x-y|=x-y=|x|-|y|$$



it is always satisfied.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 20 at 19:48









hamam_Abdallah

36.7k21533




36.7k21533












  • Thank you very much!
    – RiRi
    Nov 20 at 20:08


















  • Thank you very much!
    – RiRi
    Nov 20 at 20:08
















Thank you very much!
– RiRi
Nov 20 at 20:08




Thank you very much!
– RiRi
Nov 20 at 20:08










up vote
1
down vote













We have two cases





  • $x,y>0 quad |x|>|y| implies x>y$



    $$|x−y|=x-y=|x|-|y|$$




  • $x,y<0 quad |x|>|y| implies x<y$



    $$|x−y|=y-x=|x|-|y|$$








share|cite|improve this answer























  • Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
    – RiRi
    Nov 20 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 at 20:04










  • @RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
    – gimusi
    Nov 20 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 at 20:08










  • @RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
    – gimusi
    Nov 20 at 20:08















up vote
1
down vote













We have two cases





  • $x,y>0 quad |x|>|y| implies x>y$



    $$|x−y|=x-y=|x|-|y|$$




  • $x,y<0 quad |x|>|y| implies x<y$



    $$|x−y|=y-x=|x|-|y|$$








share|cite|improve this answer























  • Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
    – RiRi
    Nov 20 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 at 20:04










  • @RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
    – gimusi
    Nov 20 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 at 20:08










  • @RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
    – gimusi
    Nov 20 at 20:08













up vote
1
down vote










up vote
1
down vote









We have two cases





  • $x,y>0 quad |x|>|y| implies x>y$



    $$|x−y|=x-y=|x|-|y|$$




  • $x,y<0 quad |x|>|y| implies x<y$



    $$|x−y|=y-x=|x|-|y|$$








share|cite|improve this answer














We have two cases





  • $x,y>0 quad |x|>|y| implies x>y$



    $$|x−y|=x-y=|x|-|y|$$




  • $x,y<0 quad |x|>|y| implies x<y$



    $$|x−y|=y-x=|x|-|y|$$









share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 20 at 20:04

























answered Nov 20 at 19:51









gimusi

87.1k74393




87.1k74393












  • Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
    – RiRi
    Nov 20 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 at 20:04










  • @RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
    – gimusi
    Nov 20 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 at 20:08










  • @RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
    – gimusi
    Nov 20 at 20:08


















  • Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
    – RiRi
    Nov 20 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 at 20:04










  • @RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
    – gimusi
    Nov 20 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 at 20:08










  • @RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
    – gimusi
    Nov 20 at 20:08
















Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
– RiRi
Nov 20 at 20:00






Hi sir thank you for answering. I just wanted to know will it not give a different outcome since |x| - |y| is not equal to |y| - |x| right?
– RiRi
Nov 20 at 20:00














@RiRi Ops sorry there was a typo for the second one!
– gimusi
Nov 20 at 20:04




@RiRi Ops sorry there was a typo for the second one!
– gimusi
Nov 20 at 20:04












@RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
– gimusi
Nov 20 at 20:07




@RiRi The fact is that $|x-y|=|y-x|>0$ and for $x$ and $y$ with the same sign assuming $|x|>|y|$ we have $|x-y|=|x|-|y|$.
– gimusi
Nov 20 at 20:07












Aaah i see now, thank you very much sir
– RiRi
Nov 20 at 20:08




Aaah i see now, thank you very much sir
– RiRi
Nov 20 at 20:08












@RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
– gimusi
Nov 20 at 20:08




@RiRi To convince yourself let try with $x=4$ and $y=3$ for the first case and $x=-4$ and $y=-3$ for the second one.
– gimusi
Nov 20 at 20:08


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006795%2fhow-to-solve-the-equality-x%25e2%2588%2592y-x%25e2%2588%2592y-given-that-both-x-and-y-are-of-sam%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

Wiesbaden

To store a contact into the json file from server.js file using a class in NodeJS

Marschland