<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Equatorial Mathematics</title>
	<atom:link href="http://equatorialmaths.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://equatorialmaths.wordpress.com</link>
	<description>Mathematics, teaching, brain meltdown</description>
	<lastBuildDate>Mon, 19 Oct 2009 14:20:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='equatorialmaths.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/31834b5f7720bd00aa7aea5b15d7ab60?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Equatorial Mathematics</title>
		<link>http://equatorialmaths.wordpress.com</link>
	</image>
			<item>
		<title>Total unimodularity and networks</title>
		<link>http://equatorialmaths.wordpress.com/2009/10/12/total-unimodularity-and-networks/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/10/12/total-unimodularity-and-networks/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 07:27:40 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=318</guid>
		<description><![CDATA[Total unimodularity is a tool to show that a linear programming problem (LP) has integer optimal solutions. In our discussion on bipartite matchings and linear programming we saw how this is possible to do by hand in a particular case, but as the structure of the LP gets more complicated the details can get very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=318&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Total unimodularity is a tool to show that a linear programming problem (LP) has integer optimal solutions. In our discussion on <a href="http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-via-linear-programming/">bipartite matchings and linear programming</a> we saw how this is possible to do by hand in a particular case, but as the structure of the LP gets more complicated the details can get very messy. Fortunately, there is a general tool that sometimes gives what is needed.</p>
<blockquote><p>
<b>Definition</b>. A matrix <img src='http://s3.wordpress.com/latex.php?latex=+A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' A' title=' A' class='latex' /> is called <i>totally unimodular</i> if each of its subdeterminants equals 0, 1, or -1. (In particular, each entry of <img src='http://s1.wordpress.com/latex.php?latex=+A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' A' title=' A' class='latex' /> is 0, 1, or -1.)
</p></blockquote>
<blockquote><p>
<b>Proposition.</b> Let <img src='http://s2.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> be totally unimodular and <img src='http://s3.wordpress.com/latex.php?latex=b%5Cin%5Cmathbb%7BX%7D%5En.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b\in\mathbb{X}^n.' title='b\in\mathbb{X}^n.' class='latex' /> Then the polyhedron <img src='http://s1.wordpress.com/latex.php?latex=P%3D%5C%7Bx%5Cmid+Ax%5Cleq+b%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P=\{x\mid Ax\leq b\}' title='P=\{x\mid Ax\leq b\}' class='latex' /> is integral (i.e. each face has an integer point.
</p></blockquote>
<p><b>Proof.</b> For a minimal (w.r.t. inclusion) face <img src='http://s2.wordpress.com/latex.php?latex=F&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='F' title='F' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> one has <img src='http://s1.wordpress.com/latex.php?latex=F%3D%5C%7Bx%5Cmid+A%27x%3Db%27%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='F=\{x\mid A&#039;x=b&#039;\},' title='F=\{x\mid A&#039;x=b&#039;\},' class='latex' /> where <img src='http://s2.wordpress.com/latex.php?latex=A%27%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;,' title='A&#039;,' class='latex' /> resp. <img src='http://s3.wordpress.com/latex.php?latex=b%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b&#039;' title='b&#039;' class='latex' /> is a submatrix, resp. subvector, of <img src='http://s1.wordpress.com/latex.php?latex=A%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A,' title='A,' class='latex' /> resp. of <img src='http://s2.wordpress.com/latex.php?latex=b%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b,' title='b,' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> has full row rank. Then, possibly after permuting coordinates, we have <img src='http://s1.wordpress.com/latex.php?latex=A%27%3D%28U%3B+V%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;=(U; V),' title='A&#039;=(U; V),' class='latex' /> with <img src='http://s2.wordpress.com/latex.php?latex=%7CU%7C%5Cneq+0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|U|\neq 0.' title='|U|\neq 0.' class='latex' /> By total unimodularity, <img src='http://s3.wordpress.com/latex.php?latex=%7CU%7C%3D%5Cpm+1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|U|=\pm 1.' title='|U|=\pm 1.' class='latex' /> Then <img src='http://s1.wordpress.com/latex.php?latex=x%3D%28U%5E%7B-1%7Db%27+0%29%5Cin+%5Cmathbb%7BZ%7D%5Em&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=(U^{-1}b&#039; 0)\in \mathbb{Z}^m' title='x=(U^{-1}b&#039; 0)\in \mathbb{Z}^m' class='latex' /> and satisfies <img src='http://s2.wordpress.com/latex.php?latex=A%27x%3Db%27.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;x=b&#039;.' title='A&#039;x=b&#039;.' class='latex' /> QED.</p>
<p>As a corollary, the LP <img src='http://s3.wordpress.com/latex.php?latex=%5Cmax_%7Bx%5Cin+P%7D+c%5ET+x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\max_{x\in P} c^T x' title='\max_{x\in P} c^T x' class='latex' /> has integer optimum (and optimiser) whenever <img src='http://s1.wordpress.com/latex.php?latex=c%5Cin+%5Cmathbb%7BZ%7D%5Em.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c\in \mathbb{Z}^m.' title='c\in \mathbb{Z}^m.' class='latex' /> Moreover, the same holds for its LP dual <img src='http://s2.wordpress.com/latex.php?latex=%5Cmin+b%5ET+y%2C+y%5Cin+P%5E%2A%3D%5C%7Bz%5Cgeq+0%5Cmid+A%5ETz%3Dc%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\min b^T y, y\in P^*=\{z\geq 0\mid A^Tz=c\},' title='\min b^T y, y\in P^*=\{z\geq 0\mid A^Tz=c\},' class='latex' /> by rewriting <img src='http://s3.wordpress.com/latex.php?latex=P%5E%2A%3D%5C%7Bz%5Cmid+%28I%3BA%5ET%3B-A%5ET%29z%5Cleq+%28%5Coverline%7B0%7D%2Cc%2C-c%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P^*=\{z\mid (I;A^T;-A^T)z\leq (\overline{0},c,-c)' title='P^*=\{z\mid (I;A^T;-A^T)z\leq (\overline{0},c,-c)' class='latex' /> and applying the proposition above.</p>
<p><b>Hoffman-Kruskal Theorem.</b> It turns out that this property characterises<br />
total unimodularity:</p>
<blockquote>
<ol>
<li><img src='http://s1.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> is totally unimodular iff for any <img src='http://s2.wordpress.com/latex.php?latex=b%5Cin%5Cmathbb%7BZ%7D%5En&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b\in\mathbb{Z}^n' title='b\in\mathbb{Z}^n' class='latex' /> the polyhedron <img src='http://s3.wordpress.com/latex.php?latex=P%3D%5C%7Bx%5Cmid+Ax%5Cleq+b%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P=\{x\mid Ax\leq b\}' title='P=\{x\mid Ax\leq b\}' class='latex' /> is integral.
<li><img src='http://s1.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> is totally unimodular iff for any <img src='http://s2.wordpress.com/latex.php?latex=b%5Cin%5Cmathbb%7BZ%7D%5En&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b\in\mathbb{Z}^n' title='b\in\mathbb{Z}^n' class='latex' />, <img src='http://s3.wordpress.com/latex.php?latex=c%5Cin%5Cmathbb%7BZ%7D%5Em&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c\in\mathbb{Z}^m' title='c\in\mathbb{Z}^m' class='latex' /> the equality in the LP duality equation <img src='http://s1.wordpress.com/latex.php?latex=%5Cmax_%7Bx%5Cin+P%7D+c%5ET+x%3D%5Cmin_%7By%5Cin+P%5E%2A%7Db%5ET+y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\max_{x\in P} c^T x=\min_{y\in P^*}b^T y' title='\max_{x\in P} c^T x=\min_{y\in P^*}b^T y' class='latex' />  is achieved by integral vectors (assuming these min and max are finite).
</ol>
</blockquote>
<p>The second obviously follows from the first.<br />
The first will follow from the following:</p>
<blockquote><p>
A full rank matrix <img src='http://s2.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> is totally unimodular iff for any <img src='http://s3.wordpress.com/latex.php?latex=b%27%5Cin%5Cmathbb%7BZ%7D%5E%7Bn%27%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b&#039;\in\mathbb{Z}^{n&#039;}' title='b&#039;\in\mathbb{Z}^{n&#039;}' class='latex' /> the polyhedron <img src='http://s1.wordpress.com/latex.php?latex=%5C%7Bx%5Cmid+x%5Cgeq+0%2C+A%27x%3Db%27%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{x\mid x\geq 0, A&#039;x=b&#039;\}' title='\{x\mid x\geq 0, A&#039;x=b&#039;\}' class='latex' /> is integral.
</p></blockquote>
<p>We omit the proof here.</p>
<p><b>Examples of totally unimodular matrices.</b></p>
<blockquote><p>
(Vertex-edge) incidence matrix <img src='http://s2.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> of a graph <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CE%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,E)' title='\Gamma=(V,E)' class='latex' /> is totally unimodular iff <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is bipartite.
</p></blockquote>
<p><b>Sketch of the proof.</b><br />
1) Prove that the incidence matrix of an odd cycle is not totally unimodular, e.g. by considering the vertex numbering such that the edges are <img src='http://s2.wordpress.com/latex.php?latex=%281%2C2%29%2C+%282%2C3%29%2C%5Cdots%2C%28n-1%2Cn%29%2C%281%2Cn%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(1,2), (2,3),\dots,(n-1,n),(1,n)' title='(1,2), (2,3),\dots,(n-1,n),(1,n)' class='latex' /> and arranging the columns of the matrix in this order, while arranging the rows in the order <img src='http://s3.wordpress.com/latex.php?latex=2%2C3%2C%5Cdots%2Cn-1%2Cn%2C1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2,3,\dots,n-1,n,1.' title='2,3,\dots,n-1,n,1.' class='latex' /> Then the usual decomposition of the determinant w.r.t. all the permutations of <img src='http://s1.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> symbols will have only 2 nonzero summands, that will not cancel each other (actually, in the case  of <img src='http://s2.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> even they will cancel each other).<br />
This shows that <img src='http://s3.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> cannot be totally unimodular if <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is not bipartite. <br />
2) Let <img src='http://s2.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> be a square submatrix of <img src='http://s3.wordpress.com/latex.php?latex=A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A.' title='A.' class='latex' /> If it has a 0 column its determinant is 0. If it has a column with just one 1, we can decompose the determinant w.r.t. this column and apply induction on the size of <img src='http://s1.wordpress.com/latex.php?latex=A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A.' title='A.' class='latex' /> This leaves one with the case of <img src='http://s2.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> having exactly two 1s per column. Same argument can be applied to argue that <img src='http://s3.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> has, w.l.o.g., at least two 1s per row, and thus exactly two 1s, by counting 1s of <img src='http://s1.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> in two ways. It follows that <img src='http://s2.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> is the incidence matrix of a disjoint union of (even, as <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is bipartite) cycles. By reordering the rows and columns we and make <img src='http://s1.wordpress.com/latex.php?latex=A%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A&#039;' title='A&#039;' class='latex' /> to be block-diagonal, with each block the incidence matrix of an even cycle. The determinant of a block-diagonal matrix equals the product of determinants of the blocks, and so it remains to show that the incidence matrix of an even cycle is totally unimodular; this can be done as above. Q.E.D.</p>
<blockquote><p>
<b>Excercise.</b> Combine this with the result on the total modularity above to show that the <a href="http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-via-linear-programming/"> maximum matching LP for bipartite graphs</a> has an integer solution. Construct the LP dual for this problem and interpret its integer solutions (show that they exist first!) in graph-theoretic terms.
</p></blockquote>
<blockquote><p>
<b>Excercise.</b> The incidence matrix <img src='http://s2.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> of a digraph <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CA%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,A)' title='\Gamma=(V,A)' class='latex' /> is a 0,1,-1 matrix of size <img src='http://s1.wordpress.com/latex.php?latex=%7CV%7C%5Ctimes+%7CA%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V|\times |A|' title='|V|\times |A|' class='latex' /> so that <img src='http://s2.wordpress.com/latex.php?latex=A_%7Bv%2Cd%7D%3D0%2C1%2C-1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A_{v,d}=0,1,-1' title='A_{v,d}=0,1,-1' class='latex' /> if, respectively, <img src='http://s3.wordpress.com/latex.php?latex=d%5Cin+A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d\in A' title='d\in A' class='latex' /> misses <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V,' title='v\in V,' class='latex' /> or <img src='http://s2.wordpress.com/latex.php?latex=d&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d' title='d' class='latex' /> arrives to <img src='http://s3.wordpress.com/latex.php?latex=v%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v,' title='v,' class='latex' /> or <img src='http://s1.wordpress.com/latex.php?latex=d&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d' title='d' class='latex' /> leaves <img src='http://s2.wordpress.com/latex.php?latex=v.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v.' title='v.' class='latex' /> Show that <img src='http://s3.wordpress.com/latex.php?latex=A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' /> is totally unimodular.
</p></blockquote>
<p></p>
<p><b>Network flows and max-flow min-cut theorem.</b><br />
Armed with the above, we can easily prove the max-flow min-cut theorem for networks. Recall that a <i>network</i> is a directed graph <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CA%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,A)' title='\Gamma=(V,A)' class='latex' /> with two marked nodes <img src='http://s2.wordpress.com/latex.php?latex=s%2Ct%5Cin+V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s,t\in V,' title='s,t\in V,' class='latex' /> and arc <i>capacities</i> <img src='http://s3.wordpress.com/latex.php?latex=c%3A+A%5Cto+%5Cmathbb%7BR%7D_%2B.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c: A\to \mathbb{R}_+.' title='c: A\to \mathbb{R}_+.' class='latex' /> An <img src='http://s1.wordpress.com/latex.php?latex=s-t&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s-t' title='s-t' class='latex' />-<i>flow</i> on the network <img src='http://s2.wordpress.com/latex.php?latex=%28%5CGamma%2Cs%2Ct%2Cc%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(\Gamma,s,t,c)' title='(\Gamma,s,t,c)' class='latex' /> is a function <img src='http://s3.wordpress.com/latex.php?latex=f%3A+A%5Cto+%5Cmathbb%7BR%7D_%2B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f: A\to \mathbb{R}_+' title='f: A\to \mathbb{R}_+' class='latex' /> satisfying <img src='http://s1.wordpress.com/latex.php?latex=f%28a%29%5Cleq+c%28a%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(a)\leq c(a)' title='f(a)\leq c(a)' class='latex' /> for all <img src='http://s2.wordpress.com/latex.php?latex=a%5Cin+A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a\in A' title='a\in A' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=f_%2B%28v%29%3Df_-%28v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_+(v)=f_-(v)' title='f_+(v)=f_-(v)' class='latex' /> for any <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V%5Csetminus%5C%7Bs%2Ct%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V\setminus\{s,t\},' title='v\in V\setminus\{s,t\},' class='latex' /> where <img src='http://s2.wordpress.com/latex.php?latex=f_%2B%3D%5Csum_%7Bu%5Cin+V%5Cmid+%28uv%29%5Cin+A%7D+f%28uv%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_+=\sum_{u\in V\mid (uv)\in A} f(uv),' title='f_+=\sum_{u\in V\mid (uv)\in A} f(uv),' class='latex' /> and   <img src='http://s3.wordpress.com/latex.php?latex=f_-%3D%5Csum_%7Bu%5Cin+V%5Cmid+%28vu%29%5Cin+A%7D+f%28vu%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_-=\sum_{u\in V\mid (vu)\in A} f(vu).' title='f_-=\sum_{u\in V\mid (vu)\in A} f(vu).' class='latex' /> (The latter is called <i>conservation law</i>.) The <i>value</i> of <img src='http://s1.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> is <img src='http://s2.wordpress.com/latex.php?latex=f_%2B%28s%29-f_-%28s%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_+(s)-f_-(s),' title='f_+(s)-f_-(s),' class='latex' /> i.e. the &#8220;amount&#8221; of <img src='http://s3.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> that &#8220;leaves&#8221; <img src='http://s1.wordpress.com/latex.php?latex=s.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s.' title='s.' class='latex' /><br />
And <img src='http://s2.wordpress.com/latex.php?latex=s-t&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s-t' title='s-t' class='latex' /> <i>cut</i> is a partition of <img src='http://s3.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> into two parts <img src='http://s1.wordpress.com/latex.php?latex=S&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S' title='S' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=T&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='T' title='T' class='latex' /> so that <img src='http://s3.wordpress.com/latex.php?latex=s%5Cin+S%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s\in S,' title='s\in S,' class='latex' /> <img src='http://s1.wordpress.com/latex.php?latex=t%5Cin+T.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='t\in T.' title='t\in T.' class='latex' /> The <i>capacity of the cut</i> is the sum of the capacities of the arc leaving <img src='http://s2.wordpress.com/latex.php?latex=T.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='T.' title='T.' class='latex' /></p>
<blockquote><p>
<b>Max-flow min-cut theorem.</b>  Given the network <img src='http://s3.wordpress.com/latex.php?latex=%28%5CGamma%2Cs%2Ct%2Cc%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(\Gamma,s,t,c),' title='(\Gamma,s,t,c),' class='latex' /> the maximum value of an <img src='http://s1.wordpress.com/latex.php?latex=s-t&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s-t' title='s-t' class='latex' />-flow is equal to the minimum capacity of an <img src='http://s2.wordpress.com/latex.php?latex=s-t&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s-t' title='s-t' class='latex' />-cut.
</p></blockquote>
<p>In order to formulate this as an LP, we introduce the function <img src='http://s3.wordpress.com/latex.php?latex=w%3AA%5Cto+%5Cmathbb%7BZ%7D_%2B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w:A\to \mathbb{Z}_+' title='w:A\to \mathbb{Z}_+' class='latex' /> so that <img src='http://s1.wordpress.com/latex.php?latex=w%28a%29%3D0%2C1%2C%5Ctext%7B+or+%7D-1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(a)=0,1,\text{ or }-1' title='w(a)=0,1,\text{ or }-1' class='latex' /> if, respectively, <img src='http://s2.wordpress.com/latex.php?latex=a&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a' title='a' class='latex' /> misses <img src='http://s3.wordpress.com/latex.php?latex=s%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s,' title='s,' class='latex' /> or resp. <img src='http://s1.wordpress.com/latex.php?latex=a&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a' title='a' class='latex' /> enters <img src='http://s2.wordpress.com/latex.php?latex=s%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s,' title='s,' class='latex' /> or resp. <img src='http://s3.wordpress.com/latex.php?latex=a&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a' title='a' class='latex' /> leaves <img src='http://s1.wordpress.com/latex.php?latex=s.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s.' title='s.' class='latex' /> Now we can formulate the max-flow problem as follows:</p>
<blockquote><p>
<img src='http://s2.wordpress.com/latex.php?latex=%5Cmax+%5Csum_%7Ba%5Cin+A%7D+w%28a%29f%28a%29%5Cquad%5Ctext%7Bsubject+to%7D%5C%5C+0%5Cleq+f%28a%29%5Cleq+c%28a%29%2C+%5Ctext%7B+for+%7D+a%5Cin+A%2C%5C%5C+f_%2B%28v%29%3Df_-%28v%29%5Ctext%7B+for+%7D+v%5Cin+V%5Csetminus%5C%7Bs%2Ct%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\max \sum_{a\in A} w(a)f(a)\quad\text{subject to}\\ 0\leq f(a)\leq c(a), \text{ for } a\in A,\\ f_+(v)=f_-(v)\text{ for } v\in V\setminus\{s,t\}.' title='\max \sum_{a\in A} w(a)f(a)\quad\text{subject to}\\ 0\leq f(a)\leq c(a), \text{ for } a\in A,\\ f_+(v)=f_-(v)\text{ for } v\in V\setminus\{s,t\}.' class='latex' />
</p></blockquote>
<p>Let <img src='http://s3.wordpress.com/latex.php?latex=M%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;' title='M&#039;' class='latex' /> be the sumbatrix of the incidence matrix <img src='http://s1.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> obtained by removing the rows with indices <img src='http://s3.wordpress.com/latex.php?latex=s&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s' title='s' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=t.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='t.' title='t.' class='latex' /> Then the latter can be rewritten as</p>
<blockquote><p>
<img src='http://s2.wordpress.com/latex.php?latex=%5Cmax+w%5ET+f%5Cmid+0%5Cleq+f%5Cleq+c%2C%5C+M%27f%3D0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\max w^T f\mid 0\leq f\leq c,\ M&#039;f=0.' title='\max w^T f\mid 0\leq f\leq c,\ M&#039;f=0.' class='latex' />
</p></blockquote>
<p>The matrix of this LP is totally unimodular. If <img src='http://s3.wordpress.com/latex.php?latex=c%3AA%5Cto+%5Cmathbb%7BZ%7D_%2B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c:A\to \mathbb{Z}_+' title='c:A\to \mathbb{Z}_+' class='latex' /> then we can apply the integrality result directly, and establish along the way that there exists an optimal integral flow. In general, we cannot apply the unimodularity directly. But we can  take the LP dual. It is as follows:</p>
<blockquote><p>
<img src='http://s1.wordpress.com/latex.php?latex=%5Cmin+y%5ET+c+%5Cmid+y%5Cgeq+0%2C+y%5ET%2Bz%5ET+M%27%5Cgeq+w%5ET.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\min y^T c \mid y\geq 0, y^T+z^T M&#039;\geq w^T.' title='\min y^T c \mid y\geq 0, y^T+z^T M&#039;\geq w^T.' class='latex' />
</p></blockquote>
<p>Here the minimum is attained by <i>integer</i> vectors, as the polytope describing the feasible set is integral. We can extend <img src='http://s2.wordpress.com/latex.php?latex=z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z' title='z' class='latex' /> by defining <img src='http://s3.wordpress.com/latex.php?latex=z_s%3A%3D-1%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z_s:=-1,' title='z_s:=-1,' class='latex' /> <img src='http://s1.wordpress.com/latex.php?latex=z_t%3A%3D0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z_t:=0.' title='z_t:=0.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=y%5ET%2Bz%5ET+M%5Cgeq+0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y^T+z^T M\geq 0.' title='y^T+z^T M\geq 0.' class='latex' /> The set <img src='http://s3.wordpress.com/latex.php?latex=U%3A%3D%5C%7Bv%5Cin+V%7C+z_v%5Cgeq+0%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U:=\{v\in V| z_v\geq 0\}' title='U:=\{v\in V| z_v\geq 0\}' class='latex' />  satisfies <img src='http://s1.wordpress.com/latex.php?latex=t%5Cin+U%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='t\in U,' title='t\in U,' class='latex' /> <img src='http://s2.wordpress.com/latex.php?latex=s%5Cnot%5Cin+U.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='s\not\in U.' title='s\not\in U.' class='latex' /> So it is a cut. To show the claim of the theorem, it suffices to show that the total capacity of the arcs leaving <img src='http://s3.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> is bounded from above (the opposite direction is easy) by <img src='http://s1.wordpress.com/latex.php?latex=y%5ET+c%3D%5Ctext%7Bmaxflow%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y^T c=\text{maxflow}.' title='y^T c=\text{maxflow}.' class='latex' /> Let <img src='http://s2.wordpress.com/latex.php?latex=a%3D%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a=(u,v)' title='a=(u,v)' class='latex' /> is such an arc. Then <img src='http://s3.wordpress.com/latex.php?latex=z_u%5Cgeq+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z_u\geq 0' title='z_u\geq 0' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=z_v%5Cleq+-1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z_v\leq -1.' title='z_v\leq -1.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=y%5ET%2Bz%5ET+M%5Cgeq+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y^T+z^T M\geq 0' title='y^T+z^T M\geq 0' class='latex' /> implies <img src='http://s3.wordpress.com/latex.php?latex=v_a%2Bz_u-z_v%5Cgeq+0%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v_a+z_u-z_v\geq 0,' title='v_a+z_u-z_v\geq 0,' class='latex' /> so <img src='http://s1.wordpress.com/latex.php?latex=y_a%5Cgeq+1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y_a\geq 1.' title='y_a\geq 1.' class='latex' /> Q.E.D.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=318&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/10/12/total-unimodularity-and-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Hungarian algorithm, take 1</title>
		<link>http://equatorialmaths.wordpress.com/2009/09/23/hungarian-algorithm-take-1/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/09/23/hungarian-algorithm-take-1/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 05:44:43 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=310</guid>
		<description><![CDATA[Hungarian algorithm is an efficient procedure to find a maximum weight matching in a bipartite graph  with parts  and  and a weight function  Usually it is described in terms of potential functions on  and looks quite mysterious, as it hides the origin of the procedure, that is a variation of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=310&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><b>Hungarian algorithm</b> is an efficient procedure to find a maximum weight matching in a bipartite graph <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma%3D%28V_1%5Ccup+V_2%2CE%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V_1\cup V_2,E)' title='\Gamma=(V_1\cup V_2,E)' class='latex' /> with parts <img src='http://s2.wordpress.com/latex.php?latex=V_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_1' title='V_1' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=V_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_2' title='V_2' class='latex' /> and a weight function <img src='http://s1.wordpress.com/latex.php?latex=w%3AE%5Cto%5Cmathbb%7BR%7D_%2B.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w:E\to\mathbb{R}_+.' title='w:E\to\mathbb{R}_+.' class='latex' /> Usually it is described in terms of potential functions on <img src='http://s2.wordpress.com/latex.php?latex=V%3DV_1%5Ccup+V_2%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V=V_1\cup V_2,' title='V=V_1\cup V_2,' class='latex' /> and looks quite mysterious, as it hides the origin of the procedure, that is a variation of the augmenting path method for finding a maximum (unweighted) matching in <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma.' title='\Gamma.' class='latex' /> Here we describe this point of view.</p>
<p>Let <img src='http://s1.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> be a matching of maximum weight <img src='http://s2.wordpress.com/latex.php?latex=w%28M%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M)' title='w(M)' class='latex' /> among all matchings of size <img src='http://s3.wordpress.com/latex.php?latex=%7CM%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M|.' title='|M|.' class='latex' /> If <img src='http://s1.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> is a maximum (unweighted) matching then we are done. </p>
<p>Otherwise, we construct a bipartite digraph <img src='http://s2.wordpress.com/latex.php?latex=D%3D%28V%2CA%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D=(V,A)' title='D=(V,A)' class='latex' /> by orienting all the edges in <img src='http://s3.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> from <img src='http://s1.wordpress.com/latex.php?latex=V_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_2' title='V_2' class='latex' /> to <img src='http://s2.wordpress.com/latex.php?latex=V_1%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_1,' title='V_1,' class='latex' /> and the remaining edges <img src='http://s3.wordpress.com/latex.php?latex=E%5Csetminus+M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E\setminus M' title='E\setminus M' class='latex' /> in the opposite direction. We also construct the length function <img src='http://s1.wordpress.com/latex.php?latex=%5Cell%3A+A%5Cto%5Cmathbb%7BR%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell: A\to\mathbb{R}' title='\ell: A\to\mathbb{R}' class='latex' /> by setting <img src='http://s2.wordpress.com/latex.php?latex=%5Cell%28a%29%3Dw%28a%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(a)=w(a)' title='\ell(a)=w(a)' class='latex' /> for all <img src='http://s3.wordpress.com/latex.php?latex=a%5Cin+M%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a\in M,' title='a\in M,' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=%5Cell%28a%29%3D-w%28a%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(a)=-w(a)' title='\ell(a)=-w(a)' class='latex' /> for all <img src='http://s2.wordpress.com/latex.php?latex=a%5Cin+A%5Csetminus+M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a\in A\setminus M.' title='a\in A\setminus M.' class='latex' />  Observe that there no negative length (directed) cycles in <img src='http://s3.wordpress.com/latex.php?latex=D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D.' title='D.' class='latex' /> Indeed, any directed cycle <img src='http://s1.wordpress.com/latex.php?latex=C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C' title='C' class='latex' /> in <img src='http://s2.wordpress.com/latex.php?latex=D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D' title='D' class='latex' /> contains equally many edges in <img src='http://s3.wordpress.com/latex.php?latex=C%5Ccap+M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C\cap M' title='C\cap M' class='latex' /> from <img src='http://s1.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> and in <img src='http://s2.wordpress.com/latex.php?latex=C%5Csetminus+M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C\setminus M.' title='C\setminus M.' class='latex' /> Note that <img src='http://s3.wordpress.com/latex.php?latex=%5Cell%28C%29%3C0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(C)&lt;0' title='\ell(C)&lt;0' class='latex' /> would mean that <img src='http://s1.wordpress.com/latex.php?latex=w%28C%5Ccap+M%29%3C+w%28C%5Csetminus+M%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(C\cap M)&lt; w(C\setminus M),' title='w(C\cap M)&lt; w(C\setminus M),' class='latex' /> and so <img src='http://s2.wordpress.com/latex.php?latex=w%28M%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M)' title='w(M)' class='latex' /> is not maximum, as <img src='http://s3.wordpress.com/latex.php?latex=w%28C%5Ctriangle+M%29%3E+w%28M%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(C\triangle M)&gt; w(M),' title='w(C\triangle M)&gt; w(M),' class='latex' /> whereas <img src='http://s1.wordpress.com/latex.php?latex=%7CC%5Ctriangle+M%7C%3D%7CM%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|C\triangle M|=|M|.' title='|C\triangle M|=|M|.' class='latex' /><br />
</p>
<p>Let <img src='http://s2.wordpress.com/latex.php?latex=V_1%5EM&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_1^M' title='V_1^M' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=V_2%5EM&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_2^M' title='V_2^M' class='latex' /> be subsets of <img src='http://s1.wordpress.com/latex.php?latex=V_1%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_1,' title='V_1,' class='latex' /> resp. <img src='http://s2.wordpress.com/latex.php?latex=V_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_2' title='V_2' class='latex' /> that are unsaturated by <img src='http://s3.wordpress.com/latex.php?latex=M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M.' title='M.' class='latex' /> We find (say, using the <a href="http://equatorialmaths.wordpress.com/2009/09/18/bellman-ford-algorithm-for-shortest-paths/">Bellman-Ford algorithm</a>) a minimum length directed path <img src='http://s1.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> between  <img src='http://s2.wordpress.com/latex.php?latex=V_1%5EM&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_1^M' title='V_1^M' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=V_2%5EM.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V_2^M.' title='V_2^M.' class='latex' /> By construction of <img src='http://s1.wordpress.com/latex.php?latex=D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D,' title='D,' class='latex' /> <img src='http://s2.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> is an augmenting path for <img src='http://s3.wordpress.com/latex.php?latex=M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M.' title='M.' class='latex' /> So <img src='http://s1.wordpress.com/latex.php?latex=M%27%3DM%5Ctriangle+P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;=M\triangle P' title='M&#039;=M\triangle P' class='latex' /> is a matching satisfying <img src='http://s2.wordpress.com/latex.php?latex=%7CM%27%7C%3D%7CM%7C%2B1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|=|M|+1.' title='|M&#039;|=|M|+1.' class='latex' /></p>
<blockquote><p>
<i>Claim</i>: <img src='http://s3.wordpress.com/latex.php?latex=w%28M%27%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M&#039;)' title='w(M&#039;)' class='latex' /> is maximum among all matchings of size <img src='http://s1.wordpress.com/latex.php?latex=%7CM%27%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|.' title='|M&#039;|.' class='latex' /></p>
</blockquote>
<p>We&#8217;ll prove this claim below. For now, we remark that it is obvious that this procedure, repeated with <img src='http://s2.wordpress.com/latex.php?latex=M%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;' title='M&#039;' class='latex' /> taking place of <img src='http://s3.wordpress.com/latex.php?latex=M%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M,' title='M,' class='latex' /> will find matchings of maximum weight among all matchings of size <img src='http://s1.wordpress.com/latex.php?latex=1%2C2%2C3%2C%5Cdots&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1,2,3,\dots' title='1,2,3,\dots' class='latex' /> In the end it remains to select among these at most <img src='http://s2.wordpress.com/latex.php?latex=%5Cmin%28%7CV_1%7C%2C%7CV_2%7C%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\min(|V_1|,|V_2|)' title='\min(|V_1|,|V_2|)' class='latex' /> matchings one with maximum weight.<br />
</p>
<p>Now let us prove the claim. It certainly holds for <img src='http://s3.wordpress.com/latex.php?latex=%7CM%27%7C%3D1%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|=1,' title='|M&#039;|=1,' class='latex' /> as the procedure will select a maximum weight edge in <img src='http://s1.wordpress.com/latex.php?latex=E&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E' title='E' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=M%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;' title='M&#039;' class='latex' /> will consist of this edge. So we can assume <img src='http://s3.wordpress.com/latex.php?latex=%7CM%27%7C%5Cgeq+2.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|\geq 2.' title='|M&#039;|\geq 2.' class='latex' /> Let <img src='http://s1.wordpress.com/latex.php?latex=N&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N' title='N' class='latex' /> be a matching of size <img src='http://s2.wordpress.com/latex.php?latex=%7CM%27%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|' title='|M&#039;|' class='latex' /> of maximum weight. We need to show that <img src='http://s3.wordpress.com/latex.php?latex=w%28N%29%5Cleq+w%28M%27%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(N)\leq w(M&#039;).' title='w(N)\leq w(M&#039;).' class='latex' /> As <img src='http://s1.wordpress.com/latex.php?latex=%7CN%7C%3D%7CM%7C%2B1%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|N|=|M|+1,' title='|N|=|M|+1,' class='latex' /> there exists an <img src='http://s2.wordpress.com/latex.php?latex=M-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M-' title='M-' class='latex' />augmenting path <img src='http://s3.wordpress.com/latex.php?latex=Q&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Q' title='Q' class='latex' /> such that <img src='http://s1.wordpress.com/latex.php?latex=N%3DQ%5Ctriangle+M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N=Q\triangle M.' title='N=Q\triangle M.' class='latex' /> But <img src='http://s2.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> is a shortest <img src='http://s3.wordpress.com/latex.php?latex=M-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M-' title='M-' class='latex' />augmenting path, so <img src='http://s1.wordpress.com/latex.php?latex=%5Cell%28Q%29%5Cgeq%5Cell%28P%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(Q)\geq\ell(P).' title='\ell(Q)\geq\ell(P).' class='latex' /><br />
On the other hand, <img src='http://s2.wordpress.com/latex.php?latex=N%5Ctriangle+Q&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N\triangle Q' title='N\triangle Q' class='latex' /> is a matching of size <img src='http://s3.wordpress.com/latex.php?latex=%7CM%7C%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M|,' title='|M|,' class='latex' /> and so <img src='http://s1.wordpress.com/latex.php?latex=w%28N%5Ctriangle+Q%29%5Cleq+w%28M%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(N\triangle Q)\leq w(M),' title='w(N\triangle Q)\leq w(M),' class='latex' /> by induction. Now <img src='http://s2.wordpress.com/latex.php?latex=w%28N%29%3Dw%28N%5Ctriangle+Q%29-%5Cell%28Q%29%5Cleq+w%28M%29-%5Cell%28Q%29%5Cleq+w%28M%29-%5Cell%28P%29%3Dw%28M%27%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(N)=w(N\triangle Q)-\ell(Q)\leq w(M)-\ell(Q)\leq w(M)-\ell(P)=w(M&#039;),' title='w(N)=w(N\triangle Q)-\ell(Q)\leq w(M)-\ell(Q)\leq w(M)-\ell(P)=w(M&#039;),' class='latex' /> as claimed. QED.</p>
<p>As described, we need to do less that <img src='http://s3.wordpress.com/latex.php?latex=n%3D%7CV%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n=|V|' title='n=|V|' class='latex' /> loops of this procedure. In each loop, the Bellman-Ford dominates the complexity, so in total we need <img src='http://s1.wordpress.com/latex.php?latex=O%28n%5E2%7CE%7C%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='O(n^2|E|)' title='O(n^2|E|)' class='latex' /> operations. In fact, we can stop as soon as we reached the situation when <img src='http://s2.wordpress.com/latex.php?latex=w%28M%27%29%5Cleq+w%28M%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M&#039;)\leq w(M).' title='w(M&#039;)\leq w(M).' class='latex' /></p>
<blockquote><p>
Let a matching <img src='http://s3.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> have maximum <img src='http://s1.wordpress.com/latex.php?latex=w%28M%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M)' title='w(M)' class='latex' /> among matchings of size <img src='http://s2.wordpress.com/latex.php?latex=%7CM%7C%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M|,' title='|M|,' class='latex' /> and any matching <img src='http://s3.wordpress.com/latex.php?latex=M%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;' title='M&#039;' class='latex' /> of size <img src='http://s1.wordpress.com/latex.php?latex=%7CM%27%7C%3D%7CM%7C%2B1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M&#039;|=|M|+1' title='|M&#039;|=|M|+1' class='latex' /> satisfy <img src='http://s2.wordpress.com/latex.php?latex=w%28M%27%29%5Cleq+w%28M%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M&#039;)\leq w(M).' title='w(M&#039;)\leq w(M).' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=w%28N%29%5Cleq+w%28M%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(N)\leq w(M)' title='w(N)\leq w(M)' class='latex' /> for any matching <img src='http://s1.wordpress.com/latex.php?latex=N&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N' title='N' class='latex' /> of size bigger than <img src='http://s2.wordpress.com/latex.php?latex=%7CM%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|M|.' title='|M|.' class='latex' />
</p></blockquote>
<p>Proof. Suppose <img src='http://s3.wordpress.com/latex.php?latex=N&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N' title='N' class='latex' /> be a matching contradicting the claim, minimal w.r.t. <img src='http://s1.wordpress.com/latex.php?latex=%7CN%5Ctriangle+M%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|N\triangle M|.' title='|N\triangle M|.' class='latex' />  Let <img src='http://s2.wordpress.com/latex.php?latex=D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D' title='D' class='latex' /> be the digraph constructed from <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma,' title='\Gamma,' class='latex' /> <img src='http://s1.wordpress.com/latex.php?latex=w%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w,' title='w,' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> as above. The connected components of <img src='http://s3.wordpress.com/latex.php?latex=%7CN%5Ctriangle+M%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|N\triangle M|' title='|N\triangle M|' class='latex' /> induce oriented cycles and directed paths on <img src='http://s1.wordpress.com/latex.php?latex=D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D.' title='D.' class='latex' /> Each such component will have a nonnegative total length, as neither there can be a negative length cycle in <img src='http://s2.wordpress.com/latex.php?latex=D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='D' title='D' class='latex' /> (see above) nor can there be a negative length <img src='http://s3.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' />-augmenting path (otherwise we can construct <img src='http://s1.wordpress.com/latex.php?latex=M%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M&#039;' title='M&#039;' class='latex' />). But this implies that <img src='http://s2.wordpress.com/latex.php?latex=w%28M%29%5Cgeq+w%28N%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w(M)\geq w(N),' title='w(M)\geq w(N),' class='latex' /> contradiction. QED.</p>
<p>In particular, the complexity above can be improved to $latex O(n|M||E|).</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=310&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/09/23/hungarian-algorithm-take-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Bellman-Ford algorithm for shortest paths and potentials</title>
		<link>http://equatorialmaths.wordpress.com/2009/09/18/bellman-ford-algorithm-for-shortest-paths/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/09/18/bellman-ford-algorithm-for-shortest-paths/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 18:35:12 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=300</guid>
		<description><![CDATA[Bellman-Ford shortest paths algorithm. Finding minimal distances in directed graphs, when some arc lengths are negative, cannot be done by Dijkstra&#8217;s algorithm (at least not without some preparation). Moreover, it is obvious that one cannot even define the minimal distances when the digraph has a negative length cycle.
While negative length paths look artificial, they arise [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=300&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><b>Bellman-Ford shortest paths algorithm.</b> Finding minimal distances in directed graphs, when some arc lengths are negative, cannot be done by Dijkstra&#8217;s algorithm (at least not without some preparation). Moreover, it is obvious that one cannot even <i>define</i> the minimal distances when the digraph has a negative length cycle.<br />
While negative length paths look artificial, they arise naturally in modeling (say, a driver has to pay to use certain stretches of the road, but is paid for driving up  other stretches) and algorithms, not the least in Hungarian method for weighted bipartite matching.</p>
<p>Let <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CA%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,A)' title='\Gamma=(V,A)' class='latex' /> be a directed graph and <img src='http://s1.wordpress.com/latex.php?latex=%5Cell%3AA%5Cto+%5Cmathbb%7BR%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell:A\to \mathbb{R}' title='\ell:A\to \mathbb{R}' class='latex' /> a length function on the arcs of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma.' title='\Gamma.' class='latex' /> Suppose we are interested in the shortest, w.r.t.  <img src='http://s3.wordpress.com/latex.php?latex=%5Cell%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell,' title='\ell,' class='latex' /> (directed) paths from <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V' title='v\in V' class='latex' /> to all the vertices of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> (reachable from <img src='http://s3.wordpress.com/latex.php?latex=v%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v,' title='v,' class='latex' /> that is). We define <img src='http://s1.wordpress.com/latex.php?latex=d_k%28u%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_k(u)' title='d_k(u)' class='latex' /> to be the minimal length of at most <img src='http://s2.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />-arc path from <img src='http://s3.wordpress.com/latex.php?latex=v&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v' title='v' class='latex' /> to <img src='http://s1.wordpress.com/latex.php?latex=u%5Cin+V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u\in V.' title='u\in V.' class='latex' /></p>
<p>Certainly, <img src='http://s2.wordpress.com/latex.php?latex=d_0%28v%29%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_0(v)=0' title='d_0(v)=0' class='latex' /> (as our graph does not have a negative length cycle) and <img src='http://s3.wordpress.com/latex.php?latex=d_0%28u%29%3D%5Cinfty&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_0(u)=\infty' title='d_0(u)=\infty' class='latex' /> for all <img src='http://s1.wordpress.com/latex.php?latex=v%5Cneq+u%5Cin+V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\neq u\in V.' title='v\neq u\in V.' class='latex' /></p>
<p>Then, by induction, <img src='http://s2.wordpress.com/latex.php?latex=d_k%28u%29%3D%5Cmin+%28d_%7Bk-1%7D%28u%29%2C%5Cell%28w%2Cu%29%3A%28w%2Cu%29%5Cin+A.%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_k(u)=\min (d_{k-1}(u),\ell(w,u):(w,u)\in A.).' title='d_k(u)=\min (d_{k-1}(u),\ell(w,u):(w,u)\in A.).' class='latex' /> That&#8217;s good, but can <img src='http://s3.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' /> grow arbitrarily? Well, if a walk to <img src='http://s1.wordpress.com/latex.php?latex=u&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u' title='u' class='latex' /> visits a vertex more than once, this means it contains a cycle &#8212; unless this cycle has negative length (and we don&#8217;t allow it here) it can be removed from the walk, and it will not increase walk&#8217;s length. Thus without loss in generality, a shortest path to <img src='http://s2.wordpress.com/latex.php?latex=u&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u' title='u' class='latex' /> has at most <img src='http://s3.wordpress.com/latex.php?latex=%7CV%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V|' title='|V|' class='latex' /> vertices, and so <img src='http://s1.wordpress.com/latex.php?latex=d_n%28u%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_n(u)' title='d_n(u)' class='latex' /> is the distance from <img src='http://s2.wordpress.com/latex.php?latex=v+&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v ' title='v ' class='latex' /> to <img src='http://s3.wordpress.com/latex.php?latex=u.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u.' title='u.' class='latex' /></p>
<p>Thus in at most <img src='http://s1.wordpress.com/latex.php?latex=O%28%7CV%7C%7CE%7C%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='O(|V||E|)' title='O(|V||E|)' class='latex' /> operations we will find the distances from <img src='http://s2.wordpress.com/latex.php?latex=v&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v' title='v' class='latex' /> to all the vertices of <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma.' title='\Gamma.' class='latex' /> </p>
<p><b>Excercise.</b> Modify the procedure to do a simultaneous computation of the distances from each <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V' title='v\in V' class='latex' /> to all <img src='http://s2.wordpress.com/latex.php?latex=u%5Cin+V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u\in V,' title='u\in V,' class='latex' /> i.e. the distance matrix, in <img src='http://s3.wordpress.com/latex.php?latex=O%28n%5E3%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='O(n^3)' title='O(n^3)' class='latex' /> operations.</p>
<p><b>Potentials.</b> In this setting, a useful concept is that of <i>potential</i>, a function <img src='http://s1.wordpress.com/latex.php?latex=p%3AV%5Cto%5Cmathbb%7BR%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p:V\to\mathbb{R}' title='p:V\to\mathbb{R}' class='latex' /> such that </p>
<blockquote><p>
<img src='http://s2.wordpress.com/latex.php?latex=%5Cell%28u%2Cv%29%5Cgeq+p%28v%29-p%28u%29%2C%5Cquad&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(u,v)\geq p(v)-p(u),\quad' title='\ell(u,v)\geq p(v)-p(u),\quad' class='latex' /> for all <img src='http://s3.wordpress.com/latex.php?latex=%28u%2Cv%29%5Cin+A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v)\in A.' title='(u,v)\in A.' class='latex' />
</p></blockquote>
<p>When all the arc lengths are nonnegative, the zero function <img src='http://s1.wordpress.com/latex.php?latex=v%5Cmapsto+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\mapsto 0' title='v\mapsto 0' class='latex' /> is a potential. When there are negative length arcs, a potential can be used to adjust the distance function so that the new one is nonnegative, and a path is shortest w.r.t. to the new function iff it is shortest w.r.t. the old one: namely, set <img src='http://s2.wordpress.com/latex.php?latex=%5Cell%27%28u%2Cv%29%3D%5Cell%28u%2Cv%29-p%28v%29%2Bp%28u%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell&#039;(u,v)=\ell(u,v)-p(v)+p(u)' title='\ell&#039;(u,v)=\ell(u,v)-p(v)+p(u)' class='latex' /> for all arcs <img src='http://s3.wordpress.com/latex.php?latex=%28u%2Cv%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v).' title='(u,v).' class='latex' /> Indeed, when we compute the <img src='http://s1.wordpress.com/latex.php?latex=%5Cell%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell&#039;' title='\ell&#039;' class='latex' />-length <img src='http://s2.wordpress.com/latex.php?latex=%5Cell%27%28P%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell&#039;(P)' title='\ell&#039;(P)' class='latex' /> of the path <img src='http://s3.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> between <img src='http://s1.wordpress.com/latex.php?latex=+x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' x' title=' x' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=y%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y,' title='y,' class='latex' />  we see that <img src='http://s3.wordpress.com/latex.php?latex=%5Cell%27%28P%29%3D%5Cell%28P%29-p%28y%29%2Bp%28u%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell&#039;(P)=\ell(P)-p(y)+p(u).' title='\ell&#039;(P)=\ell(P)-p(y)+p(u).' class='latex' /></p>
<p><b>Constructing a potential.</b> Attach to <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> an extra vertex <img src='http://s2.wordpress.com/latex.php?latex=v_0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v_0' title='v_0' class='latex' /> and join it with the vertices <img src='http://s3.wordpress.com/latex.php?latex=v&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v' title='v' class='latex' /> of <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> by arcs <img src='http://s2.wordpress.com/latex.php?latex=%28v_0%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(v_0,v)' title='(v_0,v)' class='latex' /> of length 0. Run Bellman-Ford algorithm for the distances <img src='http://s3.wordpress.com/latex.php?latex=d%28v_0%2Cv%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d(v_0,v),' title='d(v_0,v),' class='latex' /> and set <img src='http://s1.wordpress.com/latex.php?latex=p%28v%29%3Dd%28v_0%2Cv%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p(v)=d(v_0,v).' title='p(v)=d(v_0,v).' class='latex' /> As for any arc <img src='http://s2.wordpress.com/latex.php?latex=%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v)' title='(u,v)' class='latex' /> one has <img src='http://s3.wordpress.com/latex.php?latex=p%28v%29%5Cleq+p%28u%29%2B%5Cell%28u%2Cv%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p(v)\leq p(u)+\ell(u,v),' title='p(v)\leq p(u)+\ell(u,v),' class='latex' /> we indeed obtain a potential. </p>
<p>Again, here we assume that there are no negative length cycles in <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> &#8211; indeed, otherwise a potential does not exist (this can be proved by summing the inequalities <img src='http://s2.wordpress.com/latex.php?latex=%5Cell%28u%2Cv%29%5Cgeq+p%28v%29-p%28u%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\ell(u,v)\geq p(v)-p(u)' title='\ell(u,v)\geq p(v)-p(u)' class='latex' /> along a cycle.)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=300&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/09/18/bellman-ford-algorithm-for-shortest-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Bipartite matchings via linear programming</title>
		<link>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-via-linear-programming/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-via-linear-programming/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 12:54:59 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=295</guid>
		<description><![CDATA[An important tool for combinatorial optimisation problems, and graph problems among them, is linear programming, a method (and a problem) to find the optimum of a linear function on a polyhedron (i.e. on an intersection of half-spaces.) Often, such an intersection is bounded, and then one talks about a (convex) polytope rather than a polyhedron.
The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=295&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>An important tool for combinatorial optimisation problems, and graph problems among them, is <a href="http://en.wikipedia.org/wiki/Linear_programming"><b>linear programming</b></a>, a method (and a problem) to find the optimum of a linear function on a polyhedron (i.e. on an intersection of half-spaces.) Often, such an intersection is bounded, and then one talks about a <a href="http://en.wikipedia.org/wiki/Convex_polytope"><b>(convex) polytope</b></a> rather than a polyhedron.<br />
The optimum of a linear function on a polytope <img src='http://s3.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> is always reached on a vertex, or, more generally, on a set of vertices of <img src='http://s1.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> generating an optimal face. (A vertex is a point in <img src='http://s2.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> that cannot be written as a nontrivial convex combination of two other points of <img src='http://s3.wordpress.com/latex.php?latex=P.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P.' title='P.' class='latex' />)</p>
<p>Here we demonstrate a way to encode the problem of finding the size of a maximum matching (or, more generally, the maximum weight of a matching) in a bipartite graph <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CE%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,E)' title='\Gamma=(V,E)' class='latex' /> as a linear programming problem. </p>
<p>As a warmup, we treat perfect matchings. Consider the vector of <img src='http://s2.wordpress.com/latex.php?latex=%7CE%7C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|E|' title='|E|' class='latex' /> variables <img src='http://s3.wordpress.com/latex.php?latex=x%3D%28x_%7Be_1%7D%2Cx_%7Be_2%7D...%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=(x_{e_1},x_{e_2}...),' title='x=(x_{e_1},x_{e_2}...),' class='latex' /> and the system of inequalities</p>
<blockquote><p>
<img src='http://s1.wordpress.com/latex.php?latex=x_e%5Cgeq+0%2C%5C+e%5Cin+E%2C%5Cquad+%5Csum_%7Bv%5Cin+e%5Cin+E%7D+x_e%3D1%2C%5C+v%5Cin+V%2C%5Cqquad+%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x_e\geq 0,\ e\in E,\quad \sum_{v\in e\in E} x_e=1,\ v\in V,\qquad (*)' title='x_e\geq 0,\ e\in E,\quad \sum_{v\in e\in E} x_e=1,\ v\in V,\qquad (*)' class='latex' />
</p></blockquote>
<p>Certainly, if <img src='http://s2.wordpress.com/latex.php?latex=x%3Dx_M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=x_M' title='x=x_M' class='latex' /> is the characteristic vector of a perfect matching <img src='http://s3.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> of <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma,' title='\Gamma,' class='latex' /> i.e. <img src='http://s2.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> is a 0-1 vector with 1s corresponding to the edges of <img src='http://s3.wordpress.com/latex.php?latex=M%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M,' title='M,' class='latex' /> it satisfies the system <img src='http://s1.wordpress.com/latex.php?latex=%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*)' title='(*)' class='latex' /> above. Thus maximizing the linear function <img src='http://s2.wordpress.com/latex.php?latex=%5Csum_%7Be%5Cin+E%7D+w_e+x_e&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{e\in E} w_e x_e' title='\sum_{e\in E} w_e x_e' class='latex' /> on the polytope defined   by <img src='http://s3.wordpress.com/latex.php?latex=%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*)' title='(*)' class='latex' />  gives an upper bound on the size of a maximum weight perfect matching in <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> w.r.t. the edge weights <img src='http://s2.wordpress.com/latex.php?latex=w_e%2C+e%5Cin+E.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w_e, e\in E.' title='w_e, e\in E.' class='latex' /><br />
But in fact much more holds: namely, this bound is tight, as follows from the following theorem.</p>
<blockquote><p>
For a bipartite graph <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma,' title='\Gamma,' class='latex' /> the vertices of the polytope <img src='http://s1.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> defined by <img src='http://s2.wordpress.com/latex.php?latex=%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*)' title='(*)' class='latex' /> have 0-1 coordinates, and are in the one-to-one correspondence with the perfect matchings of <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma.' title='\Gamma.' class='latex' />
</p></blockquote>
<p><i>Proof</i>. Let <img src='http://s1.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> be a vertex of <img src='http://s2.wordpress.com/latex.php?latex=P%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P,' title='P,' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> be the support of <img src='http://s1.wordpress.com/latex.php?latex=x%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x,' title='x,' class='latex' /> i.e. <img src='http://s2.wordpress.com/latex.php?latex=X%3D%5C%7Be%5Cin+E%5Cmid+x_e%3E+0%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X=\{e\in E\mid x_e&gt; 0\}.' title='X=\{e\in E\mid x_e&gt; 0\}.' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> does not contain a cycle. Indeed, a cycle in <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' />  can be decomposed into the disjoint union of two (not necessarily perfect) matchings, say <img src='http://s2.wordpress.com/latex.php?latex=M&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='M' title='M' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=N%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N,' title='N,' class='latex' /> as <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is bipartite and so each cycle in <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is even. Observe that <img src='http://s3.wordpress.com/latex.php?latex=+%5Csum_%7Bv%5Cin+e%5Cin+E%7D+%28%28x_M%29_e-%28x_N%29_e%29%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' \sum_{v\in e\in E} ((x_M)_e-(x_N)_e)=0' title=' \sum_{v\in e\in E} ((x_M)_e-(x_N)_e)=0' class='latex' /> for any <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V.' title='v\in V.' class='latex' /><br />
Thus there exists <img src='http://s2.wordpress.com/latex.php?latex=%5Cepsilon%3E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\epsilon&gt;0' title='\epsilon&gt;0' class='latex' /> such that <img src='http://s3.wordpress.com/latex.php?latex=x%5Cpm%5Cepsilon%28x_M-x_N%29%5Cin+P%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\pm\epsilon(x_M-x_N)\in P,' title='x\pm\epsilon(x_M-x_N)\in P,' class='latex' /> and so <img src='http://s1.wordpress.com/latex.php?latex=2x%3D%28x%2B%5Cepsilon%28x_M-x_N%29%29%2B%28x-%5Cepsilon%28x_M-x_N%29%29%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2x=(x+\epsilon(x_M-x_N))+(x-\epsilon(x_M-x_N))),' title='2x=(x+\epsilon(x_M-x_N))+(x-\epsilon(x_M-x_N))),' class='latex' /> contradicting the assumption that <img src='http://s2.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> is a vertex (and so it cannot be a convex combination of two points in <img src='http://s3.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' />).</p>
<p>Thus <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> is a forest. Let <img src='http://s2.wordpress.com/latex.php?latex=e%5Cin+X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='e\in X' title='e\in X' class='latex' /> be a leaf of a subtree of <img src='http://s3.wordpress.com/latex.php?latex=X.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X.' title='X.' class='latex' /> Then <img src='http://s1.wordpress.com/latex.php?latex=%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*)' title='(*)' class='latex' /> implies that <img src='http://s2.wordpress.com/latex.php?latex=x_e%3D1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x_e=1.' title='x_e=1.' class='latex' /> Therefore any connected component of <img src='http://s3.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> is an edge, and so <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> is a matching. It is a perfect matching by <img src='http://s2.wordpress.com/latex.php?latex=%28%2A%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*).' title='(*).' class='latex' /> QED.</p>
<p>By this theorem, the maximum of <img src='http://s3.wordpress.com/latex.php?latex=%5Csum_%7Be%5Cin+E%7D+w_e+x_e&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{e\in E} w_e x_e' title='\sum_{e\in E} w_e x_e' class='latex' /> on <img src='http://s1.wordpress.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='P' title='P' class='latex' /> is reached on a perfect matching <img src='http://s2.wordpress.com/latex.php?latex=x%3Dx_M.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=x_M.' title='x=x_M.' class='latex' /> Another almost immediate corollary is the following well-known result on doubly stochastic matrices (an <img src='http://s3.wordpress.com/latex.php?latex=n%5Ctimes+n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n\times n' title='n\times n' class='latex' /> nonnegative real matrix  is called doubly stochastic if its row and column sums are equal to 1.)</p>
<blockquote><p>
A doubly stochastic matrix is a convex combination of permutation matrices.
</p></blockquote>
<p>Indeed, <img src='http://s1.wordpress.com/latex.php?latex=n%5Ctimes+n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n\times n' title='n\times n' class='latex' />-permutation matrices (the 0-1 doubly stochastic matrices) are in one-to-one correspondence to the perfect matchings of <img src='http://s2.wordpress.com/latex.php?latex=K_%7Bn%2Cn%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='K_{n,n},' title='K_{n,n},' class='latex' /> (the characteristic vector of such a matching can be viewed as an <img src='http://s3.wordpress.com/latex.php?latex=n%5Ctimes+n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n\times n' title='n\times n' class='latex' /> matrix, with rows corresponding to one part of the graph, and columns to the other) and so the doubly stochastic matrices are exactly the points of the perfect matching polytope of <img src='http://s1.wordpress.com/latex.php?latex=K_%7Bn%2Cn%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='K_{n,n},' title='K_{n,n},' class='latex' /> that has, by our theorem, perfect matchings as vertices (and so any point in it is a convex combination of perfect matchings).</p>
<p><b>Excercise.</b> Formulate an analogy of system <img src='http://s2.wordpress.com/latex.php?latex=%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(*)' title='(*)' class='latex' /> for matchings (not necessarily perfect) in bipartite graphs, and prove the corresponding result for vertices of the polytope in question. Using it, formulate the linear programming problem with optimal value being the size of maximum matching.</p>
<p><b>Excercise.</b> Show that these constructions fail for non-bipartite graphs.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=295&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-via-linear-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Bipartite matchings and SDRs</title>
		<link>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-and-sdrs/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-and-sdrs/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 04:05:00 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=278</guid>
		<description><![CDATA[Matchings in bipartite graphs and systems of distinct representatives (SDRs) of systems of subsets are closely related. More precisely, let  for  a finite set. We can construct a bipartite graph  where    
An SDR of  is  such that  for all  and  for all  In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=278&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Matchings in bipartite graphs and systems of distinct representatives (SDRs) of systems of subsets are closely related. More precisely, let <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D%3D%5C%7BA_1%2C...%2CA_m%5C%7D%5Csubseteq+2%5EX%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}=\{A_1,...,A_m\}\subseteq 2^X,' title='\mathcal{A}=\{A_1,...,A_m\}\subseteq 2^X,' class='latex' /> for <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> a finite set. We can construct a bipartite graph <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma%3D%28%5Cmathcal%7BA%7D%5Ccup+X%2CE%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(\mathcal{A}\cup X,E),' title='\Gamma=(\mathcal{A}\cup X,E),' class='latex' /> where <img src='http://s3.wordpress.com/latex.php?latex=E%3D%5C%7B%28A%2Cx%29%5Cmid+x%5Cin+A%5Cin%5Cmathcal%7BA%7D%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E=\{(A,x)\mid x\in A\in\mathcal{A}\}.' title='E=\{(A,x)\mid x\in A\in\mathcal{A}\}.' class='latex' />   </p>
<p>An SDR of <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}' title='\mathcal{A}' class='latex' /> is <img src='http://s2.wordpress.com/latex.php?latex=Y%5Csubseteq+X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y\subseteq X' title='Y\subseteq X' class='latex' /> such that <img src='http://s3.wordpress.com/latex.php?latex=A_i%5Ccap+A_j%5Ccap+Y%3D%5Cemptyset&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A_i\cap A_j\cap Y=\emptyset' title='A_i\cap A_j\cap Y=\emptyset' class='latex' /> for all <img src='http://s1.wordpress.com/latex.php?latex=i%5Cneq+j&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='i\neq j' title='i\neq j' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=%7CA_i%5Ccap+Y%7C%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|A_i\cap Y|=1' title='|A_i\cap Y|=1' class='latex' /> for all <img src='http://s3.wordpress.com/latex.php?latex=i.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='i.' title='i.' class='latex' /> In particular <img src='http://s1.wordpress.com/latex.php?latex=Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y' title='Y' class='latex' /> contains exactly one element <img src='http://s2.wordpress.com/latex.php?latex=y_A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y_A' title='y_A' class='latex' /> for each <img src='http://s3.wordpress.com/latex.php?latex=A%5Cin%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A\in\mathcal{A}.' title='A\in\mathcal{A}.' class='latex' /><br />
Then <img src='http://s1.wordpress.com/latex.php?latex=%5C%7B%28A%2Cy_A%29%5Cmid+A%5Cin%5Cmathcal%7BA%7D%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{(A,y_A)\mid A\in\mathcal{A}\}' title='\{(A,y_A)\mid A\in\mathcal{A}\}' class='latex' /> is a matching of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> saturating the part <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}.' title='\mathcal{A}.' class='latex' /> In particular, it is a maximum matching.<br />
Conversely, a matching of <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> saturating <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}' title='\mathcal{A}' class='latex' /> gives rise to an SDR for <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}.' title='\mathcal{A}.' class='latex' /></p>
<p>An obvious necessary condition for existing of an SDR for <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}' title='\mathcal{A}' class='latex' /><br />
is the following <b>Hall&#8217;s condition</b>:</p>
<blockquote><p>
<img src='http://s2.wordpress.com/latex.php?latex=%7C+%5Ccup_%7BA%5Cin%5Cmathcal%7BB%7D%7D+A%7C%5Cgeq+%7C%5Cmathcal%7BB%7D%7C%2C%5Cqquad+%5Cforall%5C+%5Cmathcal%7BB%7D%5Csubseteq%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='| \cup_{A\in\mathcal{B}} A|\geq |\mathcal{B}|,\qquad \forall\ \mathcal{B}\subseteq\mathcal{A}.' title='| \cup_{A\in\mathcal{B}} A|\geq |\mathcal{B}|,\qquad \forall\ \mathcal{B}\subseteq\mathcal{A}.' class='latex' />
</p></blockquote>
<p>In view of this, Hall&#8217;s Theorem for matchings is equivalent to the following</p>
<blockquote><p>
An SDR for <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}' title='\mathcal{A}' class='latex' /> exists iff it satisfies Hall&#8217;s condition.
</p></blockquote>
<p>To see that Hall&#8217;s condition is sufficient, we proceed by induction on <img src='http://s1.wordpress.com/latex.php?latex=m.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m.' title='m.' class='latex' /> For <img src='http://s2.wordpress.com/latex.php?latex=m%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m=1' title='m=1' class='latex' /> the claim is obvious. Assume that it is true for all collections of less than <img src='http://s3.wordpress.com/latex.php?latex=m&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m' title='m' class='latex' /> sets. We now establish that it holds for <img src='http://s1.wordpress.com/latex.php?latex=m&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m' title='m' class='latex' />-set collections, too. </p>
<p>If <img src='http://s2.wordpress.com/latex.php?latex=%7C+%5Ccup_%7BA%5Cin%5Cmathcal%7BB%7D%7D+A%7C%3E+%7C%5Cmathcal%7BB%7D%7C%2C%5Cquad+%5Cforall%5C+%5Cmathcal%7BB%7D%5Csubset%5Cmathcal%7BA%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='| \cup_{A\in\mathcal{B}} A|&gt; |\mathcal{B}|,\quad \forall\ \mathcal{B}\subset\mathcal{A},' title='| \cup_{A\in\mathcal{B}} A|&gt; |\mathcal{B}|,\quad \forall\ \mathcal{B}\subset\mathcal{A},' class='latex' /> then we take any <img src='http://s3.wordpress.com/latex.php?latex=A%5Cin+%5Cmathcal%7BA%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='A\in \mathcal{A}' title='A\in \mathcal{A}' class='latex' /> and set <img src='http://s1.wordpress.com/latex.php?latex=y_A%3Dy&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y_A=y' title='y_A=y' class='latex' /> for some <img src='http://s2.wordpress.com/latex.php?latex=y%5Cin+A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y\in A.' title='y\in A.' class='latex' /> Now by induction there is an SDR <img src='http://s3.wordpress.com/latex.php?latex=Y%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y&#039;' title='Y&#039;' class='latex' /> for <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D%5Csetminus%5C%7BA%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}\setminus\{A\}.' title='\mathcal{A}\setminus\{A\}.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=%5C%7By_A%5C%7D%5Ccup+Y%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{y_A\}\cup Y&#039;' title='\{y_A\}\cup Y&#039;' class='latex' /> is an SDR for <img src='http://s3.wordpress.com/latex.php?latex=%5C%7BB%5Csetminus%5C%7By_A%5C%7D%5Cmid+B%5Cin%5Cmathcal%7BA%7D%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{B\setminus\{y_A\}\mid B\in\mathcal{A}\}.' title='\{B\setminus\{y_A\}\mid B\in\mathcal{A}\}.' class='latex' /></p>
<p>In the remaining case there exists <img src='http://s1.wordpress.com/latex.php?latex=k%3C+m&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k&lt; m' title='k&lt; m' class='latex' /> such that <img src='http://s2.wordpress.com/latex.php?latex=%7C+%5Ccup_%7BA%5Cin%5Cmathcal%7BB%7D%7D+A%7C%3D%7C%5Cmathcal%7BB%7D%7C%3Dk%2C%5Cquad++%5Cmathcal%7BB%7D%5Csubset%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='| \cup_{A\in\mathcal{B}} A|=|\mathcal{B}|=k,\quad  \mathcal{B}\subset\mathcal{A}.' title='| \cup_{A\in\mathcal{B}} A|=|\mathcal{B}|=k,\quad  \mathcal{B}\subset\mathcal{A}.' class='latex' /> By induction, there is an SDR <img src='http://s3.wordpress.com/latex.php?latex=Y%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y&#039;' title='Y&#039;' class='latex' /> for <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BB%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{B}.' title='\mathcal{B}.' class='latex' /><br />
Let <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D%5Csubseteq+%5Cmathcal%7BA%7D%5Csetminus%5Cmathcal%7BB%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}\subseteq \mathcal{A}\setminus\mathcal{B}.' title='\mathcal{C}\subseteq \mathcal{A}\setminus\mathcal{B}.' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=%7C+%5Ccup_%7BA%5Cin%5Cmathcal%7BC%7D%7D+A%5Csetminus+Y%27%7C%5Cgeq+%7C%5Cmathcal%7BC%7D%7C%3Ds%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='| \cup_{A\in\mathcal{C}} A\setminus Y&#039;|\geq |\mathcal{C}|=s,' title='| \cup_{A\in\mathcal{C}} A\setminus Y&#039;|\geq |\mathcal{C}|=s,' class='latex' /> for otherwise  <img src='http://s1.wordpress.com/latex.php?latex=%7C+%5Ccup_%7BA%5Cin%5Cmathcal%7BC%7D%5Ccup%5Cmathcal%7BB%7D%7D+A%7C%3C+s%2Bk%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='| \cup_{A\in\mathcal{C}\cup\mathcal{B}} A|&lt; s+k,' title='| \cup_{A\in\mathcal{C}\cup\mathcal{B}} A|&lt; s+k,' class='latex' /> contradicting Hall&#8217;s condition. Now we can take an SDR <img src='http://s2.wordpress.com/latex.php?latex=Y%27%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y&#039;&#039;' title='Y&#039;&#039;' class='latex' /> for <img src='http://s3.wordpress.com/latex.php?latex=%5C%7BA%5Csetminus+Y%27%5Cmid+A%5Cin%5Cmathcal%7BA%7D%5Csetminus%5Cmathcal%7BB%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{A\setminus Y&#039;\mid A\in\mathcal{A}\setminus\mathcal{B},' title='\{A\setminus Y&#039;\mid A\in\mathcal{A}\setminus\mathcal{B},' class='latex' /> and observe that <img src='http://s1.wordpress.com/latex.php?latex=Y%27%5Ccup+Y%27%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y&#039;\cup Y&#039;&#039;' title='Y&#039;\cup Y&#039;&#039;' class='latex' /> is an SDR for  <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}.' title='\mathcal{A}.' class='latex' /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=278&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/09/14/bipartite-matchings-and-sdrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>5-list-colouring of planar graphs</title>
		<link>http://equatorialmaths.wordpress.com/2009/09/08/5-list-colouring-of-planar-graphs/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/09/08/5-list-colouring-of-planar-graphs/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 02:38:59 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph theory]]></category>
		<category><![CDATA[MAS324]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=263</guid>
		<description><![CDATA[A list-colouring of a graph  with a colour list  for  is a proper colouring of  by elements of  so that the adjacent vertices  are coloured in different colours and the colour for  is in  In particular, when all the s are equal to each other we have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=263&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A <a><img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring</a> of a graph <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma%3D%28V%2CE%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=(V,E)' title='\Gamma=(V,E)' class='latex' /> with a colour list <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D%3D%5C%7BC%28v_1%29%2C%5Cdots%2CC%28v_n%29%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}=\{C(v_1),\dots,C(v_n)\},' title='\mathcal{C}=\{C(v_1),\dots,C(v_n)\},' class='latex' /> for <img src='http://s3.wordpress.com/latex.php?latex=V%3D%5C%7Bv_1%2C%5Cdots%2Cv_n%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V=\{v_1,\dots,v_n\},' title='V=\{v_1,\dots,v_n\},' class='latex' /> is a proper colouring of <img src='http://s1.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> by elements of <img src='http://s2.wordpress.com/latex.php?latex=%5Ccup_j+C%28v_j%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\cup_j C(v_j)' title='\cup_j C(v_j)' class='latex' /> so that the adjacent vertices <img src='http://s3.wordpress.com/latex.php?latex=u%2Cv&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u,v' title='u,v' class='latex' /> are coloured in different colours and the colour for <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V' title='v\in V' class='latex' /> is in <img src='http://s2.wordpress.com/latex.php?latex=C%28v%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C(v).' title='C(v).' class='latex' /> In particular, when all the <img src='http://s3.wordpress.com/latex.php?latex=C%28v%29%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C(v)&#039;' title='C(v)&#039;' class='latex' />s are equal to each other we have a classic graph colouring.</p>
<p><img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is called <img src='http://s2.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />-choosable, or <img src='http://s3.wordpress.com/latex.php?latex=k-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k-' title='k-' class='latex' />list-colourable if it is <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colourable for any <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' /> satisfying <img src='http://s3.wordpress.com/latex.php?latex=%7CC%28v%29%7C%5Cgeq+k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|C(v)|\geq k' title='|C(v)|\geq k' class='latex' /> for all <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V.' title='v\in V.' class='latex' /> The minimal <img src='http://s2.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' /> for which is <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is <img src='http://s1.wordpress.com/latex.php?latex=k-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k-' title='k-' class='latex' />choosable is called the list chromatic number of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> and denoted by <img src='http://s3.wordpress.com/latex.php?latex=%5Cchi_%5Cell%28%5CGamma%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\chi_\ell(\Gamma).' title='\chi_\ell(\Gamma).' class='latex' /> Certainly, <img src='http://s1.wordpress.com/latex.php?latex=%5Cchi%28%5CGamma%29%5Cleq+%5Cchi_%5Cell%28%5CGamma%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\chi(\Gamma)\leq \chi_\ell(\Gamma).' title='\chi(\Gamma)\leq \chi_\ell(\Gamma).' class='latex' /><br />
It is not hard to construct examples when <img src='http://s2.wordpress.com/latex.php?latex=%5Cchi%28%5CGamma%29%3C+%5Cchi_%5Cell%28%5CGamma%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\chi(\Gamma)&lt; \chi_\ell(\Gamma),' title='\chi(\Gamma)&lt; \chi_\ell(\Gamma),' class='latex' /> e.g. take <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma%3DK_%7B2%2C4%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma=K_{2,4}' title='\Gamma=K_{2,4}' class='latex' /> and consider <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D%3D%5C%7B%5C%7B1%2C2%5C%7D%2C%5C%7B3%2C4%5C%7D%2C%5C%7B1%2C3%5C%7D%2C%5C%7B1%2C4%5C%7D%2C%5C%7B2%2C3%5C%7D%2C%5C%7B2%2C4%5C%7D%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}=\{\{1,2\},\{3,4\},\{1,3\},\{1,4\},\{2,3\},\{2,4\}\},' title='\mathcal{C}=\{\{1,2\},\{3,4\},\{1,3\},\{1,4\},\{2,3\},\{2,4\}\},' class='latex' /> where vertices <img src='http://s2.wordpress.com/latex.php?latex=v_1%2Cv_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v_1,v_2' title='v_1,v_2' class='latex' /> in the size two part of <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> get colour sets <img src='http://s1.wordpress.com/latex.php?latex=C%28v_1%29%3D%5C%7B1%2C2%5C%7D%2C+C%28v_2%29%3D%5C%7B3%2C4%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C(v_1)=\{1,2\}, C(v_2)=\{3,4\}' title='C(v_1)=\{1,2\}, C(v_2)=\{3,4\}' class='latex' />. </p>
<p>Using the fact that each planar graph has a vertex of degree at most 5, as can be easily established using the Euler formula, one can prove that each planar graph is 6-choosable (employ induction by removing a minimal degree vertex).</p>
<p>It is less easy to show that</p>
<blockquote><p>  any planar graph <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> is 5-choosable.
</p></blockquote>
<p>This was established in 1994 by Thomassen.<br />
In fact <img src='http://s3.wordpress.com/latex.php?latex=%5Cchi_%5Cell%28%5CGamma%29%3D5&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\chi_\ell(\Gamma)=5' title='\chi_\ell(\Gamma)=5' class='latex' /> cannot be improved &#8212; there are examples of planar  <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> for which <img src='http://s2.wordpress.com/latex.php?latex=%5Cchi_%5Cell%28%5CGamma%29%3D5.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\chi_\ell(\Gamma)=5.' title='\chi_\ell(\Gamma)=5.' class='latex' /> The smallest known (in 2003) example has 63 vertices.</p>
<p>The classical analogy of this, the Heawood theorem that says that each planar graph is 5-colourable, is known since 1890, and the 4-colourability is a recent and quite difficult result by Appel and Haken. </p>
<p>To show the 5-choosability, one first observes that it suffices to prove it for the planar graphs for which every face, except possibly the exterior face of the plane embedding, is a triangle. We call such graphs almost triangulated. Then,  one proceeds by induction on <img src='http://s3.wordpress.com/latex.php?latex=%7CV%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V|.' title='|V|.' class='latex' /> Assume that we know that for any almost triangulated planar <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> with <img src='http://s2.wordpress.com/latex.php?latex=%7CV%5CGamma%7C%5Cleq+n%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V\Gamma|\leq n,' title='|V\Gamma|\leq n,' class='latex' /> exterior face <img src='http://s3.wordpress.com/latex.php?latex=B%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B,' title='B,' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' /> such that <img src='http://s2.wordpress.com/latex.php?latex=%7CC%28v%29%7C%5Cgeq+3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|C(v)|\geq 3' title='|C(v)|\geq 3' class='latex' /> for all <img src='http://s3.wordpress.com/latex.php?latex=v+%5Cin+B%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v \in B,' title='v \in B,' class='latex' /> resp. <img src='http://s1.wordpress.com/latex.php?latex=%7CC%28v%29%7C%5Cgeq+5&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|C(v)|\geq 5' title='|C(v)|\geq 5' class='latex' /> for all <img src='http://s2.wordpress.com/latex.php?latex=v%5Cin+V%5Csetminus+B%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V\setminus B,' title='v\in V\setminus B,' class='latex' /> we can extend a proper <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' />-list-colouring of an edge on <img src='http://s1.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' /> to a full proper <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' />-list-colouring (as is obviously true provided <img src='http://s3.wordpress.com/latex.php?latex=%7CV%7C%5Cleq+3%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V|\leq 3,' title='|V|\leq 3,' class='latex' /> giving us a basis of induction). </p>
<p>Let us now show this for <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> with <img src='http://s2.wordpress.com/latex.php?latex=%7CV%5CGamma%7C%3Dn%2B1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|V\Gamma|=n+1.' title='|V\Gamma|=n+1.' class='latex' />  Let <img src='http://s3.wordpress.com/latex.php?latex=%28x%2Cy%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,y)' title='(x,y)' class='latex' /> be an edge of <img src='http://s1.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' /> that we colour using <img src='http://s2.wordpress.com/latex.php?latex=%5Calpha%5Cin+C%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\alpha\in C(x)' title='\alpha\in C(x)' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=%5Cbeta%5Cin+C%28y%29%5Csetminus%5C%7B%5Calpha%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\beta\in C(y)\setminus\{\alpha\}.' title='\beta\in C(y)\setminus\{\alpha\}.' class='latex' /><br />
If <img src='http://s1.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' /> has a chord, i.e. there is an edge <img src='http://s2.wordpress.com/latex.php?latex=+%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' (u,v)' title=' (u,v)' class='latex' /> that joins two non-adjacent vertices of the cycle induced on <img src='http://s3.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' />  (and so <img src='http://s1.wordpress.com/latex.php?latex=%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v)' title='(u,v)' class='latex' /> is not cutting through the fact bounded by the cycle on <img src='http://s2.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' />), we spilt <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma' title='\Gamma' class='latex' /> into  two planar parts <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_1' title='\Gamma_1' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma_2%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_2,' title='\Gamma_2,' class='latex' /> so that <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_1' title='\Gamma_1' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_2' title='\Gamma_2' class='latex' /> have <img src='http://s2.wordpress.com/latex.php?latex=%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v)' title='(u,v)' class='latex' /> in common. W.l.o.g. <img src='http://s3.wordpress.com/latex.php?latex=%28x%2Cy%29%5Cin+E%5CGamma_1%3B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,y)\in E\Gamma_1;' title='(x,y)\in E\Gamma_1;' class='latex' /> by induction, we can extend this colouring to a <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}_1' title='\mathcal{A}_1' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma_1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_1.' title='\Gamma_1.' class='latex' /> This colouring will fix a proper  <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring of the edge <img src='http://s2.wordpress.com/latex.php?latex=%28u%2Cv%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v),' title='(u,v),' class='latex' /> that is on the exterior face of <img src='http://s3.wordpress.com/latex.php?latex=%5CGamma_2.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_2.' title='\Gamma_2.' class='latex' /> Again, by induction, we can extend this colouring of <img src='http://s1.wordpress.com/latex.php?latex=%28u%2Cv%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u,v)' title='(u,v)' class='latex' /> to a <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}_2' title='\mathcal{A}_2' class='latex' /> of <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma_2.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma_2.' title='\Gamma_2.' class='latex' /> Combining <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}_1' title='\mathcal{A}_1' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D_2%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{A}_2,' title='\mathcal{A}_2,' class='latex' /> we obtain a  <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma,' title='\Gamma,' class='latex' /> as required.</p>
<p>It remains to consider the case when <img src='http://s3.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' /> does not have a chord.<br />
Then let <img src='http://s1.wordpress.com/latex.php?latex=z%5Cin+B%5Csetminus%5C%7Bx%2Cy%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z\in B\setminus\{x,y\}' title='z\in B\setminus\{x,y\}' class='latex' /> be the vertex adjacent to <img src='http://s2.wordpress.com/latex.php?latex=x.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x.' title='x.' class='latex' /> Take any two colours <img src='http://s3.wordpress.com/latex.php?latex=%5Cdelta%2C%5Cmu&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\delta,\mu' title='\delta,\mu' class='latex' /> in <img src='http://s1.wordpress.com/latex.php?latex=C%28z%29%5Csetminus%5C%7B%5Calpha%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C(z)\setminus\{\alpha\}' title='C(z)\setminus\{\alpha\}' class='latex' />  (this is possible as <img src='http://s2.wordpress.com/latex.php?latex=%7CC%28z%29%7C%5Cgeq+3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|C(z)|\geq 3' title='|C(z)|\geq 3' class='latex' />) and remove <img src='http://s3.wordpress.com/latex.php?latex=%5Cdelta%2C%5Cmu&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\delta,\mu' title='\delta,\mu' class='latex' /> from <img src='http://s1.wordpress.com/latex.php?latex=C%28t%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C(t)' title='C(t)' class='latex' /> for all <img src='http://s2.wordpress.com/latex.php?latex=t%5Cin%5CGamma%28z%29%5Csetminus+B.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='t\in\Gamma(z)\setminus B.' title='t\in\Gamma(z)\setminus B.' class='latex' /> Then remove <img src='http://s3.wordpress.com/latex.php?latex=z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z' title='z' class='latex' /> and all the edges on it from <img src='http://s1.wordpress.com/latex.php?latex=%5CGamma.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma.' title='\Gamma.' class='latex' /> We obtain a planar graph <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma&#039;' title='\Gamma&#039;' class='latex' />  with one vertex less, and with the valid exterior face conditions. By  induction, we can extend the colouring of <img src='http://s3.wordpress.com/latex.php?latex=%28x%2Cy%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,y)' title='(x,y)' class='latex' /> to a <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D-&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathcal{C}-' title='\mathcal{C}-' class='latex' />list-colouring of <img src='http://s2.wordpress.com/latex.php?latex=%5CGamma%27.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Gamma&#039;.' title='\Gamma&#039;.' class='latex' />  It remains to see that <img src='http://s3.wordpress.com/latex.php?latex=z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z' title='z' class='latex' /> can be properly coloured, too. Indeed, we can colour it with either <img src='http://s1.wordpress.com/latex.php?latex=%5Cdelta&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\delta' title='\delta' class='latex' /> or <img src='http://s2.wordpress.com/latex.php?latex=%5Cmu%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mu,' title='\mu,' class='latex' /> depending on the colour of the neighbour of <img src='http://s3.wordpress.com/latex.php?latex=z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z' title='z' class='latex' /> on <img src='http://s1.wordpress.com/latex.php?latex=B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B' title='B' class='latex' /> distinct from <img src='http://s2.wordpress.com/latex.php?latex=x.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x.' title='x.' class='latex' /> Q.E.D.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=263&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/09/08/5-list-colouring-of-planar-graphs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: a subgeometry of D_3-dual polar space</title>
		<link>http://equatorialmaths.wordpress.com/2009/05/29/a-subgeometry-of-d_3-dual-polar-space/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/05/29/a-subgeometry-of-d_3-dual-polar-space/#comments</comments>
		<pubDate>Fri, 29 May 2009 14:49:56 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=18</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=18&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><form action="http://equatorialmaths.wordpress.com/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-18">Password:<br />
<input name="post_password" id="pwbox-18" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=18&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/05/29/a-subgeometry-of-d_3-dual-polar-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Prime ideals and rings of fractions</title>
		<link>http://equatorialmaths.wordpress.com/2009/04/10/prime-ideals-and-rings-of-fractions/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/04/10/prime-ideals-and-rings-of-fractions/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 15:34:57 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[algebra]]></category>
		<category><![CDATA[MAS313]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=240</guid>
		<description><![CDATA[The concept of prime ideal in a commutative ring  with  is one of several natural generalisations of the concept of prime integer number.

An ideal  is called prime if for any  the following holds:
  implies that at least one of these elements,  and  is in 

E.g. the principal ideal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=240&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The concept of prime ideal in a commutative ring <img src='http://s1.wordpress.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R' title='R' class='latex' /> with <img src='http://s2.wordpress.com/latex.php?latex=1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1' title='1' class='latex' /> is one of several natural generalisations of the concept of prime integer number.</p>
<blockquote><p>
An ideal <img src='http://s3.wordpress.com/latex.php?latex=I%5Csubset+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I\subset R' title='I\subset R' class='latex' /> is called <i>prime</i> if for any <img src='http://s1.wordpress.com/latex.php?latex=u%2Cv%5Cin+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u,v\in R' title='u,v\in R' class='latex' /> the following holds:<br />
 <img src='http://s2.wordpress.com/latex.php?latex=uv%5Cin+I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='uv\in I' title='uv\in I' class='latex' /> implies that at least one of these elements, <img src='http://s3.wordpress.com/latex.php?latex=u&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u' title='u' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=v%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v,' title='v,' class='latex' /> is in <img src='http://s2.wordpress.com/latex.php?latex=I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I.' title='I.' class='latex' />
</p></blockquote>
<p>E.g. the principal ideal <img src='http://s3.wordpress.com/latex.php?latex=%28p%29%5Csubset+%5Cmathbb%7BZ%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(p)\subset \mathbb{Z}' title='(p)\subset \mathbb{Z}' class='latex' /> is prime if and only if <img src='http://s1.wordpress.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p' title='p' class='latex' /> is prime.</p>
<blockquote><p>
A maximal ideal <img src='http://s2.wordpress.com/latex.php?latex=I%5Csubset+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I\subset R' title='I\subset R' class='latex' />  is prime.
</p></blockquote>
<p>Indeed, let <img src='http://s3.wordpress.com/latex.php?latex=+uv%5Cin+I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' uv\in I.' title=' uv\in I.' class='latex' /> Assume that <img src='http://s1.wordpress.com/latex.php?latex=u%5Cnot%5Cin+I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u\not\in I.' title='u\not\in I.' class='latex' /> We need to show that then <img src='http://s2.wordpress.com/latex.php?latex=v%5Cin+I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in I.' title='v\in I.' class='latex' /> If this were not the case then <img src='http://s3.wordpress.com/latex.php?latex=u%2BI&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u+I' title='u+I' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=v%2BI&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v+I' title='v+I' class='latex' /> are two non-zero elements in the ring <img src='http://s2.wordpress.com/latex.php?latex=R%2FI&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R/I' title='R/I' class='latex' /> such that <img src='http://s3.wordpress.com/latex.php?latex=%28u%2BI%29%28v%2BI%29%5Csubseteq+I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(u+I)(v+I)\subseteq I.' title='(u+I)(v+I)\subseteq I.' class='latex' /> But this is not possible, as <img src='http://s1.wordpress.com/latex.php?latex=R%2FI&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R/I' title='R/I' class='latex' /> is a field. Thus <img src='http://s2.wordpress.com/latex.php?latex=v%5Cin+I%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in I,' title='v\in I,' class='latex' /> as claimed. </p>
<p>Analysing this proof, one can easily see that</p>
<blockquote><p>
If <img src='http://s3.wordpress.com/latex.php?latex=I%5Csubset+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I\subset R' title='I\subset R' class='latex' />  is prime then <img src='http://s1.wordpress.com/latex.php?latex=R%2FI&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R/I' title='R/I' class='latex' /> has no zero-divisors, i.e. it is an integral domain.
</p></blockquote>
<p>Further important property of prime ideals is that they are radical, i.e.<br />
<img src='http://s2.wordpress.com/latex.php?latex=I%3D%5Csqrt%7BI%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I=\sqrt{I},' title='I=\sqrt{I},' class='latex' /> where the radical <img src='http://s3.wordpress.com/latex.php?latex=%5Csqrt%7BI%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sqrt{I}' title='\sqrt{I}' class='latex' /> of the ideal <img src='http://s1.wordpress.com/latex.php?latex=I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I' title='I' class='latex' /> ideal is <img src='http://s2.wordpress.com/latex.php?latex=%5Csqrt%7BI%7D%3D%5C%7Bx%5Cin+R%5Cmid+%5Cexists+k%5Cgeq+1+%3A+x%5Ek%5Cin+I%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sqrt{I}=\{x\in R\mid \exists k\geq 1 : x^k\in I\}.' title='\sqrt{I}=\{x\in R\mid \exists k\geq 1 : x^k\in I\}.' class='latex' /> Indeed, <img src='http://s3.wordpress.com/latex.php?latex=x%5Ek%5Cin+I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^k\in I' title='x^k\in I' class='latex' /> implies that either <img src='http://s1.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> or <img src='http://s2.wordpress.com/latex.php?latex=x%5E%7Bk-1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^{k-1}' title='x^{k-1}' class='latex' /> is in <img src='http://s3.wordpress.com/latex.php?latex=I%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I,' title='I,' class='latex' /> and we derive <img src='http://s1.wordpress.com/latex.php?latex=x%5Cin+I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\in I' title='x\in I' class='latex' /> by applying this reduction.</p>
<p>Yet another interesting observation is that <img src='http://s2.wordpress.com/latex.php?latex=R%5Csetminus+I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R\setminus I' title='R\setminus I' class='latex' /> is <i>multiplicatively closed</i>.</p>
<p><b>Rings of fractions</b></p>
<blockquote><p>
A subset <img src='http://s3.wordpress.com/latex.php?latex=S%5Csubset+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S\subset R' title='S\subset R' class='latex' /> is called multiplicatively closed (or multiplicative) if <img src='http://s1.wordpress.com/latex.php?latex=0%5Cnot%5Cin+S%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0\not\in S,' title='0\not\in S,' class='latex' /> <img src='http://s2.wordpress.com/latex.php?latex=1%5Cin+S%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1\in S,' title='1\in S,' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=uv%5Cin+S&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='uv\in S' title='uv\in S' class='latex' /> for any <img src='http://s1.wordpress.com/latex.php?latex=u%2Cv%5Cin+S.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u,v\in S.' title='u,v\in S.' class='latex' />
</p></blockquote>
<p>Given a multiplicatively closed set <img src='http://s2.wordpress.com/latex.php?latex=S%5Csubset+R%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S\subset R,' title='S\subset R,' class='latex' /> one defines<br />
a relation on <img src='http://s3.wordpress.com/latex.php?latex=R%5Ctimes+S%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R\times S,' title='R\times S,' class='latex' /> as follows: </p>
<p><img src='http://s1.wordpress.com/latex.php?latex=%7B%5Cdisplaystyle+%28y%2Ct%29%5Cequiv+%28x%2Cs%29%5Cquad%5Ctext%7Biff+there+exists+%7Du%5Cin+S%3A+uys%3Duxt.%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\displaystyle (y,t)\equiv (x,s)\quad\text{iff there exists }u\in S: uys=uxt.}' title='{\displaystyle (y,t)\equiv (x,s)\quad\text{iff there exists }u\in S: uys=uxt.}' class='latex' /></p>
<p>It is not hard to show that <img src='http://s2.wordpress.com/latex.php?latex=%5Cequiv&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\equiv' title='\equiv' class='latex' /> is an equivalence relation.<br />
To simplify the notation, write its equivalence class with representative <img src='http://s3.wordpress.com/latex.php?latex=%28x%2Cs%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,s)' title='(x,s)' class='latex' /> as <img src='http://s1.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}.' title='\frac{x}{s}.' class='latex' /> We define</p>
<blockquote><p>
<img src='http://s2.wordpress.com/latex.php?latex=S%5E%7B-1%7DR%3D%28R%5Ctimes+S%29%2F%5Cequiv&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S^{-1}R=(R\times S)/\equiv' title='S^{-1}R=(R\times S)/\equiv' class='latex' /> is the ring of fractions of <img src='http://s3.wordpress.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R' title='R' class='latex' /> w.r.t. <img src='http://s1.wordpress.com/latex.php?latex=S%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S,' title='S,' class='latex' /> with addition and multiplication given by the rules<br />
<img src='http://s2.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D%2B%5Cfrac%7By%7D%7Bt%7D%3D%5Cfrac%7Bxt%2Bys%7D%7Bst%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}+\frac{y}{t}=\frac{xt+ys}{st},' title='\frac{x}{s}+\frac{y}{t}=\frac{xt+ys}{st},' class='latex' /> <img src='http://s3.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D%5Ccdot%5Cfrac%7By%7D%7Bt%7D%3D%5Cfrac%7Bxy%7D%7Bst%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}\cdot\frac{y}{t}=\frac{xy}{st}.' title='\frac{x}{s}\cdot\frac{y}{t}=\frac{xy}{st}.' class='latex' />
</p></blockquote>
<p>It is easy to check that this is well-defined. We also have </p>
<blockquote><p>
<img src='http://s1.wordpress.com/latex.php?latex=%5Cphi%3A+R%5Cto+S%5E%7B-1%7DR%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\phi: R\to S^{-1}R,' title='\phi: R\to S^{-1}R,' class='latex' /> so that <img src='http://s2.wordpress.com/latex.php?latex=%5Cphi%28x%29%3D%5Cfrac%7Bx%7D%7B1%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\phi(x)=\frac{x}{1},' title='\phi(x)=\frac{x}{1},' class='latex' /> is a ring homomorphism.
</p></blockquote>
<p>Note that <img src='http://s3.wordpress.com/latex.php?latex=%5Cphi&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\phi' title='\phi' class='latex' /> need not be injective, i.e. <img src='http://s1.wordpress.com/latex.php?latex=%5Cphi%28R%29%5Ccong+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\phi(R)\cong R' title='\phi(R)\cong R' class='latex' /> need not hold. Indeed, if <img src='http://s2.wordpress.com/latex.php?latex=x%5Cin+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\in R' title='x\in R' class='latex' /> is a zero-divisor such that <img src='http://s3.wordpress.com/latex.php?latex=xu%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='xu=0' title='xu=0' class='latex' /> for <img src='http://s1.wordpress.com/latex.php?latex=u%5Cin+S&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u\in S' title='u\in S' class='latex' /> then <img src='http://s2.wordpress.com/latex.php?latex=%28x%2C1%29%5Cequiv+%280%2C1%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,1)\equiv (0,1),' title='(x,1)\equiv (0,1),' class='latex' /> and so <img src='http://s3.wordpress.com/latex.php?latex=%5Cphi%28x%29%3D%5Cfrac%7Bx%7D%7B1%7D%3D%5Cfrac%7B0%7D%7B1%7D%3D0_%7BS%5E%7B-1%7DR%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\phi(x)=\frac{x}{1}=\frac{0}{1}=0_{S^{-1}R}.' title='\phi(x)=\frac{x}{1}=\frac{0}{1}=0_{S^{-1}R}.' class='latex' /> </p>
<p>The most well-known example is the case <img src='http://s1.wordpress.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R' title='R' class='latex' /> being an integral domain, and <img src='http://s2.wordpress.com/latex.php?latex=S%3DR%5Csetminus%5C%7B0%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S=R\setminus\{0\}.' title='S=R\setminus\{0\}.' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=S%5E%7B-1%7DR&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S^{-1}R' title='S^{-1}R' class='latex' /> is a field, called the field of fractions of <img src='http://s1.wordpress.com/latex.php?latex=R.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R.' title='R.' class='latex' /> </p>
<p><b>Examples:</b> </p>
<ul>
<li><img src='http://s2.wordpress.com/latex.php?latex=%5Cmathbb%7BQ%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{Q}' title='\mathbb{Q}' class='latex' /> is the field of fractions of <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathbb%7BZ%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{Z}' title='\mathbb{Z}' class='latex' /></li>
<li>for the ring of polynomials <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D%5BT%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F}[T]' title='\mathbb{F}[T]' class='latex' /> over a field <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D+&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F} ' title='\mathbb{F} ' class='latex' /> the field <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D%28T%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F}(T)' title='\mathbb{F}(T)' class='latex' /> is the field of rational functions over <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D+.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F} .' title='\mathbb{F} .' class='latex' /></li>
<li>Let <img src='http://s2.wordpress.com/latex.php?latex=x%5Cin+R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\in R' title='x\in R' class='latex' /> be non-nilpotent. Then <img src='http://s3.wordpress.com/latex.php?latex=S%3D%5C%7B1%2Cx%2Cx%5E2%2Cx%5E3%2C%5Cdots%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S=\{1,x,x^2,x^3,\dots\}' title='S=\{1,x,x^2,x^3,\dots\}' class='latex' /> isa multiplicative set. Moreover, then <img src='http://s1.wordpress.com/latex.php?latex=S%5E%7B-1%7DR%5Ccong+R%5BT%5D%2F%28Tx-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S^{-1}R\cong R[T]/(Tx-1)' title='S^{-1}R\cong R[T]/(Tx-1)' class='latex' /> (it is not completely trivial to prove this, though). Intuitively, we make the variable <img src='http://s2.wordpress.com/latex.php?latex=T&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='T' title='T' class='latex' /> behave like the inverse of <img src='http://s3.wordpress.com/latex.php?latex=x%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x,' title='x,' class='latex' /> as <img src='http://s1.wordpress.com/latex.php?latex=Tx%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Tx=1' title='Tx=1' class='latex' /> in this ring.</li>
</ul>
<p>Now let us look at the case <img src='http://s2.wordpress.com/latex.php?latex=S%3DR%5Csetminus+I%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S=R\setminus I,' title='S=R\setminus I,' class='latex' /> for <img src='http://s3.wordpress.com/latex.php?latex=I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I' title='I' class='latex' /> a nonzero prime ideal. In this case <img src='http://s1.wordpress.com/latex.php?latex=S%5E%7B-1%7DR&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S^{-1}R' title='S^{-1}R' class='latex' /> is denoted by <img src='http://s2.wordpress.com/latex.php?latex=R_I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R_I' title='R_I' class='latex' /> and called the localisation of <img src='http://s3.wordpress.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R' title='R' class='latex' /> at <img src='http://s1.wordpress.com/latex.php?latex=I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I.' title='I.' class='latex' /></p>
<p><b> Example:</b> Let <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D%5BT%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F}[T]' title='\mathbb{F}[T]' class='latex' /> be the ring of polynomials over a field <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F},' title='\mathbb{F},' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=a%5Cin+%5Cmathbb%7BF%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a\in \mathbb{F}.' title='a\in \mathbb{F}.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=I%3D%28T-a%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I=(T-a)' title='I=(T-a)' class='latex' /> is prime, and <img src='http://s3.wordpress.com/latex.php?latex=R_I%3D%5Cmathbb%7BF%7D%5BT%5D_%7B%28T-a%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R_I=\mathbb{F}[T]_{(T-a)}' title='R_I=\mathbb{F}[T]_{(T-a)}' class='latex' /> is equal to <img src='http://s1.wordpress.com/latex.php?latex=%5C%7B%5Cfrac%7Bf%7D%7Bg%7D%5Cin+%5Cmathbb%7BF%7D%28T%29%5Cmid+%28T-a%29%5Cnot%7C%5C%2C+g+%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\frac{f}{g}\in \mathbb{F}(T)\mid (T-a)\not|\, g \}.' title='\{\frac{f}{g}\in \mathbb{F}(T)\mid (T-a)\not|\, g \}.' class='latex' /></p>
<blockquote><p>
The ring <img src='http://s2.wordpress.com/latex.php?latex=R_I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R_I' title='R_I' class='latex' /> has unique maximal ideal <img src='http://s3.wordpress.com/latex.php?latex=IR_I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='IR_I.' title='IR_I.' class='latex' />
</p></blockquote>
<p>It suffices to show that <img src='http://s1.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}' title='\frac{x}{s}' class='latex' /> is invertible in <img src='http://s2.wordpress.com/latex.php?latex=R_I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R_I' title='R_I' class='latex' /> iff <img src='http://s3.wordpress.com/latex.php?latex=%7Bx%7D%5Cnot%5Cin+I.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x}\not\in I.' title='{x}\not\in I.' class='latex' /> Indeed, if <img src='http://s1.wordpress.com/latex.php?latex=x%5Cin+S&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\in S' title='x\in S' class='latex' /> then <img src='http://s2.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D%5Cfrac%7Bs%7D%7Bx%7D%3D1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}\frac{s}{x}=1.' title='\frac{x}{s}\frac{s}{x}=1.' class='latex' /> On the other hand, if <img src='http://s3.wordpress.com/latex.php?latex=%5Cfrac%7Bx%7D%7Bs%7D%5Cfrac%7By%7D%7Bt%7D%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{x}{s}\frac{y}{t}=1' title='\frac{x}{s}\frac{y}{t}=1' class='latex' /> then there exists <img src='http://s1.wordpress.com/latex.php?latex=u%5Cin+S&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u\in S' title='u\in S' class='latex' /> such that <img src='http://s2.wordpress.com/latex.php?latex=uxy%3Dust.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='uxy=ust.' title='uxy=ust.' class='latex' /> Thus <img src='http://s3.wordpress.com/latex.php?latex=uxy%5Cnot%5Cin+I%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='uxy\not\in I,' title='uxy\not\in I,' class='latex' /> and so <img src='http://s1.wordpress.com/latex.php?latex=x%5Cnot%5Cin+I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\not\in I' title='x\not\in I' class='latex' /> (if it was, <img src='http://s2.wordpress.com/latex.php?latex=uxy&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='uxy' title='uxy' class='latex' /> would be in <img src='http://s3.wordpress.com/latex.php?latex=I%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I,' title='I,' class='latex' /> as <img src='http://s1.wordpress.com/latex.php?latex=I&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='I' title='I' class='latex' /> is an ideal). </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=240&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/04/10/prime-ideals-and-rings-of-fractions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Dual spaces</title>
		<link>http://equatorialmaths.wordpress.com/2009/04/05/dual-spaces/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/04/05/dual-spaces/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 10:14:07 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[algebra]]></category>
		<category><![CDATA[MAS313]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=226</guid>
		<description><![CDATA[There is one glaring omission in our Linear Algebra curriculum &#8211; it avoids talking about the dual space of a vector space. This makes talking about relationship between subspaces and equations that define them exceedingly difficult. Better late than never, so here it comes.
Let  be a vector space over a field  Denote by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=226&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is one glaring omission in our Linear Algebra curriculum &#8211; it avoids talking about the dual space of a vector space. This makes talking about relationship between subspaces and equations that define them exceedingly difficult. Better late than never, so here it comes.</p>
<p>Let <img src='http://s2.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> be a vector space over a field <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F}.' title='\mathbb{F}.' class='latex' /> Denote by <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> the set of linear functions <img src='http://s2.wordpress.com/latex.php?latex=V%5Cto+%5Cmathbb%7BF%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V\to \mathbb{F}.' title='V\to \mathbb{F}.' class='latex' /> </p>
<p><b>Examples</b><br />
Let <img src='http://s3.wordpress.com/latex.php?latex=V%3DC%5Ba%2Cb%5D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V=C[a,b],' title='V=C[a,b],' class='latex' /> the space of continuous functions on <img src='http://s1.wordpress.com/latex.php?latex=%5Ba%2Cb%5D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='[a,b].' title='[a,b].' class='latex' /> Then the function <img src='http://s2.wordpress.com/latex.php?latex=%5Cint%3A+V%5Cto+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\int: V\to V' title='\int: V\to V' class='latex' /> given by <img src='http://s3.wordpress.com/latex.php?latex=f%5Cmapsto+%5Cint_a%5Eb+f%28x%29+dx&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f\mapsto \int_a^b f(x) dx' title='f\mapsto \int_a^b f(x) dx' class='latex' /> is linear on <img src='http://s1.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' /></p>
<p>Let <img src='http://s2.wordpress.com/latex.php?latex=V%3D%5Cmathbb%7BR%7D%5Bx%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V=\mathbb{R}[x]' title='V=\mathbb{R}[x]' class='latex' /> be the vector space of polynomials with real coefficients.<br />
Then the function <img src='http://s3.wordpress.com/latex.php?latex=V%5Cto+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V\to V' title='V\to V' class='latex' /> given by <img src='http://s1.wordpress.com/latex.php?latex=f%5Cmapsto+%5Cfrac%7Bdf%7D%7Bdx%7D%280%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f\mapsto \frac{df}{dx}(0)' title='f\mapsto \frac{df}{dx}(0)' class='latex' /> is linear on <img src='http://s2.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' /></p>
<p>Note that as <img src='http://s3.wordpress.com/latex.php?latex=f%5Cin+V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f\in V^*' title='f\in V^*' class='latex' /> is linear, one has <img src='http://s1.wordpress.com/latex.php?latex=f%28%5Calpha+v%29%3D%5Calpha+f%28v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(\alpha v)=\alpha f(v)' title='f(\alpha v)=\alpha f(v)' class='latex' /> for any <img src='http://s2.wordpress.com/latex.php?latex=v%5Cin+V%2C+%5Calpha%5Cin+%5Cmathbb%7BF%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V, \alpha\in \mathbb{F}.' title='v\in V, \alpha\in \mathbb{F}.' class='latex' /> Thus we have <img src='http://s3.wordpress.com/latex.php?latex=m_%5Calpha%3AV%5E%2A%5Cto+V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m_\alpha:V^*\to V^*' title='m_\alpha:V^*\to V^*' class='latex' /> defined by <img src='http://s1.wordpress.com/latex.php?latex=m_%5Calpha%28f%29%28v%29%3Df%28%5Calpha+v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m_\alpha(f)(v)=f(\alpha v)' title='m_\alpha(f)(v)=f(\alpha v)' class='latex' /> so that <img src='http://s2.wordpress.com/latex.php?latex=m_%5Calpha%28m_%5Cbeta%28f%29%29%3D%28m_%5Calpha+m_%5Cbeta%29%28f%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m_\alpha(m_\beta(f))=(m_\alpha m_\beta)(f).' title='m_\alpha(m_\beta(f))=(m_\alpha m_\beta)(f).' class='latex' /> To simplify notation, we will write <img src='http://s3.wordpress.com/latex.php?latex=%5Calpha+f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\alpha f' title='\alpha f' class='latex' /> instead <img src='http://s1.wordpress.com/latex.php?latex=m_%5Calpha%28f%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m_\alpha(f).' title='m_\alpha(f).' class='latex' /> As well, we can define <img src='http://s2.wordpress.com/latex.php?latex=%28f%2Bg%29%28v%29%3Df%28v%29%2Bg%28v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(f+g)(v)=f(v)+g(v)' title='(f+g)(v)=f(v)+g(v)' class='latex' /> for any <img src='http://s3.wordpress.com/latex.php?latex=f%2Cg%5Cin+V%5E%2A%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f,g\in V^*,' title='f,g\in V^*,' class='latex' /> and more generally, <img src='http://s1.wordpress.com/latex.php?latex=%28%5Calpha+f%2B%5Cbeta+g%29%28v%29%3D%5Calpha+f%28v%29%2B%5Cbeta+g%28v%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(\alpha f+\beta g)(v)=\alpha f(v)+\beta g(v).' title='(\alpha f+\beta g)(v)=\alpha f(v)+\beta g(v).' class='latex' /> And there is the zero function <img src='http://s2.wordpress.com/latex.php?latex=0%28v%29%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0(v)=0' title='0(v)=0' class='latex' /> for any <img src='http://s3.wordpress.com/latex.php?latex=v%5Cin+V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V.' title='v\in V.' class='latex' /> Thus we have all the ingredients of a vector space, as can be easily checked. </p>
<blockquote><p>
<img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> is a vector space over <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F}.' title='\mathbb{F}.' class='latex' /> It is called the <i>dual space</i> of <img src='http://s3.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' />
</p></blockquote>
<p>So far, we haven&#8217;t used the linearity of our functions at all (we actually did not need the fact that <img src='http://s1.wordpress.com/latex.php?latex=%5Calpha+f%28v%29%3Df%28%5Calpha+v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\alpha f(v)=f(\alpha v)' title='\alpha f(v)=f(\alpha v)' class='latex' />). Indeed, any closed under addition and multiplication set of functions <img src='http://s2.wordpress.com/latex.php?latex=V%5Cto+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V\to V' title='V\to V' class='latex' /> would form a vector space.<br />
What makes the dual space so special is that to define <img src='http://s3.wordpress.com/latex.php?latex=f%5Cin+V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f\in V^*' title='f\in V^*' class='latex' /> it suffices to define <img src='http://s1.wordpress.com/latex.php?latex=f%28e_i%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(e_i)' title='f(e_i)' class='latex' /> on a basis <img src='http://s2.wordpress.com/latex.php?latex=%5C%7Be_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_i\}' title='\{e_i\}' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' /> Indeed, <img src='http://s1.wordpress.com/latex.php?latex=f%28%5Csum_i+%5Calpha_i+e_i%29%3D%5Csum_i+%5Calpha_i+f%28e_i%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(\sum_i \alpha_i e_i)=\sum_i \alpha_i f(e_i),' title='f(\sum_i \alpha_i e_i)=\sum_i \alpha_i f(e_i),' class='latex' /> so we can compute <img src='http://s2.wordpress.com/latex.php?latex=f%28v%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(v)' title='f(v)' class='latex' /> for any <img src='http://s3.wordpress.com/latex.php?latex=v%3D%5Csum_i+%5Calpha_i+e_i%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v=\sum_i \alpha_i e_i,' title='v=\sum_i \alpha_i e_i,' class='latex' /> once we know the <img src='http://s1.wordpress.com/latex.php?latex=f%28e_i%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(e_i)' title='f(e_i)' class='latex' />&#8217;s.</p>
<p>Thus for a finite-dimensional vector space <img src='http://s2.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> one sees a (dependent upon the choice of a basis in <img src='http://s3.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' />)  bijection between <img src='http://s1.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=V%5E%2A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*.' title='V^*.' class='latex' /> This bijection, that is even an isomorphism of vector spaces, is defined by the <i>dual basis</i> of <img src='http://s3.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> given by <i> coordinate functions</i> <img src='http://s1.wordpress.com/latex.php?latex=x_i%3D%5Cepsilon_i%28x%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x_i=\epsilon_i(x),' title='x_i=\epsilon_i(x),' class='latex' /> where <img src='http://s2.wordpress.com/latex.php?latex=x_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x_i' title='x_i' class='latex' />&#8217;s are the coefficients of <img src='http://s3.wordpress.com/latex.php?latex=x%5Cin+V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x\in V' title='x\in V' class='latex' /> is the decomposition of <img src='http://s1.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> in the basis <img src='http://s2.wordpress.com/latex.php?latex=%5C%7B+e_i%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{ e_i\}.' title='\{ e_i\}.' class='latex' /> </p>
<p>Finite-dimensionality is crucial here. E.g. let us consider the vector space of polynomials <img src='http://s3.wordpress.com/latex.php?latex=%5Cmathbb%7BZ%7D%5Bx%5D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{Z}[x].' title='\mathbb{Z}[x].' class='latex' /> It is a countable space: one can view it as the set of infinite 0-1 strings, with only finitely many 1&#8217;s occurring in each string. On the other hand, <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> can be viewed as the set of all the infinite 0-1 strings, which is uncountable, so there cannot be a bijection between <img src='http://s2.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=V%5E%2A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*.' title='V^*.' class='latex' /> </p>
<p>Given <img src='http://s1.wordpress.com/latex.php?latex=v%5Cin+V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\in V,' title='v\in V,' class='latex' /> one can define a function  <img src='http://s2.wordpress.com/latex.php?latex=f_v%3AV%5E%2A%5Cto+%5Cmathbb%7BF%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_v:V^*\to \mathbb{F},' title='f_v:V^*\to \mathbb{F},' class='latex' /> as follows: <img src='http://s3.wordpress.com/latex.php?latex=f_v%28g%29%3A%3Dg%28v%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_v(g):=g(v).' title='f_v(g):=g(v).' class='latex' /> It is linear, as <img src='http://s1.wordpress.com/latex.php?latex=f_v%28%5Calpha+g%2B%5Cbeta+h%29%3D%5Calpha+g%28v%29%2B%5Cbeta+h%28v%29%3D%5Calpha+f_v%28g%29%2B%5Cbeta+f_v%28h%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_v(\alpha g+\beta h)=\alpha g(v)+\beta h(v)=\alpha f_v(g)+\beta f_v(h).' title='f_v(\alpha g+\beta h)=\alpha g(v)+\beta h(v)=\alpha f_v(g)+\beta f_v(h).' class='latex' /> Here we do not see any dependence on the choice of a basis in <img src='http://s2.wordpress.com/latex.php?latex=V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V,' title='V,' class='latex' /> and we have</p>
<blockquote><p>
The vector space <img src='http://s3.wordpress.com/latex.php?latex=V%5E%7B%2A%2A%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^{**}' title='V^{**}' class='latex' /> of linear functions on <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> is (canonically) isomorphic to <img src='http://s2.wordpress.com/latex.php?latex=V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V,' title='V,' class='latex' /> via the mapping <img src='http://s3.wordpress.com/latex.php?latex=v%5Cmapsto+f_v.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\mapsto f_v.' title='v\mapsto f_v.' class='latex' />
</p></blockquote>
<p>Indeed, we see immediately that <img src='http://s1.wordpress.com/latex.php?latex=f_%7B%5Calpha+v%2B%5Cbeta+w%7D%3D%5Calpha+f_v%2B%5Cbeta+f_w%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_{\alpha v+\beta w}=\alpha f_v+\beta f_w,' title='f_{\alpha v+\beta w}=\alpha f_v+\beta f_w,' class='latex' /> and so we need only to check that this mapping is bijective.    Let <img src='http://s2.wordpress.com/latex.php?latex=%5C%7Be_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_i\}' title='\{e_i\}' class='latex' /> be a basis in <img src='http://s3.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=%5C%7B%5Cepsilon_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\epsilon_i\}' title='\{\epsilon_i\}' class='latex' /> its dual basis in <img src='http://s2.wordpress.com/latex.php?latex=V%5E%2A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*.' title='V^*.' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=f_%7Be_i%7D%28%5Cepsilon_j%29%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_{e_i}(\epsilon_j)=1' title='f_{e_i}(\epsilon_j)=1' class='latex' /> if <img src='http://s1.wordpress.com/latex.php?latex=i%3Dj&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='i=j' title='i=j' class='latex' /> and 0 otherwise. Thus <img src='http://s2.wordpress.com/latex.php?latex=%5C%7B+f_%7Be_i%7D%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{ f_{e_i}\}' title='\{ f_{e_i}\}' class='latex' /> is the basis of <img src='http://s3.wordpress.com/latex.php?latex=V%5E%7B%2A%2A%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^{**},' title='V^{**},' class='latex' /> which is dual to the basis <img src='http://s1.wordpress.com/latex.php?latex=%5C%7B%5Cepsilon_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\epsilon_i\}' title='\{\epsilon_i\}' class='latex' /> of <img src='http://s2.wordpress.com/latex.php?latex=V%5E%2A%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*,' title='V^*,' class='latex' /> and the mapping <img src='http://s3.wordpress.com/latex.php?latex=v%5Cmapsto+f_v&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v\mapsto f_v' title='v\mapsto f_v' class='latex' /> sends the vector with coordinates <img src='http://s1.wordpress.com/latex.php?latex=v_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v_i' title='v_i' class='latex' /> to the vector with the same coordinates in<br />
the basis <img src='http://s2.wordpress.com/latex.php?latex=%5C%7B+f_%7Be_i%7D%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{ f_{e_i}\}' title='\{ f_{e_i}\}' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=V%5E%7B%2A%2A%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^{**}.' title='V^{**}.' class='latex' /> Hence the latter is bijective. </p>
<p>In view of the latter, we can identify <img src='http://s1.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> with <img src='http://s2.wordpress.com/latex.php?latex=V%5E%7B%2A%2A%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^{**},' title='V^{**},' class='latex' /> and write <img src='http://s3.wordpress.com/latex.php?latex=v%28g%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v(g)' title='v(g)' class='latex' /> instead <img src='http://s1.wordpress.com/latex.php?latex=f_v%28g%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f_v(g).' title='f_v(g).' class='latex' /> The set of <img src='http://s2.wordpress.com/latex.php?latex=g%5Cin+V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g\in V^*' title='g\in V^*' class='latex' /> such that <img src='http://s3.wordpress.com/latex.php?latex=v%28g%29%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v(g)=0' title='v(g)=0' class='latex' /> is a subspace, called <i>annihilator of <img src='http://s1.wordpress.com/latex.php?latex=v%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='v,' title='v,' class='latex' /></i> of dimension <img src='http://s2.wordpress.com/latex.php?latex=n-1%3Ddim%28V%29-1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n-1=dim(V)-1.' title='n-1=dim(V)-1.' class='latex' /> More generally, the following holds.</p>
<blockquote><p>
Let <img src='http://s3.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> be a subspace of <img src='http://s1.wordpress.com/latex.php?latex=V%2C+&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V, ' title='V, ' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=U%5E0%3A%3D%5C%7Bg%5Cin+V%5E%2A%5Cmid+g%28u%29%3D0%5Ctext%7B+for+all+%7D+u%5Cin+U%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0:=\{g\in V^*\mid g(u)=0\text{ for all } u\in U\}.' title='U^0:=\{g\in V^*\mid g(u)=0\text{ for all } u\in U\}.' class='latex' /> Then the annihilator <img src='http://s3.wordpress.com/latex.php?latex=U%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0' title='U^0' class='latex' /> of <img src='http://s1.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> is a subspace of <img src='http://s2.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> of dimension <img src='http://s3.wordpress.com/latex.php?latex=dim%28V%29-dim%28U%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='dim(V)-dim(U).' title='dim(V)-dim(U).' class='latex' />
</p></blockquote>
<p>Indeed, we can choose a basis <img src='http://s1.wordpress.com/latex.php?latex=%5C%7Be_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_i\}' title='\{e_i\}' class='latex' /> in <img src='http://s2.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> so that <img src='http://s3.wordpress.com/latex.php?latex=%5C%7Be_1%2C%5Cdots%2Ce_%7Bk%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_1,\dots,e_{k}' title='\{e_1,\dots,e_{k}' class='latex' /> is a basis of <img src='http://s1.wordpress.com/latex.php?latex=U%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U,' title='U,' class='latex' /> where <img src='http://s2.wordpress.com/latex.php?latex=dim%28U%29%3Dk.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='dim(U)=k.' title='dim(U)=k.' class='latex' /> Then we have the dual basis <img src='http://s3.wordpress.com/latex.php?latex=%5C%7B%5Cepsilon_i%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\epsilon_i\}' title='\{\epsilon_i\}' class='latex' /> of <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*,' title='V^*,' class='latex' /> and <img src='http://s2.wordpress.com/latex.php?latex=U%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0' title='U^0' class='latex' /> is the subspace with the basis <img src='http://s3.wordpress.com/latex.php?latex=%5C%7Be_%7Bk%2B1%7D%2C%5Cdots%2Ce_n%5C%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_{k+1},\dots,e_n\}.' title='\{e_{k+1},\dots,e_n\}.' class='latex' /> </p>
<p>In view of this, each <img src='http://s1.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> can be obtained as the set of solutions of a system of homogeneous linear equations <img src='http://s2.wordpress.com/latex.php?latex=g%28u%29%3D0%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g(u)=0,' title='g(u)=0,' class='latex' /> for <img src='http://s3.wordpress.com/latex.php?latex=g%5Cin+U%5E0%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g\in U^0,' title='g\in U^0,' class='latex' /> of rank <img src='http://s1.wordpress.com/latex.php?latex=dim%28V%29-dim%28U%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='dim(V)-dim(U).' title='dim(V)-dim(U).' class='latex' /></p>
<p><b> Dual spaces and annihilators under a basis change</b><br />
Let <img src='http://s2.wordpress.com/latex.php?latex=X%5Cin+GL_n%28%5Cmathbb%7BF%7D%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X\in GL_n(\mathbb{F})' title='X\in GL_n(\mathbb{F})' class='latex' /> be a linear transformation of <img src='http://s3.wordpress.com/latex.php?latex=V%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V,' title='V,' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> a subspace of <img src='http://s2.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' /> Then <img src='http://s3.wordpress.com/latex.php?latex=X%28U%29%3D%5C%7B+Xu%5Cmid+u%5Cin+U%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X(U)=\{ Xu\mid u\in U\}' title='X(U)=\{ Xu\mid u\in U\}' class='latex' /> is a subspace. How can one look at <img src='http://s1.wordpress.com/latex.php?latex=g%28U%5E0%29%3F&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g(U^0)?' title='g(U^0)?' class='latex' />   By writing out <img src='http://s2.wordpress.com/latex.php?latex=u%3D%5Csum_i+u_i+e_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u=\sum_i u_i e_i' title='u=\sum_i u_i e_i' class='latex' /> in a basis <img src='http://s3.wordpress.com/latex.php?latex=%5C%7Be_i%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_i\},' title='\{e_i\},' class='latex' /> for any <img src='http://s1.wordpress.com/latex.php?latex=g%3D%5Csum_i+g_i%5Cepsilon_i%5Cin+U%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g=\sum_i g_i\epsilon_i\in U^0' title='g=\sum_i g_i\epsilon_i\in U^0' class='latex' /> in the dual basis <img src='http://s2.wordpress.com/latex.php?latex=%5C%7B%5Cepsilon_i%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\epsilon_i\},' title='\{\epsilon_i\},' class='latex' /> we get equation <img src='http://s3.wordpress.com/latex.php?latex=%5Csum_i+g_i+u_i+%3D0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_i g_i u_i =0.' title='\sum_i g_i u_i =0.' class='latex' /> Thus, considering <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> as a matrix, we get <img src='http://s2.wordpress.com/latex.php?latex=g%5ET+YX+u%3D0%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g^T YX u=0,' title='g^T YX u=0,' class='latex' /> where <img src='http://s3.wordpress.com/latex.php?latex=Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y' title='Y' class='latex' /> denotes the action of <img src='http://s1.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> on <img src='http://s2.wordpress.com/latex.php?latex=+V%5E%2A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' V^*.' title=' V^*.' class='latex' /> It follows that <img src='http://s3.wordpress.com/latex.php?latex=YX%3D1_%7BGL_n%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='YX=1_{GL_n},' title='YX=1_{GL_n},' class='latex' /> i.e. <img src='http://s1.wordpress.com/latex.php?latex=+Y%3DX%5E%7B-1%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' Y=X^{-1}.' title=' Y=X^{-1}.' class='latex' /> We have, considering that <img src='http://s2.wordpress.com/latex.php?latex=Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y' title='Y' class='latex' /> acts on <img src='http://s3.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> by right multiplication, and not by left ones, to take the transpose, too.</p>
<blockquote><p>
<img src='http://s1.wordpress.com/latex.php?latex=X%5Cin+GL_n%28%5Cmathbb%7BF%7D%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X\in GL_n(\mathbb{F})' title='X\in GL_n(\mathbb{F})' class='latex' /> acts on <img src='http://s2.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> as <img src='http://s3.wordpress.com/latex.php?latex=%28X%5E%7B-1%7D%29%5ET.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(X^{-1})^T.' title='(X^{-1})^T.' class='latex' />
</p></blockquote>
<p><b>An example.</b><br />
Let <img src='http://s1.wordpress.com/latex.php?latex=V%3D%5Cmathbb%7BF%7D%5E3.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V=\mathbb{F}^3.' title='V=\mathbb{F}^3.' class='latex' /> We work in the standard basis <img src='http://s2.wordpress.com/latex.php?latex=%5C%7Be_1%2Ce_2%2Ce_3%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{e_1,e_2,e_3\}' title='\{e_1,e_2,e_3\}' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=V.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V.' title='V.' class='latex' /> Then the dual basis of <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> is <img src='http://s2.wordpress.com/latex.php?latex=%5C%7B%5Cepsilon_1%2C%5Cepsilon_2%2C%5Cepsilon_3%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{\epsilon_1,\epsilon_2,\epsilon_3\}' title='\{\epsilon_1,\epsilon_2,\epsilon_3\}' class='latex' />, so that <img src='http://s3.wordpress.com/latex.php?latex=%5Cepsilon_i%28%28u_1%2Cu_2%2Cu_3%29%5ET%29%3Du_i.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\epsilon_i((u_1,u_2,u_3)^T)=u_i.' title='\epsilon_i((u_1,u_2,u_3)^T)=u_i.' class='latex' /><br />
Let <img src='http://s1.wordpress.com/latex.php?latex=+G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt=' G' title=' G' class='latex' /> be the group of matrices <img src='http://s2.wordpress.com/latex.php?latex=G%3D%5Cleft%5C%7B+%5Cbegin%7Bpmatrix%7D+1%26x%26y%5C%5C+0%26z%26u%5C%5C+0%26t%26w+%5Cend%7Bpmatrix%7D+%5Cmid+x%2Cy%2Cz%2Cu%2Ct%2Cw%5Cin%5Cmathbb%7BF%7D+%5Cright%5C%7D%3CGL_3%28%5Cmathbb%7BF%7D%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G=\left\{ \begin{pmatrix} 1&amp;x&amp;y\\ 0&amp;z&amp;u\\ 0&amp;t&amp;w \end{pmatrix} \mid x,y,z,u,t,w\in\mathbb{F} \right\}&lt;GL_3(\mathbb{F}).' title='G=\left\{ \begin{pmatrix} 1&amp;x&amp;y\\ 0&amp;z&amp;u\\ 0&amp;t&amp;w \end{pmatrix} \mid x,y,z,u,t,w\in\mathbb{F} \right\}&lt;GL_3(\mathbb{F}).' class='latex' /> It fixes, in its left action on <img src='http://s3.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> by multiplication, the vector <img src='http://s1.wordpress.com/latex.php?latex=e_1%3D%28100%29%5ET.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='e_1=(100)^T.' title='e_1=(100)^T.' class='latex' />. Let <img src='http://s2.wordpress.com/latex.php?latex=U&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U' title='U' class='latex' /> be the 1-dimensional subspace of <img src='http://s3.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> generated by <img src='http://s1.wordpress.com/latex.php?latex=e_1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='e_1.' title='e_1.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=U%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0' title='U^0' class='latex' /> is generated by <img src='http://s3.wordpress.com/latex.php?latex=%5Cepsilon_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\epsilon_2' title='\epsilon_2' class='latex' /> and <img src='http://s1.wordpress.com/latex.php?latex=%5Cepsilon_3.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\epsilon_3.' title='\epsilon_3.' class='latex' /> The group <img src='http://s2.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' /> preserves <img src='http://s3.wordpress.com/latex.php?latex=U%5E0%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0,' title='U^0,' class='latex' /> in its action on <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*.' title='V^*.' class='latex' /> As <img src='http://s2.wordpress.com/latex.php?latex=U_0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U_0' title='U_0' class='latex' /> is 2-dimensional, there should be a nontrivial kernel in this action, and indeed, it consists of the elements of the form <img src='http://s3.wordpress.com/latex.php?latex=%5Cbegin%7Bpmatrix%7D+1%26x%26y%5C%5C+0%261%260%5C%5C+0%260%261+%5Cend%7Bpmatrix%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{pmatrix} 1&amp;x&amp;y\\ 0&amp;1&amp;0\\ 0&amp;0&amp;1 \end{pmatrix}.' title='\begin{pmatrix} 1&amp;x&amp;y\\ 0&amp;1&amp;0\\ 0&amp;0&amp;1 \end{pmatrix}.' class='latex' /></p>
<p>A particularly simple case is <img src='http://s1.wordpress.com/latex.php?latex=%5Cmathbb%7BF%7D+%3D+%5Cmathbb%7BZ%7D_2.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{F} = \mathbb{Z}_2.' title='\mathbb{F} = \mathbb{Z}_2.' class='latex' /> Then <img src='http://s2.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' /> is isomorphic to <img src='http://s3.wordpress.com/latex.php?latex=S_4%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S_4,' title='S_4,' class='latex' /> the symmetric group on 4 letters, as can be seen in its action on the 4 elements of <img src='http://s1.wordpress.com/latex.php?latex=V%5E%2A&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V^*' title='V^*' class='latex' /> outside <img src='http://s2.wordpress.com/latex.php?latex=U%5E0.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0.' title='U^0.' class='latex' /> On the other hand, it acts on the 3 nonzero elements of <img src='http://s3.wordpress.com/latex.php?latex=U%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='U^0' title='U^0' class='latex' /> as <img src='http://s1.wordpress.com/latex.php?latex=S_3.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S_3.' title='S_3.' class='latex' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=226&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/04/05/dual-spaces/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>
	</item>
		<item>
		<title>Orbit-counting Lemma</title>
		<link>http://equatorialmaths.wordpress.com/2009/03/31/orbit-counting-lemma/</link>
		<comments>http://equatorialmaths.wordpress.com/2009/03/31/orbit-counting-lemma/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 09:11:04 +0000</pubDate>
		<dc:creator>Dima</dc:creator>
				<category><![CDATA[undergrad maths]]></category>
		<category><![CDATA[algebra]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[MAS313]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://equatorialmaths.wordpress.com/?p=220</guid>
		<description><![CDATA[One application of actions of finite groups is in combinatorics, more precisely, counting objects that possess particular symmetries. 
A classical example are -necklaces and -bracelets. These are words of length  in a -letter alphabet, with beginnings and ends of the words glued together  and made invisible (so one can visualise them as regular [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=220&subd=equatorialmaths&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><div class="wp-caption alignleft" style="width: 407px"><img alt="Excercises in algebra" src="http://3.bp.blogspot.com/_6ZFbuBhvFHk/SVK7ZOkGzqI/AAAAAAAADOc/ybAaPawFZfI/s400/algebra_weightlifting_for_your_brain.jpg" title="Excercises" width="397" height="400" /><p class="wp-caption-text">Excercises in algebra</p></div><br />
One application of actions of finite groups is in combinatorics, more precisely, counting objects that possess particular symmetries. </p>
<p>A classical example are <img src='http://s3.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' />-<a href="http://en.wikipedia.org/wiki/Necklace_(combinatorics)">necklaces</a> and <img src='http://s1.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' />-<a href="http://en.wikipedia.org/wiki/Bracelet_(combinatorics)">bracelets</a>. These are words of length <img src='http://s2.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> in a <img src='http://s3.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />-letter alphabet, with beginnings and ends of the words glued together  and made invisible (so one can visualise them as regular <img src='http://s1.wordpress.com/latex.php?latex=n-gons&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n-gons' title='n-gons' class='latex' /> with letters from the alphabet placed at the vertices). Two necklaces are identical when one is obtained from another by rotations; two bracelets are identical when one can be obtained from another by rotation and a &#8220;flip&#8221;. One can view counting of necklaces and bracelets as counting of orbits of certain groups on the sets of &#8220;labelled&#8221;  necklaces (resp. bracelets). For the necklace case, the group is <img src='http://s2.wordpress.com/latex.php?latex=%5Cmathbb%7BZ%7D_n%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mathbb{Z}_n,' title='\mathbb{Z}_n,' class='latex' /> and for the bracelet case it is the dihedral group of order <img src='http://s3.wordpress.com/latex.php?latex=2n.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2n.' title='2n.' class='latex' /><br />
The set <img src='http://s1.wordpress.com/latex.php?latex=%5COmega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega' title='\Omega' class='latex' /> of labelled necklaces/bracelets is just the set of words of length <img src='http://s2.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> in a <img src='http://s3.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />-letter alphabet; so one has <img src='http://s1.wordpress.com/latex.php?latex=%7C%5COmega%7C%3Dk%5En.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|\Omega|=k^n.' title='|\Omega|=k^n.' class='latex' /> </p>
<p>Orbit counting is often simplified by the following result, often attrubuted to Burnside, although it was certainly known to Frobenius.</p>
<blockquote><p>
Let a finite group <img src='http://s2.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' /> act on a finite set <img src='http://s3.wordpress.com/latex.php?latex=%5COmega.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega.' title='\Omega.' class='latex' /> Denote by <img src='http://s1.wordpress.com/latex.php?latex=%5COmega%5Eg%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega^g,' title='\Omega^g,' class='latex' /> for <img src='http://s2.wordpress.com/latex.php?latex=g%5Cin+G%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g\in G,' title='g\in G,' class='latex' /> the set of elements of <img src='http://s3.wordpress.com/latex.php?latex=%5COmega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega' title='\Omega' class='latex' /> fixed by <img src='http://s1.wordpress.com/latex.php?latex=g.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g.' title='g.' class='latex' /> Then the number <img src='http://s2.wordpress.com/latex.php?latex=N&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N' title='N' class='latex' /> of orbits of <img src='http://s3.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' /> on <img src='http://s1.wordpress.com/latex.php?latex=%5COmega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega' title='\Omega' class='latex' /> is the average, over <img src='http://s2.wordpress.com/latex.php?latex=G%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G,' title='G,' class='latex' /> of <img src='http://s3.wordpress.com/latex.php?latex=%7C%5COmega%5Eg%7C%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|\Omega^g|,' title='|\Omega^g|,' class='latex' /> i.e.<br />
<a> <img src='http://s1.wordpress.com/latex.php?latex=%5Cdisplaystyle++N%3D%5Cfrac%7B1%7D%7B%7CG%7C%7D%5Csum_%7Bg%5Cin+G%7D+%7C%5COmega%5Eg%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  N=\frac{1}{|G|}\sum_{g\in G} |\Omega^g|.' title='\displaystyle  N=\frac{1}{|G|}\sum_{g\in G} |\Omega^g|.' class='latex' /> </a>
</p></blockquote>
<p>The proof involves counting of edges in the bipartite graph, with one part being <img src='http://s2.wordpress.com/latex.php?latex=%5COmega%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega,' title='\Omega,' class='latex' /> and the other being <img src='http://s3.wordpress.com/latex.php?latex=G%3B&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G;' title='G;' class='latex' /> a pair <img src='http://s1.wordpress.com/latex.php?latex=%28%5Comega%2Cg%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(\omega,g),' title='(\omega,g),' class='latex' /> for <img src='http://s2.wordpress.com/latex.php?latex=%5Comega%5Cin%5COmega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\omega\in\Omega' title='\omega\in\Omega' class='latex' /> and <img src='http://s3.wordpress.com/latex.php?latex=g%5Cin+G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g\in G' title='g\in G' class='latex' /> is an edge iff <img src='http://s1.wordpress.com/latex.php?latex=%5Comega%5Cin%5COmega%5Eg.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\omega\in\Omega^g.' title='\omega\in\Omega^g.' class='latex' /> Thus the total number of edges in this graph is <img src='http://s2.wordpress.com/latex.php?latex=%5Csum_%7Bg%5Cin+G%7D+%7C%5COmega%5Eg%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{g\in G} |\Omega^g|.' title='\sum_{g\in G} |\Omega^g|.' class='latex' /><br />
On the other hand, a pair <img src='http://s3.wordpress.com/latex.php?latex=%28%5Comega%2Cg%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(\omega,g)' title='(\omega,g)' class='latex' /> is an edge iff <img src='http://s1.wordpress.com/latex.php?latex=g%5Cin+G_%7B%5Comega%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g\in G_{\omega},' title='g\in G_{\omega},' class='latex' /> the stabiliser of <img src='http://s2.wordpress.com/latex.php?latex=%5Comega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\omega' title='\omega' class='latex' /> in <img src='http://s3.wordpress.com/latex.php?latex=G.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G.' title='G.' class='latex' /> Thus, for a <img src='http://s1.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' />-orbit <img src='http://s2.wordpress.com/latex.php?latex=%5COmega_%5Comega%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega_\omega,' title='\Omega_\omega,' class='latex' /> one has the total number of edges leaving <img src='http://s3.wordpress.com/latex.php?latex=%5COmega_%5Comega&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega_\omega' title='\Omega_\omega' class='latex' /> equal to  <img src='http://s1.wordpress.com/latex.php?latex=%7C%5COmega_%5Comega%7C%7CG_%5Comega%7C%3D%7CG%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|\Omega_\omega||G_\omega|=|G|.' title='|\Omega_\omega||G_\omega|=|G|.' class='latex' /> Summing over all the <img src='http://s2.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' />-orbits, one obtains the total number of edges <img src='http://s3.wordpress.com/latex.php?latex=N%7CG%7C%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N|G|,' title='N|G|,' class='latex' /> completing the proof.</p>
<p>Often it is easier to sum over distinctive  representatives <img src='http://s1.wordpress.com/latex.php?latex=R%3D%5C%7Bg_1%2C%5Cdots%2Cg_t%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R=\{g_1,\dots,g_t\}' title='R=\{g_1,\dots,g_t\}' class='latex' /> of the conjugacy classes <img src='http://s2.wordpress.com/latex.php?latex=g%5EG%3D%5C%7Bxgx%5E%7B-1%7D%5Cmid+x%5Cin+G%5C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g^G=\{xgx^{-1}\mid x\in G\},' title='g^G=\{xgx^{-1}\mid x\in G\},' class='latex' /> as <img src='http://s3.wordpress.com/latex.php?latex=%7C%5COmega%5Eg%7C%3D%7C%5COmega%5E%7Bxgx%5E%7B-1%7D%7D%7C.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|\Omega^g|=|\Omega^{xgx^{-1}}|.' title='|\Omega^g|=|\Omega^{xgx^{-1}}|.' class='latex' /> So one has<br />
 <a> <img src='http://s1.wordpress.com/latex.php?latex=%5Cdisplaystyle++N%3D%5Cfrac%7B1%7D%7B%7CG%7C%7D%5Csum_%7Bg%5Cin+R+%7D+%7C%5COmega%5Eg%7C%7Cg%5EG%7C%3D%5Csum_%7Bg%5Cin+R+%7D+%5Cfrac%7B%7C%5COmega%5Eg%7C%7D%7B%7CC_G%28g%29%7C%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  N=\frac{1}{|G|}\sum_{g\in R } |\Omega^g||g^G|=\sum_{g\in R } \frac{|\Omega^g|}{|C_G(g)|},' title='\displaystyle  N=\frac{1}{|G|}\sum_{g\in R } |\Omega^g||g^G|=\sum_{g\in R } \frac{|\Omega^g|}{|C_G(g)|},' class='latex' /> </a><br />
where <img src='http://s2.wordpress.com/latex.php?latex=C_G%28g%29%3A%3D%5C%7Bx%5Cin+G%5Cmid+xgx%5E%7B-1%7D%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C_G(g):=\{x\in G\mid xgx^{-1}\}' title='C_G(g):=\{x\in G\mid xgx^{-1}\}' class='latex' /> denoting the <i>centraliser</i> of <img src='http://s3.wordpress.com/latex.php?latex=g&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g' title='g' class='latex' /> in <img src='http://s1.wordpress.com/latex.php?latex=G.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G.' title='G.' class='latex' /></p>
<p>Let us see how this can be applied to <b>counting bracelets</b>. For simplicity, let us assume that <img src='http://s2.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> is <i>prime</i>. We consider natural the action of the dihedral group <img src='http://s3.wordpress.com/latex.php?latex=G%3DD_%7B2n%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G=D_{2n}' title='G=D_{2n}' class='latex' /> on the set of <img src='http://s1.wordpress.com/latex.php?latex=k%5En&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k^n' title='k^n' class='latex' /> words  of a <img src='http://s2.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />-letter alphabet. </p>
<p>We know that <img src='http://s3.wordpress.com/latex.php?latex=G&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G' title='G' class='latex' /> is generated by the cyclic permutation <img src='http://s1.wordpress.com/latex.php?latex=c%3D%281%2C2%2C%5Cdots%2Cn%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c=(1,2,\dots,n)' title='c=(1,2,\dots,n)' class='latex' /> and an order two &#8220;flip&#8221; permutation <img src='http://s2.wordpress.com/latex.php?latex=f%3D%282%2Cn%29%283%2Cn-1%29%5Cdots+%28%5Clfloor+n%2F2%5Crfloor%2C%5Clceil+n%2F2%5Crceil%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f=(2,n)(3,n-1)\dots (\lfloor n/2\rfloor,\lceil n/2\rceil).' title='f=(2,n)(3,n-1)\dots (\lfloor n/2\rfloor,\lceil n/2\rceil).' class='latex' />  The group can be decomposed into the union of cosets <img src='http://s3.wordpress.com/latex.php?latex=G%3D%5Clangle+c%5Crangle%5Ccup+f%5Clangle+c%5Crangle.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='G=\langle c\rangle\cup f\langle c\rangle.' title='G=\langle c\rangle\cup f\langle c\rangle.' class='latex' /><br />
The only words fixed by a nonidentity element <img src='http://s1.wordpress.com/latex.php?latex=x%3Dc%5Em&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=c^m' title='x=c^m' class='latex' /> of the subgroup <img src='http://s2.wordpress.com/latex.php?latex=%5Clangle+c%5Crangle&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\langle c\rangle' title='\langle c\rangle' class='latex' /> are the &#8220;constant&#8221; ones, i.e. words consisting of a single letter, and so <img src='http://s3.wordpress.com/latex.php?latex=%7C%5COmega%5Ex%7C%3Dk.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|\Omega^x|=k.' title='|\Omega^x|=k.' class='latex' /> The coset <img src='http://s1.wordpress.com/latex.php?latex=f%5Clangle+c%5Crangle&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f\langle c\rangle' title='f\langle c\rangle' class='latex' /> equals <img src='http://s2.wordpress.com/latex.php?latex=f%5EG&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f^G' title='f^G' class='latex' /> (an unusual coincidence), and so it suffices to find<br />
<img src='http://s3.wordpress.com/latex.php?latex=%5COmega%5Ef.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Omega^f.' title='\Omega^f.' class='latex' /> For a word <img src='http://s1.wordpress.com/latex.php?latex=w&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w' title='w' class='latex' /> to be in the latter set, it must have <img src='http://s2.wordpress.com/latex.php?latex=w_2%3Dw_n%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w_2=w_n,' title='w_2=w_n,' class='latex' /> <img src='http://s3.wordpress.com/latex.php?latex=w_3%3Dw_%7Bn-1%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w_3=w_{n-1},' title='w_3=w_{n-1},' class='latex' />&#8230; <img src='http://s1.wordpress.com/latex.php?latex=w_%7B%5Clfloor+n%2F2%5Crfloor%7D%3Dw_%7B%5Clceil+n%2F2%5Crceil%7D%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='w_{\lfloor n/2\rfloor}=w_{\lceil n/2\rceil},' title='w_{\lfloor n/2\rfloor}=w_{\lceil n/2\rceil},' class='latex' /> so there are <img src='http://s2.wordpress.com/latex.php?latex=k%5E%7B%28n%2B1%29%2F2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k^{(n+1)/2}' title='k^{(n+1)/2}' class='latex' /> possibilites.<br />
Thus we count <img src='http://s3.wordpress.com/latex.php?latex=N%7CG%7C%3D2nN%3D%7C%5COmega%7C%2B%28n-1%29%7C%5COmega%5Ec%7C%2Bn%7C%5COmega%5Ef%7C%3Dk%5En%2B%28n-1%29k%2Bn+k%5E%7B%28n%2B1%29%2F2%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N|G|=2nN=|\Omega|+(n-1)|\Omega^c|+n|\Omega^f|=k^n+(n-1)k+n k^{(n+1)/2}.' title='N|G|=2nN=|\Omega|+(n-1)|\Omega^c|+n|\Omega^f|=k^n+(n-1)k+n k^{(n+1)/2}.' class='latex' /><br />
E.g. for <img src='http://s1.wordpress.com/latex.php?latex=n%3D5%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n=5,' title='n=5,' class='latex' /> <img src='http://s2.wordpress.com/latex.php?latex=k%3D3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k=3' title='k=3' class='latex' /> one obtains <img src='http://s3.wordpress.com/latex.php?latex=N%3D39.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='N=39.' title='N=39.' class='latex' /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/equatorialmaths.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/equatorialmaths.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/equatorialmaths.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/equatorialmaths.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/equatorialmaths.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/equatorialmaths.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/equatorialmaths.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/equatorialmaths.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/equatorialmaths.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/equatorialmaths.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=equatorialmaths.wordpress.com&blog=3331367&post=220&subd=equatorialmaths&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://equatorialmaths.wordpress.com/2009/03/31/orbit-counting-lemma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dima</media:title>
		</media:content>

		<media:content url="http://3.bp.blogspot.com/_6ZFbuBhvFHk/SVK7ZOkGzqI/AAAAAAAADOc/ybAaPawFZfI/s400/algebra_weightlifting_for_your_brain.jpg" medium="image">
			<media:title type="html">Excercises</media:title>
		</media:content>
	</item>
	</channel>
</rss>