University Mathematics — Year 1 · Bachelor Year 1
1Logic, Sets and Maps
Up to now, proofs have been carried out with an informal but honest idea of what “proving” means. This first chapter of undergraduate mathematics makes the rules of the game explicit: what a mathematical statement is, how the connectives and quantifiers combine statements, which moves are legal in a proof — and then builds, on this footing, the two universal languages of mathematics: sets and maps.
1.1 Statements and connectives
Definition 1.1 (Statement, connectives)
A statement (or proposition) is a sentence which is either true (T) or false (F) — exactly one of the two. From statements and one forms:
- the negation (“not ”), true exactly when is false;
- the conjunction (“ and ”), true exactly when both are true;
- the disjunction (“ or ”), true exactly when at least one is true (this “or” is inclusive);
- the implication , false exactly when is true and is false;
- the equivalence , true exactly when and have the same truth value.
Remark 1.2
The truth table of deserves a pause: when is false, is true, whatever is. “If then ” is a true implication. An implication asserts nothing about what happens when its hypothesis fails.
Proposition 1.3 (Rules of computation on statements)
For all statements , , :
- ;
- De Morgan’s laws: and ;
- , hence ;
- contraposition: ;
- ;
- distributivity: and .
Proof. Each equivalence is checked by comparing truth tables: two compound statements built from , , are equivalent exactly when they take the same truth value in each of the (four or eight) cases. Let us display one table in full, for the first De Morgan law:
| T | T | T | F | F | F | F |
| T | F | F | T | F | T | T |
| F | T | F | T | T | F | T |
| F | F | F | T | T | T | T |
Columns and coincide, which proves the law. For contraposition a verbal shortcut is quicker: is false exactly in the case ( true, false), and is false exactly in the case ( true, false), i.e. ( false, true) — the same single case, so the two implications have identical tables. The remaining rules are checked the same way; note that (3) reduces every implication to a disjunction, so that (2) mechanically produces the negation rule : to contradict an implication one must exhibit a case where the hypothesis holds and the conclusion fails. ∎
1.2 Quantifiers
Definition 1.4 (Quantifiers)
Let be a property of an element of a set .
- (“for all in , ”) is true when every element of satisfies ;
- (“there exists in such that ”) is true when at least one element of satisfies .
One writes for “there exists a unique”.
Proposition 1.5 (Negation of quantifiers)
Proof. Let us argue the first equivalence in both directions; the second is symmetric. If is false, then not every element satisfies : the set cannot be empty, and any of its elements witnesses . Conversely, if some satisfies , then is a counterexample and the universal statement fails. For the second rule: “no satisfies ” means the set is empty, i.e. every lies in its complement . Applied in cascade to a nested prefix of quantifiers, the two rules give the mechanical procedure of Example 1.8: the negation walks left to right, flipping every into and every into , and finally negates the innermost predicate. ∎
Example 1.6 (Negating everyday mathematical sentences)
Let . The sentence “ is increasing” reads
and its negation, by Proposition 1.5 plus the rule :
a single witnessing pair suffices. Likewise “ is bounded” is , with negation
whatever bound is proposed, some point beats it. The insight: a correct negation never contains “not” applied to a quantified block — it is a new positive statement, in which the roles are exchanged: one now produces the witnesses one previously received.
Example 1.7 (Order of quantifiers)
The order of different quantifiers matters:
In the first statement may depend on ; in the second, one single must work for all . Two identical quantifiers, on the other hand, always commute.
Example 1.8 (Reading a definition with three quantifiers)
The sentence “the sequence converges to ” will be written in Chapter 11 as
Its negation, by Proposition 1.5 applied three times, is
Being able to negate such sentences mechanically, without thinking about what they mean, is a genuine skill: it separates the logical work from the mathematical work.
1.3 Proof techniques
Method 1.9 (The standard proof patterns)
To prove…
- an implication directly: assume , deduce ;
- by contraposition: assume , deduce — valid by Proposition 1.3 (4);
- by contradiction: assume the statement is false, derive a contradiction;
- an equivalence: prove both implications separately (or chain known equivalences);
- a “for all” statement: pick an arbitrary in (“let ”) and prove ;
- a “there exists” statement: exhibit a witness, or prove existence indirectly;
- by induction: see Theorem 1.12.
When proving a statement about a well-chosen but arbitrary element, never give the element extra properties: “let ” followed by “since …” proves nothing about negative .
Remark 1.10 (Common pitfalls in proofs)
Four classical traps, all worth naming once.
- Converse instead of contrapositive. is not equivalent to ; only is. “If it rains, the street is wet” does not entitle one to conclude rain from a wet street.
- Proving an equivalence by one implication. An “iff” claim is two theorems; announce which direction is being proved, and prove both. Chains of are legal only if every link is genuinely reversible — squaring an equation, for instance, is not.
- Backwards proofs. Starting from the desired conclusion and deducing a true statement proves nothing (from one derives the true by squaring). A computation may be discovered backwards, but it must be written forwards, or with explicit equivalences.
- Fixed witness versus arbitrary element. To prove , one may exhibit a single cleverly chosen ; to prove , the chosen must remain arbitrary. Mixing the two — checking a universal claim on an example — is the most common error in beginners’ copies.
Example 1.11 (Contraposition and contradiction at work)
For : if is even then is even. By contraposition: if is odd, , then is odd.
is irrational. By contradiction: suppose with and the fraction in lowest terms. Then is even, so is even (previous point), ; then is even, so is even — contradicting lowest terms.
Theorem 1.12 (Induction)
Let be a property of the integer . If
- is true, and
- for all , ,
then is true for all .
Strong induction: conclusion unchanged if (2) is replaced by: for all , .
Proof. This is a property of itself, equivalent to: every nonempty subset of has a least element (which we take as known). Indeed, suppose (1) and (2) hold and let . If , it has a least element ; by (1); then , so holds, and (2) gives — contradiction. So . For strong induction, apply the same argument: all hold since is least in . ∎
Example 1.13 (Proving unique existence)
A statement is two statements, proved separately: existence (exhibit or construct some with ) and uniqueness (assume and , deduce ). Sample: there is a unique real with . Existence: works, since . Uniqueness: if , then
and the second factor is positive (it equals ), so . Note the division of labor: existence used a lucky guess, uniqueness used algebra valid for arbitrary solutions — neither argument does the other’s job, and forgetting the second half is a standing temptation once a solution has been found.
Example 1.14
For all : . Base case : both sides equal . Step: assuming the formula for ,
Example 1.15 (Strong induction at work)
Every integer is a product of prime numbers (a prime being an integer whose only divisors are and itself; primes are studied for their own sake in Chapter 6). Ordinary induction is helpless here: knowing that factors says nothing about . Strong induction fits exactly. Base case: is prime, hence a (one-factor) product of primes. Step: let and assume every integer with is a product of primes. If is prime, done. Otherwise with ; by the strong hypothesis both and are products of primes, hence so is . The insight: strong induction is the right tool whenever the “reason” for lives at some unpredictable earlier rank, not at rank .
1.4 Sets
Definition 1.16 (Set operations)
We take the notion of set and the membership relation as primitive. For sets inside an ambient set :
- inclusion: when ; equality when and ;
- union , intersection , difference , complement ;
- the empty set , contained in every set;
- the power set : the set of all subsets of ;
- the product : the set of ordered pairs with , .
Example 1.17 (Getting used to the power set)
For :
four elements — and note the type discipline: but ; the statements and are both false as written (the second would require to be a subset of ). Iterating from nothing: has one element, has two, the next has four — sets of sets are ordinary sets, and Chapter 2 will confirm the doubling pattern: . Keeping the levels (, , ) straight is half the battle in exercises like Exercises 1.11 and 1.12.
Proposition 1.18 (Set algebra)
For subsets of :
- and ;
- De Morgan: and ;
- .
Proof. Each identity translates a rule of Proposition 1.3 through the dictionary ( or not) (statement true or false): e.g. . Point (3) is contraposition. As a second sample, the first distributivity law in full:
by the distributivity of Proposition 1.3 (6), and the last statement reads . Every set identity of this kind is provable by this one mechanical translation — which is why none of them needs memorizing. ∎
Method 1.19 (Proving set equalities)
To prove , prove the two inclusions: let , show ; then let , show . Alternatively, chain equivalences when each step really is an equivalence.
1.5 Maps
Definition 1.20 (Map, image, preimage)
A map (or function) assigns to every element of the set (the domain) exactly one element of the set (the codomain). For and :
are the direct image of and the preimage of . The composition of and is , .
Remark 1.21
The notation does not presuppose an inverse map: is defined for every . Preimages behave better than images: preserves unions, intersections and complements, whereas can be strict (Exercise 1.8).
Example 1.22 (Computing images and preimages)
Let , . Then:
For the first: every has , and every is attained as with — note that the image is not : images of intervals are not computed from endpoints alone. For the second: , which splits into two pieces. The third illustrates that a preimage may be empty — always makes sense, however small the intersection of with the image. Finally observe on this example the strictness phenomenon of the remark above: with and , one has , while .
Definition 1.23 (Injective, surjective, bijective)
A map is:
- injective when distinct elements have distinct images: ;
- surjective when every element of is attained: ;
- bijective when it is both, i.e. every has exactly one preimage.
Theorem 1.24 (Inverse map)
A map is bijective if and only if there is a map with and . In that case is unique; it is written and called the inverse of , and is itself bijective with .
Proof. () If is bijective, every has a unique preimage; define to be that preimage. Then by construction, and because is the preimage of .
() Suppose such a exists. If , applying gives : is injective. For , satisfies : is surjective.
Uniqueness: if and both work, then . Finally the pair of identities is symmetric in and , so is bijective with inverse . ∎
Example 1.25 (Computing an inverse in practice)
Let , . To invert, solve for a given :
each step being reversible on the announced domains. The computation delivers everything at once: for each in the codomain there is exactly one solution , so is bijective, and
A quick check of both compositions ( and ) confirms Theorem 1.24’s criterion. The insight: “solve for and watch the equivalences” is simultaneously the existence proof, the uniqueness proof, and the formula — but it only works if the codomain was announced correctly ( is not surjective onto ).
Proposition 1.26 (Composition and the three properties)
Let and .
- If and are injective (resp. surjective, bijective), so is ; and then in the bijective case.
- If is injective, then is injective. If is surjective, then is surjective.
Proof. (1) If , injectivity of gives , then injectivity of gives . If , surjectivity of gives with , then surjectivity of gives with , so . In the bijective case one checks directly that is a two-sided inverse of , and uniqueness in Theorem 1.24 concludes.
(2) If then , and injectivity of gives . If , surjectivity of gives with : then satisfies . ∎
Example 1.27 (Point (2) is sharp)
In Proposition 1.26 (2), one cannot upgrade the conclusions: bijective does not force surjective or injective. Take , , with and : then is bijective, yet misses the element and collapses both elements. The moral is a precise bookkeeping rule: composition information flows to the inner map for injectivity and to the outer map for surjectivity, never the other way. (Exercise 1.9 builds the same phenomenon with infinite sets, where it is the engine behind one-sided inverses.)
Example 1.28
, is neither injective () nor surjective ( has no preimage). Restricting the domain and codomain, , is bijective, with inverse . A map’s injectivity or surjectivity depends on the announced domain and codomain, not only on the formula.
1.6 Relations
Definition 1.29 (Equivalence relation)
A binary relation on a set is an equivalence relation when it is: reflexive ( for all ), symmetric () and transitive ( and imply ). The equivalence class of is .
Example 1.30 (Checking the three axioms)
On , declare when . Reflexive: . Symmetric: if then . Transitive: if and , then (a sum of integers). So is an equivalence relation, and : each class contains exactly one representative in , its fractional part. By contrast, the relation “” on is reflexive and symmetric but not transitive ( and , yet ): closeness does not propagate, and no partition into classes exists — a useful counterexample to keep in mind when verifying the axioms feels routine.
Theorem 1.31 (Classes form a partition)
Let be an equivalence relation on . Then the equivalence classes are nonempty, pairwise disjoint or equal, and their union is : they form a partition of . Conversely, every partition of arises this way from exactly one equivalence relation (“being in the same piece”).
Proof. by reflexivity, so classes are nonempty with union . Suppose , say lies in both. Then and , so by symmetry and transitivity . Now for any , transitivity gives , and symmetrically: the two classes are equal. For the converse, let be a partition of and define to mean “some piece contains both and ”. Reflexive: lies in some piece, which then contains twice over. Symmetric: the defining condition is symmetric in and . Transitive: if and , then , so (distinct pieces are disjoint) and share a piece. The -class of is exactly the piece containing , so the classes are the given pieces. Finally the relation is determined by its classes: two equivalence relations with the same classes relate the same pairs, since each relates and exactly when belongs to the class of — whence the uniqueness claim. ∎
Example 1.32
On , congruence modulo ( when divides ) is an equivalence relation; its classes are the sets of integers with a given remainder upon division by . This example becomes the ring in Chapter 7.
Definition 1.33 (Order relation)
A relation on is an order when it is reflexive, antisymmetric ( and imply ) and transitive. The order is total when any two elements are comparable, partial otherwise. An element is a greatest element of when for all ; greatest (and least) elements are unique when they exist.
Example 1.34
is totally ordered. is partially ordered as soon as has two elements: and are not comparable. The subset of has no greatest element, yet has an upper bound : the distinction between greatest elements and upper bounds returns, for , in Chapter 10.
Example 1.35 (Two orders on the grid )
On pairs of naturals, compare componentwise: when and (the product order). This is an order — each axiom is inherited coordinate by coordinate — but a partial one: and are incomparable. Now compare like a dictionary: when , or and (the lexicographic order). Transitivity requires a two-case check but holds, and any two pairs are now comparable: the order is total. The two orders rank the same set differently — though the product order says nothing — a reminder that an order is a structure one chooses, not a property of the set. Lexicographic comparison is also the standard trick for turning several sorting criteria into one.
Remark 1.36 (Interlude: size as bijection)
A quiet theme of this chapter deserves a spotlight: bijections are the mathematician’s notion of “same size”. For finite sets this becomes the counting calculus of Chapter 2, where every formula is secretly a bijection; for infinite sets it becomes the weekend problem below, where , and turn out to have genuinely different sizes. The same dictionary reappears twice more in this volume in refined forms: sequences (Chapter 11) are nothing but maps , so statements about sequences are statements about a set of maps; and linear algebra will measure vector spaces not by bijections but by linear bijections, whose existence is governed by a single number, the dimension (Chapter 19). Whenever a new “sameness” appears — equipotence, isomorphism of groups (Chapter 7), linear isomorphism — the pattern of Theorem 1.24 repeats: sameness is an invertible, structure-respecting map.
Remark 1.37 (Where this chapter is used)
Everywhere — but a few places deserve flagging. The three-quantifier gymnastics of Example 1.8 is the daily bread of Chapters 11 and 13: every limit proof is a game played against an arbitrary . Equivalence classes reappear as the congruence classes of in Chapter 7, where the partition of Theorem 1.31 acquires an algebraic structure of its own. Order relations, upper bounds and least upper bounds become the axiomatic heart of in Chapter 10. Injections, surjections and bijections return as the linear maps of Chapter 20, where injectivity can be tested on a single vector (the kernel); and the weekend problem below turns the bare notion of bijection into a theory of the sizes of infinite sets, whose conclusions (countability of , uncountability of ) resurface in Chapters 10 and 12.
1.7 Exercises
Exercise 1.1 ★
Write the negation of each statement, without using the word “not”:
- ;
- ;
- (for a fixed map ).
Then decide whether statements (1) and (2) are true.
Solution
Solution of Exercise 1.1.
Negations, pushing through each quantifier (Proposition 1.5) and using :
- ;
- ;
- .
Statement (1) is true: given , take ; then . Statement (2) is true: satisfies for all .
Exercise 1.2 ★
Let be statements. Using truth tables, prove that , and deduce the negation of: “if a function is differentiable then it is continuous”.
Solution
Solution of Exercise 1.2.
Truth table, writing T/F for the four cases :
| T | T | T | F | F | F |
| T | F | F | T | T | T |
| F | T | T | F | F | F |
| F | F | T | F | T | F |
Columns and coincide, proving the equivalence. The negation of “if a function is differentiable then it is continuous” is therefore: “there is a function which is differentiable and not continuous” (a false statement, as it happens: the original implication is true, see Chapter 14).
Exercise 1.3 ★
Prove by contraposition: for , if then . Then prove by contradiction: there is no smallest strictly positive real number.
Solution
Solution of Exercise 1.3.
Contraposition. Assume . Then (the cube function is increasing) and , so . This proves the contrapositive, hence the statement.
Contradiction. Suppose is the smallest strictly positive real. Then is strictly positive and (since ), contradicting minimality. Hence no such exists.
Exercise 1.4 ★
Prove by induction that for all :
- ;
- is divisible by .
Solution
Solution of Exercise 1.4.
Base case : . Step: assuming the identity for ,
Base case : . Step: if , then
divisible by .
Exercise 1.5 ★
Find the flaw in the following “proof” that all pencils have the same color. Let : “in every set of pencils, all pencils have the same color”. is clear. Assume and take pencils; removing the last one, the first share their color; removing the first one, the last share their color; hence all share their color.
Solution
Solution of Exercise 1.5.
The inductive step silently assumes that the two groups (“the first ” and “the last ”) overlap, so that the shared pencils carry the color from one group to the other. For the two groups are first pencil and second pencil: they are disjoint, and the argument breaks. So was never proved, and the induction collapses — even though is valid for every .
Exercise 1.6 ★
Let be subsets of . Prove:
- ;
- ;
- .
Solution
Solution of Exercise 1.6.
- .
- Using (1) and distributivity (Proposition 1.18): .
- Suppose . Then (both pieces lie in ) and always, so . Suppose : then always, and gives , so . Suppose : then . The three conditions are thus equivalent (we proved a cycle of implications).
Exercise 1.7 ★★
For each map, decide (with proof) whether it is injective, surjective, bijective:
- , ;
- , ;
- , .
For , adjust the codomain to make it bijective and compute the inverse.
Solution
Solution of Exercise 1.7.
- is injective () but not surjective: has no preimage in .
- is bijective: is a two-sided inverse on .
- is injective: gives , i.e. , so . It is not surjective onto : solving gives , which has no solution when (the equation reads ). With codomain , the same computation gives the unique preimage , so is bijective and : is its own inverse.
Exercise 1.8 ★★
Let , let and .
- Prove and .
- Prove and give an example where the inclusion is strict.
- Prove: is injective if and only if for all .
Solution
Solution of Exercise 1.8.
Exercise 1.9 ★★
Let and satisfy . Prove that is injective and is surjective. Give an example where neither nor is bijective.
Solution
Solution of Exercise 1.9.
is injective and surjective, so by Proposition 1.26 (2), is injective and is surjective. Example: , , the inclusion , and , for and for . Then for all , but is not surjective and is not injective.
Exercise 1.10 ★★
On , define . Prove that is an equivalence relation and describe the equivalence class of each real . Which classes have exactly one element?
Solution
Solution of Exercise 1.10.
or . Reflexive: works. Symmetric: the condition “ or ” is symmetric in and (if then ). Transitive: suppose and ; going through the four cases, equals or each time (e.g. and give ). So is an equivalence relation and . This class has one element exactly when , i.e. for .
Exercise 1.11 ★★★
(Cantor) Let be a set. Prove that there is no surjection from onto . Hint: given , consider .
Solution
Solution of Exercise 1.11.
Let be any map and set . Suppose for some . If , then by definition of , : contradiction. If , then , so by definition of , : contradiction. Hence is not in the image of , and is not surjective. (In particular no set is in bijection with its power set: there are “more” subsets of than integers.)
Exercise 1.12 ★★★
Let be a map. Define by .
- Prove that is surjective if and only if is injective.
- Prove that is injective if and only if is surjective.
Solution
Solution of Exercise 1.12.
- () Let be surjective and . For , pick with ; then , so . Hence , and symmetrically : is injective. () If is not surjective, pick outside the image; then with , so is not injective.
- () Let be injective and . Set ; then , and injectivity gives , so : is surjective. () If is not injective, take with . Every preimage set contains if and only if it contains ; hence is not of the form , and is not surjective.
1.8 Problem: Comparing infinities
Problem 1.1
When do two sets have “the same number of elements”? Cantor’s answer — when there is a bijection between them — turns out to be usable even for infinite sets, and it splits infinity into genuinely different sizes. This problem builds the whole toolbox from the bare definitions of this chapter: the Cantor–Schröder–Bernstein theorem (two injections manufacture a bijection), the countability of , the uncountability of by the diagonal argument, and Cantor’s astonishing 1874 conclusion: transcendental numbers exist, and massively so, without exhibiting a single one. Throughout, for sets and , write when there exists an injection from into , and (“ and are equipotent”) when there exists a bijection from onto .
Part I — The vocabulary of comparison.
- Show that behaves like an equivalence relation: ; if then ; if and then . (Quote precisely Theorem 1.24 and Proposition 1.26.)
- Show that is transitive, and that an injection always induces .
- Let . Show that if and only if there exists a surjection from onto .
Verify that is a bijection from onto , and that
is a bijection from onto . Hence removing a point, or doubling into negatives, does not change the size of .
Part II — The Cantor–Schröder–Bernstein theorem. Let and be two injections. Define
and let send to , and to the unique with .
- Check that is well defined: if then , and the element with is unique.
- Show that . (Direct images commute with unions: Exercise 1.8.)
- Show that is injective. (Three cases; in the mixed case , , show that would force .)
- Show that is surjective: given , distinguish the cases and for some (why is impossible?), and exhibit a preimage of in each case.
- Conclude with the Cantor–Schröder–Bernstein theorem: if and , then . Comment in one sentence on what makes this statement nontrivial.
- Two applications. (a) Show . (b) Show that defines a bijection from onto — injectivity by a parity argument, surjectivity by strong induction (Theorem 1.12). Hence : the plane of integer points is no bigger than the line.
Part III — Countable sets. Call a set at most countable when , and countable when .
- Show that every infinite subset is countable. (Define recursively as the least element of ; show is strictly increasing, satisfies , and attains every element of .)
- Deduce that a set is at most countable if and only if it is finite or countable, and observe that question 9 gives the shortcut: if and , then is countable.
- Show that if and are at most countable, so is . Deduce that is countable.
- Show that is countable. (Inject into by writing each rational in lowest terms with positive denominator — the uniqueness of that representation is proved in Chapter 6; then apply question 12.)
- Show that a countable union of at most countable sets is at most countable: if each () is at most countable, so is . (Send to the pair where is the least index with .)
- Show that the set of finite subsets of is countable. (Map a finite subset to ; prove injectivity by comparing the largest element where two finite sets differ, using from Exercise 1.4.)
Part IV — Diagonalization. Let denote the set of all maps , i.e. the set of binary sequences.
- Construct a bijection between and (indicator functions).
- (The diagonal argument) Let be any map. Consider the sequence defined by . Show that is not in the image of , and conclude that is not at most countable. Explain in one sentence why, through question 17, this is exactly Cantor’s theorem (Exercise 1.11) for .
- Admit — as familiar from school, and established rigorously in Chapter 10 — that every has a unique proper decimal expansion (one not ending in an infinite string of s). Given any sequence of elements of , construct with for all : choose its -th digit to be if the -th digit of differs from , and otherwise. Justify carefully that is proper and avoids every , and conclude that is not at most countable.
- Deduce that is uncountable, and that the set of irrational numbers is uncountable as well. In what precise sense are “most” real numbers irrational?
Part V — Cantor’s 1874 theorem: transcendental numbers exist. A real number is algebraic when for some nonzero polynomial with integer coefficients, and transcendental otherwise. Admit for this part — it is proved in Chapter 8 — that a nonzero polynomial of degree has at most real roots.
- Show that every rational number is algebraic, and find explicit polynomials with integer coefficients annihilating and .
- For fixed , show that the set of polynomials of degree at most with integer coefficients is countable. (Inject it into and induct on with question 13.)
- Deduce that the set of all polynomials with integer coefficients is countable.
- Prove Cantor’s theorem on algebraic numbers: the set of algebraic real numbers is countable.
- Conclude: transcendental real numbers exist, and the set of transcendental numbers is uncountable. Then take stock of the whole problem in a few sentences: the chain , the strict jump to (essentially) , where each tool (Cantor–Schröder–Bernstein, countable unions, the diagonal) was decisive — and the philosophical punch of proving that uncountably many transcendental numbers exist without naming even one. (Proving a specific number such as transcendental is far harder and beyond this volume.)
Solution
Solution of Problem 1.1.
1. Reflexive: is a bijection of onto itself. Symmetric: if is bijective, Theorem 1.24 provides , itself bijective. Transitive: if and are bijections, Proposition 1.26 (1) says is a bijection. (This is only “like” an equivalence relation: the collection of all sets is not itself a set, by the paradoxes that Exercise 1.11 hints at; the three properties are what matters.)
2. If and are injective, is injective by Proposition 1.26 (1): . For the second point, corestrict to its image: the map , , is surjective by construction of and injective because is, hence bijective: .
3. () Let be injective and fix (). Define by: is the unique with when (uniqueness by injectivity), and otherwise. For every , , so every is attained: is surjective. () Let be surjective. For each choose one with , and set . If then : is injective.
4. maps into , is injective () and surjective (every is with ). For : it maps even numbers to and odd numbers to Injectivity: the even inputs land in () and the odd inputs land in the strictly negative integers (), so a collision must happen within one parity class, where is strictly monotonic ( or forces ). Surjectivity: is ; is with odd. So and .
5. , so implies , i.e. : some satisfies . If also , injectivity of gives . Hence the second clause of the definition of picks out a unique, well-defined element .
6. Direct images commute with unions (Exercise 1.8 (1), applied to then to ):
7. Let in . If both lie in , then by injectivity of . If neither lies in , then , so . If and (the mixed case, up to swapping names): suppose , i.e. . Applying : , and question 6 gives — contradiction. So in all cases: is injective.
8. Let . Case 1: . Then : the element is a preimage. Case 2: , say . Since , we have , so and : there is with . Injectivity of gives , and , so . In both cases is attained: is surjective, hence bijective.
9. If and , pick injections and ; questions 5–8 build a bijection , so . The statement is nontrivial because the two given injections are unrelated — neither need be surjective, and no formula mixing and naively defines a map: the whole content is the partition of into the region (where one copies ) and its complement (where one runs backwards).
10. (a) The inclusion is injective; and maps injectively into (it is affine with nonzero slope). By question 9, — a bijection which is quite unpleasant to write down explicitly. (b) Injectivity. Suppose with, say, . Dividing by : . If the right side is even and the left side odd — impossible; so , then and . Surjectivity. We show by strong induction that every integer is of the form . For : . Let and assume the claim for all integers of . If is odd, with . If is even, with ; by hypothesis , so . Hence hits every , and is a bijection .
11. Since is infinite, is never empty, and the least-element property of (used to prove Theorem 1.12) makes the recursive definition legitimate. Strictly increasing: belongs to , whose minimum is ; so , and equality is excluded, whence . : by induction, , and . Injectivity follows from strict monotonicity. Surjectivity onto : suppose some is never attained. Since , the set of with is nonempty; let be its least element. For every , , hence ( is not attained). Then lies in and , contradicting the minimality defining . So is a bijection , and is countable.
12. Let via an injection ; then (question 2). If is finite, is finite; if is infinite, question 11 gives , so by transitivity (question 1). Conversely finite sets and countable sets obviously inject into . The shortcut: and give directly by Cantor–Schröder–Bernstein — no enumeration argument needed.
13. Let and be injections. Then is an injection : if the images coincide, injectivity of (question 10) gives and , then , . For : both factors are countable (question 4), so ; it is infinite (it contains ), hence countable by question 12.
14. Every rational has a unique representation with , and the fraction in lowest terms (uniqueness is proved in Chapter 6; for take ). The map is then injective: the pair determines . Hence by question 13. Since gives , question 12 (or Cantor–Schröder–Bernstein directly) shows : the rationals are countable.
15. For each fix an injection . For , let be the least with , and set . If , injectivity of gives and , hence by injectivity of . So the union injects into : it is at most countable.
16. Let for finite (). Suppose and let be the largest element on which they differ, say (swap names if needed). Elements belong to both or neither, so they contribute equally to both sums; comparing the contributions of elements :
using the geometric sum of Exercise 1.4. Hence : is injective and the set of finite subsets of is at most countable; it is infinite (it contains all singletons), hence countable.
17. Send to its indicator , if and otherwise; send to . The two maps are mutually inverse: and (check the value at each ). By Theorem 1.24, each is a bijection: .
18. For every , , so the sequences and differ at the index : . Hence no is surjective, and by question 3 there is no injection either: is not at most countable. Through the dictionary of question 17, a map is a map , and corresponds to the set (indeed ): the diagonal argument is Cantor’s proof of Exercise 1.11 for .
19. Write in proper form and define if , if , then This expansion uses only the digits and , so it does not end in all s: it is the proper expansion of a real . For each , the -th digits of and differ ( by construction); since proper expansions are unique, . Thus no sequence exhausts : by question 3 again, is not at most countable.
20. , so an injection would restrict to one on , contradicting question 19: is uncountable. If were at most countable, then would be a union of two at most countable sets, hence at most countable by question 15 (take , for ) — contradiction. So the irrationals are uncountable. Precisely: inside , the rationals form a countable set while their complement is uncountable; no bijection can ever match with — there are strictly “more” irrationals than rationals, even though both are infinite and both are dense.
21. (with ) is a root of , a nonzero polynomial with integer coefficients. is a root of . For : , so and , i.e.
is a root of .
22. Map (degree , integer coefficients) to : this is injective, since a polynomial is determined by its coefficients. By induction on : is countable (question 4), and is at most countable by question 13. So each set of bounded-degree integer polynomials is at most countable; it is infinite (it contains the constants), hence countable by question 12.
23. The set of all integer polynomials is , a countable union of countable sets: at most countable by question 15, infinite, hence countable.
24. For each nonzero integer polynomial , the root set is finite (at most elements, admitted). By question 23 the nonzero integer polynomials can be enumerated ; then is a countable union of finite (hence at most countable) sets: at most countable by question 15. It contains (question 21), so it is infinite: is countable.
25. If were at most countable, would be at most countable (question 15), contradicting question 20. Hence transcendental numbers exist and even form an uncountable set, while the algebraic numbers — which include every number built from integers by radicals — form a mere countable skeleton inside . Summary of the architecture: questions 1–3 set up the comparison language; Cantor–Schröder–Bernstein (questions 5–9) let us prove equipotence by two easy injections instead of one clever bijection, and was used for , for and throughout Part V; the pairing bijection (question 10) powered products and countable unions (questions 13, 15), which in turn powered , the integer polynomials and ; the diagonal argument (questions 18–19) provided the one strict inequality that makes the whole story nontrivial. Cantor’s conclusion is philosophically striking: the proof exhibits no transcendental number at all, yet shows that in the sense of equipotence almost every real number is transcendental. Naming one specific transcendental — or — required entirely different mathematics and decades more work.