Stochastic_Jimmy
New member
- Joined
- Jan 10, 2013
- Messages
- 27
Hi all. I was hoping you guys/gals could take a look at the proofs I've done below. I think they are all valid, but sometimes it's hard to find small flaws (like unjustified assumptions, etc). The goal is to come up with several ways to prove the following:
For any two sets \(\displaystyle A, B\) let \(\displaystyle B^A\) denote the set of all functions from \(\displaystyle A\) to \(\displaystyle B\), and let \(\displaystyle \mathcal{P}(A \times B)\) denote the power set of \(\displaystyle A \times B\). Prove that \(\displaystyle \left|B^A\right| \leq \left|\mathcal{P}(A \times B)\right|\).
Here are three very brief proofs I've been working on:
Proof 1.
By definition we have that
\(\displaystyle B^A = \left\{f \subseteq A \times B \text{ s.t. } f \text{ is a function } A \to B \right\}.\)
And this is equivalent to saying that
\(\displaystyle B^A = \left\{f \in \mathcal{P} (A \times B) \text{ s.t. } \forall x \in A,\: \exists \text{ a unique } y \in B \text{ where } f(x) = y \right\}.\)
So then we have that for some arbitrary function \(\displaystyle f:\)
\(\displaystyle \begin{align*}
f \in B^A &\implies f \in \mathcal{P} \left(A \times B\right) \\
& \implies B^A \subseteq \mathcal{P} \left(A \times B\right) \\
& \implies \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|
\end{align*}\)
End proof.
Proof 2.
Consider the set of all possible binary relations from \(\displaystyle A\) to \(\displaystyle B\).
Obviously \(\displaystyle B^A\), the set of all functions \(\displaystyle A \to B\), is a subset of the set of all binary relations from \(\displaystyle A\) to \(\displaystyle B\) since functions are relations.
We know that, by definition, a binary relation from \(\displaystyle A\) to \(\displaystyle B\) is a subset of \(\displaystyle A \times B\).
And so, using the definition of a power set, the elements of the set of all possible relations from \(\displaystyle A \times B\) are therefore the elements of \(\displaystyle \mathcal{P} (A \times B)\).
It follows immediately that \(\displaystyle \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|\).
End proof.
Proof 3.
Consider for an arbitrary function \(\displaystyle f: A \to B\) its graph
\(\displaystyle \qquad G_f = \left\{(x,y) \in A \times B \:\big|\: y = f(x)\right\}.\)
Now, consider a mapping \(\displaystyle F : f \to G_f.\)
Claim: This mapping \(\displaystyle F\) is one-to-one. That is, \(\displaystyle F\) is an injection \(\displaystyle B^A \to A \times B\).
To see this, consider that for \(\displaystyle f, f' \in B^A\) we have:
\(\displaystyle \begin{align*}
F(f) = F(f') &\implies G_f = G_{f'} \\
&\implies \big(x, f(x)\big) \in G_f \:\text{ for each } x \in A\\
&\implies \big(x, f(x)\big) \in G_{f'} \:\text{ for each } x \in A \\
&\implies f(x) = f'(x).
\end{align*} \)
And since \(\displaystyle F\) is an injection we know that \(\displaystyle \left|\text{Domain}(F) \right| \leq \left|\text{Codomain}(F)\right|\).
It follows that \(\displaystyle \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|\).
End proof.
Thanks a lot for any help. I really appreciate it. (And I'm enjoying the TeX functionality!!)
For any two sets \(\displaystyle A, B\) let \(\displaystyle B^A\) denote the set of all functions from \(\displaystyle A\) to \(\displaystyle B\), and let \(\displaystyle \mathcal{P}(A \times B)\) denote the power set of \(\displaystyle A \times B\). Prove that \(\displaystyle \left|B^A\right| \leq \left|\mathcal{P}(A \times B)\right|\).
Here are three very brief proofs I've been working on:
Proof 1.
By definition we have that
\(\displaystyle B^A = \left\{f \subseteq A \times B \text{ s.t. } f \text{ is a function } A \to B \right\}.\)
And this is equivalent to saying that
\(\displaystyle B^A = \left\{f \in \mathcal{P} (A \times B) \text{ s.t. } \forall x \in A,\: \exists \text{ a unique } y \in B \text{ where } f(x) = y \right\}.\)
So then we have that for some arbitrary function \(\displaystyle f:\)
\(\displaystyle \begin{align*}
f \in B^A &\implies f \in \mathcal{P} \left(A \times B\right) \\
& \implies B^A \subseteq \mathcal{P} \left(A \times B\right) \\
& \implies \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|
\end{align*}\)
End proof.
Proof 2.
Consider the set of all possible binary relations from \(\displaystyle A\) to \(\displaystyle B\).
Obviously \(\displaystyle B^A\), the set of all functions \(\displaystyle A \to B\), is a subset of the set of all binary relations from \(\displaystyle A\) to \(\displaystyle B\) since functions are relations.
We know that, by definition, a binary relation from \(\displaystyle A\) to \(\displaystyle B\) is a subset of \(\displaystyle A \times B\).
And so, using the definition of a power set, the elements of the set of all possible relations from \(\displaystyle A \times B\) are therefore the elements of \(\displaystyle \mathcal{P} (A \times B)\).
It follows immediately that \(\displaystyle \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|\).
End proof.
Proof 3.
Consider for an arbitrary function \(\displaystyle f: A \to B\) its graph
\(\displaystyle \qquad G_f = \left\{(x,y) \in A \times B \:\big|\: y = f(x)\right\}.\)
Now, consider a mapping \(\displaystyle F : f \to G_f.\)
Claim: This mapping \(\displaystyle F\) is one-to-one. That is, \(\displaystyle F\) is an injection \(\displaystyle B^A \to A \times B\).
To see this, consider that for \(\displaystyle f, f' \in B^A\) we have:
\(\displaystyle \begin{align*}
F(f) = F(f') &\implies G_f = G_{f'} \\
&\implies \big(x, f(x)\big) \in G_f \:\text{ for each } x \in A\\
&\implies \big(x, f(x)\big) \in G_{f'} \:\text{ for each } x \in A \\
&\implies f(x) = f'(x).
\end{align*} \)
And since \(\displaystyle F\) is an injection we know that \(\displaystyle \left|\text{Domain}(F) \right| \leq \left|\text{Codomain}(F)\right|\).
It follows that \(\displaystyle \left|B^A\right| \leq \left| \mathcal{P} (A\times B) \right|\).
End proof.
Thanks a lot for any help. I really appreciate it. (And I'm enjoying the TeX functionality!!)
Last edited: