Functions and sets. Show that if A is a subset of X, then $f^{-1}(f(A))supseteq A$. Find an example where...












2












$begingroup$


I have proved that if $A$ is subset of $X$, then $f^{-1}(f(A))supseteq A$ for any function $f:Xrightarrow Y$. However, I can't find an example where $f^{-1}(f(A))neq A$.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    The trick is to choose an $f$ that is not injective (one to one)
    $endgroup$
    – Omnomnomnom
    Jan 19 at 15:58










  • $begingroup$
    Thank you, I kind of thought about it, but was too unsure.
    $endgroup$
    – Mathiaspilot123
    Jan 19 at 15:59
















2












$begingroup$


I have proved that if $A$ is subset of $X$, then $f^{-1}(f(A))supseteq A$ for any function $f:Xrightarrow Y$. However, I can't find an example where $f^{-1}(f(A))neq A$.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    The trick is to choose an $f$ that is not injective (one to one)
    $endgroup$
    – Omnomnomnom
    Jan 19 at 15:58










  • $begingroup$
    Thank you, I kind of thought about it, but was too unsure.
    $endgroup$
    – Mathiaspilot123
    Jan 19 at 15:59














2












2








2





$begingroup$


I have proved that if $A$ is subset of $X$, then $f^{-1}(f(A))supseteq A$ for any function $f:Xrightarrow Y$. However, I can't find an example where $f^{-1}(f(A))neq A$.










share|cite|improve this question











$endgroup$




I have proved that if $A$ is subset of $X$, then $f^{-1}(f(A))supseteq A$ for any function $f:Xrightarrow Y$. However, I can't find an example where $f^{-1}(f(A))neq A$.







real-analysis discrete-mathematics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 19 at 16:09









Yuval Gat

572213




572213










asked Jan 19 at 15:54









Mathiaspilot123Mathiaspilot123

596




596








  • 2




    $begingroup$
    The trick is to choose an $f$ that is not injective (one to one)
    $endgroup$
    – Omnomnomnom
    Jan 19 at 15:58










  • $begingroup$
    Thank you, I kind of thought about it, but was too unsure.
    $endgroup$
    – Mathiaspilot123
    Jan 19 at 15:59














  • 2




    $begingroup$
    The trick is to choose an $f$ that is not injective (one to one)
    $endgroup$
    – Omnomnomnom
    Jan 19 at 15:58










  • $begingroup$
    Thank you, I kind of thought about it, but was too unsure.
    $endgroup$
    – Mathiaspilot123
    Jan 19 at 15:59








2




2




$begingroup$
The trick is to choose an $f$ that is not injective (one to one)
$endgroup$
– Omnomnomnom
Jan 19 at 15:58




$begingroup$
The trick is to choose an $f$ that is not injective (one to one)
$endgroup$
– Omnomnomnom
Jan 19 at 15:58












$begingroup$
Thank you, I kind of thought about it, but was too unsure.
$endgroup$
– Mathiaspilot123
Jan 19 at 15:59




$begingroup$
Thank you, I kind of thought about it, but was too unsure.
$endgroup$
– Mathiaspilot123
Jan 19 at 15:59










3 Answers
3






active

oldest

votes


















2












$begingroup$

You can find such an example by taking a non injective function, e.g. $f : mathbb R to mathbb R^+ : x mapsto x^2$. If $A = [0, 1]$, then $f(A) = [0, 1]$. But $f^{-1}(A) = [-1, 1]$. And $f^{-1}(f(A)) = f^{-1}([0, 1]) = [-1, 1] neq [0, 1]$






share|cite|improve this answer









$endgroup$





















    3












    $begingroup$

    You can take any non-injective function.
    A trivial example is $f:{1,2}to {1,2}$ defined as $f (1)=f (2)=1$. Then take $A={1} $.






    share|cite|improve this answer









    $endgroup$





















      1












      $begingroup$

      As you have proven $A subset f^{-1}(f(A))$ in order for $A ne f^{-1}(f(A))$ there must be and $xin f^{-1}(f(A))$ so that $x not in A$.



      But $x in f^{-1}(f(A))$ means $f(x) in f(A)$ which means there is an $y in A$ so that $f(y) = f(x)$. But we know $yne x$ because $x not in A$. That's not unusual. That just means $f$ isn't injective.



      If we take any old non-injective function $f$, say $f(x) = x^2$ and any pair of $x,y$ so that $f(x) = f(y); x ne y$, say $x = -1$ and $y=1$.... then we just take any set $A$ so that $yin A$ and $x not in A$.... say $A= {1}$.



      The $A= {1}$, $f(A) = {f(w)|win A} = {f(1)} = 1$. And $f^{-1}(f(A)) = {y| f(y) in f(A)} ={y|f(y) in {1}} = {1, -1}$.



      And that's a valid example..



      Or $A = {-3,3, 1, 7}$. Or $B = mathbb R^+$ or $C = mathbb Rsetminus {-1}$.



      Then $f(A) = {9,1,49}; f^{-1}(f(A)) = {pm 3, pm 1, pm 49}$.



      $f(B) = mathbb R^+; f^{-1}(f(B)) = mathbb R$, $f(C) = mathbb R^+; f^{-1}(f(C)) = mathbb R^+$.



      Etc.






      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%2f3079492%2ffunctions-and-sets-show-that-if-a-is-a-subset-of-x-then-f-1fa-supseteq%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2












        $begingroup$

        You can find such an example by taking a non injective function, e.g. $f : mathbb R to mathbb R^+ : x mapsto x^2$. If $A = [0, 1]$, then $f(A) = [0, 1]$. But $f^{-1}(A) = [-1, 1]$. And $f^{-1}(f(A)) = f^{-1}([0, 1]) = [-1, 1] neq [0, 1]$






        share|cite|improve this answer









        $endgroup$


















          2












          $begingroup$

          You can find such an example by taking a non injective function, e.g. $f : mathbb R to mathbb R^+ : x mapsto x^2$. If $A = [0, 1]$, then $f(A) = [0, 1]$. But $f^{-1}(A) = [-1, 1]$. And $f^{-1}(f(A)) = f^{-1}([0, 1]) = [-1, 1] neq [0, 1]$






          share|cite|improve this answer









          $endgroup$
















            2












            2








            2





            $begingroup$

            You can find such an example by taking a non injective function, e.g. $f : mathbb R to mathbb R^+ : x mapsto x^2$. If $A = [0, 1]$, then $f(A) = [0, 1]$. But $f^{-1}(A) = [-1, 1]$. And $f^{-1}(f(A)) = f^{-1}([0, 1]) = [-1, 1] neq [0, 1]$






            share|cite|improve this answer









            $endgroup$



            You can find such an example by taking a non injective function, e.g. $f : mathbb R to mathbb R^+ : x mapsto x^2$. If $A = [0, 1]$, then $f(A) = [0, 1]$. But $f^{-1}(A) = [-1, 1]$. And $f^{-1}(f(A)) = f^{-1}([0, 1]) = [-1, 1] neq [0, 1]$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 19 at 15:57









            BermudesBermudes

            18713




            18713























                3












                $begingroup$

                You can take any non-injective function.
                A trivial example is $f:{1,2}to {1,2}$ defined as $f (1)=f (2)=1$. Then take $A={1} $.






                share|cite|improve this answer









                $endgroup$


















                  3












                  $begingroup$

                  You can take any non-injective function.
                  A trivial example is $f:{1,2}to {1,2}$ defined as $f (1)=f (2)=1$. Then take $A={1} $.






                  share|cite|improve this answer









                  $endgroup$
















                    3












                    3








                    3





                    $begingroup$

                    You can take any non-injective function.
                    A trivial example is $f:{1,2}to {1,2}$ defined as $f (1)=f (2)=1$. Then take $A={1} $.






                    share|cite|improve this answer









                    $endgroup$



                    You can take any non-injective function.
                    A trivial example is $f:{1,2}to {1,2}$ defined as $f (1)=f (2)=1$. Then take $A={1} $.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 19 at 15:58









                    Thomas ShelbyThomas Shelby

                    3,7192525




                    3,7192525























                        1












                        $begingroup$

                        As you have proven $A subset f^{-1}(f(A))$ in order for $A ne f^{-1}(f(A))$ there must be and $xin f^{-1}(f(A))$ so that $x not in A$.



                        But $x in f^{-1}(f(A))$ means $f(x) in f(A)$ which means there is an $y in A$ so that $f(y) = f(x)$. But we know $yne x$ because $x not in A$. That's not unusual. That just means $f$ isn't injective.



                        If we take any old non-injective function $f$, say $f(x) = x^2$ and any pair of $x,y$ so that $f(x) = f(y); x ne y$, say $x = -1$ and $y=1$.... then we just take any set $A$ so that $yin A$ and $x not in A$.... say $A= {1}$.



                        The $A= {1}$, $f(A) = {f(w)|win A} = {f(1)} = 1$. And $f^{-1}(f(A)) = {y| f(y) in f(A)} ={y|f(y) in {1}} = {1, -1}$.



                        And that's a valid example..



                        Or $A = {-3,3, 1, 7}$. Or $B = mathbb R^+$ or $C = mathbb Rsetminus {-1}$.



                        Then $f(A) = {9,1,49}; f^{-1}(f(A)) = {pm 3, pm 1, pm 49}$.



                        $f(B) = mathbb R^+; f^{-1}(f(B)) = mathbb R$, $f(C) = mathbb R^+; f^{-1}(f(C)) = mathbb R^+$.



                        Etc.






                        share|cite|improve this answer









                        $endgroup$


















                          1












                          $begingroup$

                          As you have proven $A subset f^{-1}(f(A))$ in order for $A ne f^{-1}(f(A))$ there must be and $xin f^{-1}(f(A))$ so that $x not in A$.



                          But $x in f^{-1}(f(A))$ means $f(x) in f(A)$ which means there is an $y in A$ so that $f(y) = f(x)$. But we know $yne x$ because $x not in A$. That's not unusual. That just means $f$ isn't injective.



                          If we take any old non-injective function $f$, say $f(x) = x^2$ and any pair of $x,y$ so that $f(x) = f(y); x ne y$, say $x = -1$ and $y=1$.... then we just take any set $A$ so that $yin A$ and $x not in A$.... say $A= {1}$.



                          The $A= {1}$, $f(A) = {f(w)|win A} = {f(1)} = 1$. And $f^{-1}(f(A)) = {y| f(y) in f(A)} ={y|f(y) in {1}} = {1, -1}$.



                          And that's a valid example..



                          Or $A = {-3,3, 1, 7}$. Or $B = mathbb R^+$ or $C = mathbb Rsetminus {-1}$.



                          Then $f(A) = {9,1,49}; f^{-1}(f(A)) = {pm 3, pm 1, pm 49}$.



                          $f(B) = mathbb R^+; f^{-1}(f(B)) = mathbb R$, $f(C) = mathbb R^+; f^{-1}(f(C)) = mathbb R^+$.



                          Etc.






                          share|cite|improve this answer









                          $endgroup$
















                            1












                            1








                            1





                            $begingroup$

                            As you have proven $A subset f^{-1}(f(A))$ in order for $A ne f^{-1}(f(A))$ there must be and $xin f^{-1}(f(A))$ so that $x not in A$.



                            But $x in f^{-1}(f(A))$ means $f(x) in f(A)$ which means there is an $y in A$ so that $f(y) = f(x)$. But we know $yne x$ because $x not in A$. That's not unusual. That just means $f$ isn't injective.



                            If we take any old non-injective function $f$, say $f(x) = x^2$ and any pair of $x,y$ so that $f(x) = f(y); x ne y$, say $x = -1$ and $y=1$.... then we just take any set $A$ so that $yin A$ and $x not in A$.... say $A= {1}$.



                            The $A= {1}$, $f(A) = {f(w)|win A} = {f(1)} = 1$. And $f^{-1}(f(A)) = {y| f(y) in f(A)} ={y|f(y) in {1}} = {1, -1}$.



                            And that's a valid example..



                            Or $A = {-3,3, 1, 7}$. Or $B = mathbb R^+$ or $C = mathbb Rsetminus {-1}$.



                            Then $f(A) = {9,1,49}; f^{-1}(f(A)) = {pm 3, pm 1, pm 49}$.



                            $f(B) = mathbb R^+; f^{-1}(f(B)) = mathbb R$, $f(C) = mathbb R^+; f^{-1}(f(C)) = mathbb R^+$.



                            Etc.






                            share|cite|improve this answer









                            $endgroup$



                            As you have proven $A subset f^{-1}(f(A))$ in order for $A ne f^{-1}(f(A))$ there must be and $xin f^{-1}(f(A))$ so that $x not in A$.



                            But $x in f^{-1}(f(A))$ means $f(x) in f(A)$ which means there is an $y in A$ so that $f(y) = f(x)$. But we know $yne x$ because $x not in A$. That's not unusual. That just means $f$ isn't injective.



                            If we take any old non-injective function $f$, say $f(x) = x^2$ and any pair of $x,y$ so that $f(x) = f(y); x ne y$, say $x = -1$ and $y=1$.... then we just take any set $A$ so that $yin A$ and $x not in A$.... say $A= {1}$.



                            The $A= {1}$, $f(A) = {f(w)|win A} = {f(1)} = 1$. And $f^{-1}(f(A)) = {y| f(y) in f(A)} ={y|f(y) in {1}} = {1, -1}$.



                            And that's a valid example..



                            Or $A = {-3,3, 1, 7}$. Or $B = mathbb R^+$ or $C = mathbb Rsetminus {-1}$.



                            Then $f(A) = {9,1,49}; f^{-1}(f(A)) = {pm 3, pm 1, pm 49}$.



                            $f(B) = mathbb R^+; f^{-1}(f(B)) = mathbb R$, $f(C) = mathbb R^+; f^{-1}(f(C)) = mathbb R^+$.



                            Etc.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 19 at 16:28









                            fleabloodfleablood

                            71.7k22686




                            71.7k22686






























                                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%2f3079492%2ffunctions-and-sets-show-that-if-a-is-a-subset-of-x-then-f-1fa-supseteq%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                MongoDB - Not Authorized To Execute Command

                                How to fix TextFormField cause rebuild widget in Flutter

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