Analysis asks one estimate to control every sufficiently late term or every sufficiently nearby input. Before proving such estimates, we need a language that distinguishes the input, the output, and the order in which witnesses may be chosen. Sets and functions provide the objects; quantifiers determine what a proof must actually deliver.
Sets and quantifiers
A set is determined by its elements. means every element of belongs to ; equality means both inclusions. The union contains elements in at least one set, while the intersection contains elements in both. Relative to a fixed universe , the complement is . The difference contains elements of not in .
The negation of “for every , there exists with property ” is “there exists such that for every , fails.” The order matters: one working for every is stronger than being allowed a different for each . Analysis definitions such as uniform continuity and uniform convergence depend on precisely this distinction.
Theorem 1.1.1
(De Morgan's laws)
For subsets of a fixed universe, and .
Proof
(Element-by-element proof)
An element belongs to exactly when it is not in and not in , which is exactly membership in . The second identity follows similarly, replacing “not both” with “at least one not.” Each equivalence establishes both inclusions.
Worked example 1.1.2
(A quantifier trap)
For every real there exists a real with : take . But there is no single real greater than every real : if there were, taking gives a contradiction. Changing quantifier order changes the assertion.
The finite demonstration below fixes the universe and starts from and , for which , and . Toggling membership changes all three outputs. Complements are taken in : here , which is also , as De Morgan's law requires.
Toggle membership and read set operations
Toggle an element in either set. Read the union, intersection and directional difference of the current sets.
| U | A | B |
|---|---|---|
| 1 | ∈ A | ∉ B |
| 2 | ∈ A | ∈ B |
| 3 | ∉ A | ∈ B |
| 4 | ∈ A | ∈ B |
| 5 | ∉ A | ∉ B |
- A
- {1, 2, 4}
- B
- {2, 3, 4}
- Union
- {1, 2, 3, 4}
- Intersection
- {2, 4}
- Difference A \ B
- {1}
Holds: The intersection is contained in the union
Every element in both A and B is in at least one of A or B. The same membership checks drive the board and all three results.
NoticeA∖B keeps elements of A that are not in B; reversing A and B can change the result. {} is the empty set. The board lists the membership of every element of the universe.
Worked example 1.1.3
(Negating boundedness, then using the negation)
A sequence is bounded if there exists such that for every , . Reversing each quantifier and negating the final inequality gives the definition of an unbounded sequence: for every there exists with .
To prove that is unbounded, the negation states exactly what must be supplied: an index for each arbitrary . Take . Then is a positive integer and , so . The index depends on , which the order “for every there exists ” permits.
By contrast, is bounded. The single choice works for every , because . Here one must serve all indices at once, and it does.
Quick check
(In the universe , let and . Find and , and check the second answer against .)
Draw both intervals on one line and treat each endpoint separately.
Solution · Answer
The set consists of the points of that are not in , so ; the endpoint remains because . Next, , so . On the other side, and . Their intersection is , the same set, as De Morgan's law requires.
Quick check
(Decide which statements are true: (a) there exists such that for every , ; (b) for every there exists with .)
In (a), one must serve every ; in (b), look for the hardest .
Solution · Answer
Statement (a) is true: gives for every real . Statement (b) is false. Its negation reads: there exists such that for every , . The witness works, because . Quantifier order matters, but the truth of each statement must still be checked directly: (a) has the existential quantifier first and is true, whereas (b) has it second and is false.
Functions, images and inverse images
A function assigns each exactly one element . It is injective if equal outputs imply equal inputs, surjective onto if every has a preimage, and bijective if both hold. A bijection has an inverse function .
For , the image is . For , the inverse image is . This inverse-image notation makes sense for every function, even when an inverse function does not exist.
Theorem 1.1.4
(Inverse images preserve unions and intersections)
For , and . Images always satisfy , but only in general.
Proof
(Membership tracks the logic)
For example, if and only if and , which is equivalent to . For image intersections, every output from belongs to each image, but the same output may arise from two different inputs, one in each set, even if no input belongs to both.
Worked example 1.1.5
(Image of an intersection can be smaller)
Let be , , and . Then and , but . Noninjectivity creates the discrepancy.
Quick check
(For , , find and .)
For the image, track the smallest and largest outputs; for the inverse image, solve the inequality for .
Solution · Answer
On the output equals at and takes its largest value at ; every equals with . Hence . For the inverse image, holds exactly when , that is, when . Thus . The negative part of contributes nothing, since no square is negative.
Concept lensAlgebraic
Inverse images as composition with an indicator
Write for the function on equal to on and elsewhere. The condition then says precisely that . Union, intersection and complement of subsets of become pointwise maximum, minimum and , and composing with commutes with every pointwise operation. This is why inverse images preserve all three operations, complements included, while images, which are not obtained by composing, need not.
Countability
A set is countable if it is finite or can be put in bijection with ; some authors use “countable” to mean countably infinite, so state the convention. The integers are countable by listing . The rational numbers are countable: enumerate integer numerator and positive denominator pairs in diagonals and omit repetitions. In contrast, is uncountable; a diagonal argument constructs a decimal in different from every entry in any proposed list, taking care to choose digits such as or to avoid ambiguous trailing-nine representations.
This is a preview of size comparisons. The explicit enumeration proofs and complete uncountability argument develop the constructions in detail; the image/inverse-image arguments below do not depend on those later cardinality results.
A complete image proof and the role of injectivity
The failure of image intersections is a useful first example of a hidden hypothesis. Suppose is injective. To prove , start with an arbitrary in the left side. There are and with . Injectivity forces , so that common input belongs to and maps to . The opposite inclusion holds for every function, as proved above. Thus injectivity repairs exactly the step where two witnesses need to coincide.
Conversely, assume for every pair of subsets of . If , choose and . The common output makes the right side nonempty. Hence is nonempty, so . The set identity for all subsets is therefore equivalent to injectivity. Surjectivity is not needed: the inclusion from into is injective despite missing the negative integers.
Practice. Decide whether and always hold. Give the precise condition for equality in the second inclusion, and a strict example for each.
Full solution. For , its output lies in , proving the first inclusion. With and , the inverse image is , strictly larger. For the second, an element is in exactly when it is both in and attained by , so . Equality holds exactly when , rather than requiring to be onto all of . Taking and gives , a strict subset.
Method comparison
Prove set equality by double inclusion or a chain of equivalent membership statements. To disprove a universal assertion, give one explicit counterexample. For inverse images, translate membership through the function; do not assume it is an inverse function. To negate a quantified limit statement, reverse each quantifier and negate the final inequality carefully.
Counterexample mode
Injectivity repairs intersections, not complements
The preceding argument might suggest that an injective map preserves every set operation. Complements need more. Let be the inclusion map and take , with complements taken in the domain and in the codomain . Then , whereas contains every negative integer. The map is injective, yet the image of the complement is strictly smaller than the complement of the image.
Without injectivity, even the other inclusion can fail. For on and , we get , while : the two sets are disjoint.
The repair separates the two hypotheses. If is injective, then : an output with cannot equal some with , since that would force . If is surjective, then : every has a preimage, and that preimage cannot lie in . A bijection therefore preserves complements, and the inclusion map shows that injectivity alone does not.
Practice
- Prove if and only if .
- Negate “for every there exists such that for all , .”
- For on , find .
- Give two disjoint sets whose images under the same function intersect.
Full solutions
- If , exactly the elements of lie in both, so . Conversely, if , every is in the intersection and hence belongs to .
- There exists such that for every there exists with .
- holds exactly on .
- Take , and . The sets are disjoint but both images are .
Synthesis
Set membership and quantifier order are the grammar of analysis. Images, inverse images and counterexamples make that grammar concrete; precise quantification becomes essential when comparing pointwise and uniform statements.