Method to solve $|x| + |2-x| leq x+ 1$












1












$begingroup$


Even if it seems really easy, I'm struggling to solve $$|x| +|2-x |leq x+1.$$



The book says that $ x in [1,3] $.



I first rewrote as $x+(2-x)leq x+1$
with $xgeq 0$ and $-x-(2-x)leq x+1$ with $x<0$. Then I solved.



For the first, I got $1leq x$ and for the 2nd, $-3leq x$



$$xin ]-3;0[cup[1;+infty[ $$



It is maybe a very stupid question, but I can't see what I did wrong?
Thanks for your help.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
    $endgroup$
    – George Law
    May 17 '17 at 17:47












  • $begingroup$
    look at where the graph is below the x-axis
    $endgroup$
    – user66081
    May 17 '17 at 17:50








  • 1




    $begingroup$
    I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:14








  • 1




    $begingroup$
    One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:18
















1












$begingroup$


Even if it seems really easy, I'm struggling to solve $$|x| +|2-x |leq x+1.$$



The book says that $ x in [1,3] $.



I first rewrote as $x+(2-x)leq x+1$
with $xgeq 0$ and $-x-(2-x)leq x+1$ with $x<0$. Then I solved.



For the first, I got $1leq x$ and for the 2nd, $-3leq x$



$$xin ]-3;0[cup[1;+infty[ $$



It is maybe a very stupid question, but I can't see what I did wrong?
Thanks for your help.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
    $endgroup$
    – George Law
    May 17 '17 at 17:47












  • $begingroup$
    look at where the graph is below the x-axis
    $endgroup$
    – user66081
    May 17 '17 at 17:50








  • 1




    $begingroup$
    I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:14








  • 1




    $begingroup$
    One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:18














1












1








1





$begingroup$


Even if it seems really easy, I'm struggling to solve $$|x| +|2-x |leq x+1.$$



The book says that $ x in [1,3] $.



I first rewrote as $x+(2-x)leq x+1$
with $xgeq 0$ and $-x-(2-x)leq x+1$ with $x<0$. Then I solved.



For the first, I got $1leq x$ and for the 2nd, $-3leq x$



$$xin ]-3;0[cup[1;+infty[ $$



It is maybe a very stupid question, but I can't see what I did wrong?
Thanks for your help.










share|cite|improve this question











$endgroup$




Even if it seems really easy, I'm struggling to solve $$|x| +|2-x |leq x+1.$$



The book says that $ x in [1,3] $.



I first rewrote as $x+(2-x)leq x+1$
with $xgeq 0$ and $-x-(2-x)leq x+1$ with $x<0$. Then I solved.



For the first, I got $1leq x$ and for the 2nd, $-3leq x$



$$xin ]-3;0[cup[1;+infty[ $$



It is maybe a very stupid question, but I can't see what I did wrong?
Thanks for your help.







algebra-precalculus inequality absolute-value






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 20 at 6:09









Martin Sleziak

44.8k10119272




44.8k10119272










asked May 17 '17 at 17:42









PoujhPoujh

616516




616516








  • 2




    $begingroup$
    Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
    $endgroup$
    – George Law
    May 17 '17 at 17:47












  • $begingroup$
    look at where the graph is below the x-axis
    $endgroup$
    – user66081
    May 17 '17 at 17:50








  • 1




    $begingroup$
    I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:14








  • 1




    $begingroup$
    One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:18














  • 2




    $begingroup$
    Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
    $endgroup$
    – George Law
    May 17 '17 at 17:47












  • $begingroup$
    look at where the graph is below the x-axis
    $endgroup$
    – user66081
    May 17 '17 at 17:50








  • 1




    $begingroup$
    I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:14








  • 1




    $begingroup$
    One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
    $endgroup$
    – Martin Sleziak
    Jan 20 at 6:18








2




2




$begingroup$
Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
$endgroup$
– George Law
May 17 '17 at 17:47






$begingroup$
Consider three cases: (i) $xle0$, (ii) $0<xle2$, (iii) $x>2$.
$endgroup$
– George Law
May 17 '17 at 17:47














$begingroup$
look at where the graph is below the x-axis
$endgroup$
– user66081
May 17 '17 at 17:50






$begingroup$
look at where the graph is below the x-axis
$endgroup$
– user66081
May 17 '17 at 17:50






1




1




$begingroup$
I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
$endgroup$
– Martin Sleziak
Jan 20 at 6:14






$begingroup$
I will just mention that geometrical meaning of $|x|+|x-2|$ is the sum of distances from $0$ and $2$. So if you move along real line, it should be clear that it is equal to two between $0$ and $2$, So between these two points it is equal to two - it is the length of the line segment from $0$ to $2$. And the graph of $|x|+|x-2|$ is increasing to the right of this interval, decreasing to the left of this interval. You can find a few past question with graphs of similar functions.
$endgroup$
– Martin Sleziak
Jan 20 at 6:14






1




1




$begingroup$
One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
$endgroup$
– Martin Sleziak
Jan 20 at 6:18




$begingroup$
One of the answers here has a picture with a similar argument as I mentioned above: How to solve equations involving modulus function of the type $|x+1| - |1-x|=2 $ and $ |x-1|=|x|+a$? Some other posts which have graphs: How to solve this absolute value inequality? $ |x| + |x - 2| gt 5 $](https://math.stackexchange.com/q/1472709), [Solve the following $|x-1| + |x+1|= x-3$ and How could we solve $x$, in $|x+1|-|1-x|=2$?
$endgroup$
– Martin Sleziak
Jan 20 at 6:18










5 Answers
5






active

oldest

votes


















1












$begingroup$

There are 3 cases:



a) $xleq 0$ (quite useless, because it generates a bright lower bound):



$$|x| +|2-x |leq x+1implies -x+ 2-xleq x+1$$
$$-3xleq -1$$
$$3xgeq1$$
$$xgeqfrac{1}{3}$$



b) $0<xleq 2$:



$$|x| +|2-x |leq x+1implies x+2-xleq x+1$$
$$xgeq 1$$



c) $x > 2$:



$$|x| +|2-x |leq x+1implies x+x-2leq x+1$$
$$2xleq x+3implies xleq 3$$



Now, you know the lower bound of $x$, from case b, $x_{min}=1$, and you know the upper bound of $x$ from case c, $x_{max}=3$. Therefore, $1leq xleq 3implies xin [1;3]$






share|cite|improve this answer











$endgroup$





















    3












    $begingroup$

    Note that $|x| = x$ if $x ge 0$ and $|x| = -x$ if $x < 0$.



    Similarly, $|2-x| = 2-x$ if $2 -x ge 0$ (i.e., if $x le 2$), and $|2-x| = x-2$ if $2-x < 0$ (i.e., if $x > 2$).



    One way is to consider separately the three cases:





    • $x > 2$ (and so $x ge 0$ also), so $|x| = x$ and $|2-x| = x-2$.



      The inequality becomes $x + x - 2 le x + 1$.




    • $0 le x le 2$, so $|x| = x$ and $|2-x| = 2-x$.



      The inequality becomes $x + 2-x le x + 1$.




    • $x < 0$ (and so $x le 2$ also), so $|x| = -x$ and $|2-x| = 2-x$.



      The inequality becomes $-x+2-x le x + 1$.




    Technically there is a fourth combination of $x < 0$ and $x ge 2$, but clearly this case can't exist since no number can be $ < 0$ and $ge 2$ at the same time.



    Solve the inequalities in each case, and make sure the answer you get makes sense within the restriction of the corresponding case.



    For example, for the second case, solving the inequality will give us $x ge 1$. But remember that this is the case where $0 le x le 2$. Thus from the second case we only get $1 le x le 2$.



    Solve the first and third cases, put it all together, and you'll get $x in [1,3]$. Let me know if you require further assistance.






    share|cite|improve this answer









    $endgroup$





















      1












      $begingroup$

      we can write $$|x|+|x-2|le x+1$$
      the first case: $$xgeq 2$$ then we have to solve $$x+x-2le x+1$$
      second: $$0le x<2$$ then we have $$x-x+2le x+1$$
      last case:
      $$x<0$$ then we get $$-x-x+2le x+1$$
      Can you finish?






      share|cite|improve this answer









      $endgroup$





















        1












        $begingroup$

        A change of sign is due to continuity only possible where
        $$|x| +|2-x |= x+1iff |2- x|=x+1-|x|.$$
        Squaring the equation yields
        $$2|x|(x-1)=(x-1)(x+3).$$
        Since $x=1$ is a solution we may happily square
        $$2|x|=x+3$$
        again leading to
        $$3(x-3)(x+1)=0.$$
        Now consider the truth of
        $$|x| +|2-x |leq x+1$$
        in the intervals given by the zeroes $-1$, $1$, and $3$.






        share|cite|improve this answer









        $endgroup$





















          1












          $begingroup$

          The mistake you have made is that,you have taken
          $|2-x| = 2-x forall xge 0$, which is not true.



          For $x gt 2$, $|2-x|$ is $ = x-2$.



          Hence, you must take intervals as three cases, as George Law points out,
          $ (i)xle 0$,



          $(ii) 0lt xle2$



          $(iii) x>2$






          share|cite|improve this answer











          $endgroup$













            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%2f2285369%2fmethod-to-solve-x-2-x-leq-x-1%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            There are 3 cases:



            a) $xleq 0$ (quite useless, because it generates a bright lower bound):



            $$|x| +|2-x |leq x+1implies -x+ 2-xleq x+1$$
            $$-3xleq -1$$
            $$3xgeq1$$
            $$xgeqfrac{1}{3}$$



            b) $0<xleq 2$:



            $$|x| +|2-x |leq x+1implies x+2-xleq x+1$$
            $$xgeq 1$$



            c) $x > 2$:



            $$|x| +|2-x |leq x+1implies x+x-2leq x+1$$
            $$2xleq x+3implies xleq 3$$



            Now, you know the lower bound of $x$, from case b, $x_{min}=1$, and you know the upper bound of $x$ from case c, $x_{max}=3$. Therefore, $1leq xleq 3implies xin [1;3]$






            share|cite|improve this answer











            $endgroup$


















              1












              $begingroup$

              There are 3 cases:



              a) $xleq 0$ (quite useless, because it generates a bright lower bound):



              $$|x| +|2-x |leq x+1implies -x+ 2-xleq x+1$$
              $$-3xleq -1$$
              $$3xgeq1$$
              $$xgeqfrac{1}{3}$$



              b) $0<xleq 2$:



              $$|x| +|2-x |leq x+1implies x+2-xleq x+1$$
              $$xgeq 1$$



              c) $x > 2$:



              $$|x| +|2-x |leq x+1implies x+x-2leq x+1$$
              $$2xleq x+3implies xleq 3$$



              Now, you know the lower bound of $x$, from case b, $x_{min}=1$, and you know the upper bound of $x$ from case c, $x_{max}=3$. Therefore, $1leq xleq 3implies xin [1;3]$






              share|cite|improve this answer











              $endgroup$
















                1












                1








                1





                $begingroup$

                There are 3 cases:



                a) $xleq 0$ (quite useless, because it generates a bright lower bound):



                $$|x| +|2-x |leq x+1implies -x+ 2-xleq x+1$$
                $$-3xleq -1$$
                $$3xgeq1$$
                $$xgeqfrac{1}{3}$$



                b) $0<xleq 2$:



                $$|x| +|2-x |leq x+1implies x+2-xleq x+1$$
                $$xgeq 1$$



                c) $x > 2$:



                $$|x| +|2-x |leq x+1implies x+x-2leq x+1$$
                $$2xleq x+3implies xleq 3$$



                Now, you know the lower bound of $x$, from case b, $x_{min}=1$, and you know the upper bound of $x$ from case c, $x_{max}=3$. Therefore, $1leq xleq 3implies xin [1;3]$






                share|cite|improve this answer











                $endgroup$



                There are 3 cases:



                a) $xleq 0$ (quite useless, because it generates a bright lower bound):



                $$|x| +|2-x |leq x+1implies -x+ 2-xleq x+1$$
                $$-3xleq -1$$
                $$3xgeq1$$
                $$xgeqfrac{1}{3}$$



                b) $0<xleq 2$:



                $$|x| +|2-x |leq x+1implies x+2-xleq x+1$$
                $$xgeq 1$$



                c) $x > 2$:



                $$|x| +|2-x |leq x+1implies x+x-2leq x+1$$
                $$2xleq x+3implies xleq 3$$



                Now, you know the lower bound of $x$, from case b, $x_{min}=1$, and you know the upper bound of $x$ from case c, $x_{max}=3$. Therefore, $1leq xleq 3implies xin [1;3]$







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited May 17 '17 at 18:23

























                answered May 17 '17 at 18:06









                Don't be a x-triple dotDon't be a x-triple dot

                845321




                845321























                    3












                    $begingroup$

                    Note that $|x| = x$ if $x ge 0$ and $|x| = -x$ if $x < 0$.



                    Similarly, $|2-x| = 2-x$ if $2 -x ge 0$ (i.e., if $x le 2$), and $|2-x| = x-2$ if $2-x < 0$ (i.e., if $x > 2$).



                    One way is to consider separately the three cases:





                    • $x > 2$ (and so $x ge 0$ also), so $|x| = x$ and $|2-x| = x-2$.



                      The inequality becomes $x + x - 2 le x + 1$.




                    • $0 le x le 2$, so $|x| = x$ and $|2-x| = 2-x$.



                      The inequality becomes $x + 2-x le x + 1$.




                    • $x < 0$ (and so $x le 2$ also), so $|x| = -x$ and $|2-x| = 2-x$.



                      The inequality becomes $-x+2-x le x + 1$.




                    Technically there is a fourth combination of $x < 0$ and $x ge 2$, but clearly this case can't exist since no number can be $ < 0$ and $ge 2$ at the same time.



                    Solve the inequalities in each case, and make sure the answer you get makes sense within the restriction of the corresponding case.



                    For example, for the second case, solving the inequality will give us $x ge 1$. But remember that this is the case where $0 le x le 2$. Thus from the second case we only get $1 le x le 2$.



                    Solve the first and third cases, put it all together, and you'll get $x in [1,3]$. Let me know if you require further assistance.






                    share|cite|improve this answer









                    $endgroup$


















                      3












                      $begingroup$

                      Note that $|x| = x$ if $x ge 0$ and $|x| = -x$ if $x < 0$.



                      Similarly, $|2-x| = 2-x$ if $2 -x ge 0$ (i.e., if $x le 2$), and $|2-x| = x-2$ if $2-x < 0$ (i.e., if $x > 2$).



                      One way is to consider separately the three cases:





                      • $x > 2$ (and so $x ge 0$ also), so $|x| = x$ and $|2-x| = x-2$.



                        The inequality becomes $x + x - 2 le x + 1$.




                      • $0 le x le 2$, so $|x| = x$ and $|2-x| = 2-x$.



                        The inequality becomes $x + 2-x le x + 1$.




                      • $x < 0$ (and so $x le 2$ also), so $|x| = -x$ and $|2-x| = 2-x$.



                        The inequality becomes $-x+2-x le x + 1$.




                      Technically there is a fourth combination of $x < 0$ and $x ge 2$, but clearly this case can't exist since no number can be $ < 0$ and $ge 2$ at the same time.



                      Solve the inequalities in each case, and make sure the answer you get makes sense within the restriction of the corresponding case.



                      For example, for the second case, solving the inequality will give us $x ge 1$. But remember that this is the case where $0 le x le 2$. Thus from the second case we only get $1 le x le 2$.



                      Solve the first and third cases, put it all together, and you'll get $x in [1,3]$. Let me know if you require further assistance.






                      share|cite|improve this answer









                      $endgroup$
















                        3












                        3








                        3





                        $begingroup$

                        Note that $|x| = x$ if $x ge 0$ and $|x| = -x$ if $x < 0$.



                        Similarly, $|2-x| = 2-x$ if $2 -x ge 0$ (i.e., if $x le 2$), and $|2-x| = x-2$ if $2-x < 0$ (i.e., if $x > 2$).



                        One way is to consider separately the three cases:





                        • $x > 2$ (and so $x ge 0$ also), so $|x| = x$ and $|2-x| = x-2$.



                          The inequality becomes $x + x - 2 le x + 1$.




                        • $0 le x le 2$, so $|x| = x$ and $|2-x| = 2-x$.



                          The inequality becomes $x + 2-x le x + 1$.




                        • $x < 0$ (and so $x le 2$ also), so $|x| = -x$ and $|2-x| = 2-x$.



                          The inequality becomes $-x+2-x le x + 1$.




                        Technically there is a fourth combination of $x < 0$ and $x ge 2$, but clearly this case can't exist since no number can be $ < 0$ and $ge 2$ at the same time.



                        Solve the inequalities in each case, and make sure the answer you get makes sense within the restriction of the corresponding case.



                        For example, for the second case, solving the inequality will give us $x ge 1$. But remember that this is the case where $0 le x le 2$. Thus from the second case we only get $1 le x le 2$.



                        Solve the first and third cases, put it all together, and you'll get $x in [1,3]$. Let me know if you require further assistance.






                        share|cite|improve this answer









                        $endgroup$



                        Note that $|x| = x$ if $x ge 0$ and $|x| = -x$ if $x < 0$.



                        Similarly, $|2-x| = 2-x$ if $2 -x ge 0$ (i.e., if $x le 2$), and $|2-x| = x-2$ if $2-x < 0$ (i.e., if $x > 2$).



                        One way is to consider separately the three cases:





                        • $x > 2$ (and so $x ge 0$ also), so $|x| = x$ and $|2-x| = x-2$.



                          The inequality becomes $x + x - 2 le x + 1$.




                        • $0 le x le 2$, so $|x| = x$ and $|2-x| = 2-x$.



                          The inequality becomes $x + 2-x le x + 1$.




                        • $x < 0$ (and so $x le 2$ also), so $|x| = -x$ and $|2-x| = 2-x$.



                          The inequality becomes $-x+2-x le x + 1$.




                        Technically there is a fourth combination of $x < 0$ and $x ge 2$, but clearly this case can't exist since no number can be $ < 0$ and $ge 2$ at the same time.



                        Solve the inequalities in each case, and make sure the answer you get makes sense within the restriction of the corresponding case.



                        For example, for the second case, solving the inequality will give us $x ge 1$. But remember that this is the case where $0 le x le 2$. Thus from the second case we only get $1 le x le 2$.



                        Solve the first and third cases, put it all together, and you'll get $x in [1,3]$. Let me know if you require further assistance.







                        share|cite|improve this answer












                        share|cite|improve this answer



                        share|cite|improve this answer










                        answered May 17 '17 at 17:52









                        tilpertilper

                        12.9k11145




                        12.9k11145























                            1












                            $begingroup$

                            we can write $$|x|+|x-2|le x+1$$
                            the first case: $$xgeq 2$$ then we have to solve $$x+x-2le x+1$$
                            second: $$0le x<2$$ then we have $$x-x+2le x+1$$
                            last case:
                            $$x<0$$ then we get $$-x-x+2le x+1$$
                            Can you finish?






                            share|cite|improve this answer









                            $endgroup$


















                              1












                              $begingroup$

                              we can write $$|x|+|x-2|le x+1$$
                              the first case: $$xgeq 2$$ then we have to solve $$x+x-2le x+1$$
                              second: $$0le x<2$$ then we have $$x-x+2le x+1$$
                              last case:
                              $$x<0$$ then we get $$-x-x+2le x+1$$
                              Can you finish?






                              share|cite|improve this answer









                              $endgroup$
















                                1












                                1








                                1





                                $begingroup$

                                we can write $$|x|+|x-2|le x+1$$
                                the first case: $$xgeq 2$$ then we have to solve $$x+x-2le x+1$$
                                second: $$0le x<2$$ then we have $$x-x+2le x+1$$
                                last case:
                                $$x<0$$ then we get $$-x-x+2le x+1$$
                                Can you finish?






                                share|cite|improve this answer









                                $endgroup$



                                we can write $$|x|+|x-2|le x+1$$
                                the first case: $$xgeq 2$$ then we have to solve $$x+x-2le x+1$$
                                second: $$0le x<2$$ then we have $$x-x+2le x+1$$
                                last case:
                                $$x<0$$ then we get $$-x-x+2le x+1$$
                                Can you finish?







                                share|cite|improve this answer












                                share|cite|improve this answer



                                share|cite|improve this answer










                                answered May 17 '17 at 17:51









                                Dr. Sonnhard GraubnerDr. Sonnhard Graubner

                                76.8k42866




                                76.8k42866























                                    1












                                    $begingroup$

                                    A change of sign is due to continuity only possible where
                                    $$|x| +|2-x |= x+1iff |2- x|=x+1-|x|.$$
                                    Squaring the equation yields
                                    $$2|x|(x-1)=(x-1)(x+3).$$
                                    Since $x=1$ is a solution we may happily square
                                    $$2|x|=x+3$$
                                    again leading to
                                    $$3(x-3)(x+1)=0.$$
                                    Now consider the truth of
                                    $$|x| +|2-x |leq x+1$$
                                    in the intervals given by the zeroes $-1$, $1$, and $3$.






                                    share|cite|improve this answer









                                    $endgroup$


















                                      1












                                      $begingroup$

                                      A change of sign is due to continuity only possible where
                                      $$|x| +|2-x |= x+1iff |2- x|=x+1-|x|.$$
                                      Squaring the equation yields
                                      $$2|x|(x-1)=(x-1)(x+3).$$
                                      Since $x=1$ is a solution we may happily square
                                      $$2|x|=x+3$$
                                      again leading to
                                      $$3(x-3)(x+1)=0.$$
                                      Now consider the truth of
                                      $$|x| +|2-x |leq x+1$$
                                      in the intervals given by the zeroes $-1$, $1$, and $3$.






                                      share|cite|improve this answer









                                      $endgroup$
















                                        1












                                        1








                                        1





                                        $begingroup$

                                        A change of sign is due to continuity only possible where
                                        $$|x| +|2-x |= x+1iff |2- x|=x+1-|x|.$$
                                        Squaring the equation yields
                                        $$2|x|(x-1)=(x-1)(x+3).$$
                                        Since $x=1$ is a solution we may happily square
                                        $$2|x|=x+3$$
                                        again leading to
                                        $$3(x-3)(x+1)=0.$$
                                        Now consider the truth of
                                        $$|x| +|2-x |leq x+1$$
                                        in the intervals given by the zeroes $-1$, $1$, and $3$.






                                        share|cite|improve this answer









                                        $endgroup$



                                        A change of sign is due to continuity only possible where
                                        $$|x| +|2-x |= x+1iff |2- x|=x+1-|x|.$$
                                        Squaring the equation yields
                                        $$2|x|(x-1)=(x-1)(x+3).$$
                                        Since $x=1$ is a solution we may happily square
                                        $$2|x|=x+3$$
                                        again leading to
                                        $$3(x-3)(x+1)=0.$$
                                        Now consider the truth of
                                        $$|x| +|2-x |leq x+1$$
                                        in the intervals given by the zeroes $-1$, $1$, and $3$.







                                        share|cite|improve this answer












                                        share|cite|improve this answer



                                        share|cite|improve this answer










                                        answered May 17 '17 at 18:45









                                        Michael HoppeMichael Hoppe

                                        11.1k31837




                                        11.1k31837























                                            1












                                            $begingroup$

                                            The mistake you have made is that,you have taken
                                            $|2-x| = 2-x forall xge 0$, which is not true.



                                            For $x gt 2$, $|2-x|$ is $ = x-2$.



                                            Hence, you must take intervals as three cases, as George Law points out,
                                            $ (i)xle 0$,



                                            $(ii) 0lt xle2$



                                            $(iii) x>2$






                                            share|cite|improve this answer











                                            $endgroup$


















                                              1












                                              $begingroup$

                                              The mistake you have made is that,you have taken
                                              $|2-x| = 2-x forall xge 0$, which is not true.



                                              For $x gt 2$, $|2-x|$ is $ = x-2$.



                                              Hence, you must take intervals as three cases, as George Law points out,
                                              $ (i)xle 0$,



                                              $(ii) 0lt xle2$



                                              $(iii) x>2$






                                              share|cite|improve this answer











                                              $endgroup$
















                                                1












                                                1








                                                1





                                                $begingroup$

                                                The mistake you have made is that,you have taken
                                                $|2-x| = 2-x forall xge 0$, which is not true.



                                                For $x gt 2$, $|2-x|$ is $ = x-2$.



                                                Hence, you must take intervals as three cases, as George Law points out,
                                                $ (i)xle 0$,



                                                $(ii) 0lt xle2$



                                                $(iii) x>2$






                                                share|cite|improve this answer











                                                $endgroup$



                                                The mistake you have made is that,you have taken
                                                $|2-x| = 2-x forall xge 0$, which is not true.



                                                For $x gt 2$, $|2-x|$ is $ = x-2$.



                                                Hence, you must take intervals as three cases, as George Law points out,
                                                $ (i)xle 0$,



                                                $(ii) 0lt xle2$



                                                $(iii) x>2$







                                                share|cite|improve this answer














                                                share|cite|improve this answer



                                                share|cite|improve this answer








                                                edited Jan 20 at 5:48

























                                                answered May 17 '17 at 17:56









                                                Ananth KamathAnanth Kamath

                                                1,525824




                                                1,525824






























                                                    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%2f2285369%2fmethod-to-solve-x-2-x-leq-x-1%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

                                                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                                                    SQL update select statement

                                                    WPF add header to Image with URL pettitions [duplicate]