4 Assignment 4
4.1 Problem 1.
if \(T(n) = T(n/3) + T(2n/3) + n\) then \(T(n) = O(n \log n)\)
using induction, my induction hypothesis will be
Now we get that
(31) imply the induction hypothesis, and (34) will hold by choosing \(C\) s.t
Hence for any \(n\geq 1\) we can choose \(C\) such that
We get that
if \(T(n) = 2T(n/2) + n \log n \) then \(T(n) = O(n \log ^2 n)\).
using induction, my induction hypothesis will be
for \(n=2\)
Hence for any \(n\geq 2\)
(39) holds since \(n{\gt}\frac{n+1}{2}\)
Let \(c_1, \dots , c_k\) be k positive reals satisfying \(\sum ^k_{i=1} c_i {\lt} 1\). if \(T(n) =\sum ^k_{i=1} T(c_in) +n \) then \(T(n) = O(n)\) .
by induction, my induction hypothesis will be
Its immediate that \(T(0)\le 0\) now lets
(42) imply the induction hypothesis, and (44) will hold by choosing \(C\) s.t
Hence for any \(n\ge 1\) (44) holds and we get that
4.2 Problem 2.
Every tournament has a Hamilton path
Let \(T=(V,E)\) be tournament graph where \(|V|=n\) . using strong induction for \(n\leq 2\) its immediate that hamiltonian path exists. now lets assume its hold for any \(k{\lt}n\). lets choose some \(v\in V\) and define 2 sets such that
Since \(|V_{in}|{\lt}n,|V_{out}|{\lt}n\) by the induction hypothesis exists paths
\(P_{in}\in V_{in},P_{out}\in V_{in}\) such that \(P_{in}\) and \(P_{out}\) are hamiltonian paths. now the path \(P_{in}\rightarrow v \rightarrow P_{out}\) is hamiltonian path for all vertices
\(|V_{in}|\cup |v| \cup |V_{out}|=n\)
First we can notice that \(\chi (T)=\)
1
\(n\) since any 2 vertex connected with an edge . Since \(\chi (T)\leq |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.
Any set X of \(st + 1\) integers contains one of the following:
- •
A subset \(T = \{ x_1,\dots , x_{t+1}\} \subseteq X\) of size \(t + 1\) such that \(x_k\) divides \(x_{k+1}\) for every \(1 \le k \le t\).
- •
A subset \(S = \{ x_1,\dots , x_{s+1}\} \subseteq X\) of \(s + 1\) integers such that \(x_i\) does not divides \(x_j\) for every \(x_i,x_j\in S\).
Consider the following Poset define by
Now lets look at \(\mathcal{P}\) over \(X\) , first notice that when its have chain size \(|t+1|\Rightarrow \) exists sequence of \( x_1\preceq \dots \preceq x_{t+1}\) such that \(x_1 | x_2 \dots |x_{t+1}\Rightarrow \) exist \(T\subseteq X\).
on the other hand if \(\mathcal{P}\) over \(X\) , have anti-chain size \(|s+1|\Rightarrow \) exist sequence of \( x_1\npreceq \dots \npreceq x_{s+1}\) such that \(x_1 \nmid x_2 \nmid \dots \nmid x_{s+1}\Rightarrow \) exist \(S\subseteq X\). Since
its following that splinting \(X\) into \(\mathcal{X}(X)\) anti-chains, one of them will be at size \( \frac{|X|}{\mathcal{X}(X)}\). if \(\alpha (X)\geq s+1\) then \(S\subseteq X\), else \(\alpha (X)\leq s\) and
and we get that \(\omega (X) \geq t+1\Rightarrow T \subseteq X\)
4.4 Problem 4.
Consider the following Poset define by
where \(\mathscr {F}\) is collection \(\mathscr {F} = \{ S_1, \dots , S_n\} \) of n sets.
both chain and anti-chain of \(\mathcal{P}\) are union-free sets
first by noticing that when its have chain \(\Rightarrow \) exists sequence of \( S_1\preceq \dots \preceq S_{k}\) such that \(S_1 \subseteq S_2 \dots \subseteq S_{k}\) let mark this set of element as \(\mathcal{S}_{chain}\) . lets assume that exsit some \(S_i,S_j,S_k\in \mathcal{S}_{chain}\) s.t \(S_i\cup S_j=S_k\),we can that hold only when \(|S_i|,|S_j| \le |S_k|\) but the Poset yield \(S_i\preceq S_k\) and \(S_j\preceq S_k\) hence \(S_i=S_k\) or \(S_j=S_k\) which lead to contradiction since \(\mathcal{S}_{chain}\) is set.
Define \(\mathcal{S}_{anti-chain}\) such that
By assuming that exsit some \(S_i,S_j,S_k\in \mathcal{S}_{anti-chain}\) s.t \(S_i\cup S_j=S_k\). its followed that \(S_i\subseteq S_k\) but \(S_i\nsubseteq S_j\) and we get an contradiction.
every collection \(\mathscr {F} = \{ S_1, \dots , S_n\} \) of n sets contains a sub-collection \(S \subseteq \mathscr {F}\) of at least \(\sqrt{n}\) sets which is union-free
let \(\alpha (\mathcal{P})\) be the longest \(anti-chain\) of \(\mathcal{P}\) over \(\mathscr {F}\). If \(\alpha (\mathcal{P})\geq \sqrt{n}\) then exist such \(S\in \mathscr {F}\) . and if \(\alpha (\mathcal{P}){\lt} \sqrt{n}\)
And again by proposition 4 we get that exist such \(S\in \mathscr {F}\)
4.5 Problem 5
for a finite poset \(\mathcal{P}\) and let x, y be two elements of \(\mathcal{P}\) that are incomparable under \(\mathcal{P}\) . then \(\mathcal{P}\) has a linear extension in which \(x {\lt} y\).
Let \(\mathcal{P}=(X,\preceq )\) be a finite partial order in which \(x, y\in X\) are incomparable. now lets define new post \(\hat{\mathcal{P}}=(X,\hat{\preceq })\)
- •
\(\hat{\preceq }\) is reflexive since \(\preceq \) is reflexive
- •
\(\hat{\preceq }\) is Transitive since \(\preceq \) is Transitive , and we apply apply only steps that respect the Transitive property of \(\preceq \)
- •
\(\hat{\preceq }\) is Anti-symmetric. consider \(w\hat{\preceq }z\) and \(z\hat{\preceq }w\) and let assume that \(w\neq z\). if \(x=w\) or \(y=w\) or \(x=w,y=z\) its immediate lead to contradiction.
and when \(w\hat{\preceq }z \Rightarrow z\preceq y\wedge x\preceq w\) and \(z\hat{\preceq }w \Rightarrow w\preceq y\wedge x\preceq z\) then \(x\preceq z \preceq y \) contradiction to the fact that \(x,y\) are incomparable, hence \(w\hat{\preceq }z\) and \(z\hat{\preceq }w\) lead to \(w=z\) 4
Hence \(\hat{\mathcal{P}}\) is poset where \(x\hat{\preceq } y\) and its contains less incomparable pairs than \(\preceq \) does. If \(\hat{\mathcal{P}}\) is linear then we done. otherwise exists some incomparable \(w,z\) and we can extend \(\hat{\preceq }\) to \(\hat{\preceq }_1\) and follow the proses until we cover all the chains or get some \(\hat{\preceq }_k \) linear and respect \(\mathcal{P}\) where \(x{\lt}y\)
4.6 Problem 6
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.
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.
if \(F\geq \frac{1}{2}\) return \((A,B)\) else \((B,A)\)
Monotonicity For two preference profiles \(R=(R_1, …, R_N)\) and \(S=(S_1, …, S_N)\) such that both profiles prefer \(A{\gt}B\) but
more people support \((A,B)\) and its yield that \(F\) is monotone 5
Unanimity If alternative, \(B{\lt}A\) for all orderings \(R_1 , …, R_N,\) \(R_i=(A,B)\forall i\) then \(F(R_1, R_2, …, R_N)=(A,B) \) and \(A\) is ranked strictly higher than \(B\) by \(F\). its immediate from the way we construct \(F\)
Non-dictatorship There is no individual, i whose strict preferences always prevail consider the profile define
And
For the 2 given profiles there is no individual who can change the result.