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












2














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 '18 at 19:46










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
















2














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 '18 at 19:46










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














2












2








2







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 '18 at 19:52









Key Flex

7,53441232




7,53441232










asked Nov 20 '18 at 19:43









RiRi

143




143












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










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


















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










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
















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




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












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




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










2 Answers
2






active

oldest

votes


















1














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 '18 at 20:08



















1














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 '18 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 '18 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 '18 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 '18 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 '18 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',
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%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









1














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 '18 at 20:08
















1














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 '18 at 20:08














1












1








1






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 '18 at 19:48









hamam_Abdallah

37.9k21634




37.9k21634












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


















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
















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




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











1














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 '18 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 '18 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 '18 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 '18 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 '18 at 20:08
















1














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 '18 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 '18 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 '18 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 '18 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 '18 at 20:08














1












1








1






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 '18 at 20:04

























answered Nov 20 '18 at 19:51









gimusi

1




1












  • 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 '18 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 '18 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 '18 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 '18 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 '18 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 '18 at 20:00












  • @RiRi Ops sorry there was a typo for the second one!
    – gimusi
    Nov 20 '18 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 '18 at 20:07










  • Aaah i see now, thank you very much sir
    – RiRi
    Nov 20 '18 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 '18 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 '18 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 '18 at 20:00














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




@RiRi Ops sorry there was a typo for the second one!
– gimusi
Nov 20 '18 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 '18 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 '18 at 20:07












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




Aaah i see now, thank you very much sir
– RiRi
Nov 20 '18 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 '18 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 '18 at 20:08


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


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%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

MongoDB - Not Authorized To Execute Command

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

Npm cannot find a required file even through it is in the searched directory