• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/35

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

35 Cards in this Set

  • Front
  • Back

Arrangement

Finite list of items that may be repeated where order is important.

Permutations

A permutation of S is a list of elements ∈ S where each element is used exactly once and order matters.

Combination

A combination from S is an unordered selection of elements ∈ S used any no. times.

How many arrangements of length k can be made from elements of a set, S, of size |S|=n?

nᵏ

How many arrangements of length k with no repeats can be made from elements of a set S of size |S| = n?

n!/(n-k)! for k≤n

How many arrangements are there of a list of (potentially repeated) objects?

n!/(n!n!···n!) where nᵢ is no. of object i.

How many k-combinations with repetitions from n objects are there in which each object is chosen at least once?

C(k-1,n-1)

Given a set of n objects, how many k-combinations can be chosen if objects may be selected more than once?

C(k+n-1,n-1)=C(k+n-1,k)

Pascal′s Theorem

C(n,r) = C(n-1,r-1) + C(n-1,r)


1≤r≤n-1

Inclusion-Exclusion Formula

|A∪A∪···∪A| = ⁿ∑ⱼ₌₁(−1)ʲ⁺¹Sⱼ,


where S = |Ai∩Ai∩···∩Ai|


and i₁<i₂<...<iⱼ.

How do you solve an homogeneous recurrence relation?

-Solve characteristic eqⁿ with roots αᵢ.


-If distinct then aₙ=g(n)=ʳ∑ᵢ₌₁dᵢαᵢⁿ


-If α=α₁=α₂=...=αⱼ use (e₁+...+eⱼnʲ⁻¹)αⁿ


-Apply initial conditions.

How do you solve an inhomogeneous recurrence relation?

-Solve homogeneous case without initial conditions, g(n).


-Find p(n):


Anʳ try ʳ∑ᵢ₌₀Bᵢnⁱ


Aqⁿ try B₀qⁿ (if qⁿ∈g(n) or 1 is a root, try nᵏqⁿ for lowest possible k)


Anqⁿ try (B₀+Bn)qⁿ


-GS = g(n) + p(n), apply initial conditions.

Lemma 7.1

∑ₖ₌₀xᵏ = (1-xⁿ⁺¹)/(1-x)


∞∑ₖ₌₀xᵏ = 1/(1-x)


∞∑C(n+k-1,k)xᵏ = 1/(1-x)ⁿ


(∞∑ₖ₌₀aₖxᵏ)(∞∑ₖ₌₀bₖxᵏ) = ∞∑ₖ₌₀cₖxᵏ


where cₖ = ∑ⱼ₌₀aⱼbₖ₋ⱼ

Partition

A partition of a positive integer, n, is an expression of n as an unordered sum of positive integers.

How do you find no. of partitions of n, ie. p(n)?

Generating function:


∞∑ₙ₌₀xⁿp(n) = ∞Πₖ₌₁(1-xᵏ)⁻¹

If a has GF f(x)=∞ₙ₌₀ax, then what is the GF of b=naₙ?

xf(x)

If f(x) is the GF of aₙ then what is the GF of sₙ = ⁿ∑ₖ₌₀aₖ?

f(x)/(1-x)

Principle of upper negation

C(-n,k)=(-1)ᵏC(k+n-1,k)

The pigeon-hole principle.

If n envelopes are distributed among m pigeon-holes, and n>m, then at least one pigeon-hole contains more than one envelope.

Simple graph

Pair of sets G = (V,E) where each element of E is a two-element subset of V.

Leaf

Vertex of degree 1.

What are Nₘ, Kₘ, Sₘ, Wₘ, Q?

Nₘ = Null graph, m vertices with no edge.


Kₘ = Complete graph, m vertices with (ᵐ₂) edges between each pair of vertices.


Sₘ = Star graph, m-1 leaves each with an edge to central hub vertex.


Wₘ = Wheel graph, star graph with cycle around non-hub vertices.


Qₙ = n-cube, n vertices with binary strings, edges join vertices where binary differ by one digit.

Handshaking

d(v) = 2|E|


No. odd degree vertices is always even.

Isomorphic

Two simple graphs G1 = (V1,E1) and G2 = (V2,E2) are isomorphic if a bijection ϕ : V1 → V2 that preserves adjacency, i.e., xy ∈ E1 ϕ(x)ϕ(y) ∈ E2.

Complement and subgraphs

If G=(V,E), then G₁=(V₁,E₁) is a subgraph of G if V₁⊆V,E₁⊆E


and if G is simple the complement is ⃗G⃗=(V,F) where F={uv:u,v∈V and uv∉E}.

Walks, trails and circuits.

A walk of length n-1 is a sequence of vertices and edges alternately (ve...vₙ₋₁eₙ₋₁vₙ). If v = v, the walk is closed. A trail is a walk with no edge repeated and a circuit is a closed trail.

Paths and cycles

A path is a walk with no vertex repeated. A cycle is a closed path, an n-cycle is a cycle of n vertices. If every vertex has degree > 1 then G contains a cycle.

Connectedness

A graph G = (V,E) is connected if v,w ∈ V a path from v to w. Otherwise it has two or more connected components.

Bridge

A bridge is an edge whose removal would increase the number of connected components, e is a bridge ⇔ e is not part of a cycle.

Euler Circuit

An Euler circuit is a circuit using each edge exactly once. A graph with an Euler circuit is called Eulerian. G has an Euler circuit ⇔ all vertices of G have even degree.

Bipartite Graphs

A graph G=(V,E) where V=V₁∪V₂ and V₁∩V₂=∅. A complete bipartite graph, Kₘ,ₙ has |V1| = m, |V2| = n.

Planar Graphs

A graph G is planar if it can be drawn in the plane so that no edges meet except at their endpoints. Such a drawing is a planar representation of G.

Faces and Boundaries

A planar representation divides the plane into faces. The boundary of a face is a closed walk (of length b(f)) around it. ∑b(f) = 2|E|.

Euler′s Formula

Let G = (V,E) be a planar graph, with set of faces F, and k connected components. Then |V|−|E|+|F| = k+1.


⇒ For simple G with |V|≥ 3, then |E|≤3|V|−6.

Girth

The girth, g, of G is the shortest length of a cycle in G. If G has no cycles, then g = 0.


|E|≤g(|V|−2)/(g−2).