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
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
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.
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
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
Image of an intersection can be smaller
Let be , , and . Then and , but . Noninjectivity creates the discrepancy.
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.
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.
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.