What is the algebraic proof that $|x|+|x-2|=2$ is an inequality












-3












$begingroup$


$|x|+|x-2|=2$ is an inequality because the solution is $xle2$ (if you plug in $2$ or any value lower than $2$ for $x$, you will get an answer of $2$). What is the algebraic proof (with steps)? How can I write this out using algebra to get a value of $x≤2$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Hint: For $x leq 2$, $|x-2|=2-x$.
    $endgroup$
    – greelious
    Jan 15 at 21:47










  • $begingroup$
    This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
    $endgroup$
    – Jean Marie
    Jan 15 at 21:48








  • 3




    $begingroup$
    Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
    $endgroup$
    – MPW
    Jan 15 at 21:49










  • $begingroup$
    MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
    $endgroup$
    – ZeeKay Mdludlu
    Jan 16 at 2:29
















-3












$begingroup$


$|x|+|x-2|=2$ is an inequality because the solution is $xle2$ (if you plug in $2$ or any value lower than $2$ for $x$, you will get an answer of $2$). What is the algebraic proof (with steps)? How can I write this out using algebra to get a value of $x≤2$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Hint: For $x leq 2$, $|x-2|=2-x$.
    $endgroup$
    – greelious
    Jan 15 at 21:47










  • $begingroup$
    This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
    $endgroup$
    – Jean Marie
    Jan 15 at 21:48








  • 3




    $begingroup$
    Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
    $endgroup$
    – MPW
    Jan 15 at 21:49










  • $begingroup$
    MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
    $endgroup$
    – ZeeKay Mdludlu
    Jan 16 at 2:29














-3












-3








-3





$begingroup$


$|x|+|x-2|=2$ is an inequality because the solution is $xle2$ (if you plug in $2$ or any value lower than $2$ for $x$, you will get an answer of $2$). What is the algebraic proof (with steps)? How can I write this out using algebra to get a value of $x≤2$?










share|cite|improve this question











$endgroup$




$|x|+|x-2|=2$ is an inequality because the solution is $xle2$ (if you plug in $2$ or any value lower than $2$ for $x$, you will get an answer of $2$). What is the algebraic proof (with steps)? How can I write this out using algebra to get a value of $x≤2$?







algebra-precalculus inequality






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 15 at 23:04









J. W. Tanner

1,470114




1,470114










asked Jan 15 at 21:44









ZeeKay MdludluZeeKay Mdludlu

1




1








  • 1




    $begingroup$
    Hint: For $x leq 2$, $|x-2|=2-x$.
    $endgroup$
    – greelious
    Jan 15 at 21:47










  • $begingroup$
    This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
    $endgroup$
    – Jean Marie
    Jan 15 at 21:48








  • 3




    $begingroup$
    Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
    $endgroup$
    – MPW
    Jan 15 at 21:49










  • $begingroup$
    MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
    $endgroup$
    – ZeeKay Mdludlu
    Jan 16 at 2:29














  • 1




    $begingroup$
    Hint: For $x leq 2$, $|x-2|=2-x$.
    $endgroup$
    – greelious
    Jan 15 at 21:47










  • $begingroup$
    This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
    $endgroup$
    – Jean Marie
    Jan 15 at 21:48








  • 3




    $begingroup$
    Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
    $endgroup$
    – MPW
    Jan 15 at 21:49










  • $begingroup$
    MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
    $endgroup$
    – ZeeKay Mdludlu
    Jan 16 at 2:29








1




1




$begingroup$
Hint: For $x leq 2$, $|x-2|=2-x$.
$endgroup$
– greelious
Jan 15 at 21:47




$begingroup$
Hint: For $x leq 2$, $|x-2|=2-x$.
$endgroup$
– greelious
Jan 15 at 21:47












$begingroup$
This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
$endgroup$
– Jean Marie
Jan 15 at 21:48






$begingroup$
This is true if and only if $0 leq x leq 2$. In this case, there is a simple explanation writing it $|x-0|+|x-2| $ i.e., the sum of distances from $x$ to $0$ and from $x$ to $2$.
$endgroup$
– Jean Marie
Jan 15 at 21:48






3




3




$begingroup$
Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
$endgroup$
– MPW
Jan 15 at 21:49




$begingroup$
Your statement is incorrect. The statement is an equation, not an inequality. It may be equivalent to an inequality, but it is not itself an inequality.
$endgroup$
– MPW
Jan 15 at 21:49












$begingroup$
MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
$endgroup$
– ZeeKay Mdludlu
Jan 16 at 2:29




$begingroup$
MPW, I am particularly asking for the algebraic proof that would enable the equation to be an inequality, as it does have a specific range so it can be proven (algebraically) to or be an inequality. Remember, ≤ is a combination of < and =. I can clearly see that the statement is an equation (thanks for pointing that out, though), but I want to know how it could be an inequality, and the algebraic proof. And it's a question, by the way, not a statement.
$endgroup$
– ZeeKay Mdludlu
Jan 16 at 2:29










5 Answers
5






active

oldest

votes


















3












$begingroup$

You have three cases:





  1. $xleq 0$ The equality becomes $-x+2-x=2 Rightarrow 0=2x Rightarrow x=0$.


  2. $0leq xleq 2$ The equality becomes $x+2-x=2 Rightarrow 2=2$ which is true $forall xin[0,2]$.


  3. $2leq x$ The equality becomes $x+x-2=2Rightarrow 2x=4Rightarrow x=2$.


In conclusion $xin[0,2]$ is the set of solutions: $0leq xleq 2$.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    By the triangle inequality:
    $$2=|x|+|2-x|geq|x+2-x|=2.$$
    The equality occurs for $xgeq0$ and $2-xgeq0$ or $0leq xleq2$, which is the answer.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      $y=x-1$;



      $|y+1|+|y-1|=2;$



      $|2y| =|y+1+y-1| le $



      $|y+1| +|y-1| =2$;



      Hence



      $|y| le 1$, i.e. $-1 le y le 1$;



      With $y=x-1$:



      $0 le x le 2$.






      share|cite|improve this answer









      $endgroup$





















        0












        $begingroup$

        Geometric approach

        Absolute value $|a-b|$ denotes the distance between the points on $x-$axis, representing $a;$ and $;b.$



        In the present case we have $$|x|+|x-2|=|x-0|+|x-2|$$ which has to give $2.$ In distance wording, the sum of distances from $x$ to $0$ and from the same $x$ to $2$ gives $2.$



        The points out the interval $;[0,2];$ are too far from $0$ or from $2$, thus none of them satisfies. But each point lying in $[0,2]$ satisfies. The given equation $;|x|+|x-2|=2;$ can be rewritten $$0leq x leq 2.$$






        share|cite|improve this answer









        $endgroup$





















          0












          $begingroup$

          Alternatively, you can square both sides:
          $$|x|+|x-2|=2 Rightarrow x^2+2|x^2-2x|+(x-2)^2=4 Rightarrow \
          |x^2-2x|=-(x^2-2x) Rightarrow x^2-2xle 0 Rightarrow xin[0,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%2f3075009%2fwhat-is-the-algebraic-proof-that-xx-2-2-is-an-inequality%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









            3












            $begingroup$

            You have three cases:





            1. $xleq 0$ The equality becomes $-x+2-x=2 Rightarrow 0=2x Rightarrow x=0$.


            2. $0leq xleq 2$ The equality becomes $x+2-x=2 Rightarrow 2=2$ which is true $forall xin[0,2]$.


            3. $2leq x$ The equality becomes $x+x-2=2Rightarrow 2x=4Rightarrow x=2$.


            In conclusion $xin[0,2]$ is the set of solutions: $0leq xleq 2$.






            share|cite|improve this answer









            $endgroup$


















              3












              $begingroup$

              You have three cases:





              1. $xleq 0$ The equality becomes $-x+2-x=2 Rightarrow 0=2x Rightarrow x=0$.


              2. $0leq xleq 2$ The equality becomes $x+2-x=2 Rightarrow 2=2$ which is true $forall xin[0,2]$.


              3. $2leq x$ The equality becomes $x+x-2=2Rightarrow 2x=4Rightarrow x=2$.


              In conclusion $xin[0,2]$ is the set of solutions: $0leq xleq 2$.






              share|cite|improve this answer









              $endgroup$
















                3












                3








                3





                $begingroup$

                You have three cases:





                1. $xleq 0$ The equality becomes $-x+2-x=2 Rightarrow 0=2x Rightarrow x=0$.


                2. $0leq xleq 2$ The equality becomes $x+2-x=2 Rightarrow 2=2$ which is true $forall xin[0,2]$.


                3. $2leq x$ The equality becomes $x+x-2=2Rightarrow 2x=4Rightarrow x=2$.


                In conclusion $xin[0,2]$ is the set of solutions: $0leq xleq 2$.






                share|cite|improve this answer









                $endgroup$



                You have three cases:





                1. $xleq 0$ The equality becomes $-x+2-x=2 Rightarrow 0=2x Rightarrow x=0$.


                2. $0leq xleq 2$ The equality becomes $x+2-x=2 Rightarrow 2=2$ which is true $forall xin[0,2]$.


                3. $2leq x$ The equality becomes $x+x-2=2Rightarrow 2x=4Rightarrow x=2$.


                In conclusion $xin[0,2]$ is the set of solutions: $0leq xleq 2$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 15 at 21:53









                IuliaIulia

                1,205414




                1,205414























                    0












                    $begingroup$

                    By the triangle inequality:
                    $$2=|x|+|2-x|geq|x+2-x|=2.$$
                    The equality occurs for $xgeq0$ and $2-xgeq0$ or $0leq xleq2$, which is the answer.






                    share|cite|improve this answer









                    $endgroup$


















                      0












                      $begingroup$

                      By the triangle inequality:
                      $$2=|x|+|2-x|geq|x+2-x|=2.$$
                      The equality occurs for $xgeq0$ and $2-xgeq0$ or $0leq xleq2$, which is the answer.






                      share|cite|improve this answer









                      $endgroup$
















                        0












                        0








                        0





                        $begingroup$

                        By the triangle inequality:
                        $$2=|x|+|2-x|geq|x+2-x|=2.$$
                        The equality occurs for $xgeq0$ and $2-xgeq0$ or $0leq xleq2$, which is the answer.






                        share|cite|improve this answer









                        $endgroup$



                        By the triangle inequality:
                        $$2=|x|+|2-x|geq|x+2-x|=2.$$
                        The equality occurs for $xgeq0$ and $2-xgeq0$ or $0leq xleq2$, which is the answer.







                        share|cite|improve this answer












                        share|cite|improve this answer



                        share|cite|improve this answer










                        answered Jan 15 at 21:51









                        Michael RozenbergMichael Rozenberg

                        102k1591193




                        102k1591193























                            0












                            $begingroup$

                            $y=x-1$;



                            $|y+1|+|y-1|=2;$



                            $|2y| =|y+1+y-1| le $



                            $|y+1| +|y-1| =2$;



                            Hence



                            $|y| le 1$, i.e. $-1 le y le 1$;



                            With $y=x-1$:



                            $0 le x le 2$.






                            share|cite|improve this answer









                            $endgroup$


















                              0












                              $begingroup$

                              $y=x-1$;



                              $|y+1|+|y-1|=2;$



                              $|2y| =|y+1+y-1| le $



                              $|y+1| +|y-1| =2$;



                              Hence



                              $|y| le 1$, i.e. $-1 le y le 1$;



                              With $y=x-1$:



                              $0 le x le 2$.






                              share|cite|improve this answer









                              $endgroup$
















                                0












                                0








                                0





                                $begingroup$

                                $y=x-1$;



                                $|y+1|+|y-1|=2;$



                                $|2y| =|y+1+y-1| le $



                                $|y+1| +|y-1| =2$;



                                Hence



                                $|y| le 1$, i.e. $-1 le y le 1$;



                                With $y=x-1$:



                                $0 le x le 2$.






                                share|cite|improve this answer









                                $endgroup$



                                $y=x-1$;



                                $|y+1|+|y-1|=2;$



                                $|2y| =|y+1+y-1| le $



                                $|y+1| +|y-1| =2$;



                                Hence



                                $|y| le 1$, i.e. $-1 le y le 1$;



                                With $y=x-1$:



                                $0 le x le 2$.







                                share|cite|improve this answer












                                share|cite|improve this answer



                                share|cite|improve this answer










                                answered Jan 15 at 22:36









                                Peter SzilasPeter Szilas

                                11.1k2821




                                11.1k2821























                                    0












                                    $begingroup$

                                    Geometric approach

                                    Absolute value $|a-b|$ denotes the distance between the points on $x-$axis, representing $a;$ and $;b.$



                                    In the present case we have $$|x|+|x-2|=|x-0|+|x-2|$$ which has to give $2.$ In distance wording, the sum of distances from $x$ to $0$ and from the same $x$ to $2$ gives $2.$



                                    The points out the interval $;[0,2];$ are too far from $0$ or from $2$, thus none of them satisfies. But each point lying in $[0,2]$ satisfies. The given equation $;|x|+|x-2|=2;$ can be rewritten $$0leq x leq 2.$$






                                    share|cite|improve this answer









                                    $endgroup$


















                                      0












                                      $begingroup$

                                      Geometric approach

                                      Absolute value $|a-b|$ denotes the distance between the points on $x-$axis, representing $a;$ and $;b.$



                                      In the present case we have $$|x|+|x-2|=|x-0|+|x-2|$$ which has to give $2.$ In distance wording, the sum of distances from $x$ to $0$ and from the same $x$ to $2$ gives $2.$



                                      The points out the interval $;[0,2];$ are too far from $0$ or from $2$, thus none of them satisfies. But each point lying in $[0,2]$ satisfies. The given equation $;|x|+|x-2|=2;$ can be rewritten $$0leq x leq 2.$$






                                      share|cite|improve this answer









                                      $endgroup$
















                                        0












                                        0








                                        0





                                        $begingroup$

                                        Geometric approach

                                        Absolute value $|a-b|$ denotes the distance between the points on $x-$axis, representing $a;$ and $;b.$



                                        In the present case we have $$|x|+|x-2|=|x-0|+|x-2|$$ which has to give $2.$ In distance wording, the sum of distances from $x$ to $0$ and from the same $x$ to $2$ gives $2.$



                                        The points out the interval $;[0,2];$ are too far from $0$ or from $2$, thus none of them satisfies. But each point lying in $[0,2]$ satisfies. The given equation $;|x|+|x-2|=2;$ can be rewritten $$0leq x leq 2.$$






                                        share|cite|improve this answer









                                        $endgroup$



                                        Geometric approach

                                        Absolute value $|a-b|$ denotes the distance between the points on $x-$axis, representing $a;$ and $;b.$



                                        In the present case we have $$|x|+|x-2|=|x-0|+|x-2|$$ which has to give $2.$ In distance wording, the sum of distances from $x$ to $0$ and from the same $x$ to $2$ gives $2.$



                                        The points out the interval $;[0,2];$ are too far from $0$ or from $2$, thus none of them satisfies. But each point lying in $[0,2]$ satisfies. The given equation $;|x|+|x-2|=2;$ can be rewritten $$0leq x leq 2.$$







                                        share|cite|improve this answer












                                        share|cite|improve this answer



                                        share|cite|improve this answer










                                        answered Jan 16 at 10:52









                                        user376343user376343

                                        3,6683827




                                        3,6683827























                                            0












                                            $begingroup$

                                            Alternatively, you can square both sides:
                                            $$|x|+|x-2|=2 Rightarrow x^2+2|x^2-2x|+(x-2)^2=4 Rightarrow \
                                            |x^2-2x|=-(x^2-2x) Rightarrow x^2-2xle 0 Rightarrow xin[0,2].$$






                                            share|cite|improve this answer









                                            $endgroup$


















                                              0












                                              $begingroup$

                                              Alternatively, you can square both sides:
                                              $$|x|+|x-2|=2 Rightarrow x^2+2|x^2-2x|+(x-2)^2=4 Rightarrow \
                                              |x^2-2x|=-(x^2-2x) Rightarrow x^2-2xle 0 Rightarrow xin[0,2].$$






                                              share|cite|improve this answer









                                              $endgroup$
















                                                0












                                                0








                                                0





                                                $begingroup$

                                                Alternatively, you can square both sides:
                                                $$|x|+|x-2|=2 Rightarrow x^2+2|x^2-2x|+(x-2)^2=4 Rightarrow \
                                                |x^2-2x|=-(x^2-2x) Rightarrow x^2-2xle 0 Rightarrow xin[0,2].$$






                                                share|cite|improve this answer









                                                $endgroup$



                                                Alternatively, you can square both sides:
                                                $$|x|+|x-2|=2 Rightarrow x^2+2|x^2-2x|+(x-2)^2=4 Rightarrow \
                                                |x^2-2x|=-(x^2-2x) Rightarrow x^2-2xle 0 Rightarrow xin[0,2].$$







                                                share|cite|improve this answer












                                                share|cite|improve this answer



                                                share|cite|improve this answer










                                                answered Jan 16 at 13:08









                                                farruhotafarruhota

                                                20.2k2738




                                                20.2k2738






























                                                    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%2f3075009%2fwhat-is-the-algebraic-proof-that-xx-2-2-is-an-inequality%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

                                                    Mario Kart Wii

                                                    The Binding of Isaac: Rebirth/Afterbirth

                                                    What does “Dominus providebit” mean?