Difficulty discerning onto vs not onto if $f: Bbb Z to Bbb Z$ has the rule $f(x) = 4x^2 + 1$ then $f$ a...












0












$begingroup$


I'm asking this question on regards to an assignment my teacher handed out and she has a nasty habbit of never replying to e-mails. The question is already answered but it only brings up more questions than it answers.



She wrote down the answer to this was False $f(2) = f(-2)$ but if the condition was that it was an integer implies an integer, how would it not be an onto? The answer it gives is always going to be an integer



It could just be that I don't understand the question but is it because that it wasn't
positive integers imply positive integers? ($Bbb Z^+ toBbb Z^+$).



Thanks










share|cite|improve this question











$endgroup$












  • $begingroup$
    How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:28






  • 1




    $begingroup$
    It is not onto as a there is no integer in the domain such that $f(x) = 3$
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:29










  • $begingroup$
    @CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:30










  • $begingroup$
    @DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:32










  • $begingroup$
    Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:34
















0












$begingroup$


I'm asking this question on regards to an assignment my teacher handed out and she has a nasty habbit of never replying to e-mails. The question is already answered but it only brings up more questions than it answers.



She wrote down the answer to this was False $f(2) = f(-2)$ but if the condition was that it was an integer implies an integer, how would it not be an onto? The answer it gives is always going to be an integer



It could just be that I don't understand the question but is it because that it wasn't
positive integers imply positive integers? ($Bbb Z^+ toBbb Z^+$).



Thanks










share|cite|improve this question











$endgroup$












  • $begingroup$
    How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:28






  • 1




    $begingroup$
    It is not onto as a there is no integer in the domain such that $f(x) = 3$
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:29










  • $begingroup$
    @CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:30










  • $begingroup$
    @DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:32










  • $begingroup$
    Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:34














0












0








0





$begingroup$


I'm asking this question on regards to an assignment my teacher handed out and she has a nasty habbit of never replying to e-mails. The question is already answered but it only brings up more questions than it answers.



She wrote down the answer to this was False $f(2) = f(-2)$ but if the condition was that it was an integer implies an integer, how would it not be an onto? The answer it gives is always going to be an integer



It could just be that I don't understand the question but is it because that it wasn't
positive integers imply positive integers? ($Bbb Z^+ toBbb Z^+$).



Thanks










share|cite|improve this question











$endgroup$




I'm asking this question on regards to an assignment my teacher handed out and she has a nasty habbit of never replying to e-mails. The question is already answered but it only brings up more questions than it answers.



She wrote down the answer to this was False $f(2) = f(-2)$ but if the condition was that it was an integer implies an integer, how would it not be an onto? The answer it gives is always going to be an integer



It could just be that I don't understand the question but is it because that it wasn't
positive integers imply positive integers? ($Bbb Z^+ toBbb Z^+$).



Thanks







discrete-mathematics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 13 '18 at 22:24









Tianlalu

3,28521238




3,28521238










asked Dec 13 '18 at 22:22









RyanJohnTylerRyanJohnTyler

31




31












  • $begingroup$
    How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:28






  • 1




    $begingroup$
    It is not onto as a there is no integer in the domain such that $f(x) = 3$
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:29










  • $begingroup$
    @CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:30










  • $begingroup$
    @DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:32










  • $begingroup$
    Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:34


















  • $begingroup$
    How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:28






  • 1




    $begingroup$
    It is not onto as a there is no integer in the domain such that $f(x) = 3$
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:29










  • $begingroup$
    @CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
    $endgroup$
    – Doug M
    Dec 13 '18 at 22:30










  • $begingroup$
    @DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
    $endgroup$
    – Calvin Khor
    Dec 13 '18 at 22:32










  • $begingroup$
    Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:34
















$begingroup$
How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
$endgroup$
– Calvin Khor
Dec 13 '18 at 22:28




$begingroup$
How can it be onto if $4x^2+1$ is never negative? Also your teacher is exhibiting that the map isn't injective
$endgroup$
– Calvin Khor
Dec 13 '18 at 22:28




1




1




$begingroup$
It is not onto as a there is no integer in the domain such that $f(x) = 3$
$endgroup$
– Doug M
Dec 13 '18 at 22:29




$begingroup$
It is not onto as a there is no integer in the domain such that $f(x) = 3$
$endgroup$
– Doug M
Dec 13 '18 at 22:29












$begingroup$
@CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
$endgroup$
– Doug M
Dec 13 '18 at 22:30




$begingroup$
@CalvinKhor the OP does say positive integers as the co-domain. Nonetheless it is still not onto.
$endgroup$
– Doug M
Dec 13 '18 at 22:30












$begingroup$
@DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
$endgroup$
– Calvin Khor
Dec 13 '18 at 22:32




$begingroup$
@DougM I'm having difficulty discerning the meaning, eg positive integers appear in the end but not in the title. So I was trying to get a clarifying remark
$endgroup$
– Calvin Khor
Dec 13 '18 at 22:32












$begingroup$
Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
$endgroup$
– RyanJohnTyler
Dec 13 '18 at 22:34




$begingroup$
Sorry if it's a little confusing, I was trying to quote the question as best I could Here's a picture
$endgroup$
– RyanJohnTyler
Dec 13 '18 at 22:34










3 Answers
3






active

oldest

votes


















1












$begingroup$

I think you have mixed up a couple of things.



A quick refresher on terminology:




  • Domain: the given set of valid inputs to the function. For this answer I will write this as $Dom(f)$


  • Co-domain: the given set of possible valid outputs from the function.


  • Range: the actual set of outputs from the function, i.e. the set of ${f(x) : x in Dom(f)}$. The range is a subset of the co-domain.


  • Injection (aka one-to-one): for any value in the co-domain, there is at most one value in the domain that is mapped onto it. We often write this as $forall x,y in Dom(f): f(x) = f(y) implies x = y$


  • Surjection (aka onto): every value in the codomain is in the range (the set of actual outputs), or in other words you can always find an input that will map to it. We often write this as $forall z in Range(f): exists x in Dom(f) f(x) = z$


  • Bijection: the function is both an injection and a surjection, meaning that there is an exact correspondence between the domain and codomain of the function.



If your function was expressed as $f: mathbb{Z} rightarrow mathbb{Z}$, then both the domain and codomain are the set of integers.



Is $f$ injective? No, because there exist values in the codomain with multiple possible inputs from the domain. For example, $f(2) = f(-2)$. This is the point of the note.



Is $f$ surjective? No, because there exist values in the codomain with no possible inputs. For example, it is clear that $f$ will always produce a positive value, so any negative integer will not be in the range of the function. And, as pointed out in the comments, even if the codomain were restricted to $mathbb{Z}^+$, i.e. the positive integers, there are plenty of gaps (e.g. there is no $x in mathbb{Z}$ such that $f(x) = 3$).






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 23:18



















0












$begingroup$

The function $f$ is a bijection iff it is injective and surjective. Since $f(-2)=f(2)$, the function is not injective and hence not a bijection (recall that injective means that for all $x,y$ if $f(x)=f(y)$, then $x=y$).



The function is not surjective either. For example $-1$ is not in the image. Even if we restrict the codomain to the non-negative integers, it is still not surjective. For example $2$ is not in the image in this case.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:35



















0












$begingroup$

I'm not sure quite what the question entirely wants, but for the purpose of an answer, I'll assume the question is as follows:




Prove whether or not the function $f(x)=4x^2+1$ is onto in the domain and codomain of $mathbb{Z}$.




In this case, her answer is a counterexample to $f$ being onto. If $f(2)=f(-2)$ (which it is by the nature of the $x^2$ term), then by definition, $f$ is not injective. Also recall that an onto function is a bijective one, i.e. one which is both surjective and injective. Since $f$ is not injective, it is not onto.



In fact, we can generalize this property. Considering the fact that $x^{2n}=(-x)^{2n}$ for all $x in mathbb{Z}$, we can write the following property:




Any function $f: mathbb{Z} rightarrow mathbb{Z}$ in the form of $$f(x) = sum_{iin I} a_ix^{2i}$$ where $I subset mathbb{Z}$ is not an onto function.







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%2f3038647%2fdifficulty-discerning-onto-vs-not-onto-if-f-bbb-z-to-bbb-z-has-the-rule-f%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









    1












    $begingroup$

    I think you have mixed up a couple of things.



    A quick refresher on terminology:




    • Domain: the given set of valid inputs to the function. For this answer I will write this as $Dom(f)$


    • Co-domain: the given set of possible valid outputs from the function.


    • Range: the actual set of outputs from the function, i.e. the set of ${f(x) : x in Dom(f)}$. The range is a subset of the co-domain.


    • Injection (aka one-to-one): for any value in the co-domain, there is at most one value in the domain that is mapped onto it. We often write this as $forall x,y in Dom(f): f(x) = f(y) implies x = y$


    • Surjection (aka onto): every value in the codomain is in the range (the set of actual outputs), or in other words you can always find an input that will map to it. We often write this as $forall z in Range(f): exists x in Dom(f) f(x) = z$


    • Bijection: the function is both an injection and a surjection, meaning that there is an exact correspondence between the domain and codomain of the function.



    If your function was expressed as $f: mathbb{Z} rightarrow mathbb{Z}$, then both the domain and codomain are the set of integers.



    Is $f$ injective? No, because there exist values in the codomain with multiple possible inputs from the domain. For example, $f(2) = f(-2)$. This is the point of the note.



    Is $f$ surjective? No, because there exist values in the codomain with no possible inputs. For example, it is clear that $f$ will always produce a positive value, so any negative integer will not be in the range of the function. And, as pointed out in the comments, even if the codomain were restricted to $mathbb{Z}^+$, i.e. the positive integers, there are plenty of gaps (e.g. there is no $x in mathbb{Z}$ such that $f(x) = 3$).






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 23:18
















    1












    $begingroup$

    I think you have mixed up a couple of things.



    A quick refresher on terminology:




    • Domain: the given set of valid inputs to the function. For this answer I will write this as $Dom(f)$


    • Co-domain: the given set of possible valid outputs from the function.


    • Range: the actual set of outputs from the function, i.e. the set of ${f(x) : x in Dom(f)}$. The range is a subset of the co-domain.


    • Injection (aka one-to-one): for any value in the co-domain, there is at most one value in the domain that is mapped onto it. We often write this as $forall x,y in Dom(f): f(x) = f(y) implies x = y$


    • Surjection (aka onto): every value in the codomain is in the range (the set of actual outputs), or in other words you can always find an input that will map to it. We often write this as $forall z in Range(f): exists x in Dom(f) f(x) = z$


    • Bijection: the function is both an injection and a surjection, meaning that there is an exact correspondence between the domain and codomain of the function.



    If your function was expressed as $f: mathbb{Z} rightarrow mathbb{Z}$, then both the domain and codomain are the set of integers.



    Is $f$ injective? No, because there exist values in the codomain with multiple possible inputs from the domain. For example, $f(2) = f(-2)$. This is the point of the note.



    Is $f$ surjective? No, because there exist values in the codomain with no possible inputs. For example, it is clear that $f$ will always produce a positive value, so any negative integer will not be in the range of the function. And, as pointed out in the comments, even if the codomain were restricted to $mathbb{Z}^+$, i.e. the positive integers, there are plenty of gaps (e.g. there is no $x in mathbb{Z}$ such that $f(x) = 3$).






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 23:18














    1












    1








    1





    $begingroup$

    I think you have mixed up a couple of things.



    A quick refresher on terminology:




    • Domain: the given set of valid inputs to the function. For this answer I will write this as $Dom(f)$


    • Co-domain: the given set of possible valid outputs from the function.


    • Range: the actual set of outputs from the function, i.e. the set of ${f(x) : x in Dom(f)}$. The range is a subset of the co-domain.


    • Injection (aka one-to-one): for any value in the co-domain, there is at most one value in the domain that is mapped onto it. We often write this as $forall x,y in Dom(f): f(x) = f(y) implies x = y$


    • Surjection (aka onto): every value in the codomain is in the range (the set of actual outputs), or in other words you can always find an input that will map to it. We often write this as $forall z in Range(f): exists x in Dom(f) f(x) = z$


    • Bijection: the function is both an injection and a surjection, meaning that there is an exact correspondence between the domain and codomain of the function.



    If your function was expressed as $f: mathbb{Z} rightarrow mathbb{Z}$, then both the domain and codomain are the set of integers.



    Is $f$ injective? No, because there exist values in the codomain with multiple possible inputs from the domain. For example, $f(2) = f(-2)$. This is the point of the note.



    Is $f$ surjective? No, because there exist values in the codomain with no possible inputs. For example, it is clear that $f$ will always produce a positive value, so any negative integer will not be in the range of the function. And, as pointed out in the comments, even if the codomain were restricted to $mathbb{Z}^+$, i.e. the positive integers, there are plenty of gaps (e.g. there is no $x in mathbb{Z}$ such that $f(x) = 3$).






    share|cite|improve this answer









    $endgroup$



    I think you have mixed up a couple of things.



    A quick refresher on terminology:




    • Domain: the given set of valid inputs to the function. For this answer I will write this as $Dom(f)$


    • Co-domain: the given set of possible valid outputs from the function.


    • Range: the actual set of outputs from the function, i.e. the set of ${f(x) : x in Dom(f)}$. The range is a subset of the co-domain.


    • Injection (aka one-to-one): for any value in the co-domain, there is at most one value in the domain that is mapped onto it. We often write this as $forall x,y in Dom(f): f(x) = f(y) implies x = y$


    • Surjection (aka onto): every value in the codomain is in the range (the set of actual outputs), or in other words you can always find an input that will map to it. We often write this as $forall z in Range(f): exists x in Dom(f) f(x) = z$


    • Bijection: the function is both an injection and a surjection, meaning that there is an exact correspondence between the domain and codomain of the function.



    If your function was expressed as $f: mathbb{Z} rightarrow mathbb{Z}$, then both the domain and codomain are the set of integers.



    Is $f$ injective? No, because there exist values in the codomain with multiple possible inputs from the domain. For example, $f(2) = f(-2)$. This is the point of the note.



    Is $f$ surjective? No, because there exist values in the codomain with no possible inputs. For example, it is clear that $f$ will always produce a positive value, so any negative integer will not be in the range of the function. And, as pointed out in the comments, even if the codomain were restricted to $mathbb{Z}^+$, i.e. the positive integers, there are plenty of gaps (e.g. there is no $x in mathbb{Z}$ such that $f(x) = 3$).







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 13 '18 at 22:39









    ConManConMan

    7,9671324




    7,9671324












    • $begingroup$
      Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 23:18


















    • $begingroup$
      Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 23:18
















    $begingroup$
    Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 23:18




    $begingroup$
    Thanks, I wish there was a way to mark more than one answer but that refresher helped a ton. I am getting my terms mixed up
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 23:18











    0












    $begingroup$

    The function $f$ is a bijection iff it is injective and surjective. Since $f(-2)=f(2)$, the function is not injective and hence not a bijection (recall that injective means that for all $x,y$ if $f(x)=f(y)$, then $x=y$).



    The function is not surjective either. For example $-1$ is not in the image. Even if we restrict the codomain to the non-negative integers, it is still not surjective. For example $2$ is not in the image in this case.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 22:35
















    0












    $begingroup$

    The function $f$ is a bijection iff it is injective and surjective. Since $f(-2)=f(2)$, the function is not injective and hence not a bijection (recall that injective means that for all $x,y$ if $f(x)=f(y)$, then $x=y$).



    The function is not surjective either. For example $-1$ is not in the image. Even if we restrict the codomain to the non-negative integers, it is still not surjective. For example $2$ is not in the image in this case.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 22:35














    0












    0








    0





    $begingroup$

    The function $f$ is a bijection iff it is injective and surjective. Since $f(-2)=f(2)$, the function is not injective and hence not a bijection (recall that injective means that for all $x,y$ if $f(x)=f(y)$, then $x=y$).



    The function is not surjective either. For example $-1$ is not in the image. Even if we restrict the codomain to the non-negative integers, it is still not surjective. For example $2$ is not in the image in this case.






    share|cite|improve this answer









    $endgroup$



    The function $f$ is a bijection iff it is injective and surjective. Since $f(-2)=f(2)$, the function is not injective and hence not a bijection (recall that injective means that for all $x,y$ if $f(x)=f(y)$, then $x=y$).



    The function is not surjective either. For example $-1$ is not in the image. Even if we restrict the codomain to the non-negative integers, it is still not surjective. For example $2$ is not in the image in this case.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 13 '18 at 22:29









    Foobaz JohnFoobaz John

    22.9k41552




    22.9k41552












    • $begingroup$
      Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 22:35


















    • $begingroup$
      Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
      $endgroup$
      – RyanJohnTyler
      Dec 13 '18 at 22:35
















    $begingroup$
    Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:35




    $begingroup$
    Thanks, I guess it was just a lack of knowledge on the subject and not fully understanding the question myself.
    $endgroup$
    – RyanJohnTyler
    Dec 13 '18 at 22:35











    0












    $begingroup$

    I'm not sure quite what the question entirely wants, but for the purpose of an answer, I'll assume the question is as follows:




    Prove whether or not the function $f(x)=4x^2+1$ is onto in the domain and codomain of $mathbb{Z}$.




    In this case, her answer is a counterexample to $f$ being onto. If $f(2)=f(-2)$ (which it is by the nature of the $x^2$ term), then by definition, $f$ is not injective. Also recall that an onto function is a bijective one, i.e. one which is both surjective and injective. Since $f$ is not injective, it is not onto.



    In fact, we can generalize this property. Considering the fact that $x^{2n}=(-x)^{2n}$ for all $x in mathbb{Z}$, we can write the following property:




    Any function $f: mathbb{Z} rightarrow mathbb{Z}$ in the form of $$f(x) = sum_{iin I} a_ix^{2i}$$ where $I subset mathbb{Z}$ is not an onto function.







    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      I'm not sure quite what the question entirely wants, but for the purpose of an answer, I'll assume the question is as follows:




      Prove whether or not the function $f(x)=4x^2+1$ is onto in the domain and codomain of $mathbb{Z}$.




      In this case, her answer is a counterexample to $f$ being onto. If $f(2)=f(-2)$ (which it is by the nature of the $x^2$ term), then by definition, $f$ is not injective. Also recall that an onto function is a bijective one, i.e. one which is both surjective and injective. Since $f$ is not injective, it is not onto.



      In fact, we can generalize this property. Considering the fact that $x^{2n}=(-x)^{2n}$ for all $x in mathbb{Z}$, we can write the following property:




      Any function $f: mathbb{Z} rightarrow mathbb{Z}$ in the form of $$f(x) = sum_{iin I} a_ix^{2i}$$ where $I subset mathbb{Z}$ is not an onto function.







      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        I'm not sure quite what the question entirely wants, but for the purpose of an answer, I'll assume the question is as follows:




        Prove whether or not the function $f(x)=4x^2+1$ is onto in the domain and codomain of $mathbb{Z}$.




        In this case, her answer is a counterexample to $f$ being onto. If $f(2)=f(-2)$ (which it is by the nature of the $x^2$ term), then by definition, $f$ is not injective. Also recall that an onto function is a bijective one, i.e. one which is both surjective and injective. Since $f$ is not injective, it is not onto.



        In fact, we can generalize this property. Considering the fact that $x^{2n}=(-x)^{2n}$ for all $x in mathbb{Z}$, we can write the following property:




        Any function $f: mathbb{Z} rightarrow mathbb{Z}$ in the form of $$f(x) = sum_{iin I} a_ix^{2i}$$ where $I subset mathbb{Z}$ is not an onto function.







        share|cite|improve this answer









        $endgroup$



        I'm not sure quite what the question entirely wants, but for the purpose of an answer, I'll assume the question is as follows:




        Prove whether or not the function $f(x)=4x^2+1$ is onto in the domain and codomain of $mathbb{Z}$.




        In this case, her answer is a counterexample to $f$ being onto. If $f(2)=f(-2)$ (which it is by the nature of the $x^2$ term), then by definition, $f$ is not injective. Also recall that an onto function is a bijective one, i.e. one which is both surjective and injective. Since $f$ is not injective, it is not onto.



        In fact, we can generalize this property. Considering the fact that $x^{2n}=(-x)^{2n}$ for all $x in mathbb{Z}$, we can write the following property:




        Any function $f: mathbb{Z} rightarrow mathbb{Z}$ in the form of $$f(x) = sum_{iin I} a_ix^{2i}$$ where $I subset mathbb{Z}$ is not an onto function.








        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 13 '18 at 22:38









        Vedvart1Vedvart1

        597419




        597419






























            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%2f3038647%2fdifficulty-discerning-onto-vs-not-onto-if-f-bbb-z-to-bbb-z-has-the-rule-f%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?