







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








with variables into propositions.
Important: The order in which quantifiers occur can be very important!
i.e not always true.
Example: x,y real.
Is this proposition true?
โ y โ x ( x + y = 0 ) โโ x โ y ( x + y = 0 )
left: There is a y such that for all x (x+y=0). (F)
right: For all x there is a y such that x+y=0 (T)
Proposition is therefore False.
What do we learn? The order is important!
โ y โ xP ( x , y )โโ x โ yP ( x , y )
However the following compound propositions are always true.
Left and right are equivalent.
( , ) ( , )
( , ) ( , )
x yP x y y xP x y
x yP x y y xP x y
โ โ โโ โ
โ โ โโ โ
Tip: You can think of expression with quantifiers as executing โloopsโ in
a computer program:
Example:
First loop over y and and for every y loop over x.
For every value of y, check if P(x,y) is true for all x.
If you found one, the proposition must be true.
โ y โ xP ( x , y )
Famous sets in math: N = {0,1,2,3,...}
Q = {p/q | p in Z, q in Z, q is not 0}
R = {x | x is a real number}.
{,...} is used to indicate the the rest of the sequence once itโs clear how to
proceed {1,2,3,...}
set builder notation : {x | conditions(x) }.
This could be read as โall x such that the conditions hold trueโ.
Definition: Two sets are equal iff they contain the same elements.
Example: {1 2 2 3 3 3 3 4 6 } = {1 2 3 4 6} = {6 4 1 3 2}
notation for โx is an
element of Bโ.
Subset : A is a subset of B iff every element of A is an element of B.
notation for:
โA is a subset
of Bโ
Example: all even integers are a subset of all integers.
all Math6A students are a subset of all students.
Proposition: For any nonempty set S :
Attention:
โ โ โ { }
Is this true?
Thus: if the right is true, the left must be true.
However, the premises: is false, and thus the implication is tue.
x โโ
Clearly the right is true, so the left must be true.
Proper Subset: A is a proper subset of B iff A is a subset of B and A is not equal to B
Sets may contain other sets as members!
Example: {0, {a},{b}, {a,b}} = {x|x is a subset of {a,b}}
Note โaโ is not โ{a}โ.
Cardinality: The cardinality of A is the number of distinct elements in A: |A|.
Also: S is finite in this case.
Infinite set: a set that is not finite. (e.g. all integers, real numbers).
countable uncountable
Docsity.com
Cartesian product: The set of all ordered pairs (a,b) where a in A and b in B.
Note: we have mapped two sets to a new set.
Example: A={1,2,3} B={a,b}
AXB = {(1,a),(1,b),(2,a),(2,b),(3,a),(3,b)}.
Note that order in (.) is important, but order in {.} is not important.
AXB is not the same as BXA! (unless A=B).
Relation: A relation between A and B is a subset of AXB.