If $x+h0$, why does $|x+h|-|x|=-h$?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












If $x+h<0$ and $h>0$



Why does



$|x+h|-|x|=-h$



I think I'm having difficulties with the absolute operator. How do I get rid of it to move on? And how does knowing that $x+h<0$ change how I can solve this?







share|cite|improve this question

















  • 3




    It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
    – Theo Bendit
    Jul 18 at 0:39






  • 1




    Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
    – Cedric Martens
    Jul 18 at 0:44














up vote
0
down vote

favorite












If $x+h<0$ and $h>0$



Why does



$|x+h|-|x|=-h$



I think I'm having difficulties with the absolute operator. How do I get rid of it to move on? And how does knowing that $x+h<0$ change how I can solve this?







share|cite|improve this question

















  • 3




    It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
    – Theo Bendit
    Jul 18 at 0:39






  • 1




    Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
    – Cedric Martens
    Jul 18 at 0:44












up vote
0
down vote

favorite









up vote
0
down vote

favorite











If $x+h<0$ and $h>0$



Why does



$|x+h|-|x|=-h$



I think I'm having difficulties with the absolute operator. How do I get rid of it to move on? And how does knowing that $x+h<0$ change how I can solve this?







share|cite|improve this question













If $x+h<0$ and $h>0$



Why does



$|x+h|-|x|=-h$



I think I'm having difficulties with the absolute operator. How do I get rid of it to move on? And how does knowing that $x+h<0$ change how I can solve this?









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 18 at 0:43
























asked Jul 18 at 0:36









Cedric Martens

286211




286211







  • 3




    It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
    – Theo Bendit
    Jul 18 at 0:39






  • 1




    Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
    – Cedric Martens
    Jul 18 at 0:44












  • 3




    It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
    – Theo Bendit
    Jul 18 at 0:39






  • 1




    Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
    – Cedric Martens
    Jul 18 at 0:44







3




3




It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
– Theo Bendit
Jul 18 at 0:39




It doesn't, necessarily. For example, $|1 - 2| - |1| neq -(-2)$.
– Theo Bendit
Jul 18 at 0:39




1




1




Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
– Cedric Martens
Jul 18 at 0:44




Hi Theo, I did a mistake that was pointed out by Arnaud. I edited my question. Thank you
– Cedric Martens
Jul 18 at 0:44










4 Answers
4






active

oldest

votes

















up vote
3
down vote



accepted










The absolute operator is defined as follows:



$$left|xright| = begincases
x & textif x geq 0 \
-x & textif x lt 0
endcases$$



In other words, if $x$ is positive (or zero), it stays the same. If $x$ is negative, then multiply it by $-1$ to make it positive.



When $h > 0$ and $x + h < 0$ (which happens when $|x| > h$, i.e. $x$ is "more negative" than $h$ is positive), you have $|x + h| = -(x + h) = -x - h$, and so $|x + h| - |x| = (-x - h) - (-x) = -x - h + x = -h$).






share|cite|improve this answer





















  • $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
    – Cedric Martens
    Jul 18 at 0:58










  • Glad to have helped!
    – ConMan
    Jul 18 at 3:20

















up vote
1
down vote













If $x+h<0$ then all you can say is that $|x+h|=-x-h$.



Therefore what you are saying is that if $x+h<0$ then $-x-|x|=0$, or in other words $|x|=-x$.



Equivalently, you are saying that




if $x+h<0$ then $x<0$.




Can you see now why it is wrong?



It becomes true, however, if you add the requirement that $h>0$.






share|cite|improve this answer























  • Yes I did omit that requirement of $h>0$, I will edit my question
    – Cedric Martens
    Jul 18 at 0:43










  • @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
    – Arnaud Mortier
    Jul 18 at 0:45

















up vote
0
down vote













This is a follow-on previous question. Please read about absolute value. When $x+h lt 0, |x+h|=-(x+h)$ directly from the definition. With the condition $h gt 0$ the fact that $x+h lt 0$ guarantees that $x lt 0$ and $|x|gt h$. In that case $$|x+h|-|x|=-(x+h)-(-x)=-x-h+x=-h$$






share|cite|improve this answer




























    up vote
    0
    down vote













    We can get rid of some absolute since we know if it's positive/negative.



    We have $-x-h-|x|=-h$ is what you're trying to prove which means



    $x=-|x|.$ This simply means $x$ is not positive.



    We have $|x-h|-|x|=-hiffx=-.$



    This can be proved. Since $x+h<0$, $h>0,$ we have to have a positive plus a negative is less than $0,$ since a positive plus a nonnegative is still positive.



    Therefore, we have proven that $x$ is negative, so $x=-|x|$ which proves $|x-h|-|x|=-h$ $boxedtextQ.E.D.$






    share|cite|improve this answer





















      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: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      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%2f2855058%2fif-xh0-and-h0-why-does-xh-x-h%23new-answer', 'question_page');

      );

      Post as a guest






























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote



      accepted










      The absolute operator is defined as follows:



      $$left|xright| = begincases
      x & textif x geq 0 \
      -x & textif x lt 0
      endcases$$



      In other words, if $x$ is positive (or zero), it stays the same. If $x$ is negative, then multiply it by $-1$ to make it positive.



      When $h > 0$ and $x + h < 0$ (which happens when $|x| > h$, i.e. $x$ is "more negative" than $h$ is positive), you have $|x + h| = -(x + h) = -x - h$, and so $|x + h| - |x| = (-x - h) - (-x) = -x - h + x = -h$).






      share|cite|improve this answer





















      • $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
        – Cedric Martens
        Jul 18 at 0:58










      • Glad to have helped!
        – ConMan
        Jul 18 at 3:20














      up vote
      3
      down vote



      accepted










      The absolute operator is defined as follows:



      $$left|xright| = begincases
      x & textif x geq 0 \
      -x & textif x lt 0
      endcases$$



      In other words, if $x$ is positive (or zero), it stays the same. If $x$ is negative, then multiply it by $-1$ to make it positive.



      When $h > 0$ and $x + h < 0$ (which happens when $|x| > h$, i.e. $x$ is "more negative" than $h$ is positive), you have $|x + h| = -(x + h) = -x - h$, and so $|x + h| - |x| = (-x - h) - (-x) = -x - h + x = -h$).






      share|cite|improve this answer





















      • $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
        – Cedric Martens
        Jul 18 at 0:58










      • Glad to have helped!
        – ConMan
        Jul 18 at 3:20












      up vote
      3
      down vote



      accepted







      up vote
      3
      down vote



      accepted






      The absolute operator is defined as follows:



      $$left|xright| = begincases
      x & textif x geq 0 \
      -x & textif x lt 0
      endcases$$



      In other words, if $x$ is positive (or zero), it stays the same. If $x$ is negative, then multiply it by $-1$ to make it positive.



      When $h > 0$ and $x + h < 0$ (which happens when $|x| > h$, i.e. $x$ is "more negative" than $h$ is positive), you have $|x + h| = -(x + h) = -x - h$, and so $|x + h| - |x| = (-x - h) - (-x) = -x - h + x = -h$).






      share|cite|improve this answer













      The absolute operator is defined as follows:



      $$left|xright| = begincases
      x & textif x geq 0 \
      -x & textif x lt 0
      endcases$$



      In other words, if $x$ is positive (or zero), it stays the same. If $x$ is negative, then multiply it by $-1$ to make it positive.



      When $h > 0$ and $x + h < 0$ (which happens when $|x| > h$, i.e. $x$ is "more negative" than $h$ is positive), you have $|x + h| = -(x + h) = -x - h$, and so $|x + h| - |x| = (-x - h) - (-x) = -x - h + x = -h$).







      share|cite|improve this answer













      share|cite|improve this answer



      share|cite|improve this answer











      answered Jul 18 at 0:45









      ConMan

      6,9451324




      6,9451324











      • $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
        – Cedric Martens
        Jul 18 at 0:58










      • Glad to have helped!
        – ConMan
        Jul 18 at 3:20
















      • $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
        – Cedric Martens
        Jul 18 at 0:58










      • Glad to have helped!
        – ConMan
        Jul 18 at 3:20















      $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
      – Cedric Martens
      Jul 18 at 0:58




      $$left|xright| = begincases x & textif x geq 0 \ -x & textif x lt 0 endcases$$ Although I knew what the absolute operator did, this really helped me understand why $|x+h| = -(x+h)$
      – Cedric Martens
      Jul 18 at 0:58












      Glad to have helped!
      – ConMan
      Jul 18 at 3:20




      Glad to have helped!
      – ConMan
      Jul 18 at 3:20










      up vote
      1
      down vote













      If $x+h<0$ then all you can say is that $|x+h|=-x-h$.



      Therefore what you are saying is that if $x+h<0$ then $-x-|x|=0$, or in other words $|x|=-x$.



      Equivalently, you are saying that




      if $x+h<0$ then $x<0$.




      Can you see now why it is wrong?



      It becomes true, however, if you add the requirement that $h>0$.






      share|cite|improve this answer























      • Yes I did omit that requirement of $h>0$, I will edit my question
        – Cedric Martens
        Jul 18 at 0:43










      • @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
        – Arnaud Mortier
        Jul 18 at 0:45














      up vote
      1
      down vote













      If $x+h<0$ then all you can say is that $|x+h|=-x-h$.



      Therefore what you are saying is that if $x+h<0$ then $-x-|x|=0$, or in other words $|x|=-x$.



      Equivalently, you are saying that




      if $x+h<0$ then $x<0$.




      Can you see now why it is wrong?



      It becomes true, however, if you add the requirement that $h>0$.






      share|cite|improve this answer























      • Yes I did omit that requirement of $h>0$, I will edit my question
        – Cedric Martens
        Jul 18 at 0:43










      • @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
        – Arnaud Mortier
        Jul 18 at 0:45












      up vote
      1
      down vote










      up vote
      1
      down vote









      If $x+h<0$ then all you can say is that $|x+h|=-x-h$.



      Therefore what you are saying is that if $x+h<0$ then $-x-|x|=0$, or in other words $|x|=-x$.



      Equivalently, you are saying that




      if $x+h<0$ then $x<0$.




      Can you see now why it is wrong?



      It becomes true, however, if you add the requirement that $h>0$.






      share|cite|improve this answer















      If $x+h<0$ then all you can say is that $|x+h|=-x-h$.



      Therefore what you are saying is that if $x+h<0$ then $-x-|x|=0$, or in other words $|x|=-x$.



      Equivalently, you are saying that




      if $x+h<0$ then $x<0$.




      Can you see now why it is wrong?



      It becomes true, however, if you add the requirement that $h>0$.







      share|cite|improve this answer















      share|cite|improve this answer



      share|cite|improve this answer








      edited Jul 18 at 0:43


























      answered Jul 18 at 0:40









      Arnaud Mortier

      19.1k22159




      19.1k22159











      • Yes I did omit that requirement of $h>0$, I will edit my question
        – Cedric Martens
        Jul 18 at 0:43










      • @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
        – Arnaud Mortier
        Jul 18 at 0:45
















      • Yes I did omit that requirement of $h>0$, I will edit my question
        – Cedric Martens
        Jul 18 at 0:43










      • @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
        – Arnaud Mortier
        Jul 18 at 0:45















      Yes I did omit that requirement of $h>0$, I will edit my question
      – Cedric Martens
      Jul 18 at 0:43




      Yes I did omit that requirement of $h>0$, I will edit my question
      – Cedric Martens
      Jul 18 at 0:43












      @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
      – Arnaud Mortier
      Jul 18 at 0:45




      @CedricMartens If $h>0$, can you prove that $x+h<0implies x<0$?
      – Arnaud Mortier
      Jul 18 at 0:45










      up vote
      0
      down vote













      This is a follow-on previous question. Please read about absolute value. When $x+h lt 0, |x+h|=-(x+h)$ directly from the definition. With the condition $h gt 0$ the fact that $x+h lt 0$ guarantees that $x lt 0$ and $|x|gt h$. In that case $$|x+h|-|x|=-(x+h)-(-x)=-x-h+x=-h$$






      share|cite|improve this answer

























        up vote
        0
        down vote













        This is a follow-on previous question. Please read about absolute value. When $x+h lt 0, |x+h|=-(x+h)$ directly from the definition. With the condition $h gt 0$ the fact that $x+h lt 0$ guarantees that $x lt 0$ and $|x|gt h$. In that case $$|x+h|-|x|=-(x+h)-(-x)=-x-h+x=-h$$






        share|cite|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          This is a follow-on previous question. Please read about absolute value. When $x+h lt 0, |x+h|=-(x+h)$ directly from the definition. With the condition $h gt 0$ the fact that $x+h lt 0$ guarantees that $x lt 0$ and $|x|gt h$. In that case $$|x+h|-|x|=-(x+h)-(-x)=-x-h+x=-h$$






          share|cite|improve this answer













          This is a follow-on previous question. Please read about absolute value. When $x+h lt 0, |x+h|=-(x+h)$ directly from the definition. With the condition $h gt 0$ the fact that $x+h lt 0$ guarantees that $x lt 0$ and $|x|gt h$. In that case $$|x+h|-|x|=-(x+h)-(-x)=-x-h+x=-h$$







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 18 at 0:47









          Ross Millikan

          276k21187352




          276k21187352




















              up vote
              0
              down vote













              We can get rid of some absolute since we know if it's positive/negative.



              We have $-x-h-|x|=-h$ is what you're trying to prove which means



              $x=-|x|.$ This simply means $x$ is not positive.



              We have $|x-h|-|x|=-hiffx=-.$



              This can be proved. Since $x+h<0$, $h>0,$ we have to have a positive plus a negative is less than $0,$ since a positive plus a nonnegative is still positive.



              Therefore, we have proven that $x$ is negative, so $x=-|x|$ which proves $|x-h|-|x|=-h$ $boxedtextQ.E.D.$






              share|cite|improve this answer

























                up vote
                0
                down vote













                We can get rid of some absolute since we know if it's positive/negative.



                We have $-x-h-|x|=-h$ is what you're trying to prove which means



                $x=-|x|.$ This simply means $x$ is not positive.



                We have $|x-h|-|x|=-hiffx=-.$



                This can be proved. Since $x+h<0$, $h>0,$ we have to have a positive plus a negative is less than $0,$ since a positive plus a nonnegative is still positive.



                Therefore, we have proven that $x$ is negative, so $x=-|x|$ which proves $|x-h|-|x|=-h$ $boxedtextQ.E.D.$






                share|cite|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  We can get rid of some absolute since we know if it's positive/negative.



                  We have $-x-h-|x|=-h$ is what you're trying to prove which means



                  $x=-|x|.$ This simply means $x$ is not positive.



                  We have $|x-h|-|x|=-hiffx=-.$



                  This can be proved. Since $x+h<0$, $h>0,$ we have to have a positive plus a negative is less than $0,$ since a positive plus a nonnegative is still positive.



                  Therefore, we have proven that $x$ is negative, so $x=-|x|$ which proves $|x-h|-|x|=-h$ $boxedtextQ.E.D.$






                  share|cite|improve this answer













                  We can get rid of some absolute since we know if it's positive/negative.



                  We have $-x-h-|x|=-h$ is what you're trying to prove which means



                  $x=-|x|.$ This simply means $x$ is not positive.



                  We have $|x-h|-|x|=-hiffx=-.$



                  This can be proved. Since $x+h<0$, $h>0,$ we have to have a positive plus a negative is less than $0,$ since a positive plus a nonnegative is still positive.



                  Therefore, we have proven that $x$ is negative, so $x=-|x|$ which proves $|x-h|-|x|=-h$ $boxedtextQ.E.D.$







                  share|cite|improve this answer













                  share|cite|improve this answer



                  share|cite|improve this answer











                  answered Jul 18 at 0:52









                  Jason Kim

                  789




                  789






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2855058%2fif-xh0-and-h0-why-does-xh-x-h%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What is the equation of a 3D cone with generalised tilt?

                      Relationship between determinant of matrix and determinant of adjoint?

                      Color the edges and diagonals of a regular polygon