Proving that if |domain (f)|= |codomain (f)| where f:A→B is surjective, it will be injective too












0












$begingroup$


I thought about going to prove this by contradiction.
Assume that the domain and the codomain are finite.



Assuming for contradiction that if f(a)=f(b);a≠b;a,b∈A



Because of |A|=|B|, A and B are finite, there exists e∈B for which there does not exist d∈A: f(d)=e



Therefore f is not surjective which leads us to the contradiction. So f must be injective too.



The issue is that I am not sure if this proof is correct formulated as I am a beginner. So I would like to see opinions or ways about how can I fix this, thanks.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
    $endgroup$
    – user3482749
    Jan 13 at 18:20










  • $begingroup$
    I have edited, is it now a proper proof @user3482749?
    $endgroup$
    – Val
    Jan 13 at 18:30










  • $begingroup$
    Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
    $endgroup$
    – user3482749
    Jan 13 at 18:32










  • $begingroup$
    I mentioned that A and B are finite now @user3482749
    $endgroup$
    – Val
    Jan 13 at 18:47
















0












$begingroup$


I thought about going to prove this by contradiction.
Assume that the domain and the codomain are finite.



Assuming for contradiction that if f(a)=f(b);a≠b;a,b∈A



Because of |A|=|B|, A and B are finite, there exists e∈B for which there does not exist d∈A: f(d)=e



Therefore f is not surjective which leads us to the contradiction. So f must be injective too.



The issue is that I am not sure if this proof is correct formulated as I am a beginner. So I would like to see opinions or ways about how can I fix this, thanks.










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
    $endgroup$
    – user3482749
    Jan 13 at 18:20










  • $begingroup$
    I have edited, is it now a proper proof @user3482749?
    $endgroup$
    – Val
    Jan 13 at 18:30










  • $begingroup$
    Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
    $endgroup$
    – user3482749
    Jan 13 at 18:32










  • $begingroup$
    I mentioned that A and B are finite now @user3482749
    $endgroup$
    – Val
    Jan 13 at 18:47














0












0








0





$begingroup$


I thought about going to prove this by contradiction.
Assume that the domain and the codomain are finite.



Assuming for contradiction that if f(a)=f(b);a≠b;a,b∈A



Because of |A|=|B|, A and B are finite, there exists e∈B for which there does not exist d∈A: f(d)=e



Therefore f is not surjective which leads us to the contradiction. So f must be injective too.



The issue is that I am not sure if this proof is correct formulated as I am a beginner. So I would like to see opinions or ways about how can I fix this, thanks.










share|cite|improve this question











$endgroup$




I thought about going to prove this by contradiction.
Assume that the domain and the codomain are finite.



Assuming for contradiction that if f(a)=f(b);a≠b;a,b∈A



Because of |A|=|B|, A and B are finite, there exists e∈B for which there does not exist d∈A: f(d)=e



Therefore f is not surjective which leads us to the contradiction. So f must be injective too.



The issue is that I am not sure if this proof is correct formulated as I am a beginner. So I would like to see opinions or ways about how can I fix this, thanks.







abstract-algebra functions






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 13 at 18:47









jgon

14.5k22042




14.5k22042










asked Jan 13 at 18:17









ValVal

557




557








  • 2




    $begingroup$
    There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
    $endgroup$
    – user3482749
    Jan 13 at 18:20










  • $begingroup$
    I have edited, is it now a proper proof @user3482749?
    $endgroup$
    – Val
    Jan 13 at 18:30










  • $begingroup$
    Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
    $endgroup$
    – user3482749
    Jan 13 at 18:32










  • $begingroup$
    I mentioned that A and B are finite now @user3482749
    $endgroup$
    – Val
    Jan 13 at 18:47














  • 2




    $begingroup$
    There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
    $endgroup$
    – user3482749
    Jan 13 at 18:20










  • $begingroup$
    I have edited, is it now a proper proof @user3482749?
    $endgroup$
    – Val
    Jan 13 at 18:30










  • $begingroup$
    Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
    $endgroup$
    – user3482749
    Jan 13 at 18:32










  • $begingroup$
    I mentioned that A and B are finite now @user3482749
    $endgroup$
    – Val
    Jan 13 at 18:47








2




2




$begingroup$
There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
$endgroup$
– user3482749
Jan 13 at 18:20




$begingroup$
There's a fairly major assumption missing from the question: it's important that both the domain and the codomain are finite, otherwise it's false (consider the function from the integers to the naturals sending every $x$ to $2x$, for example: how would your proof break down here? If it's not clear, change your proof until it is)
$endgroup$
– user3482749
Jan 13 at 18:20












$begingroup$
I have edited, is it now a proper proof @user3482749?
$endgroup$
– Val
Jan 13 at 18:30




$begingroup$
I have edited, is it now a proper proof @user3482749?
$endgroup$
– Val
Jan 13 at 18:30












$begingroup$
Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
$endgroup$
– user3482749
Jan 13 at 18:32




$begingroup$
Notice that adding that didn't actually change your proof in any way: you haven't used the finiteness anywhere, or rather you haven't said where you're using it. Which step in your proof uses the finiteness?
$endgroup$
– user3482749
Jan 13 at 18:32












$begingroup$
I mentioned that A and B are finite now @user3482749
$endgroup$
– Val
Jan 13 at 18:47




$begingroup$
I mentioned that A and B are finite now @user3482749
$endgroup$
– Val
Jan 13 at 18:47










0






active

oldest

votes











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%2f3072346%2fproving-that-if-domain-f-codomain-f-where-fa%25e2%2586%2592b-is-surjective-it-will%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3072346%2fproving-that-if-domain-f-codomain-f-where-fa%25e2%2586%2592b-is-surjective-it-will%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

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith