Injective/Surjective Of Functions Help












1












$begingroup$


So I've created functions based off questions I have and I have to prove the functions are bijections.






  1. $A ∪ B$ and $[n + m]$ where $A$ has $n$ elements, $B$ has $m$ elements, and $A ∩ B = ∅$.
    Function: $$h(m)= begin{cases}a_k hspace{1.4 cm}{k le n} \ b_{k-n} hspace{1 cm}k > n end{cases}$$




Pf:



First we will prove injectivity. Let $m_1,m_2in mathbb{N}$ s.t. $m_1 neq m_2$. We will show $h(m_1) neq h(m_2)$. Case 1: Let $m_1leq n$ and $m_2leq n$. Then $h(m_1)=a_{m_1}neq a_{m_2}=h(m_2)$. Case 2: Let $m_1>n$ and $m_2leq n$. Then $h(m_1)=b_{m_1-n}neq a_{m_2}=h(m_2)$. I have two more cases that follow the format of the first two cases. So this shows the function is injective. Now we will prove this function is surjective. Let $nin (A cup B)$. We will find an $minmathbb{N}$ such that $h(m)=n$. Case 1: Let $mleq n$. Let $n=a_1$. Then $mleq n$ so $h(m)=a_1=n$. Case 2: Let $m>n$. Let $n=b_1$. Then $m>n$ so $h(m)=b_1=n$. We conclude h is surjective so the function is bijective.





  1. Let $[n]times[m]$ be the usual cartesian product of sets and $[nm]$ Function: $f((i,j))=i+(j-1)n$




Pf: We will first prove the function is injective. Let $i_1, i_2, j_1, j_2$ exist in $f$ s.t. $f(i_1,j_1)=f(i_2,j_2)$. Then $i_1+(j_1-1)n=i_2+(j_2-1)n$. Then $i_1+j_1n=i_2+j_2n$. So $i_1=i_2$ and $j_1=j_2$. As a result this function is an injection. The surjective part I am confused. I think I should be using the divison algorithm but I am not sure.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
    $endgroup$
    – Mason
    Dec 5 '18 at 0:16












  • $begingroup$
    I just made an account. I do not know what mathjax is sorry.
    $endgroup$
    – Marcus Dillions
    Dec 5 '18 at 0:21










  • $begingroup$
    Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
    $endgroup$
    – Mason
    Dec 5 '18 at 0:23










  • $begingroup$
    To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
    $endgroup$
    – user9077
    Dec 5 '18 at 0:25












  • $begingroup$
    Mathjax
    $endgroup$
    – Mason
    Dec 5 '18 at 0:26
















1












$begingroup$


So I've created functions based off questions I have and I have to prove the functions are bijections.






  1. $A ∪ B$ and $[n + m]$ where $A$ has $n$ elements, $B$ has $m$ elements, and $A ∩ B = ∅$.
    Function: $$h(m)= begin{cases}a_k hspace{1.4 cm}{k le n} \ b_{k-n} hspace{1 cm}k > n end{cases}$$




Pf:



First we will prove injectivity. Let $m_1,m_2in mathbb{N}$ s.t. $m_1 neq m_2$. We will show $h(m_1) neq h(m_2)$. Case 1: Let $m_1leq n$ and $m_2leq n$. Then $h(m_1)=a_{m_1}neq a_{m_2}=h(m_2)$. Case 2: Let $m_1>n$ and $m_2leq n$. Then $h(m_1)=b_{m_1-n}neq a_{m_2}=h(m_2)$. I have two more cases that follow the format of the first two cases. So this shows the function is injective. Now we will prove this function is surjective. Let $nin (A cup B)$. We will find an $minmathbb{N}$ such that $h(m)=n$. Case 1: Let $mleq n$. Let $n=a_1$. Then $mleq n$ so $h(m)=a_1=n$. Case 2: Let $m>n$. Let $n=b_1$. Then $m>n$ so $h(m)=b_1=n$. We conclude h is surjective so the function is bijective.





  1. Let $[n]times[m]$ be the usual cartesian product of sets and $[nm]$ Function: $f((i,j))=i+(j-1)n$




Pf: We will first prove the function is injective. Let $i_1, i_2, j_1, j_2$ exist in $f$ s.t. $f(i_1,j_1)=f(i_2,j_2)$. Then $i_1+(j_1-1)n=i_2+(j_2-1)n$. Then $i_1+j_1n=i_2+j_2n$. So $i_1=i_2$ and $j_1=j_2$. As a result this function is an injection. The surjective part I am confused. I think I should be using the divison algorithm but I am not sure.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
    $endgroup$
    – Mason
    Dec 5 '18 at 0:16












  • $begingroup$
    I just made an account. I do not know what mathjax is sorry.
    $endgroup$
    – Marcus Dillions
    Dec 5 '18 at 0:21










  • $begingroup$
    Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
    $endgroup$
    – Mason
    Dec 5 '18 at 0:23










  • $begingroup$
    To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
    $endgroup$
    – user9077
    Dec 5 '18 at 0:25












  • $begingroup$
    Mathjax
    $endgroup$
    – Mason
    Dec 5 '18 at 0:26














1












1








1





$begingroup$


So I've created functions based off questions I have and I have to prove the functions are bijections.






  1. $A ∪ B$ and $[n + m]$ where $A$ has $n$ elements, $B$ has $m$ elements, and $A ∩ B = ∅$.
    Function: $$h(m)= begin{cases}a_k hspace{1.4 cm}{k le n} \ b_{k-n} hspace{1 cm}k > n end{cases}$$




Pf:



First we will prove injectivity. Let $m_1,m_2in mathbb{N}$ s.t. $m_1 neq m_2$. We will show $h(m_1) neq h(m_2)$. Case 1: Let $m_1leq n$ and $m_2leq n$. Then $h(m_1)=a_{m_1}neq a_{m_2}=h(m_2)$. Case 2: Let $m_1>n$ and $m_2leq n$. Then $h(m_1)=b_{m_1-n}neq a_{m_2}=h(m_2)$. I have two more cases that follow the format of the first two cases. So this shows the function is injective. Now we will prove this function is surjective. Let $nin (A cup B)$. We will find an $minmathbb{N}$ such that $h(m)=n$. Case 1: Let $mleq n$. Let $n=a_1$. Then $mleq n$ so $h(m)=a_1=n$. Case 2: Let $m>n$. Let $n=b_1$. Then $m>n$ so $h(m)=b_1=n$. We conclude h is surjective so the function is bijective.





  1. Let $[n]times[m]$ be the usual cartesian product of sets and $[nm]$ Function: $f((i,j))=i+(j-1)n$




Pf: We will first prove the function is injective. Let $i_1, i_2, j_1, j_2$ exist in $f$ s.t. $f(i_1,j_1)=f(i_2,j_2)$. Then $i_1+(j_1-1)n=i_2+(j_2-1)n$. Then $i_1+j_1n=i_2+j_2n$. So $i_1=i_2$ and $j_1=j_2$. As a result this function is an injection. The surjective part I am confused. I think I should be using the divison algorithm but I am not sure.










share|cite|improve this question











$endgroup$




So I've created functions based off questions I have and I have to prove the functions are bijections.






  1. $A ∪ B$ and $[n + m]$ where $A$ has $n$ elements, $B$ has $m$ elements, and $A ∩ B = ∅$.
    Function: $$h(m)= begin{cases}a_k hspace{1.4 cm}{k le n} \ b_{k-n} hspace{1 cm}k > n end{cases}$$




Pf:



First we will prove injectivity. Let $m_1,m_2in mathbb{N}$ s.t. $m_1 neq m_2$. We will show $h(m_1) neq h(m_2)$. Case 1: Let $m_1leq n$ and $m_2leq n$. Then $h(m_1)=a_{m_1}neq a_{m_2}=h(m_2)$. Case 2: Let $m_1>n$ and $m_2leq n$. Then $h(m_1)=b_{m_1-n}neq a_{m_2}=h(m_2)$. I have two more cases that follow the format of the first two cases. So this shows the function is injective. Now we will prove this function is surjective. Let $nin (A cup B)$. We will find an $minmathbb{N}$ such that $h(m)=n$. Case 1: Let $mleq n$. Let $n=a_1$. Then $mleq n$ so $h(m)=a_1=n$. Case 2: Let $m>n$. Let $n=b_1$. Then $m>n$ so $h(m)=b_1=n$. We conclude h is surjective so the function is bijective.





  1. Let $[n]times[m]$ be the usual cartesian product of sets and $[nm]$ Function: $f((i,j))=i+(j-1)n$




Pf: We will first prove the function is injective. Let $i_1, i_2, j_1, j_2$ exist in $f$ s.t. $f(i_1,j_1)=f(i_2,j_2)$. Then $i_1+(j_1-1)n=i_2+(j_2-1)n$. Then $i_1+j_1n=i_2+j_2n$. So $i_1=i_2$ and $j_1=j_2$. As a result this function is an injection. The surjective part I am confused. I think I should be using the divison algorithm but I am not sure.







functions proof-verification elementary-set-theory proof-writing






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 5 '18 at 14:05









Martin Sleziak

44.8k9118272




44.8k9118272










asked Dec 5 '18 at 0:11









Marcus DillionsMarcus Dillions

63




63












  • $begingroup$
    Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
    $endgroup$
    – Mason
    Dec 5 '18 at 0:16












  • $begingroup$
    I just made an account. I do not know what mathjax is sorry.
    $endgroup$
    – Marcus Dillions
    Dec 5 '18 at 0:21










  • $begingroup$
    Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
    $endgroup$
    – Mason
    Dec 5 '18 at 0:23










  • $begingroup$
    To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
    $endgroup$
    – user9077
    Dec 5 '18 at 0:25












  • $begingroup$
    Mathjax
    $endgroup$
    – Mason
    Dec 5 '18 at 0:26


















  • $begingroup$
    Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
    $endgroup$
    – Mason
    Dec 5 '18 at 0:16












  • $begingroup$
    I just made an account. I do not know what mathjax is sorry.
    $endgroup$
    – Marcus Dillions
    Dec 5 '18 at 0:21










  • $begingroup$
    Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
    $endgroup$
    – Mason
    Dec 5 '18 at 0:23










  • $begingroup$
    To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
    $endgroup$
    – user9077
    Dec 5 '18 at 0:25












  • $begingroup$
    Mathjax
    $endgroup$
    – Mason
    Dec 5 '18 at 0:26
















$begingroup$
Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
$endgroup$
– Mason
Dec 5 '18 at 0:16






$begingroup$
Please add mathjax to make this readable. I did this for the last paragraph so that should help you see how this done.
$endgroup$
– Mason
Dec 5 '18 at 0:16














$begingroup$
I just made an account. I do not know what mathjax is sorry.
$endgroup$
– Marcus Dillions
Dec 5 '18 at 0:21




$begingroup$
I just made an account. I do not know what mathjax is sorry.
$endgroup$
– Marcus Dillions
Dec 5 '18 at 0:21












$begingroup$
Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
$endgroup$
– Mason
Dec 5 '18 at 0:23




$begingroup$
Yup. There is a link I can give you to help you learn it. I can find it. Or someone else will shortly post it for you. For now: see my edit and you will pick it up. It's not hard. Look for the $ signs
$endgroup$
– Mason
Dec 5 '18 at 0:23












$begingroup$
To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
$endgroup$
– user9077
Dec 5 '18 at 0:25






$begingroup$
To make it easier to see that your function is a bijection, rename the element as follows $A={a_1,ldots,a_n}$ and $B={a_{n+1},ldots, a_{n+m}}$. Now just definie $f(a_i)=i$ and it is easy to show that this function is bijective.
$endgroup$
– user9077
Dec 5 '18 at 0:25














$begingroup$
Mathjax
$endgroup$
– Mason
Dec 5 '18 at 0:26




$begingroup$
Mathjax
$endgroup$
– Mason
Dec 5 '18 at 0:26










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%2f3026384%2finjective-surjective-of-functions-help%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%2f3026384%2finjective-surjective-of-functions-help%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

Plaza Victoria

Puebla de Zaragoza

Musa