Try   HackMD

Math 55 Definition List

Lecture 1: Propositional Logic

  1. A proposition is a declarative sentence that is either true or false but not both. A proposition has a truth value which is either
    T
    or
    F
    .
  2. A letter used to denote a proposition is called a propositional variable.
  3. If
    p
    is a proposition, the negation of
    p
    , denoted
    ¬p
    , is the proposition "it is not the case that
    p
    ". The truth value of
    ¬p
    is the opposite of that of
    p
    .
  4. If
    p
    and
    q
    are propositions, the conjunction of
    p
    and
    q
    (denoted
    pq
    ) is the proposition "p and q." Its truth value is
    T
    when both
    p
    and
    q
    are
    T
    , and it is
    F
    otherwise.
  5. If
    p
    and
    q
    are propositions,he disjunction of
    p
    and
    q
    is the proposition "p or q". Its truth value is
    T
    when at least one of
    p
    or
    q
    is
    T
    , and
    F
    if both
    p
    and
    q
    are
    F
    .
  6. If
    p
    and
    q
    are propositions, the conditional
    pq
    is the proposition "if
    p
    then
    q
    ". Its truth values are given by the following truth table (which lists its truth values in terms of those of
    p
    and
    q
    ): [see Table 5 in Rosen] The converse of
    pq
    is
    qp
    .
  7. A compound proposition consists of logical operations (the four listed above) applied to propositions or propositional variables, possibly with parentheses. The truth value of a compound proposition can be mechanically determined given the truth values of its constituents.

Lecture 2: Propositional Functions, Quantifiers, (begin) Rules of Inference

  1. A compound proposition which is always true (regardless of the truth values of constituent propositions) is called a tautology. A compound proposition that is always false is called a contradiction. A compound proposition that is neither is called contingent.
  2. Two compound propositions
    c1,c2
    are logically equivalent, denoted
    c1c2
    , if they have the same truth values for all truth values of their propositional variables (and all domains of their propositional functions).
  3. The biconditional
    pq
    is the proposition
    (pq)(qp)
    (read "if and only if"). Two propositions
    p
    and
    q
    are logically equivalent if
    pq
    is a tautology. This is denotes
    pq
    . Logically equivalent propositions have the same truth table.
  4. The contrapositive of a conditional
    pq
    is
    ¬q¬p
    . The contrapositive is logically equivalent to the original conditional.
  5. A propositional function is a statement containing one or more variables (taking values in an implicitly or explicitly specified domain) which becomes a proposition when each variable is instantiated with a value.
  6. The universal quantification of
    P(x)
    is the proposition "For all
    x
    in the domain, $P(x)", denoted
    xP(x)
    . The existential quantification of
    P(x)
    is the proposition "There exists an
    x
    in the domain such that P(x)", denoted
    xP(x)
    .
  7. A variable appearing with a quantifier is called bound. A statement in which every variable appearing in a propositional function is bound is a proposition; otherwise it is not a proposition.

Lecture 3: Rules of Inference for Quantifiers, Direct Proof, Contrapositive, Contradiction

  1. An argument is a sequence of propositions each of which is a premise (i.e., an assumption) or a conclusion (i.e., follows from previous propositions via rules of inference).
  2. An integer
    n
    is even if there exists an integer
    k
    such that
    n=2k
    . An integer
    n
    is odd if there exists an integer
    k
    such that
    n=2k+1
    .
  3. A real number
    x
    is rational if there exist integers
    p
    and
    q0
    such that
    x=p/q
    .

Lecture 4: More Proofs, Sets

  1. A set is an unordered collection of objects which are called its elements. A set contains its elements, denoted
    xA
    . For every
    x
    , the statement "
    xA
    " must be a proposition (otherwise
    A
    is not a set).
  2. The set with no elements is called the empty set, denoted
    .
  3. Two sets
    A
    and
    B
    are equal, denoted
    A=B
    , if they have the same elements, i.e.
    x(xAxB)
    .
  4. If
    A
    and
    B
    are sets,
    A
    is a subset of
    B
    , denoted
    AB
    . if every element of
    A
    is an element of
    B
    , i.e.,
    x(xAxB)
    .
  5. If
    A
    is a set, the power set of
    A
    , denoted
    P(A)
    , is the set of all subsets of
    A
    :
    P(A)={S:SA}.
  6. If
    A
    and
    B
    are sets, their union is
    AB={x:xAxB},

    their intersection is
    AB={x:xAxB},

    and their difference is
    AB={x:xA¬xB}.

    If
    A
    is a subset of a universe
    U
    (which is just another set), then the complement of
    A
    (with respect to
    U)
    is
    A={xU:xA}=UA.

Lecture 5: Functions

  1. The cartesian product of two sets
    A
    and
    B
    is the set of ordered pairs
    (a,b)
    such that
    aA
    and
    bB
    . It is denoted
    A×B={(a,b):aAbB}.
  2. If
    A
    and
    B
    are nonempty sets, a function from
    A
    to
    B
    is a rule which assigns exactly one element of
    B
    to each element of
    A
    . This assignment is denoted
    f(a)=b
    . If
    f
    is a function from
    A
    to
    B
    we write
    f:AB
    .
    A
    is called the domain of
    f
    and
    B
    is called the codomain.
  3. A function
    f:AB
    is onto (surjective) if for every
    bB
    there exists an
    aA
    such that
    f(a)=b
    .
  4. A function
    f:AB
    is one to one (injective) if for every
    a1,a2A
    ,
    f(a1)=f(a2)
    implies
    a1
    =
    a2
    . (equivalently,
    a1a2
    implies
    f(a1)f(a2)
    ).
  5. A function
    f:AB
    is called a bijection if it is one to one and onto.
  6. The composition of
    f:BC
    and
    g:AB
    is the function
    fg:AC
    defined by
    fg(a)=f(g(a))
    .
  7. If a function is a bijection, then the function
    f1(b)
    which assigns to be the unique element
    aA
    mapping to
    b
    is called its inverse.
  8. If
    f:AB
    and
    SA
    then the image of
    S
    is
    f(S)={bB:aSs.t.f(a)=b}
    . The inverse image (preimage) of
    SB
    is
    f1(S)={aA:f(a)S}
    . The range of
    f
    is
    f(A)
    .

Lecture 6: Cardinality

  1. Z+
    denotes the set of positive integers.
  2. A set
    A
    is called finite if it is the empty set or if it has exactly
    n
    elements for some
    nZ+
    . The cardinality of
    A
    , denoted
    |A|
    , is
    n
    .
  3. Two sets
    A
    and
    B
    have the same cardinality, denoted
    |A|=|B|
    , if there is a bijection
    f:AB
    (also called a "one to one correspondence" in this context). If there is an injection
    f:AB
    we say that
    |A||B|
    . If
    |A||B|
    but
    |A||B|
    then we write
    |A|<|B|
    .
  4. An infinite set with
    |A|=|Z+|
    is called countable. An infinite set which is not countable is called uncountable.
  5. A function
    f:Z+A
    is called a sequence. If
    f
    is a bijection the sequence is called an enumeration of
    A
    .

Theorems: The integers and rationals are countable. The interval

(0,1) is uncountable.

Lecture 7: Division, Modular Arithmetic

  1. If
    a0
    and
    b
    are integers then
    a
    divides
    b
    (denoted
    a|b
    ) if there exists an integer
    k
    such that
    b=ka
    .
  2. ("Division Algorithm") If
    a
    is an integer and
    dZ+
    then there are unique integers
    q,r
    such that
    a=dq+r
    and
    0r<d
    .
    q
    is called the quotient and
    r
    is called the remainder, sometimeds denoted
    r=a
    mod
    d
    .
  3. (Axiom) Well-ordering principle: Every nonempty subset of
    Z0
    has a least element.
  4. For
    a,bZ
    we say
    ab(modm)
    if
    m|(ba)
    .
  5. If
    bZ+
    and
    aZ+
    then there is a unique way to write
    a
    as a sum of powers of
    b
    . This is called the base b expansion of
    a
    .

Lecture 8: Primes, GCD, and Bezout's Theorem

  1. An integer
    n>1
    is called prime if it has no divisors other than one and itself. An integer
    n>1
    is called composite if it is not prime.
  2. If
    a,b
    are integers, not both zero, then the greatest common divisor of
    a
    and
    b
    , denoted
    gcd(a,b)
    is the largest
    dZ+
    such that
    d|a
    and
    d|b
    .

Theorems in this lecture: Infinitude of Primes, Fundamental Theorem of Arithmetic, Bezout's theorem.

Lecture 9: Inverses

Defn.

a is an inverse of
a
modulo
m
if
aa1(modm)
.

Lecture 10: Chinese Remainder Theorem, Cryptography

Lectures 12/13: Induction, no definitions

Lecture 14: Graphs, Paths, Circuits, Coloring

A graph is a pair

G=(V,E) where
V
is a finite set of vertices and
E
is a finite multiset of
2
element subsets of
V
, called edges. If
E
has repeated elements
G
is called a multigraph, otherwise it is called a simple graph. We will not consider directed graphs or graphs with loops (edges from a vertex to itself).

Two vertices

x,yV are adjacent if
{x,y}E
. An edge
e={x,y}
is said to be incident with
x
and
y
. The degree of a vertex
x
is the number of edges incident with it.

A path of length

k in
G
is an alternating sequence of vertices and edges
x0,e1,x1,e2,,xk1,ek,xk

where
ei={xi1,xi}E
for all
i=1k
. The path is said to connect
x0,xk
, visit the vertices
x0,,xk
, and traverse the edges
e1,,ek
. A path is called simple if it contains no repeated vertices. If
x0=xk
then the path is called a circuit. Note that in a simple graph (i.e., a graph with no multiple edges), a path is uniquely specified by the sequence of vertices
x0,,xk
(as there is only one possible choice of edge between each pair of consecutive vertices). A graph
G
is connected if for every pair of distinct vertices
x,y
of
G
, there is a path in
G
between
x
and
y
.

A k-coloring of

G is a function
f:V{1,,k}
such that
f(x)f(y)
whenever
x
is adjacent to
y
. A graph is
k
colorable
if it has a
k
-coloring. (in class we did the case
k=2
)

Lecture 15:
k
-coloring

A graph

H=(W,F) is a subgraph of
G
if
WV
and
FE
. If
W=V
then
H
is called a spanning subgraph of
G
.

A k-coloring of

G is a function
f:V{1,,k}
such that
f(x)f(y)
whenever
x
is adjacent to
y
.

Defn. If

G=(V,E) is a graph, a subset
SV
is called a clique if
xyE
for every pair of distinct vertices
x,yS
.
S
is called an independent set if
xyE
for every pair of distinct vertices
x,yS
.

Defn. If

G=(V,E) is a graph, a subgraph
H
of
G
is called a connected component of
G
if
H
is connected and maximal, i.e., it is not possible to add any vertices or edges to
H
while keeping it connected (formally: if
H
is a subgraph of
G
such that
HH
and
H
is a subgraph of
H
, then
H
must be disconnected.).

Lectures 16-17: See the Graph Theory Notes

Lecture 18: Counting

An ordering of

n distinct elements is called a permutation.
An ordered sequence of
r
distinct objects chosen from
n
distinct objects is called an r-permutation. The number of
r
permutations of
n
objects is denoted
P(n,r)
.
An unordered set of
r
distinct objects chosen from
n
distinct objects is called an r-combination. The number of
r
combinations of
n
objects is denoted
(nk)
or
C(n,r)
.

Lecture 19: Permutations and Combinations with repetitions

No definitions.

Lecture 20: Labeled and Unlabeled Tokens in Boxes, Recurrences

A recurrence relation is a recursive definition of a sequence

(a0,a1,a2,).

Lecture 21: Pigeonole Principle

Generalized Pigeonhole principle: If

N objects are placed in
k
boxes, then at least one box contains at least
N/k
objects.

Lecture 22: Probability



An experiment is a well-defined procedure with a set of possible outcomes. An outcome is a complete description of all relevant features of the result of an experiment. The set of all outcomes is called the sample space
S
. An event is a subset of the sample space
ES
. A probability space consists of a sample space
S
along with a function
p:SR
satisfying
p(s)[0,1]
for all
sS
and
sSp(s)=1
. The probability of an event is
P(E)=sEp(s).

Lecture 23: Conditional Probability and Independence

Two events

E,FS are disjoint if
EF=
.
If
E,F
are events and
P(F)>0
then the probability of
E
given
F
(also called
E
conditional on
F
) is:
P(E|F)=P(EF)P(F).

Two events
E
and
F
are independent if
P(EF)=P(E)P(F).

If
P(F)>0
this is equivalent to
P(E|F)=P(E)
and if
P(E)>0
this is equivalent to
P(F|E)=P(F)
.

Lecture 24: Random Variables and Linearity of Expectation


A random variable on a probability space
S,p
is a function
X:SR
.
The expectation of a random variable is defined as
EX=sSp(s)X(s).

This may be equivalently rewritten as a sum over the range of
X
:
EX=rrange(X)rP(X=r).

Lecture 25: Examples of Distributions

If

X:SR is a random variable on a probability space, the function
pX(r)=P(X=r)
is called the distribution of the random variable.

A Bernoulli random variable with bias

q[0,1] has distribution
P(X=0)=q,P(X=1)=1q
.
A Binomial random variable with bias
q[0,1]
and
n
trials has distribution
P(X=k)=(nk)qk(1q)nk
for
0kn
.
A Geometric random variable with success probability
q
has distribution
P(X=k)=(1q)k1q
for
k=1,2,
.

Lecture 26: Algebra with random variables, Variance

If

X,Y:SR are random variables, their sum is defined as
(X+Y)(s)=X(s)+Y(s)
. If
c
is a real number, the scalar multiple
cX
is defined as
(cX)(s)=cX(s)
. The product is defined as
(XY)(s)=X(s)Y(s)
. Notice that doing algebra on random variables means doing algebra on their ``outputs''.

Two random variables

X,Y are independent if for all
r1,r2R
, the events
{X=r1}
and
{Y=r2}
are independent. This condition implies that
EXY=EXEY
, which is not true in general.

The variance of a random variable is defined as

V(X)=E(XμX)2 here
μX=EX
.

Lecture 27: Concentration Inequalities

Markov's Inequality: If

Y is a nonnegative random variable, then for every
t>0
:
P(Yt)EYt.

Chebyshev's Inequality: If
X
is any random variable, then for every
t>0
:
P(|XEX|t)V(X)t2.