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