Skip to content

SFSS

Sets

  • A set is a collection of objects
  • Sets are used to group objects together

Three ways to express the members in a set

- List all the members
- Use predicates
- Use suspension(省略号)points(must be inferred)

universal set

  • : the set of all natural numbers
  • : the set of integers
  • + : the set of all the positive integers
  • : the set of all rational numbers
  • : the set of all the real numbers
  • : the set of all complex numbers

Venn Diagrams

  • two basic shapes
    • A rectangle: indicates the universal set
    • Circles or other shapes: indicate normal sets

Elements and Sets

  • AB : A is in or is an element of B
  • AB : A is not in or is not an element of B

Subsets

  • Subsets
  • Proper subsets(真子集)
  • Empty sets

Cardinality

number of distinct elements in a set
The cardinality of a set s is denoted as |s|

Power Sets

P(S)=A|AS

Theorem of Power Sets:

$ if |S| = n, then |P(S)| = 2^n$

Ordered n-tuple

  • The form (1, 2, … , ) or < 1, 2, … , >
  • (1,2) not equal to (2,1)

Cartesian Product(笛卡尔乘积)

Cartesian product of S1,S2,,Sn(denotedS1×S2××Sn)
S1×S2××Sn={(a1,a2,,an)|a1S1a2S2anSn}

Disjoint Sets

  • If A ∩ B = ∅ then A and B are disjoint.
  • If A ∩ B ≠ ∅ then A and B are overlapped.

function

conditions

A function from to is a subset of × which satisfies the following two conditions

1.$ ∀ x(x ∈ A → ∃ y(y ∈ B ∧ (x,y) ∈f)) $
2. $ (((x_1,y_1 ) ∈ f ∧ (x_1,y_2 ) ∈ f) → y_1 = y_2)$

Image, Pre-image and Range(值域)

If y=f(x) from set A to set B, then

  • y is called the image of x under f
  • x is called a pre-image of y
  • the set of all the images of the elements in the domain under is called the range of f, f(A)=f(x)xA

injective function(单射)

f is one-to-one

urjective function (满射)

Onto function :yB(x(xAf(x)=y))

bijective function (双射)

[One-to-One and onto function] is also called bijective function

Floor functions

  • Denoted x
  • The largest integer less than or equivalent to x

Ceiling functions

  • Denoted x
  • The smallest integer greater than or equivalent to x

Sequences 数列

Sequences are ordered lists of elements. A sequence is a function from a subset of the set of integers ({0, 1, 2, 3, … } or {1, 2, 3, … }) to a set , denoted {an}. The integers determine the positions of the elements in the list

Summations 求和

A summation is the value of the sum of the terms of a sequence.

Special Summations

Geometric series 等比数列和

j=0narj

harmonic series

j=1n1j