4 Assignment 4

4.1 Problem 1.

Proposition 1

if T(n)=T(n/3)+T(2n/3)+n then T(n)=O(nlogn)

Proof

using induction, my induction hypothesis will be

T(n)Cnlogn,n<N,0<C

Now we get that

T(n)=T(n3)+T(2n3)+nCn3logn3+C2n3log2n3+nCn3lognCn3log3+Cn3lognC2n3log32+nCnlognCn3log3C2n3log32+n()Cnlogn

(31) imply the induction hypothesis, and (34) will hold by choosing C s.t

nCn3log3+C2n3log32

Hence for any n1 we can choose C such that

C113log3+23log321.578

We get that

T(n)=O(nlogn)

Proposition 2

if T(n)=2T(n/2)+nlogn then T(n)=O(nlog2n).

Proof

using induction, my induction hypothesis will be

T(n)Cnlog2n,n<N,0<C

for n=2

T(2)=2T(22)+2log22C+nlogn=O(nlog2n)

Hence for any n2

T(n)=2T(n)+nlogn2log2(n2)n2+nlogn=O(nlog2n)

(39) holds since n>n+12

Proposition 3

Let c1,,ck be k positive reals satisfying i=1kci<1. if T(n)=i=1kT(cin)+n then T(n)=O(n) .

Proof

by induction, my induction hypothesis will be

T(n)Cn,n<N,0<C

Its immediate that T(0)0 now lets

T(n)=i=1kT(cin)+ni=1kC(cin)+nCn(i=1kci+1C)()Cn

(42) imply the induction hypothesis, and (44) will hold by choosing C s.t

C11i=1kci

Hence for any n1 (44) holds and we get that

T(n)=O(n)

4.2 Problem 2.

Theorem

Every tournament has a Hamilton path

Proof 1

Let T=(V,E) be tournament graph where |V|=n . using strong induction for n2 its immediate that hamiltonian path exists. now lets assume its hold for any k<n. lets choose some vV and define 2 sets such that

Vin={u:(u,v)E},Vout={u:(v,u)E}

Since |Vin|<n,|Vout|<n by the induction hypothesis exists paths
PinVin,PoutVin such that Pin and Pout are hamiltonian paths. now the path PinvPout is hamiltonian path for all vertices
|Vin||v||Vout|=n

Proof 2

First we can notice that χ(T)= 1 n since any 2 vertex connected with an edge . Since χ(T)|P| where P is the longest simple path in T. on the other hand its can be at most n since T have n vertex . we get that |P|=n.

Hence since P is simple path i.e its visit any vertex of the T exactly once, and P visit all the vertex or in other worlds P is Hamilton path in T

4.3 Problem 3.

claim

Any set X of st+1 integers contains one of the following:

A subset T={x1,,xt+1}X of size t+1 such that xk divides xk+1 for every 1kt.

A subset S={x1,,xs+1}X of s+1 integers such that xi does not divides xj for every xi,xjS.

Proof

Consider the following Poset define by

P=\footnotebyinculding$0,0$aswell{X,x1,x2:x1|x2}

Now lets look at P over X , first notice that when its have chain size |t+1| exists sequence of x1xt+1 such that x1|x2|xt+1 exist TX.
on the other hand if P over X , have anti-chain size |s+1| exist sequence of x1xs+1 such that x1x2xs+1 exist SX. Since

ω(X)α(X)ω(X)|X|X(X)\footnoteMirsky|X|

its following that splinting X into X(X) anti-chains, one of them will be at size |X|X(X). if α(X)s+1 then SX, else α(X)s and

ω(X)|X|α(X)st+1s=t+1s

and we get that ω(X)t+1TX

4.4 Problem 4.

Consider the following Poset define by

P={F,S1,S2:S1S2}

where F is collection F={S1,,Sn} of n sets.

Proposition 4

both chain and anti-chain of P are union-free sets

Proof

first by noticing that when its have chain exists sequence of S1Sk such that S1S2Sk let mark this set of element as Schain . lets assume that exsit some Si,Sj,SkSchain s.t SiSj=Sk,we can that hold only when |Si|,|Sj||Sk| but the Poset yield SiSk and SjSk hence Si=Sk or Sj=Sk which lead to contradiction since Schain is set.

Define Santichain such that

Santichain={Si,Sj:SiSjSjSis.t Si,SjFi,j}

By assuming that exsit some Si,Sj,SkSantichain s.t SiSj=Sk. its followed that SiSk but SiSj and we get an contradiction.

claim

every collection F={S1,,Sn} of n sets contains a sub-collection SF of at least n sets which is union-free

Proof

let α(P) be the longest antichain of P over F. If α(P)n then exist such SF . and if α(P)<n

nω(P)=|F|ω(P)α(P)<n
ω(P)n

And again by proposition 4 we get that exist such SF

4.5 Problem 5

claim

for a finite poset P and let x, y be two elements of P that are incomparable under P . then P has a linear extension in which x<y.

Proof

Let P=(X,) be a finite partial order in which x,yX are incomparable. now lets define new post P^=(X,^)

^={w^zif wzw^zif zyxwy^x

^ is reflexive since is reflexive

^ is Transitive since is Transitive , and we apply apply only steps that respect the Transitive property of

^ is Anti-symmetric. consider w^z and z^w and let assume that wz. if x=w or y=w or x=w,y=z its immediate lead to contradiction.
and when w^zzyxw and z^wwyxz then xzy contradiction to the fact that x,y are incomparable, hence w^z and z^w lead to w=z 4

Hence P^ is poset where x^y and its contains less incomparable pairs than does. If P^ is linear then we done. otherwise exists some incomparable w,z and we can extend ^ to ^1 and follow the proses until we cover all the chains or get some ^k linear and respect P where x<y

4.6 Problem 6

claim

in the setting of Arrow’s Theorem, if the individuals have only two options, then they can come up with a non-dictator social choice function.

Proof

Lets proof that the democracy/majority voting system model satisfies the 3 condition of the Arrow’s Theorem when N voters choose from |{A,B}|=2 choices.

F:S2NiN\mathds1[Si choose A>B]Ni.e and indicator if Si prefer A

if F12 return (A,B) else (B,A)
Monotonicity For two preference profiles R=(R1,,RN) and S=(S1,,SN) such that both profiles prefer A>B but

0.5<iN\mathds1[Si choose A>B]N<iN\mathds1[Ri choose A>B]N

more people support (A,B) and its yield that F is monotone 5

Unanimity If alternative, B<A for all orderings R1,,RN, Ri=(A,B)i then F(R1,R2,,RN)=(A,B) and A is ranked strictly higher than B by F. its immediate from the way we construct F

0.5<iN\mathds1[Ri choose A>B]N



Non-dictatorship There is no individual, i whose strict preferences always prevail consider the profile define

R=(R1,R2,RN)iRi=(A,B)

And

S=(S1,S2,SN)iSi=(B,A)

For the 2 given profiles there is no individual who can change the result.

  1. T is graph on n vertex hence its can be colored by at most n different colours
  2. by inculding 0,0 as well
  3. Mirsky
  4. i actually miss an case but its kind of similar proof
  5. its the same idea for the monotone decrease case B>A