Please check my proof; how many functions exist from X to Y?

  • Thread starter Thread starter SithsNGiggles
  • Start date Start date
  • Tags Tags
    Functions Proof
AI Thread Summary
The discussion centers on calculating the number of functions from a set X with n elements to a set Y with m elements. The conclusion reached is that there are m^n possible functions. This is derived from the fact that each element in X can be paired with any of the m elements in Y, leading to n factors of m. The reasoning is clearly articulated, emphasizing the unique pairing of each element in X to elements in Y. Overall, the explanation confirms the correctness of the answer provided.
SithsNGiggles
Messages
183
Reaction score
0

Homework Statement


I just need to know if it makes sense; I was told that I can't have anyone make any improvements on what I've written myself.

Question: If X = \{ x_1 , \ldots, x_n \} and Y = \{ y_1 , \ldots, y_m \}, how many functions from X to Y exist?

My answer: m^n functions

The Attempt at a Solution


For any element x \in X, there exists a unique y \in Y for which F(x) = y.

Every n element in [itex[X[/itex] will be paired with anyone of the m elements in Y.
i.e. there exist m possible F(x_1) in Y that can be paired with x_1.
x_2 can be paired with m possible F(x_2)
\vdots
x_n can be paired with m possible F(x_n).

Because the domain D_F = X, every function generated through F will contain n coordinate pairs. Furthermore, since there are m possible values F(x) = y for each element x, there are n factors of m, or m^n, possible functions.

Thanks for any commentary (but not actual help!) you can provide.
 
Physics news on Phys.org
Makes perfect sense to me.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top