00:01
For this problem, we have been told that we have two sets, a and b, and these are finite sets.
00:06
In other words, there is a fixed number of elements within each set.
00:11
And the cardinality of the two sets are equal.
00:13
So the number of elements in set a is equal to the number of elements in set b.
00:18
We're also told we have a function going from a to b.
00:21
What we want to show in this problem is that f is one to one, if and only if it is onto.
00:28
So we're going to go both ways.
00:31
We're going to assume that f is one to one and show that that means it has to be onto.
00:36
And then we'll assume that f is onto and show that it has to be one to one.
00:40
Now before we do that, though, let's do some definitions.
00:45
What does it mean if a function is one to one? well, a function is said to be one to one if and only if, if we have f of a equaling f of b, that implies that a equals b.
01:01
In other words, every a only maps to one b.
01:05
That's a definition of a function.
01:07
But every b only comes from one a.
01:12
So it goes both directions.
01:15
Each one, every a points to a b.
01:17
Every b comes back to a single a.
01:19
So that's one to one.
01:23
What about onto? a function is onto if for every element b within that, set b.
01:34
So every element in that b, there is an element a within the first set, such that f of a equals b.
01:43
In other words, every single element in that second set b is mapped to an element in set a.
01:50
So those are our two definitions.
01:53
So let's take the first piece.
01:54
Let's say that f is one to one.
01:57
Well, i have, these are finite sets...