How many functions can be made with the following sets?
$begingroup$
Lets say we have a function $f:Xrightarrow Y$ where $X={a,b,c,d}$ and $Y={x,y}$. Can we assign each $xin{X}$ to $yin{Y}$ in $4^2$ different possible ways? that is, create $16$ possible functions? below is my answer. Is there an easier or quicker method to do this or is my answer sufficient for this type of question?
$$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=x;$$
functions proof-verification
$endgroup$
add a comment |
$begingroup$
Lets say we have a function $f:Xrightarrow Y$ where $X={a,b,c,d}$ and $Y={x,y}$. Can we assign each $xin{X}$ to $yin{Y}$ in $4^2$ different possible ways? that is, create $16$ possible functions? below is my answer. Is there an easier or quicker method to do this or is my answer sufficient for this type of question?
$$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=x;$$
functions proof-verification
$endgroup$
1
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32
add a comment |
$begingroup$
Lets say we have a function $f:Xrightarrow Y$ where $X={a,b,c,d}$ and $Y={x,y}$. Can we assign each $xin{X}$ to $yin{Y}$ in $4^2$ different possible ways? that is, create $16$ possible functions? below is my answer. Is there an easier or quicker method to do this or is my answer sufficient for this type of question?
$$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=x;$$
functions proof-verification
$endgroup$
Lets say we have a function $f:Xrightarrow Y$ where $X={a,b,c,d}$ and $Y={x,y}$. Can we assign each $xin{X}$ to $yin{Y}$ in $4^2$ different possible ways? that is, create $16$ possible functions? below is my answer. Is there an easier or quicker method to do this or is my answer sufficient for this type of question?
$$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=x;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=x, f(c)=y ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=y , f(b)=y, f(c)=x ,f(d)=y;$$ $$f:Xrightarrow Yquad f(a)=x , f(b)=y, f(c)=x ,f(d)=x;$$
functions proof-verification
functions proof-verification
edited Jan 17 at 21:28
asked Jan 17 at 21:25
user606466
1
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32
add a comment |
1
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32
1
1
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
For each element in X, there are two elements in $Y$ that they can be mapped to an element in $Y$: $a$ can be mapped to $x$ or $y$; same thing for $b, c, d$. In all we have: $2cdot 2 cdot 2cdot 2 = 2^4 = 16$ ways to do that.
But you've explicitly written the list of all possible function assignments from $Xto Y$, which helps you understand this.
In general, given a set $X$ with $n$ elements, and a set $Y$ with $m$ elements, then the number of functions $f: Xto Y$ is equal to $|Y|^{|X|} = m^n$.
$endgroup$
add a comment |
$begingroup$
You actually got the right answer for the wrong reason: you want $mid Y^Xmid=mid Ymid^{mid Xmid}=2^4=16$.
Though it looks like you listed them correctly.
$endgroup$
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3077529%2fhow-many-functions-can-be-made-with-the-following-sets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
For each element in X, there are two elements in $Y$ that they can be mapped to an element in $Y$: $a$ can be mapped to $x$ or $y$; same thing for $b, c, d$. In all we have: $2cdot 2 cdot 2cdot 2 = 2^4 = 16$ ways to do that.
But you've explicitly written the list of all possible function assignments from $Xto Y$, which helps you understand this.
In general, given a set $X$ with $n$ elements, and a set $Y$ with $m$ elements, then the number of functions $f: Xto Y$ is equal to $|Y|^{|X|} = m^n$.
$endgroup$
add a comment |
$begingroup$
For each element in X, there are two elements in $Y$ that they can be mapped to an element in $Y$: $a$ can be mapped to $x$ or $y$; same thing for $b, c, d$. In all we have: $2cdot 2 cdot 2cdot 2 = 2^4 = 16$ ways to do that.
But you've explicitly written the list of all possible function assignments from $Xto Y$, which helps you understand this.
In general, given a set $X$ with $n$ elements, and a set $Y$ with $m$ elements, then the number of functions $f: Xto Y$ is equal to $|Y|^{|X|} = m^n$.
$endgroup$
add a comment |
$begingroup$
For each element in X, there are two elements in $Y$ that they can be mapped to an element in $Y$: $a$ can be mapped to $x$ or $y$; same thing for $b, c, d$. In all we have: $2cdot 2 cdot 2cdot 2 = 2^4 = 16$ ways to do that.
But you've explicitly written the list of all possible function assignments from $Xto Y$, which helps you understand this.
In general, given a set $X$ with $n$ elements, and a set $Y$ with $m$ elements, then the number of functions $f: Xto Y$ is equal to $|Y|^{|X|} = m^n$.
$endgroup$
For each element in X, there are two elements in $Y$ that they can be mapped to an element in $Y$: $a$ can be mapped to $x$ or $y$; same thing for $b, c, d$. In all we have: $2cdot 2 cdot 2cdot 2 = 2^4 = 16$ ways to do that.
But you've explicitly written the list of all possible function assignments from $Xto Y$, which helps you understand this.
In general, given a set $X$ with $n$ elements, and a set $Y$ with $m$ elements, then the number of functions $f: Xto Y$ is equal to $|Y|^{|X|} = m^n$.
edited Jan 17 at 21:40
answered Jan 17 at 21:33
jordan_glenjordan_glen
1
1
add a comment |
add a comment |
$begingroup$
You actually got the right answer for the wrong reason: you want $mid Y^Xmid=mid Ymid^{mid Xmid}=2^4=16$.
Though it looks like you listed them correctly.
$endgroup$
add a comment |
$begingroup$
You actually got the right answer for the wrong reason: you want $mid Y^Xmid=mid Ymid^{mid Xmid}=2^4=16$.
Though it looks like you listed them correctly.
$endgroup$
add a comment |
$begingroup$
You actually got the right answer for the wrong reason: you want $mid Y^Xmid=mid Ymid^{mid Xmid}=2^4=16$.
Though it looks like you listed them correctly.
$endgroup$
You actually got the right answer for the wrong reason: you want $mid Y^Xmid=mid Ymid^{mid Xmid}=2^4=16$.
Though it looks like you listed them correctly.
edited Jan 17 at 21:47
answered Jan 17 at 21:39
Chris CusterChris Custer
13.8k3827
13.8k3827
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3077529%2fhow-many-functions-can-be-made-with-the-following-sets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
$begingroup$
See this
$endgroup$
– John Douma
Jan 17 at 21:32