Okay, I think I'm starting to get it now.
jgens said:
... assume some one-to-one function g:T \rightarrow T exists. Define the function \mathrm{id}_{S \setminus T} = \{(x,x) \in (S \setminus T) \times (S \setminus T)\}. Now take f = g \cup \mathrm{id}_{S \setminus T}.
Writing out exactly what the function from S\T to S\T was really helped. I'll refer to it as h.
Assume g: T \stackrel{1-1}{\rightarrow} T exists.
Define h: (S \setminus T) \rightarrow (S \setminus T), h = \{ (x, x) : x \in S \setminus T \}. This function is one-to-one by definition. (right? Since the image of each x is x. I'm not sure how to phrase it exactly.)
Define f: S \rightarrow S, f = g \cup h, or f(S) = g(T) \cup h(S \setminus T).
So if x \in T, then f(x) = g(x) because g was assumed to be 1-1.
And if x \in S \setminus T, then f(x) = x because h(x) = x.
Since f is the union of two injective functions, it must also be injective, right?
So now I just have to show that g(T) = T?
- - - - - - - - -
Edit: Oh, and as for the definition of a function, here's what my booklet says:
A relation F from X to Y is a function if and only if
(i) D_G = X, and
(ii) For all x \in X, F(x) is a singleton subset of Y, i.e. a set containing a single element.
- - - - - - - - -
Edit 2: Ok, I feel that I've made some progress.
f(S) = g(T) \cup h(S \setminus T).
f(S) = S (because S is a finite set), and h(S \setminus T) = S \setminus T (because it's an identity function).
Since T \subseteq S,
S = T \cup (S \setminus T).
Then it follows that g(T) = T.
Therefore, since g is injective and g(T) = T, T is a finite set.
Am I right in thinking this way?