Motivation
Chapter 0 establishes the language used by every later calculation. A formula is not a complete mathematical object until its allowed inputs are known; a claimed range is not proved until both containments are checked; and a change in quantifier order can turn a true assertion into a false one. These are not minor matters of presentation. They determine what a statement means.
The same discipline governs finite sums and products. An index is a bound variable, so changing its name changes nothing, while shifting it requires the bounds and the indexed term to move together. The aim of this note is therefore to make notation auditable: each symbol has a declared role, each function has a domain and codomain, and each worked computation preserves those roles.
Definitions
Sets and their descriptions
Definition
Sets, membership, subsets, and equality
A set is a collection of distinct objects called its elements or members. We write when belongs to , and otherwise.
The statement means that every element of is also an element of . Two sets are equal precisely when they have the same elements.
A finite or patterned set may be given by listing its elements, such as or . Set-builder notation instead gives an ambient set and a selecting property:
The notation says: take exactly those from for which is true. The ambient set matters. For example, the solutions of are and in , but .
Definition
Standard number sets and intervals
We use
and for the real numbers. Thus . The symbol means “is defined to be.”
For real , the intervals , , and include both, neither, and only the right endpoint, respectively. Also . The empty set is .
Definition
Set operations
For sets and :
- contains the elements common to both sets;
- contains the elements belonging to at least one of them;
- contains the elements of that do not belong to .
These descriptions determine exactly which regions a Venn diagram should shade. Intersection keeps the overlap, union keeps every point in either circle, and keeps only the part of outside . Difference is therefore directional: need not equal . Intervals are simply sets of real numbers, so the same operations apply to them. For instance, the real solutions of form the union of two open intervals and also the complement of the closed interval .
Logic and quantifiers
Definition
Quantified statements
The symbol means “for every,” means “there exists at least one,” and means “there exists exactly one.” The implication says that implies ; says that each statement implies the other.
Quantifiers are read from left to right. In , the choice of may depend on . In , one fixed would have to work for every .
Unique existence contains two claims. To prove with a stated property, one must first produce an element of having the property and then show that no second element can have it. Likewise, an implication gives only one direction. The symbol is appropriate only after both the forward and reverse implications have been established.
Functions and inverses
Definition
Function, domain, codomain, and range
A function assigns to each exactly one element of . The set is the domain and is the codomain. The range is the set of outputs that actually occur:
The formula alone does not determine a function. Domain and codomain are part of its declaration. Changing the domain can change the range. With the rule and domain fixed, changing to another codomain that contains every output leaves the range unchanged, but can change surjectivity and whether an inverse exists.
Definition
Injective, surjective, and bijective
For a function :
- is injective if implies for all ;
- is surjective if every equals for at least one ;
- is bijective if it is both injective and surjective.
Definition
Inverse function
Let . A function is an inverse of when
When it exists, the inverse is unique and is denoted by .
Finite sums and products
Definition
Summation and product symbols
Let with , and let be numbers. Then
The letter is a dummy index: it identifies corresponding terms but has no meaning outside the indexed expression.
Consequently, and denote the same number. This harmless renaming differs from an index shift, which changes the labels attached to the terms and must be compensated in the bounds. The operators also encode different arithmetic: adds its terms, whereas multiplies its factors. For example, , while is an arithmetic sum. Keeping the operator visible prevents an algebraically plausible but logically wrong continuation.
Theorem / Proposition
Theorem
Double-inclusion criterion for set equality
For any sets and , if and only if and .
Theorem
Range of the square function
If is defined by , then .
Theorem
Inverse criterion
A function has an inverse if and only if it is bijective. When an inverse exists, it is unique.
Theorem
Basic laws for finite sums
For a constant and compatible finite sequences,
For every integer shift ,
Finite double sums may be expanded in either order:
Proof Sketch or Proof Idea
For the double-inclusion criterion, suppose first that . Every element of either set is then an element of the other, so both inclusions hold. Conversely, if and , an object belongs to exactly when it belongs to ; hence the sets have the same elements.
For the square-function range, two containments are essential. If , then for some real , so . If , choose . Then , proving the reverse containment.
For the inverse criterion, an inverse sends equal outputs back to equal inputs, so must be injective; and the equation reaches every codomain element, so is surjective. Conversely, if is bijective, each has exactly one preimage. Define to be that preimage. Both composition identities follow. Any other inverse must choose the same unique preimage, which also proves uniqueness.
The finite-sum laws follow by expanding the indicated terms and using ordinary distributivity. In an index shift, the first old term reappears when the new index is , and the last old term reappears at . Thus the bounds and the subscript must be shifted together.
Worked Examples
Worked example
1. Describe and combine sets
The positive even integers are
If , , and , then , , , , and .
Finally,
Worked example
2. Read quantifiers in order
The statement
is true because, after is given, we may choose . The reversed order is false: setting forces , but then makes the sum nonzero.
Worked example
3. Domain changes and a piecewise endpoint
For , , the range is . For , defined by for , the range is . The value is approached as approaches but is not attained.
Now define by
At only the first branch applies, so . The second branch would give , but its condition explicitly excludes the endpoint.
Worked example
4. Classify three sine functions
The function , , is neither injective nor surjective. Restricting only the codomain gives , which is surjective but not injective. Restricting the domain as well gives , which is strictly increasing and reaches every codomain value; hence it is bijective.
Worked example
5. Exponential and logarithmic inverses
Let be . It is bijective, and its inverse is , . Indeed,
Both identities are needed because they verify the two compositions on their respective domains.
Worked example
6. Prove a cubic function is bijective and invert it
Let be . If , then
The second factor is positive because , so and is injective. Given , choose . Then , so is surjective. Therefore
Worked example
7. Expand a sum and telescope
Examples of direct expansion are
For , partial fractions give
Every interior term cancels with its copy of opposite sign. The index is throughout, so each displayed summand is bound by the stated sum.
Worked example
8. Read products rather than sums
For ,
Because every factor is positive,
The second identity begins with a product of powers, not a sum of powers.
Common Mistakes
Common mistake
Membership is not containment
relates an element to a set; relates two sets. Their roles cannot be exchanged.
Common mistake
Set difference needs a set on the right
The real numbers except are , not an expression that subtracts the number from a set.
Common mistake
Do not swap quantifiers
In , may depend on . In , one fixed must work for all .
Common mistake
Formula, domain, codomain, and range are different data
Writing does not by itself specify a function. Also, the codomain is the declared target, whereas the range consists only of attained values.
Common mistake
An inverse is not a reciprocal
denotes the function undoing ; it does not generally mean . Verify both compositions and their domains.
Common mistake
Shift all index data together
Changing a dummy letter is harmless, but an index shift must update the lower bound, upper bound, and subscript consistently. Also distinguish , which adds terms, from , which multiplies factors.
Summary
Sets are controlled by membership, and equality of sets is proved by two inclusions. Quantifiers must be read in order. A function includes its domain and codomain as well as its rule; injectivity controls uniqueness of preimages, surjectivity controls existence, and together they give an inverse. Finite sums and products require explicit bounds and consistent indices. These conventions make every later algebraic argument precise enough to check.
Exercises
- Write the positive odd integers in two equivalent set-builder forms.
- For and , find , , , and .
- Decide which of and is true.
- Find the range of , .
- Classify , , as injective, surjective, both, or neither.
- Show that , , is bijective and find .
- Shift the index in so that the new lower bound is .
- Evaluate and simplify .
Solutions
Solution · Solution 1
The positive odd integers are and .
Solution · Solution 2
, , , and .
Solution · Solution 3
The first statement is true: after is given, take . The second is false because no integer is greater than every integer; for any proposed , the choice is a counterexample.
Solution · Solution 4
The least value is , attained at . The greatest possible square would be at , and that endpoint is included. Hence the range is .
Solution · Solution 5
The function is surjective because every equals . It is not injective because . Thus it is surjective but not injective.
Solution · Solution 6
If , then , so is injective. Given any real , take ; then , so it is surjective. Solving for gives .
Solution · Solution 7
Use the shift . Then
The first new term is and the last is .
Solution · Solution 8
Since ,
Also .