proof about injection












1












$begingroup$


I have to proof that the function $f : X rightarrow Y$ is an injection if and only if $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$.
I'm having some difficulties. First (1) I proof that if $f$ is an injection then $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$, successively I'll prove the inverse implication (2).



(1):



I want to show that a generic element of $f(Xsetminus T)$ belongs to $Y setminus f(T)$ too, but I don't know how to continue, it is not apparent to me how to use the injection of $f$.



(2)



EDIT as suggested by Mark, i'll try the direction 2.



We know that $forall x in Xsetminus T$ and $forall t in T$, we have $xneq t $, because x belongs to X but it does not belong to T. Now , if I choose $y in f(X setminus T)$, there is $x in X setminus T$ : $ y = f(x)$, because y is an element of the image of $Xsetminus T$ through $f$. But we know also that $y in Ysetminus f(T)$, so $y notin f(T)$, this implies that $forall t in T$, $yneq f(t)$. This reduces to $f(t) neq f(x) $. Is this proof valid ?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    I have to proof that the function $f : X rightarrow Y$ is an injection if and only if $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$.
    I'm having some difficulties. First (1) I proof that if $f$ is an injection then $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$, successively I'll prove the inverse implication (2).



    (1):



    I want to show that a generic element of $f(Xsetminus T)$ belongs to $Y setminus f(T)$ too, but I don't know how to continue, it is not apparent to me how to use the injection of $f$.



    (2)



    EDIT as suggested by Mark, i'll try the direction 2.



    We know that $forall x in Xsetminus T$ and $forall t in T$, we have $xneq t $, because x belongs to X but it does not belong to T. Now , if I choose $y in f(X setminus T)$, there is $x in X setminus T$ : $ y = f(x)$, because y is an element of the image of $Xsetminus T$ through $f$. But we know also that $y in Ysetminus f(T)$, so $y notin f(T)$, this implies that $forall t in T$, $yneq f(t)$. This reduces to $f(t) neq f(x) $. Is this proof valid ?










    share|cite|improve this question











    $endgroup$















      1












      1








      1


      1



      $begingroup$


      I have to proof that the function $f : X rightarrow Y$ is an injection if and only if $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$.
      I'm having some difficulties. First (1) I proof that if $f$ is an injection then $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$, successively I'll prove the inverse implication (2).



      (1):



      I want to show that a generic element of $f(Xsetminus T)$ belongs to $Y setminus f(T)$ too, but I don't know how to continue, it is not apparent to me how to use the injection of $f$.



      (2)



      EDIT as suggested by Mark, i'll try the direction 2.



      We know that $forall x in Xsetminus T$ and $forall t in T$, we have $xneq t $, because x belongs to X but it does not belong to T. Now , if I choose $y in f(X setminus T)$, there is $x in X setminus T$ : $ y = f(x)$, because y is an element of the image of $Xsetminus T$ through $f$. But we know also that $y in Ysetminus f(T)$, so $y notin f(T)$, this implies that $forall t in T$, $yneq f(t)$. This reduces to $f(t) neq f(x) $. Is this proof valid ?










      share|cite|improve this question











      $endgroup$




      I have to proof that the function $f : X rightarrow Y$ is an injection if and only if $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$.
      I'm having some difficulties. First (1) I proof that if $f$ is an injection then $forall T subseteq X$, $f(Xsetminus T) subseteq Y setminus f(T)$, successively I'll prove the inverse implication (2).



      (1):



      I want to show that a generic element of $f(Xsetminus T)$ belongs to $Y setminus f(T)$ too, but I don't know how to continue, it is not apparent to me how to use the injection of $f$.



      (2)



      EDIT as suggested by Mark, i'll try the direction 2.



      We know that $forall x in Xsetminus T$ and $forall t in T$, we have $xneq t $, because x belongs to X but it does not belong to T. Now , if I choose $y in f(X setminus T)$, there is $x in X setminus T$ : $ y = f(x)$, because y is an element of the image of $Xsetminus T$ through $f$. But we know also that $y in Ysetminus f(T)$, so $y notin f(T)$, this implies that $forall t in T$, $yneq f(t)$. This reduces to $f(t) neq f(x) $. Is this proof valid ?







      functions elementary-set-theory






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 28 '18 at 12:02







      RobPazzuzu7

















      asked Dec 28 '18 at 11:00









      RobPazzuzu7RobPazzuzu7

      83




      83






















          3 Answers
          3






          active

          oldest

          votes


















          0












          $begingroup$

          So we want to show $f$ is injective iff



          $$forall T subseteq X: f[Xsetminus T]subseteq Y setminus f[T]tag{*}$$



          So let $f$ be injective, $T subseteq X$ and let $y in f[Xsetminus T]$, i.e.
          $y=f(x)$ with $x notin T$. By definition of the function, $y in Y$, but I claim that also $y notin f[T]$, because otherwise $y=f(t)$ for some $t in T$, and as $x notin T$, we have that $x neq t$ but also $y=f(x)=f(t)$ contradicting that $f$ is injective. So $y in Ysetminus f[T]$, and $(ast)$ has been shown.



          Suppose that $(ast)$ holds. Suppose $f$ were not injective, so that we have that $x_1 neq x_2$ in $X$ with $y:= f(x_1) = f(x_2)$. Then $f[Xsetminus {x_1}] = Y$ (as the only point we could miss is $y$ but this is also assumed by $x_2 in Xsetminus {x_1}$) but $Ysetminus {y}$ is a proper subset of $Y$, so that $(ast)$ fails for $T={x_1}$ (or $T={x_2}$ too).
          This contradiction shows that $f$ is injective.






          share|cite|improve this answer











          $endgroup$





















            0












            $begingroup$

            It's straight from the definitions. Let $yin f(Xsetminus T)$. We need to show that $yin Y$ and that $ynotin f(T)$. Obviously $yin Y$ because $f$ maps elements of $X$ to $Y$. Now assume that $yin f(T)$. Then there is an element $xin T$ such that $f(x)=y$. On the other hand $yin f(Xsetminus T)$ so there is also an element $zin Xsetminus T$ such that $f(z)=y$. Hence $f(x)=f(z)$ when $xne z$ which is a contradiction to $f$ being injective. So $yin Ysetminus f(T)$. Now can you prove the other direction?






            share|cite|improve this answer









            $endgroup$





















              0












              $begingroup$

              Partial answer:



              2) $forall T subset X$, $f(X$ $T) subset Y$ $f(T)$



              $Rightarrow$ $f$ injective.



              Let $x not = t$;



              With $T=${$t$}:



              $x in X$ {$t$} ; and



              $f(x)in f(X$ {$t$}) $ subset Y$ $f(${$t$}).



              Then



              $f(x) not in f(${$t$}$)$, i.e. $f(x)not =f(t)$, injective.






              share|cite|improve this answer











              $endgroup$














                Your Answer








                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%2f3054780%2fproof-about-injection%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









                0












                $begingroup$

                So we want to show $f$ is injective iff



                $$forall T subseteq X: f[Xsetminus T]subseteq Y setminus f[T]tag{*}$$



                So let $f$ be injective, $T subseteq X$ and let $y in f[Xsetminus T]$, i.e.
                $y=f(x)$ with $x notin T$. By definition of the function, $y in Y$, but I claim that also $y notin f[T]$, because otherwise $y=f(t)$ for some $t in T$, and as $x notin T$, we have that $x neq t$ but also $y=f(x)=f(t)$ contradicting that $f$ is injective. So $y in Ysetminus f[T]$, and $(ast)$ has been shown.



                Suppose that $(ast)$ holds. Suppose $f$ were not injective, so that we have that $x_1 neq x_2$ in $X$ with $y:= f(x_1) = f(x_2)$. Then $f[Xsetminus {x_1}] = Y$ (as the only point we could miss is $y$ but this is also assumed by $x_2 in Xsetminus {x_1}$) but $Ysetminus {y}$ is a proper subset of $Y$, so that $(ast)$ fails for $T={x_1}$ (or $T={x_2}$ too).
                This contradiction shows that $f$ is injective.






                share|cite|improve this answer











                $endgroup$


















                  0












                  $begingroup$

                  So we want to show $f$ is injective iff



                  $$forall T subseteq X: f[Xsetminus T]subseteq Y setminus f[T]tag{*}$$



                  So let $f$ be injective, $T subseteq X$ and let $y in f[Xsetminus T]$, i.e.
                  $y=f(x)$ with $x notin T$. By definition of the function, $y in Y$, but I claim that also $y notin f[T]$, because otherwise $y=f(t)$ for some $t in T$, and as $x notin T$, we have that $x neq t$ but also $y=f(x)=f(t)$ contradicting that $f$ is injective. So $y in Ysetminus f[T]$, and $(ast)$ has been shown.



                  Suppose that $(ast)$ holds. Suppose $f$ were not injective, so that we have that $x_1 neq x_2$ in $X$ with $y:= f(x_1) = f(x_2)$. Then $f[Xsetminus {x_1}] = Y$ (as the only point we could miss is $y$ but this is also assumed by $x_2 in Xsetminus {x_1}$) but $Ysetminus {y}$ is a proper subset of $Y$, so that $(ast)$ fails for $T={x_1}$ (or $T={x_2}$ too).
                  This contradiction shows that $f$ is injective.






                  share|cite|improve this answer











                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    So we want to show $f$ is injective iff



                    $$forall T subseteq X: f[Xsetminus T]subseteq Y setminus f[T]tag{*}$$



                    So let $f$ be injective, $T subseteq X$ and let $y in f[Xsetminus T]$, i.e.
                    $y=f(x)$ with $x notin T$. By definition of the function, $y in Y$, but I claim that also $y notin f[T]$, because otherwise $y=f(t)$ for some $t in T$, and as $x notin T$, we have that $x neq t$ but also $y=f(x)=f(t)$ contradicting that $f$ is injective. So $y in Ysetminus f[T]$, and $(ast)$ has been shown.



                    Suppose that $(ast)$ holds. Suppose $f$ were not injective, so that we have that $x_1 neq x_2$ in $X$ with $y:= f(x_1) = f(x_2)$. Then $f[Xsetminus {x_1}] = Y$ (as the only point we could miss is $y$ but this is also assumed by $x_2 in Xsetminus {x_1}$) but $Ysetminus {y}$ is a proper subset of $Y$, so that $(ast)$ fails for $T={x_1}$ (or $T={x_2}$ too).
                    This contradiction shows that $f$ is injective.






                    share|cite|improve this answer











                    $endgroup$



                    So we want to show $f$ is injective iff



                    $$forall T subseteq X: f[Xsetminus T]subseteq Y setminus f[T]tag{*}$$



                    So let $f$ be injective, $T subseteq X$ and let $y in f[Xsetminus T]$, i.e.
                    $y=f(x)$ with $x notin T$. By definition of the function, $y in Y$, but I claim that also $y notin f[T]$, because otherwise $y=f(t)$ for some $t in T$, and as $x notin T$, we have that $x neq t$ but also $y=f(x)=f(t)$ contradicting that $f$ is injective. So $y in Ysetminus f[T]$, and $(ast)$ has been shown.



                    Suppose that $(ast)$ holds. Suppose $f$ were not injective, so that we have that $x_1 neq x_2$ in $X$ with $y:= f(x_1) = f(x_2)$. Then $f[Xsetminus {x_1}] = Y$ (as the only point we could miss is $y$ but this is also assumed by $x_2 in Xsetminus {x_1}$) but $Ysetminus {y}$ is a proper subset of $Y$, so that $(ast)$ fails for $T={x_1}$ (or $T={x_2}$ too).
                    This contradiction shows that $f$ is injective.







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Dec 29 '18 at 16:12

























                    answered Dec 28 '18 at 22:32









                    Henno BrandsmaHenno Brandsma

                    116k349127




                    116k349127























                        0












                        $begingroup$

                        It's straight from the definitions. Let $yin f(Xsetminus T)$. We need to show that $yin Y$ and that $ynotin f(T)$. Obviously $yin Y$ because $f$ maps elements of $X$ to $Y$. Now assume that $yin f(T)$. Then there is an element $xin T$ such that $f(x)=y$. On the other hand $yin f(Xsetminus T)$ so there is also an element $zin Xsetminus T$ such that $f(z)=y$. Hence $f(x)=f(z)$ when $xne z$ which is a contradiction to $f$ being injective. So $yin Ysetminus f(T)$. Now can you prove the other direction?






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          It's straight from the definitions. Let $yin f(Xsetminus T)$. We need to show that $yin Y$ and that $ynotin f(T)$. Obviously $yin Y$ because $f$ maps elements of $X$ to $Y$. Now assume that $yin f(T)$. Then there is an element $xin T$ such that $f(x)=y$. On the other hand $yin f(Xsetminus T)$ so there is also an element $zin Xsetminus T$ such that $f(z)=y$. Hence $f(x)=f(z)$ when $xne z$ which is a contradiction to $f$ being injective. So $yin Ysetminus f(T)$. Now can you prove the other direction?






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            It's straight from the definitions. Let $yin f(Xsetminus T)$. We need to show that $yin Y$ and that $ynotin f(T)$. Obviously $yin Y$ because $f$ maps elements of $X$ to $Y$. Now assume that $yin f(T)$. Then there is an element $xin T$ such that $f(x)=y$. On the other hand $yin f(Xsetminus T)$ so there is also an element $zin Xsetminus T$ such that $f(z)=y$. Hence $f(x)=f(z)$ when $xne z$ which is a contradiction to $f$ being injective. So $yin Ysetminus f(T)$. Now can you prove the other direction?






                            share|cite|improve this answer









                            $endgroup$



                            It's straight from the definitions. Let $yin f(Xsetminus T)$. We need to show that $yin Y$ and that $ynotin f(T)$. Obviously $yin Y$ because $f$ maps elements of $X$ to $Y$. Now assume that $yin f(T)$. Then there is an element $xin T$ such that $f(x)=y$. On the other hand $yin f(Xsetminus T)$ so there is also an element $zin Xsetminus T$ such that $f(z)=y$. Hence $f(x)=f(z)$ when $xne z$ which is a contradiction to $f$ being injective. So $yin Ysetminus f(T)$. Now can you prove the other direction?







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Dec 28 '18 at 11:05









                            MarkMark

                            10.5k1622




                            10.5k1622























                                0












                                $begingroup$

                                Partial answer:



                                2) $forall T subset X$, $f(X$ $T) subset Y$ $f(T)$



                                $Rightarrow$ $f$ injective.



                                Let $x not = t$;



                                With $T=${$t$}:



                                $x in X$ {$t$} ; and



                                $f(x)in f(X$ {$t$}) $ subset Y$ $f(${$t$}).



                                Then



                                $f(x) not in f(${$t$}$)$, i.e. $f(x)not =f(t)$, injective.






                                share|cite|improve this answer











                                $endgroup$


















                                  0












                                  $begingroup$

                                  Partial answer:



                                  2) $forall T subset X$, $f(X$ $T) subset Y$ $f(T)$



                                  $Rightarrow$ $f$ injective.



                                  Let $x not = t$;



                                  With $T=${$t$}:



                                  $x in X$ {$t$} ; and



                                  $f(x)in f(X$ {$t$}) $ subset Y$ $f(${$t$}).



                                  Then



                                  $f(x) not in f(${$t$}$)$, i.e. $f(x)not =f(t)$, injective.






                                  share|cite|improve this answer











                                  $endgroup$
















                                    0












                                    0








                                    0





                                    $begingroup$

                                    Partial answer:



                                    2) $forall T subset X$, $f(X$ $T) subset Y$ $f(T)$



                                    $Rightarrow$ $f$ injective.



                                    Let $x not = t$;



                                    With $T=${$t$}:



                                    $x in X$ {$t$} ; and



                                    $f(x)in f(X$ {$t$}) $ subset Y$ $f(${$t$}).



                                    Then



                                    $f(x) not in f(${$t$}$)$, i.e. $f(x)not =f(t)$, injective.






                                    share|cite|improve this answer











                                    $endgroup$



                                    Partial answer:



                                    2) $forall T subset X$, $f(X$ $T) subset Y$ $f(T)$



                                    $Rightarrow$ $f$ injective.



                                    Let $x not = t$;



                                    With $T=${$t$}:



                                    $x in X$ {$t$} ; and



                                    $f(x)in f(X$ {$t$}) $ subset Y$ $f(${$t$}).



                                    Then



                                    $f(x) not in f(${$t$}$)$, i.e. $f(x)not =f(t)$, injective.







                                    share|cite|improve this answer














                                    share|cite|improve this answer



                                    share|cite|improve this answer








                                    edited Dec 28 '18 at 16:18

























                                    answered Dec 28 '18 at 16:06









                                    Peter SzilasPeter Szilas

                                    12k2822




                                    12k2822






























                                        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%2f3054780%2fproof-about-injection%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

                                        How to change which sound is reproduced for terminal bell?

                                        Can I use Tabulator js library in my java Spring + Thymeleaf project?

                                        Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents