Mathematical Proof/Introduction to Set Theory

From testwiki
Revision as of 18:11, 11 January 2025 by imported>DeNiCoN
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Nav Objects known as sets are often used in mathematics, and there exists Template:Colored em which studies them. Although set theory can be discussed formally [1], it is not necessary for us to have such a formal discussion in this book, and we may not be interested in and understand the formal discussion in this stage.

Even if we do not discuss set theory formally, it is important for us to understand some basic concepts about sets, which will be covered in this chapter.

What is a set?

A Template:Colored em may be viewed as a collection of well-defined, distinct objects (the objects can also be sets). Because of the vagueness of the term "well-defined", we do not regard this as the definition of set. Instead, we regard set as a primitive notion (i.e., concepts not defined in terms of previously-defined concepts). Other examples of primitive notions in mathematics include Template:Colored em and Template:Colored em.

We have mentioned that a set is a collection of well-defined, distinct objects. Objects in a set are called Template:Colored em of the set. We write aA to mean that the element a belongs to the set A. If a does not belong to A, we write aA. Template:Colored example

Ways of describing a set

There are multiple ways to describe a set precisely (in the sense that element(s) belonging to the set is (are) known precisely).

If a set consists of a small number of elements, then the Template:Colored em may be quite efficient. In the listing method, elements of a set are listed within a pair of braces ({}). In particular, just changing the listing Template:Colored em of elements does Template:Colored em change the set represented. For example, {1,2} and {2,1} are both representing the same set whose elements are 1 and 2. If the elements listed in the pair of braces are the same, the notations created by the listing method with different listing orders refer to the Template:Colored em set. Also, repeatedly listing a specific element in a set does Template:Colored em change the set represented. For example, {1,1,2,2,2} and {1,2} are both representing the same set whose elements are 1 and 2. In particular, if a set contains no elements, it can be denoted by {} based on the listing method or . This kind of set is called an empty set.

Another way to describe a set is using Template:Colored em. For example, consider the set S of prime numbers less than 10. If we use the listing method instead, the set S is represented by {2,3,5,7}.

The third way to describe a set is advantageous when a set contains many elements. This method is called Template:Colored em. There are Template:Colored em parts within a pair of braces in this notation. They are illustrated below with descriptions: {The set ofxall elements x:such thatP(x)the property P(x) is satisfied}

As one may expect, two sets are Template:Colored em if and only if they contain the same elements. Equivalently, two sets A and B are equal if and only if each element of A is also an element of B and each element of B is also an element of A. This can be regarded as an axiom [2] or a definition. If two sets A and B are equal, we write A=B. If not, we write AB.

In this book, when we are solving an equation, we are only considering its Template:Colored em solution(s) unless stated otherwise. Template:Colored example Template:Colored exercise

Set cardinality

If a set contains Template:Colored em number of elements, it is called a Template:Colored em set, and it is called an Template:Colored em set otherwise. If a set is finite, then its cardinality is its number of elements. For infinite sets, it is harder and more complicated to define their cardinalities, and so we will do this in the later chapter about set cardinalities. For each set S, its cardinality is denoted by |S|. Template:Colored example There are some special infinite sets for which notations are given, as follows:

  • is the set of all natural numbers (0 is Template:Colored em regarded as a natural number in this book).
  • is the set of all integers.
  • is the set of all rational numbers.
  • (nonstandard notation) 𝕀 is the set of all irrational numbers.
  • is the set of all real numbers.
  • is the set of all complex numbers.

In particular, we can use set-builder notation to express , as follows: ={p/q:p,q and q0}. Template:Colored example Template:Colored exercise

Subsets

Template:Colored definition Template:Colored remark Template:Colored example Template:Colored definition Template:Colored remark Template:Colored example Template:Colored exercise We call some commonly encountered subsets of Template:Colored em. For each real number a,b such that a<b,

  • (a,b)= def {x:a<x<b} (open intervals)
  • (a,b]= def {x:a<xb} (half-open (or half-closed) intervals)
  • [a,b)= def {x:ax<b} (half-open (or half-closed) intervals)
  • [a,b]= def {x:axb} (closed intervals)

There are also some Template:Colored em intervals:

  • (,a)= def {x:x<a}
  • (,a]= def {x:xa}
  • (a,)= def {x:a<x}
  • [a,)= def {x:ax}
  • (,)= def 

Note: {xS:P(x)} is a shorthand of {x:xS and P(x)} (S is a set). Template:Colored example Template:Colored example Template:Colored exercise

Universal set and Venn diagram

Template:Colored definition Template:Colored example Template:Colored definition Template:Colored example Template:Colored exercise A Template:Colored em is a diagram showing all possible logical relationships between a finite number of sets. The universal set is usually represented by a region enclosed by a rectangle, while the sets are usually represents by regions enclosed by circles. The following is a Venn diagram.

In this diagram, if the white region represents set A and the region enclosed by the rectangle represents the universal set, then the red region is the set Ac.

However, the following is Template:Colored em a Venn diagram.

This is because there are not regions in which only the yellow and blue region intersect, and only the red and green region intersect, respectively. So, not Template:Colored em logical relationships between the sets are shown.

To show all logical relationships between four sets, the following Venn diagram can be used.

Set operations

Similar to the arithmetic operations for real numbers which combine two numbers into one, the set operations combine two sets into one.

Union of sets

Template:Colored definition Template:Colored remark Template:Colored example Template:Colored proposition

Proof. (Formal) proof will be discussed later. For now, you may verify these results using Venn diagram.

Template:Colored remark

Intersection of sets

Template:Colored definition Template:Colored remark Template:Colored proposition

Proof. (Formal) proof will be discussed later. For now, you may verify these results using Venn diagram.

Template:Colored proposition

Relative complement

Template:Colored definition Template:Colored remark Template:Colored example Template:Colored exercise Template:Colored proposition

Proof. (Formal) proof will be discussed later. For now, you may verify these results using Venn diagram.

Template:Colored theorem

Proof. (Formal) proof will be discussed later. For now, you may verify these results using Venn diagram.

Template:Colored example

Symmetric difference

Template:Colored definition Template:Colored example Template:Colored proposition Template:Colored exercise

Power set

Template:Colored definition Template:Colored remark Template:Colored example Template:Colored theorem

Proof. Assume A is a finite set with cardinality n. Since each element of the power set 𝒫(A) is a subset of A, it suffices to prove that there are 2n subsets of A. In the following, we consider subsets of A with different number of elements separately, and count the number of subsets of each of the different types using combinatorics.

  • For the subset with zero element, it is the empty set, and thus there is only one such subset.
  • For the subsets with one element, there are C1n subsets.
  • For the subsets with two elements, there are C2n subsets.
  • ...
  • For the subsets with n1 elements, there are Cn1n subsets.
  • For the subset with n elements, it is the set A, and thus there is only one such subset.

So, the total number of subsets of A is 1+C1n+C2n++Cn1n+1=(1+1)n=2n by Template:Colored em.

Template:Colored remark Template:Colored exercise

Cartesian product

Template:Colored definition Template:Colored remark Template:Colored example Template:Colored remark Template:Colored exercise Similarly, we can define the Cartesian product of three or more sets. Template:Colored definition Template:Colored remark Template:Nav Template:BookCat

  1. There are various types of axiomatic set theory, in which Template:Colored em is the most well-known one.
  2. . Indeed, this is the Template:Colored em in the Zermelo-Fraenkel set theory.