Professional Documents
Culture Documents
Discrete Note Sheet
Discrete Note Sheet
Discrete Note Sheet
6.7 Binomials
Example: (2w+x+3y+z)12 find the coefficients of w2x3y2z5.
Make sure that the powers add up to original so in this case 12.
Then follow solve with 12C2 * (2w)2 * 10C3 * x3 * 7C2 * (3y)2 * 5C5 * z5
Now that we have made sure the powers are correct we focus on coefficients of
these powers. Since z and x are both bare then we can say they have an implied 1 in front of
them. From there we can find the coefficient associated with desired power.
= 12C2 * 4 * 10C3 * 1 * 7C2 * 27 * 5C5 * 1
Example: Suppose 11 Basketball players stand in a circle. Their shirts are labelled with
the integers 1,2…,11 but they are no standing in particular order. Show that five consecutive
players have numbers summing to at least 30.
Suppose x1,x2,x3...x11 are the jersey numbers for the basketball players.
Let s1 = x1 +
x2+ x3 +
x4 +
x5 , s2 = x2 +
x3+ x4 +
x5 +x
6 , s3 = x3 +
x4+ x5 +
x6 +
x7 .. s
11 = x11 +
x1+ x2 +
x 3 + x 4.
Note, s1+ s2+ s3..+ s11 = 5(1+2+3….+11)
= 5 * ((11*12)/2) = 330
For some i, si ≥ ⌈(330/11)⌉ = 30.
Exactly is generally a more difficult and is similar to the tractor salesman or chessmaster
problem.
Example:
A tractor salesman is visiting farms in a particular community. The salesman has exactly
six weeks to work in this particular community. He gives himself the task of visiting at least one
farm per day. Due to work rules, he cannot visit more than three farms in any two day period.
Show that one some set of consecutive days, exactly eleven farms are visited.
From here let’s assume that an = rn for some constant r. By substitution we can build a
characteristic equation,
rn −3rn-1 +2rn-2 =0, (9)
rn-2 (r2 −3r+2)=0, (10)
rn-2(r−1)(r−2)=0. (11)
From here we can say that the characteristic roots are r = 1 and r = 2(we don’t really
care about r=0). We want to use the characteristic roots to build a complementary solution. In
general the complementary solution is a linear combination of our characteristic roots,
an = A(1)n + B(2)n (12)
Using our initial conditions a1 = 5 and a2 = 7 we can solve the system of equations and
find a closed form expression to our recurrence relation.
5 = A(1)1 + B(2)1, (13)
7 = A(1)2 + B(2)2. (14)
Note that A=3 and B=1. Thus an =3+2n.
Reminder: For repeated roots the complementary solution will have an extra “n” term.
Suppose the characteristic equation is,
rn-2(r−2)(r−2)=0. (15)
Then the roots are r = 2 and r = 2. When we build the complementary solution it will have the
form,
an = A(2)n + Bn(2)n (16)
and then the problem is just the same as before.
Bipartite: If there exists subsets & (either can be possibly empty) of such that
, and each edge is incident on one vertex in and .
Example: Complete Bipartite
N-cubes
Degree of Vertex: Number of adjacent vertices to said vertex, loops
are counted twice
D(A) = 2
D(B) = 3
D(C) = 5
Euler Cycle: A cycle with every edge only once. A connected graph is
Eulerian iff it has no odd vertices
Ex: 0340210
1+2+3+...+n =
Therefore
This is false for any positive n, therefore there is no such graph where every degree is different.