<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>the dying love grape</title>
	<atom:link href="http://dyinglovegrape.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dyinglovegrape.wordpress.com</link>
	<description>mathematixxx</description>
	<lastBuildDate>Fri, 24 Feb 2012 21:50:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dyinglovegrape.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/287d34a2c13421b71baca05e151b6a6a?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>the dying love grape</title>
		<link>http://dyinglovegrape.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dyinglovegrape.wordpress.com/osd.xml" title="the dying love grape" />
	<atom:link rel='hub' href='http://dyinglovegrape.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Two Turtles Playing with a Hammer: A Game.</title>
		<link>http://dyinglovegrape.wordpress.com/2012/01/16/two-turtles-playing-with-a-hammer-a-game/</link>
		<comments>http://dyinglovegrape.wordpress.com/2012/01/16/two-turtles-playing-with-a-hammer-a-game/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 07:31:28 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1321</guid>
		<description><![CDATA[While I’m finishing up the Baire Category post, let’s have a little fun.&#160; Here’s a game I like to play when I’m in my office hours and have literally nothing else to do.&#160; I call it, “Two Turtles Playing With A Hammer.”&#160; The game is simple. &#160; Pick a number (or, have a friend pick [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1321&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While I’m finishing up the Baire Category post, let’s have a little fun.&#160; Here’s a game I like to play when I’m in my office hours and have literally nothing else to do.&#160; I call it, “<strong>Two Turtles Playing With A Hammer.”&#160; </strong></p>
<p>The game is simple.</p>
<p>&#160;</p>
<ol>
<li>Pick a number (or, have a friend pick one for you!).&#160; It’s more fun if you pick a number that’s a well-known irrational or transcendental number.&#160; Let’s call this number <img src='http://s0.wp.com/latex.php?latex=%5Calpha&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;alpha' title='&#92;alpha' class='latex' />.&#160; </li>
<li>Pick a natural number (for example, 4 or 12).&#160; Usually, 2, 3, 4, or 6 give the nicest looking results.&#160; Let’s call your number <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' />. </li>
<li>The point of the game is to approximate <img src='http://s0.wp.com/latex.php?latex=%5Calpha&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;alpha' title='&#92;alpha' class='latex' /> using a sequence that looks like this: </li>
</ol>
<p>&#160;</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cfrac%7B%5Cpi%5E%7Bn%7D%7D%7Bb_%7B1%7D%7D+%2B+%5Cfrac%7B%5Cpi%5E%7Bn%7D%7D%7Bb_%7B2%7D%5E%7B2%7D%7D+%2B+%5Cfrac%7B%5Cpi%5E%7Bn%7D%7D%7Bb_%7B3%7D%5E%7B3%7D%7D+%2B+%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;displaystyle&#92;frac{&#92;pi^{n}}{b_{1}} + &#92;frac{&#92;pi^{n}}{b_{2}^{2}} + &#92;frac{&#92;pi^{n}}{b_{3}^{3}} + &#92;dots' title='&#92;displaystyle&#92;frac{&#92;pi^{n}}{b_{1}} + &#92;frac{&#92;pi^{n}}{b_{2}^{2}} + &#92;frac{&#92;pi^{n}}{b_{3}^{3}} + &#92;dots' class='latex' /></p>
<p>&#160;</p>
<p>where all the <img src='http://s0.wp.com/latex.php?latex=b_%7Bi%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='b_{i}' title='b_{i}' class='latex' />’s are natural numbers.&#160; If this is not possible to do, you lose.&#160; Else, you win!&#160; [Of course, you can feel free to make your own game where this is an alternating sequence.]</p>
<p>&#160;</p>
<p><strong>An example.&#160; </strong>Let’s just do one that I played around with a bit: </p>
<p>&#160;</p>
<p><img src='http://s0.wp.com/latex.php?latex=%28%5Cpi%5E4%29%2F57+%2B+%28%5Cpi%5E4%29%2F67%5E2+%2B+%28%5Cpi%5E4%29%2F37%5E3+%5Capprox+%5Csqrt%7B3%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(&#92;pi^4)/57 + (&#92;pi^4)/67^2 + (&#92;pi^4)/37^3 &#92;approx &#92;sqrt{3}' title='(&#92;pi^4)/57 + (&#92;pi^4)/67^2 + (&#92;pi^4)/37^3 &#92;approx &#92;sqrt{3}' class='latex' />.</p>
<p>&#160;</p>
<p>Of course, the game is rather pointless, but you can say to your friends, “Look at this!&#160; This crazy sum of stuff is pretty dang close to <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B%5Csqrt%7B2%7D%7D%7B2%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;frac{&#92;sqrt{2}}{2}' title='&#92;frac{&#92;sqrt{2}}{2}' class='latex' />.”&#160; They’ll be impressed.</p>
<p>&#160;</p>
<p>[<strong>Note:</strong> It may be a good (undergraduate-level) exercise to think about the following: given that we only add terms, and given that the denominators must be elements of the naturals, then (given some <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' />) what numbers can we make from these sequences?&#160; What if we also set one of the <img src='http://s0.wp.com/latex.php?latex=b_%7Bi%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='b_{i}' title='b_{i}' class='latex' />’s in the assumption (for example, making <img src='http://s0.wp.com/latex.php?latex=b_%7B3%7D+%3D+5&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='b_{3} = 5' title='b_{3} = 5' class='latex' />)?]</p>
<p>&#160;</p>
<p><strong>Edited: </strong>I fixed the note above.&#160; Another good undergraduate-level question is: what if we allow only one term to be subtracted; can we make any real number?&#160; If they’re particularly good at programming, you could ask them to write a program that approximates any number to some number of places with such a sequence (either from the game or using a single subtracted term).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1321&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2012/01/16/two-turtles-playing-with-a-hammer-a-game/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Baire Category Theorem.</title>
		<link>http://dyinglovegrape.wordpress.com/2012/01/05/baire-category-theorem/</link>
		<comments>http://dyinglovegrape.wordpress.com/2012/01/05/baire-category-theorem/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 11:44:54 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[examples]]></category>
		<category><![CDATA[functional analysis]]></category>
		<category><![CDATA[point-set topology]]></category>
		<category><![CDATA[undergrad problems]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1297</guid>
		<description><![CDATA[During one of my previous qualifying exams, one of the questions looked, at first, to be a basic Fourier Analysis question.&#160; The hint, though, was to use the Baire Category Theorem.&#160; The problem and hint looked so unrelated that the phrase has become somewhat of a running joke for some of us in the department [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1297&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During one of my previous qualifying exams, one of the questions looked, at first, to be a basic Fourier Analysis question.&#160; The hint, though, was to <em>use the Baire Category Theorem</em>.&#160; The problem and hint looked so unrelated that the phrase has become somewhat of a running joke for some of us in the department (“<em>How are we going to prove this is a cofibration?”&#160; “Oh, easy, just use the Baire Category theorem.”</em>).&#160; </p>
<p>The more I read about it, the more I realized that the Baire Category theorem pops up much more than I realized and in a number of surprising and diverse topics.&#160; This post is just to introduce you to the BCT and to show off some of its raw power.&#160; One of the results below is one that I <em>genuinely don’t believe &#8212;</em> that is, I know it has to be true (it was proved!) but it just seems <em>so outrageous </em>that I can’t being myself to believe it!&#160; But, we’ll get to that.</p>
<p>&#160;</p>
<h1>Leading up to the Theorem.</h1>
<p>There are a few different formulations of the theorem, so I’ll pick the one that turns out to be most common in what I’ve read.&#160; First, let’s quickly define some terms.</p>
<p>&#160;</p>
<p><strong>Definition.&#160; </strong>A <em>complete metric space</em> is a metric space where each Cauchy sequence converges to a point in the space.</p>
<p>&#160;</p>
<p>For example, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> is complete, but <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' /> is not complete since in the latter space we can take a sequence like: 1, 1.4, 1.41, 1.414, … which are all rational numbers that converge to <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7B2%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;sqrt{2}' title='&#92;sqrt{2}' class='latex' />, but <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7B2%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;sqrt{2}' title='&#92;sqrt{2}' class='latex' /> isn’t in the rational numbers.&#160; </p>
<p>&#160;</p>
<p><strong>Definition.&#160; </strong>A subset of a space is <em>dense </em>if the closure of the subset is the entire space.</p>
<p>&#160;</p>
<p>For example, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' /> is dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> since the closure of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; The irrationals are also dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; The integers, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' />, are <strong>not </strong>dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> because the closure of the integers in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> is just <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> (why?).&#160; </p>
<p>&#160;</p>
<p><strong>Q: </strong><em>What are the dense subsets of a non-empty discrete space?&#160; Does this make sense “visually”?</em></p>
<p><em></em></p>
<p><strong>Definition.&#160; </strong>The <em>interior </em>of a subset <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> is the largest open set contained in <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' />.&#160; In metric spaces, it’s the union of all the balls contained in <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' />.&#160; </p>
<p><em></em></p>
<p>The next definition might be a little strange if you haven’t seen it before and, in fact, there are two nice (equivalent) ways of thinking about this concept.&#160; I’ll list both.</p>
<p><em></em></p>
<p><strong>Definition.&#160; </strong>A set <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> is <em>nowhere dense</em> in some space <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' /> if either (and hence both):</p>
<ol>
<li>The interior of the closure of <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' /> has empty interior.&#160; </li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Coverline%7BY%5E%7BC%7D%7D+%3D+X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;overline{Y^{C}} = X' title='&#92;overline{Y^{C}} = X' class='latex' />; that is, the closure of the compliment of <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> is dense in <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' />. </li>
</ol>
<p>&#160;</p>
<p>This last definition might seem a bit strange to you, but the “image” of this is the following: a nowhere dense set is literally a set which is not dense anywhere &#8212; but what does that mean?&#160; Density isn’t usually considered a local property.&#160; How do we usually check density, though?&#160; We take the closure of the set and if it’s the whole space then we say the set is dense.&#160; If we wanted to make this more “local”, what we could say is that we don’t get any neighborhoods of the whole space.&#160; This is the same as saying the closure of our subset <em>has no open neighborhoods inside of it</em> or that it has empty interior.&#160; This givers us the first definition.&#160; The second is a direct consequence which is sometimes more useful to think about depending on your original subset.</p>
<p>&#160;</p>
<p><strong>Example.</strong>&#160; We have <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D%5Csubseteq+%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}&#92;subseteq {&#92;mathbb R}' title='{&#92;mathbb Z}&#92;subseteq {&#92;mathbb R}' class='latex' /> with the standard topology.&#160; Is <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> nowhere dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />?&#160; Note that <img src='http://s0.wp.com/latex.php?latex=%5Cbar%7B%7B%5Cmathbb+Z%7D%7D+%3D+%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;bar{{&#92;mathbb Z}} = {&#92;mathbb Z}' title='&#92;bar{{&#92;mathbb Z}} = {&#92;mathbb Z}' class='latex' /> and this has empty interior.&#160; By the first definition, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> must be nowhere dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; If we wanted to use the second definition, we could say that the compliment of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> is just everything but the integers; but the closure of this is <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> which means the compliment of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> is dense in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> giving us the same conclusion.&#160; This is not surprising, since the elements of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> are “pretty far apart” in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.</p>
<p>&#160;</p>
<p><strong>Example.&#160; </strong>Our favorite limit-point example, <img src='http://s0.wp.com/latex.php?latex=Y+%3D+%5C%7B%5Cfrac%7B1%7D%7Bk%7D%5C%2C%7C%5C%2C+k%5Cin+%7B%5Cmathbb+N%7D%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y = &#92;{&#92;frac{1}{k}&#92;,|&#92;, k&#92;in {&#92;mathbb N}&#92;}' title='Y = &#92;{&#92;frac{1}{k}&#92;,|&#92;, k&#92;in {&#92;mathbb N}&#92;}' class='latex' /> is a subset of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; Is it nowhere dense?&#160; Using the first definition, the closure is just <img src='http://s0.wp.com/latex.php?latex=Y%5Ccup+%5C%7B0%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y&#92;cup &#92;{0&#92;}' title='Y&#92;cup &#92;{0&#92;}' class='latex' /> which has empty interior (why?).&#160; With the second definition, the compliment of <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> has closure equal to <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> and so it is dense.&#160; In either case, this proves that <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> is nowhere dense in the reals.</p>
<p>&#160;</p>
<p><strong>Example.&#160; </strong>The ball <img src='http://s0.wp.com/latex.php?latex=%280%2C1%29%5Csubseteq+%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(0,1)&#92;subseteq {&#92;mathbb R}' title='(0,1)&#92;subseteq {&#92;mathbb R}' class='latex' />.&#160; The closure of this set is <img src='http://s0.wp.com/latex.php?latex=%5B0%2C1%5D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='[0,1]' title='[0,1]' class='latex' /> which has interior equal to <img src='http://s0.wp.com/latex.php?latex=%280%2C1%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(0,1)' title='(0,1)' class='latex' />.&#160; Therefore, this set is not nowhere dense.&#160; That’s a bit sad.&#160; But you can see that this set really is “somewhere dense” visually.</p>
<p>&#160;</p>
<p><strong>Example.&#160; </strong>The Cantor set is closed (there are a number of cute ways to prove this) so to show it is nowhere dense in <img src='http://s0.wp.com/latex.php?latex=%5B0%2C1%5D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='[0,1]' title='[0,1]' class='latex' /> it suffices to show that it has empty interior by the first definition.&#160; Prove it!</p>
<p>&#160;</p>
<p>You may have been surprised with the last example, or even the <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B1%7D%7Bk%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;frac{1}{k}' title='&#92;frac{1}{k}' class='latex' /> example.&#160; For the latter one, it seems like the points are really “getting close” to 0, so maybe some density should occur; it’s not the case, though!&#160; For the Cantor set, many points in this set can be “very close” to one-another so it is a bit surprising that this set is not dense anywhere.&#160; If one goes through the construction slowly, you’ll see why the points are “just far enough apart” to reasonably be considered (that is, intuitively considered) nowhere dense.</p>
<p>&#160;</p>
<h1>The Theorem.</h1>
<p>Why would we ever care about nowhere dense sets?&#160; Well, they’re kind of crappy in the following sense: even if we unioned a countable number of nowhere dense subsets together, we could never recover the original set.&#160; An analogy from anthropology would go like this: we might be able to find tons of copies of some ancient book, but if each of them are missing a whole lot (nowhere dense) then even combining them all together we can’t recover the original manuscript.&#160; </p>
<p>&#160;</p>
<p>Oh.&#160; And why do jigsaw puzzle makers make each of the puzzle pieces look like that?</p>
<p> <img style="display:block;float:none;margin-left:auto;margin-right:auto;" alt="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jigsaw_Puzzle.svg/641px-Jigsaw_Puzzle.svg.png" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jigsaw_Puzzle.svg/641px-Jigsaw_Puzzle.svg.png" width="240" height="180" />
<p>Because if they made them nowhere dense, we would never be able to finish the puzzle.&#160; Buh-dum-tsh.&#160; </p>
<p>&#160;</p>
<p><strong>Theorem (Baire Category Theorem).&#160; </strong>A non-empty complete metric space is not the countable union of nowhere dense sets.</p>
<p>&#160;</p>
<p>This shouldn’t be too scary to you at this point.&#160; Let’s do some immediate consequence examples.</p>
<p>&#160;</p>
<p><strong>Example.&#160; </strong>Do you think we could union a countable number of things that look like <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> together and get something like the real numbers?&#160; That is, maybe we could take</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D+%3D+%5C%7B%5Cdots%2C+-1%2C0%2C1%2C2%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z} = &#92;{&#92;dots, -1,0,1,2,&#92;dots&#92;}' title='{&#92;mathbb Z} = &#92;{&#92;dots, -1,0,1,2,&#92;dots&#92;}' class='latex' /></p>
</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D+%2B+%5Cfrac%7B1%7D%7B2%7D+%3D+%5C%7B%5Cdots%2C+-%5Cfrac%7B1%7D%7B2%7D%2C+%5Cfrac%7B1%7D%7B2%7D%2C+%5Cfrac%7B3%7D%7B2%7D%2C+%5Cfrac%7B5%7D%7B2%7D%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z} + &#92;frac{1}{2} = &#92;{&#92;dots, -&#92;frac{1}{2}, &#92;frac{1}{2}, &#92;frac{3}{2}, &#92;frac{5}{2},&#92;dots&#92;}' title='{&#92;mathbb Z} + &#92;frac{1}{2} = &#92;{&#92;dots, -&#92;frac{1}{2}, &#92;frac{1}{2}, &#92;frac{3}{2}, &#92;frac{5}{2},&#92;dots&#92;}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D+%2B+%5Cfrac%7B1%7D%7B3%7D+%3D+%5C%7B%5Cdots%2C+-%5Cfrac%7B2%7D%7B3%7D%2C+%5Cfrac%7B1%7D%7B3%7D%2C+%5Cfrac%7B4%7D%7B3%7D%2C+%5Cfrac%7B7%7D%7B3%7D%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z} + &#92;frac{1}{3} = &#92;{&#92;dots, -&#92;frac{2}{3}, &#92;frac{1}{3}, &#92;frac{4}{3}, &#92;frac{7}{3},&#92;dots&#92;}' title='{&#92;mathbb Z} + &#92;frac{1}{3} = &#92;{&#92;dots, -&#92;frac{2}{3}, &#92;frac{1}{3}, &#92;frac{4}{3}, &#92;frac{7}{3},&#92;dots&#92;}' class='latex' /></p>
<p>and so on, and union them all together to make <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; </p>
<p>Nope.&#160; The BCT says to not even try.&#160; Each of these translates of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> is nowhere dense, so a countable union of them would not get you <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.</p>
<p>&#160;</p>
<p><strong>Non-Example.&#160; </strong>What if we did the same thing as above, but we wanted to union them all together to get <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' />, the rationals.&#160; What would Baire say about that?&#160; Probably, “Don’t use my theorem with this, because <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> isn’t a complete metric space.”</p>
<p>&#160;</p>
<p><strong>Non-Example.&#160; </strong>What if we tried the same thing with the <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Z}' title='{&#92;mathbb Z}' class='latex' /> translates above as subsets of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />, but we union them all and then union that with the irrational numbers.&#160; In this case, too, we can’t use Baire, because the irrational numbers are actually dense in the reals; the BCT doesn’t say anything about unions with dense subsets.</p>
<p>&#160;</p>
<p><strong>Example.&#160; </strong>What if we have a complete metric space with no isolated points?&#160; Can it be countable?</p>
<p>(Recall, an isolated point is one which has a neighborhood not containing any other point of the space.&#160; For example, if we took <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%5C%7D%5Ccup+%5B1%2C2%5D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{0&#92;}&#92;cup [1,2]' title='&#92;{0&#92;}&#92;cup [1,2]' class='latex' /> in the subspace topology of the reals, then <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{0&#92;}' title='&#92;{0&#92;}' class='latex' /> is an isolated point of this subspace since it, itself, is open and it contains no other point of the subspace.)&#160; </p>
<p>In this case, we can cleverly use the BCT to show that every complete metric space with no isolated points is uncountable.&#160; Suppose it were countable.&#160; Then every point of the space is nowhere dense (!&#160; Why is this the case?&#160; What is the closure of a point?&#160; What is its interior?&#160; Does this argument show why we cannot have isolated points?).&#160; But since our space is countable, it is the countable union of its points, each of which is nowhere dense.&#160; Baire would have a real problem with that.&#160; This contradicts BCT, so such a space must be uncountable.</p>
<p>&#160;</p>
<h1>Why is it called the “Category” theorem? </h1>
<p>This “category” isn’t the same category as in category theory.&#160; The term comes from the original language that the theorem was stated in.&#160; It’s a bit ugly, so I’ve yet to mention it, but I might as well spell it out for you now:</p>
<ul>
<li>We call a set <strong>of</strong> <strong>First Category </strong>if it can be written as a countable union of nowhere dense sets.&#160; This is also called a <em>meagre </em>set.&#160; (Amusingly, the meagre is also the name of a fish.)&#160; Sometimes this is Americanized (that is, bastardized) and pronounced as “meager set” which would mean something like, “thin set” or “set having little substance” which is, intuitively, what this set should “look” like.</li>
<li>We call a set <strong>of Second Category</strong> if it is not of first category.&#160; </li>
</ul>
<p>&#160;</p>
<p>We also have what’s called a <strong>Baire Space</strong>, which is just a space where every non-empty open set is of second category.&#160; This means, intuitively, that an open set needs to have some “density” to it.&#160; The original Baire Category theorem stated that every complete metric space is a Baire Space.&#160; This is “almost” equivalent to what we have above; see below.</p>
<p>&#160;</p>
<h1>Other Formulations of the BCT.</h1>
<p>There are three distinct formulations of the BCT that are generally given (the texts&#160; I have in my office give at most two, but the third is a consequence of the first so this is perhaps why).&#160; Right above this, we give one of them.</p>
<p>&#160;</p>
<p><strong>BCT (1).&#160; </strong>Every complete metric space is a Baire space; that is, every open subset in a complete metric space is not the countable union of nowhere dense sets.</p>
<p><strong>BCT (3).&#160; </strong>Every complete metric space is not the union of nowhere dense sets.</p>
<p>&#160;</p>
<p>I list these together because it’s clear that the third is a consequence of the first.&#160; (These numbers are because the second BCT is actually called “the second BCT” in a few places.)</p>
<p>&#160;</p>
<p><strong>BCT (2).&#160; </strong>Every locally compact Hausdorff space is a Baire space.&#160; Recall that locally compact means that every point of our space has a compact neighborhood.</p>
<p>&#160;</p>
<p>Note that it’s not the case that the first BCT implies the second, and it’s not the case that the second implies the first.&#160; It would be nice if there were some meta-BCT that implied both of them, but when we write down exactly what we need for something to be a Baire space, we’re left with a couple of choices; if you’re interested in this, you should check out the proofs for both of these theorems and see where we’re using locally compact verses where we’re using complete.</p>
<h3>&#160;</h3>
<h1>A Surprising Result.</h1>
<p>One of the coolest results I’ve seen using the BCT (and, indeed, one of the coolest results I’ve seen perhaps in general) is the following.&#160; </p>
<p>&#160;</p>
<p>Maybe, first, it’s nice to ask the following question (that you can even ask to your friends!): what’s your idea of a “general” continuous function?&#160; That is, just think of the most generic continuous function you can.&#160; Visualize it.&#160; Maybe draw it.&#160; What do you have?&#160; Probably some sort of polynomial.&#160; (When I do this, I actually draw fifth degree polynomials most of the time.)&#160; Is this really so generic?</p>
<p>&#160;</p>
<p>First, let’s just define exactly what we mean by “generic.”</p>
<p>&#160;</p>
<p><strong>Definition.&#160; </strong>If <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> is a subset of some space <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' />, the compliment of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> is nowhere dense, and all points in <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> share some property, then we call this property <em>generic </em>of <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' />.&#160; </p>
<p>&#160;</p>
<p>This should be reasonable: something genertic should be representative of the whole.&#160; That is, if something is not generic, then it should not happen very often; in our language, the set of non-generic things should be nowhere dense.&#160; </p>
<p>&#160;</p>
<p><strong>Theorem (Banach, Mazurkiewicz, 1931).&#160; </strong>The generic (in the sense of the above definition) continuous function on a compact interval (that is, <img src='http://s0.wp.com/latex.php?latex=f%5Cin+C%5E%7B0%7D%28%5Ba%2Cb%5D%2C%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='f&#92;in C^{0}([a,b],{&#92;mathbb R}' title='f&#92;in C^{0}([a,b],{&#92;mathbb R}' class='latex' />)) is nowhere differentiable, and not monotone on any subinterval of <img src='http://s0.wp.com/latex.php?latex=%5Ba%2Cb%5D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='[a,b]' title='[a,b]' class='latex' />.&#160; </p>
<p>&#160;</p>
<p>Just think about that for a second.&#160; Let it sink in.&#160; Nowhere differentiable is strange enough; we can (and will) use the BCT to talk about a nowhere differentiable function.&#160; But, what’s more, it’s not monotone on <em>any subinterval, no matter how small</em>.&#160; And, yes, this function is generic.&#160; What.</p>
<p>&#160;</p>
<p>As a note, somewhat strangely, because of the above definition of “generic” it is entirely possible to have two different kinds of “generic” things representing some space.&#160; The definition doesn’t say anything about the generic property being unique and, in general, it isn’t. </p>
<p>&#160;</p>
<p>&#160;</p>
<h3>&#160;</h3>
<h1>BCT in Functional Analysis.</h1>
<p>to do.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1297&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2012/01/05/baire-category-theorem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>

		<media:content url="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jigsaw_Puzzle.svg/641px-Jigsaw_Puzzle.svg.png" medium="image">
			<media:title type="html">https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jigsaw_Puzzle.svg/641px-Jigsaw_Puzzle.svg.png</media:title>
		</media:content>
	</item>
		<item>
		<title>Teaching the Baire Category Theorem in an Intro Point-set Course: a mini-rant.</title>
		<link>http://dyinglovegrape.wordpress.com/2012/01/05/teaching-the-baire-category-theorem-in-an-intro-point-set-course-a-mini-rant/</link>
		<comments>http://dyinglovegrape.wordpress.com/2012/01/05/teaching-the-baire-category-theorem-in-an-intro-point-set-course-a-mini-rant/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 10:45:27 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[point-set topology]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1295</guid>
		<description><![CDATA[Whenever I talk to students who have had basic point-set topology, I’m not surprised if they haven’t seen the BCT; it’s near the end of the point-set part of Munkres, and one natural stopping point for a semester-long point-set class is Urysohn’s lemma which is done before BCT. I don’t remember learning the BCT in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1295&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whenever I talk to students who have had basic point-set topology, I’m not surprised if they haven’t seen the BCT; it’s near the end of the point-set part of Munkres, and one natural stopping point for a semester-long point-set class is Urysohn’s lemma which is done before BCT. I don’t remember learning the BCT in point-set when I took it and it wasn’t until Functional Analysis that I had to study it again. This is a shame for a few reasons, but I wanted to point out just two.</p>
</p>
<ol>
<li><strong>This theorem is able to be proved (or at least stated) after complete metric spaces are defined and would take only around one lecture to do with applications.</strong> Depending on the speed of the professor and the way one works through the book, one probably gets to metric spaces around the middle of the semester. The students have had analysis, and are, therefore, familiar with completeness (or, at worst, they’re comfortable with Cauchy sequences!) so it is not difficult to define complete metric spaces. What else would we need? Nowhere-dense sets. That’s all. </li>
<li><strong>This can be a great “visual” theorem in some spaces.</strong> One common problem point-set topology students seem to have is that they will work through definitions without developing any kind of intuition behind what something is (eg, limit points). Therefore, it’s nice to learn properties of spaces we know and love. The BCT is easily applied to the reals, the irrationals, the rationals, and the cantor set. It also is a great brain-stretching exercise to think about how “close” points can be in a nowhere dense set on the real line.</li>
</ol>
<p>This may be a non-issue for those of you whose point-set class included this, but I wanted to point is out nonetheless. I would go as far as saying that this is “more important” to cover in a first course in point-set than the proof of Urysohn’s lemma [which is the first “deep” result in Munkres]. Of course, the proof is important, but in an introductory course I feel that proving Urysohn’s lemma for metric spaces and stating it for general spaces is a better way to go. Feel free to disagree and yell at me!</p>
<p>&#160;</p>
<p><strong>Edit: </strong>This rant used to be part of the BCT post I made recently, but because it’s not really mathematics and more about teaching I decided to post it on its own so I don’t have to subject everyone to reading my rants.&#160; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1295&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2012/01/05/teaching-the-baire-category-theorem-in-an-intro-point-set-course-a-mini-rant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Uncountable Subset A of [0,1] with A &#8211; A empty.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/12/20/uncountable-subset-a-of-01-with-a-a-empty/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/12/20/uncountable-subset-a-of-01-with-a-a-empty/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 01:14:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[cute problems]]></category>
		<category><![CDATA[cute proofs]]></category>
		<category><![CDATA[point-set topology]]></category>
		<category><![CDATA[undergrad problems]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1277</guid>
		<description><![CDATA[I’m going through a few books so that I can start doing lots and lots of problems to prepare for my quals.&#160; I’ll be posting some of the “cuter” problems. &#160; Here’s one that, on the surface, looks strange.&#160; But ultimately, the solution is straightforward. &#160; Problem.&#160; Find an uncountable subset such that has empty [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1277&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’m going through a few books so that I can start doing lots and lots of problems to prepare for my quals.&#160; I’ll be posting some of the “cuter” problems. </p>
<p>&#160;</p>
<p>Here’s one that, on the surface, looks strange.&#160; But ultimately, the solution is straightforward. </p>
<p>&#160;</p>
<p><strong>Problem.</strong>&#160; Find an uncountable subset <img src='http://s0.wp.com/latex.php?latex=A%5Csubseteq+%5B0%2C1%5D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A&#92;subseteq [0,1]' title='A&#92;subseteq [0,1]' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=A+-+A+%3D+%5C%7Ba+-+b%5C%2C%5Cmid%5C%2C%5C%2Ca%2Cb%5Cin+A%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A = &#92;{a - b&#92;,&#92;mid&#92;,&#92;,a,b&#92;in A&#92;}' title='A - A = &#92;{a - b&#92;,&#92;mid&#92;,&#92;,a,b&#92;in A&#92;}' class='latex' /> has empty interior.</p>
<p>&#160;</p>
<p><span id="more-1277"></span>
<p>&#160;</p>
<p><strong>Solution</strong>.&#160; What’s our favorite empty interior set?&#160; That’s right, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' />.&#160; It would be really nice if we could make <img src='http://s0.wp.com/latex.php?latex=A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A' title='A - A' class='latex' /> equal to something like <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}' title='{&#92;mathbb Q}' class='latex' />.&#160; So, what should we do? </p>
<p>Let’s make an equivalence class.&#160; Let’s say that <img src='http://s0.wp.com/latex.php?latex=a+%5Csim+b&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='a &#92;sim b' title='a &#92;sim b' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=a+-+b%5Cin+%7B%5Cmathbb+Q%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='a - b&#92;in {&#92;mathbb Q}' title='a - b&#92;in {&#92;mathbb Q}' class='latex' />.&#160; Each equivalence class must be countable (why?) and so we must have an uncountable number of equivalence classes.&#160; (Here’s where the AoC comes in.)&#160; Pick one element from each class and let this be our <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' />. </p>
<p>Note now that <img src='http://s0.wp.com/latex.php?latex=A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A' title='A - A' class='latex' /> contains only elements which are irrational, and hence is a subset of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Q%7D%5E%7BC%7D%5Ccup+%5C%7B0%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb Q}^{C}&#92;cup &#92;{0&#92;}' title='{&#92;mathbb Q}^{C}&#92;cup &#92;{0&#92;}' class='latex' />, i.e., it is contained in the irrationals.&#160; This is not too hard to prove; suppose there was a rational number <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='p' title='p' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A' title='A - A' class='latex' />; then we&#8217;d have that there exists <img src='http://s0.wp.com/latex.php?latex=q%2Cr%5Cin+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='q,r&#92;in A' title='q,r&#92;in A' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=q+-+r+%3D+p&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='q - r = p' title='q - r = p' class='latex' /> or, in other words, the difference of <img src='http://s0.wp.com/latex.php?latex=q&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='q' title='q' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=r&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='r' title='r' class='latex' /> is a rational.&#160; This would imply they are in the same equivalence class.&#160; Bam.</p>
<p>It suffices now to show that if some set <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' /> has empty interior, and <img src='http://s0.wp.com/latex.php?latex=Y%5Csubseteq+X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y&#92;subseteq X' title='Y&#92;subseteq X' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='Y' title='Y' class='latex' /> has empty interior.&#160; This is straightforward.&#160; That completes the problem.&#160;&#160; </p>
<p>&#160;</p>
<p><strong>Edit: </strong>Thanks to Vipul for pointing out that I made an error in saying that <img src='http://s0.wp.com/latex.php?latex=A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A' title='A - A' class='latex' /> is a subset of the rationals.</p>
<p><strong>Edit Edit:&#160; </strong>I woke up in a cold sweat because I realized I had left something out here!&#160; The elements of <img src='http://s0.wp.com/latex.php?latex=A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A - A' title='A - A' class='latex' /> aren&#8217;t JUST the irrationals, there is also 0 inside of it (since, in particular, <img src='http://s0.wp.com/latex.php?latex=a-a%5Cin+A+-+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='a-a&#92;in A - A' title='a-a&#92;in A - A' class='latex' /> for any <img src='http://s0.wp.com/latex.php?latex=a%5Cin+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='a&#92;in A' title='a&#92;in A' class='latex' />).&#160; This complicates things only a little bit; the last paragraph, in particular, doesn&#8217;t apply directly, but it reduces our workload: we only need to show that <img src='http://s0.wp.com/latex.php?latex=%28-%5Cepsilon%2C+%5Cepsilon%29%5Ccap+%28%7B%5Cmathbb+Q%7D%5E%7BC%7D%5Ccup+%5C%7B0%5C%7D%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(-&#92;epsilon, &#92;epsilon)&#92;cap ({&#92;mathbb Q}^{C}&#92;cup &#92;{0&#92;})' title='(-&#92;epsilon, &#92;epsilon)&#92;cap ({&#92;mathbb Q}^{C}&#92;cup &#92;{0&#92;})' class='latex' /> has empty interior.&#160; Of course, this is not very hard; if we supposed some open ball was inside of this, it would need to contain another rational number besides 0.&#160; That&#8217;s a contradiction.&#160; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1277&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/12/20/uncountable-subset-a-of-01-with-a-a-empty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>11, 111, 1111, &#8230; Not a Square.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/12/18/11-111-1111-not-a-square/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/12/18/11-111-1111-not-a-square/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 22:21:54 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[cute proofs]]></category>
		<category><![CDATA[exercises]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[undergrad problems]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1272</guid>
		<description><![CDATA[I just saw this problem in a book of algebra problems, and I thought it was nice given one of the previous posts I had up here. &#160; Problem.&#160; Show that 11, 111, 1111, 11111, … are not squares. &#160; You ought to think about this for a bit.&#160; I started by supposing they were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1272&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just saw this problem in a book of algebra problems, and I thought it was nice given one of the previous posts I had up here. </p>
<p>&#160;</p>
<p><strong>Problem.&#160; </strong>Show that 11, 111, 1111, 11111, … are not squares.</p>
<p>&#160;</p>
<p>You ought to think about this for a bit.&#160; I started by supposing they were squares and attempting to work it out like that; unfortunately, there are some strange things that happen when we get bigger numbers.&#160; But.&#160; You should see a nice pattern with the last two digits.&#160; Click below for the solution, but only after you’ve tried it!</p>
<p><span id="more-1272"></span>
<p><strong></strong></p>
<p><strong>Solution.</strong>&#160; Here’s a funky way to do it.&#160; Note that any odd square modulo 4 is equal to 1.&#160; Here’s how to see that:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%282n+%2B+1%29%5E%7B2%7D+%3D+4n%5E2+%2B+4n+%2B+1+%3D+4%28n%5E2+%2B+n%29+%2B+1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(2n + 1)^{2} = 4n^2 + 4n + 1 = 4(n^2 + n) + 1' title='(2n + 1)^{2} = 4n^2 + 4n + 1 = 4(n^2 + n) + 1' class='latex' /></p>
<p>Now we have some nice tool to use: specifically, we can just show that none of these 11…111’s are 1 modulo 4.&#160; Sounds intimidating, but it’s actually not so bad. </p>
<p>Let’s write these 11…111’s as a sum.&#160; This is</p>
<p><img src='http://s0.wp.com/latex.php?latex=100%5Cdots+000+%2B+%5Ccdots+%2B+1000+%2B+100+%2B+10+%2B+1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='100&#92;dots 000 + &#92;cdots + 1000 + 100 + 10 + 1' title='100&#92;dots 000 + &#92;cdots + 1000 + 100 + 10 + 1' class='latex' /></p>
<p>and note that 4 divides all but <img src='http://s0.wp.com/latex.php?latex=10+%2B+1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='10 + 1' title='10 + 1' class='latex' /> (this is also how we show the trick for divisibility by 4).&#160; Note last that we have that 11 is 3 modulo 4.&#160; Hence, we cannot have any of these numbers be a square.</p>
<p>&#160;</p>
<p><strong>Better Problem.</strong>&#160; Show that ANY integer ending in 11 is not a square.</p>
<p>&#160;</p>
<p><strong>Solution.</strong>&#160; Exact same process.</p>
<p>&#160;</p>
<p>Perhaps this is not breath-taking to some of you (especially those of you who have taken number theory) but it is an interesting way to use modular arithmetic to prove things in the integers.&#160; If anyone has any other proofs of this (that are fundamentally different than the one above), leave them in the comments: I’d be interested to know!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1272&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/12/18/11-111-1111-not-a-square/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Urysohn&#8217;s Lemma for Metric Spaces.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/11/20/urysohns-lemma-for-metric-spaces/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/11/20/urysohns-lemma-for-metric-spaces/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 22:49:33 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[exercises]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[point-set topology]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/?p=1269</guid>
		<description><![CDATA[After proving this &#34;Deep Result&#34; [cf. Munkres] a professor will (hopefully) say something like: &#34;Yes, the proof is important, but what does this theorem mean?&#160; And what does it mean for spaces which are sufficiently nice, like metric spaces?&#34; Let&#8217;s state the result just so we&#8217;re all on the same page. &#160; Theorem.&#160;&#160; The topological [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1269&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After proving this &quot;Deep Result&quot; [cf. Munkres] a professor will (hopefully) say something like: &quot;Yes, the proof is important, but what does this theorem mean?&#160; And what does it mean for spaces which are sufficiently nice, like metric spaces?&quot;</p>
<p>Let&#8217;s state the result just so we&#8217;re all on the same page.</p>
<p>&#160;</p>
<p><strong>Theorem.</strong>&#160;&#160; The topological space <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' /> is normal (that is, every pair of disjoint closed subsets <img src='http://s0.wp.com/latex.php?latex=A%2C+B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A, B' title='A, B' class='latex' /> can separated by disjoint neighborhoods) if and only if any two disjoint closed sets can be separated by a function.</p>
<p>&#160;</p>
<p>The proof of this is not obvious.&#160; In fact, it is quite involved.&#160; But if <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='X' title='X' class='latex' /> happens to be a metric space, we can make the proof significantly easier by using a function that is similar to a distance function with a few minor modifications.&#160; I call this function <em>the standard Urysohn function for metric spaces</em> for lack of a better (or shorter) name.&#160; The function is as follows:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+f%28x%29+%3D+%5Cfrac%7Bd%28x%2CA%29%7D%7Bd%28x%2CA%29+%2B+d%28x%2CB%29%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;displaystyle f(x) = &#92;frac{d(x,A)}{d(x,A) + d(x,B)}' title='&#92;displaystyle f(x) = &#92;frac{d(x,A)}{d(x,A) + d(x,B)}' class='latex' /></p>
<p>but before proving this theorem in the metric space setting, let&#8217;s look at this function.&#160; If <img src='http://s0.wp.com/latex.php?latex=A%2CB&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A,B' title='A,B' class='latex' /> are disjoint, then it is clear that the denominator is non-zero (why?) so this is defined everywhere.&#160; If <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x&#92;in A' title='x&#92;in A' class='latex' /> we have that this function evaluates to 0.&#160; If <img src='http://s0.wp.com/latex.php?latex=x%5Cin+B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x&#92;in B' title='x&#92;in B' class='latex' /> then we have that this function evaluates to 1.&#160; And the function (since the distance is always non-negative) achieves values in <img src='http://s0.wp.com/latex.php?latex=%280%2C1%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='(0,1)' title='(0,1)' class='latex' /> for every point not in <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='B' title='B' class='latex' /> (convince yourself that this function is continuous and only achieves the values 0 and 1 if the point is in either <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='B' title='B' class='latex' /> respectively).&#160; This function, therefore, separates <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='B' title='B' class='latex' />.&#160; </p>
<p>The next thing you should think about is: what do the preimages of <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='f' title='f' class='latex' /> look like?&#160; Draw some pictures!&#160; Here&#8217;s some pictures to start you off to get the idea.&#160; The first is just in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> and the second is in the real plane.&#160; Both have the standard topology.</p>
<p>&#160;</p>
<p><a href="http://dyinglovegrape.files.wordpress.com/2011/11/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;border-top:0;border-right:0;padding-top:0;margin:0 auto;" title="image" border="0" alt="image" src="http://dyinglovegrape.files.wordpress.com/2011/11/image_thumb.png?w=240&#038;h=102" width="240" height="102" /></a></p>
<p>This one is potentially not to scale, but you&#8217;ll see that we essentially have a linear relation (since the sum in the denominator will always be 1 in this case) except when we start looking at points that are less than all the points in <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> or greater than all the points in <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='B' title='B' class='latex' />.&#160; What happens in those cases?</p>
<p>&#160;</p>
<p><a href="http://dyinglovegrape.files.wordpress.com/2011/11/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;border-top:0;border-right:0;padding-top:0;margin:0 auto;" title="image" border="0" alt="image" src="http://dyinglovegrape.files.wordpress.com/2011/11/image_thumb1.png?w=240&#038;h=134" width="240" height="134" /></a></p>
<p>I&#8217;ve left this &quot;face&quot; as an exercise because when I did it I was kind of excited about the result.&#160; What do the preimages look like?&#160; Does this look like something you&#8217;ve seen before; maybe in physics?&#160; Could you modify the Urysohn equation above to make it seem MORE like something in physics?&#160; </p>
<p>&#160;</p>
<p>So now that you&#8217;ve seen these pre-images, it should be relatively clear how to create neighborhoods around each of the open sets.&#160; It still takes a bit of proof, but it&#8217;s nowhere near the difficulty of the standard Urysohn&#8217;s. </p>
<p>&#160;</p>
<p>I encourage you, further, to draw some pictures.&#160; My rule of thumb is: draw at least five different pictures; four easy ones and a hard one.&#160; Find out where the preimages are in each of these.&#160; Remember, too, that not every metric space looks the same; what would this look like, for example, in the taxi-cab space?&#160; Or in some product space?&#160; Or in the discrete space…?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1269&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/11/20/urysohns-lemma-for-metric-spaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>

		<media:content url="http://dyinglovegrape.files.wordpress.com/2011/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://dyinglovegrape.files.wordpress.com/2011/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Factorials and Exponentials.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/11/06/factorials-and-exponentials/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/11/06/factorials-and-exponentials/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 06:02:33 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[discrete math]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/2011/11/06/factorials-and-exponentials/</guid>
		<description><![CDATA[I&#8217;ve been working on a problem (here is a partial paper with some ideas) that&#8217;s really easy for any calculus student to understand but quite difficult for even wolfram alpha to work out some cases.&#160; Here&#8217;s the idea: We know that .&#160; It&#8217;s not hard to reason this out (there are some relatively obvious inequalities, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1260&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a problem (<a href="https://docs.google.com/open?id=0B9wFSt9-2zoONDM0NjRjMTctOWEwZi00YjAwLTk1NWYtNzliNGZkYzNlMzA2" target="_blank">here is a partial paper with some ideas</a>) that&#8217;s really easy for any calculus student to understand but quite difficult for even wolfram alpha to work out some cases.&#160; Here&#8217;s the idea:</p>
<p>We know that <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cdfrac%7Be%5En%7D%7Bn%21%7D+%3D+0&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^n}{n!} = 0' title='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^n}{n!} = 0' class='latex' />.&#160; It&#8217;s not hard to reason this out (there are some relatively obvious inequalities, etc.), but I wanted to know what happened if we considered something like:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cdfrac%7Be%5E%7Be%5En%7D%7D%7Bn%21%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^{e^n}}{n!}' title='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^{e^n}}{n!}' class='latex' />.</p>
<p>It turns out, this goes to infinity.&#160; Maybe this is not so surprising.&#160; But, to balance this out, I thought maybe I could add another factorial on the bottom.&#160; What about </p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cdfrac%7Be%5E%7Be%5En%7D%7D%7B%28n%21%29%21%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^{e^n}}{(n!)!}' title='&#92;lim_{n&#92;to&#92;infty}&#92;dfrac{e^{e^n}}{(n!)!}' class='latex' /></p>
<p>where this double factorial is just <img src='http://s0.wp.com/latex.php?latex=n%21&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n!' title='n!' class='latex' /> with another factorial at the end.&#160; It turns out, this one goes to 0.&#160; </p>
<p>&#160;</p>
<p>The problem here is that after <img src='http://s0.wp.com/latex.php?latex=%28%28n%21%29%21%29%21&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='((n!)!)!' title='((n!)!)!' class='latex' />, Mathematica doesn&#8217;t seem to be able to handle the sheer size of these numbers.&#160; Consequently, I only have a few values for this.&#160; I&#8217;ve included everything I have in a google-doc PDF (the only way I can think to share this PDF), and I&#8217;m looking for suggestions.&#160; Here&#8217;s some things I thought of:</p>
<p>&#160;</p>
<ul>
<li>Stirling&#8217;s formula.&#160; Unfortunately, this starts to get very complicated very quickly, and if you consider subbing it in for even <img src='http://s0.wp.com/latex.php?latex=%28%28n%21%29%21%29%21&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='((n!)!)!' title='((n!)!)!' class='latex' /> it can take up a good page of notes.&#160; It also doesn&#8217;t reduce as nicely as I&#8217;d like.</li>
<li>Considering the Gamma function.&#160; It may be easier to work with compositions of the gamma function since it is not discrete and we may be able to use some sort of calculus-type things on it.</li>
<li>Number Crunching.&#160; For each of these cases, it seems like there is a point where either the numerator or the denominator &quot;clearly&quot; trumps over the other; this is not the &quot;best&quot; method to use, but it will give me some idea of which values potentially go to infinity and which go to zero.</li>
<li>Asymptotics.&#160; I&#8217;m not so good at discrete math or asymptotics, so there may be some nice theorems (using convexity, maybe?) in that field that I&#8217;ve just never seen before.&#160; Especially things like: if <img src='http://s0.wp.com/latex.php?latex=f%5Csim+g&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='f&#92;sim g' title='f&#92;sim g' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=f%5Ccirc+f+%5Csim+g%5Ccirc+g&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='f&#92;circ f &#92;sim g&#92;circ g' title='f&#92;circ f &#92;sim g&#92;circ g' class='latex' /> under such-and-such a condition.</li>
</ul>
<p>&#160;</p>
<p>Feel free to comment below if you think of anything.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1260&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/11/06/factorials-and-exponentials/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Nested Kind of Topology.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/10/16/nested-kind-of-topology/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/10/16/nested-kind-of-topology/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 03:07:08 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[examples]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[point-set topology]]></category>
		<category><![CDATA[undergrad problems]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/2011/10/16/nested-kind-of-topology/</guid>
		<description><![CDATA[In the last post, I posted a topology on where the open sets were You can check that this is, in fact, a topology and it, in fact, has exactly elements.&#160; But this is also a really nice topology for intro-topology students.&#160; Why?&#160; Because it has some strange properties which are easy to get your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1259&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last post, I posted a topology on <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C3%2C%5Cdots%2C+k-1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,3,&#92;dots, k-1&#92;}' title='&#92;{1,2,3,&#92;dots, k-1&#92;}' class='latex' /> where the open sets were</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B%5Cemptyset+%2C+%5C%7B1%5C%7D%2C+%5C%7B1%2C2%5C%7D%2C+%5C%7B1%2C2%2C3%5C%7D%2C%5Cdots%2C+%5C%7B1%2C2%2C3%2C%5Cdots%2C+k-1%5C%7D%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{&#92;emptyset , &#92;{1&#92;}, &#92;{1,2&#92;}, &#92;{1,2,3&#92;},&#92;dots, &#92;{1,2,3,&#92;dots, k-1&#92;}&#92;}' title='&#92;{&#92;emptyset , &#92;{1&#92;}, &#92;{1,2&#92;}, &#92;{1,2,3&#92;},&#92;dots, &#92;{1,2,3,&#92;dots, k-1&#92;}&#92;}' class='latex' /></p>
<p>You can check that this is, in fact, a topology and it, in fact, has exactly <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='k' title='k' class='latex' /> elements.&#160; But this is also a really nice topology for intro-topology students.&#160; Why?&#160; Because it has some strange properties which are easy to get your hands on and prove!&#160; Let&#8217;s show some of these.&#160; For the sake of brevity, let&#8217;s call this topology <img src='http://s0.wp.com/latex.php?latex=P&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='P' title='P' class='latex' />.</p>
<p>&#160;</p>
<p><strong><img src='http://s0.wp.com/latex.php?latex=P&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='P' title='P' class='latex' /> is not Hausdorff.</strong></p>
<p>This is easy to see.&#160; Pick the elements 1 and 2.&#160; The only set which contains 1 but not 2 is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1&#92;}' title='&#92;{1&#92;}' class='latex' />, but there is no set which contains 2 but not 1.&#160; </p>
<p>&#160;</p>
<p><strong><img src='http://s0.wp.com/latex.php?latex=P&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='P' title='P' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=T_%7B0%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='T_{0}' title='T_{0}' class='latex' />.</strong></p>
<p>Two points are topologically indistinguishable if they have exactly the same neighborhoods; a <img src='http://s0.wp.com/latex.php?latex=T_%7B0%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='T_{0}' title='T_{0}' class='latex' /> space is one where each point is topologically <em>distinguishable</em>.&#160; It is trivial to check that this holds.</p>
<p>&#160;</p>
<p><strong><img src='http://s0.wp.com/latex.php?latex=P&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='P' title='P' class='latex' /> is connected.&#160; (!)</strong></p>
<p>This is somewhat surprising to me (especially because of how disjoint it &quot;seems&quot;!) but if we attempt to find a separation we find that it is impossible: every open set contains 1 except the empty set, so, in particular, no two open sets have trivial intersection unless one is empty.</p>
<p>&#160;</p>
<p><strong>A function <img src='http://s0.wp.com/latex.php?latex=f%3A%7B%5Cmathbb+R%7D%5Crightarrow+P&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='f:{&#92;mathbb R}&#92;rightarrow P' title='f:{&#92;mathbb R}&#92;rightarrow P' class='latex' /> is continuous if and only if the sets of all <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x' title='x' class='latex' /> which map to <img src='http://s0.wp.com/latex.php?latex=n%5Cin+%5C%7B1%2C2%2C3%2C%5Cdots%2C+k-1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n&#92;in &#92;{1,2,3,&#92;dots, k-1&#92;}' title='n&#92;in &#92;{1,2,3,&#92;dots, k-1&#92;}' class='latex' /> are open (in the standard topology on <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' />.&#160; </strong></p>
<p>This is simply taking preimages.&#160; I mention it because actually DRAWING the function on the &quot;plane&quot; (where the &quot;x-axis&quot; is <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='{&#92;mathbb R}' title='{&#92;mathbb R}' class='latex' /> and the &quot;y-axis&quot; is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C3%2C%5Cdots%2C+k-1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,3,&#92;dots, k-1&#92;}' title='&#92;{1,2,3,&#92;dots, k-1&#92;}' class='latex' /> we get something which does not at all look continuous (unless it is constant &#8212;).&#160; This is perhaps a good exercise for intro topology students to work out so that they can see that not all continuous maps &quot;look&quot; continuous.&#160; Of course, there are many other ways to see this using other spaces.</p>
<p>&#160;</p>
<p><strong>Limits?</strong>&#160; What about the sequences in this set?&#160; Let&#8217;s remind ourselves what convergence is:&#160; <img src='http://s0.wp.com/latex.php?latex=%5C%7Bx_%7Bn%7D%5C%7D%5Crightarrow+x&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{x_{n}&#92;}&#92;rightarrow x' title='&#92;{x_{n}&#92;}&#92;rightarrow x' class='latex' /> if for every open set <img src='http://s0.wp.com/latex.php?latex=U&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='U' title='U' class='latex' /> containing <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x' title='x' class='latex' /> there is some <img src='http://s0.wp.com/latex.php?latex=N&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='N' title='N' class='latex' /> such that for all <img src='http://s0.wp.com/latex.php?latex=n%5Cgeq+N&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n&#92;geq N' title='n&#92;geq N' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=x_%7Bn%7D+%5Cin+U&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='x_{n} &#92;in U' title='x_{n} &#92;in U' class='latex' />.&#160; Note then that:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C1%2C1%2C1%2C1%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,1,1,1,1,&#92;dots&#92;}' title='&#92;{1,1,1,1,1,&#92;dots&#92;}' class='latex' /> converges to <img src='http://s0.wp.com/latex.php?latex=1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1' title='1' class='latex' />.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B2%2C2%2C2%2C2%2C2%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{2,2,2,2,2,&#92;dots&#92;}' title='&#92;{2,2,2,2,2,&#92;dots&#92;}' class='latex' /> converges to <img src='http://s0.wp.com/latex.php?latex=2&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='2' title='2' class='latex' />.</p>
<p>and so on.&#160; But then we have</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C1%2C2%2C1%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,1,2,1,&#92;dots&#92;}' title='&#92;{1,2,1,2,1,&#92;dots&#92;}' class='latex' /> which converges to 2, but not to 1 (why?).</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C3%2C1%2C2%2C3%2C%5Cdots%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,3,1,2,3,&#92;dots&#92;}' title='&#92;{1,2,3,1,2,3,&#92;dots&#92;}' class='latex' /> which converges to 3, but not to 2 or 1 (why?).</p>
<p>and so forth.&#160; In fact, if we have an infinite number of the numbers <img src='http://s0.wp.com/latex.php?latex=n_%7B1%7D%2C+n_%7B2%7D%2C+%5Cdots%2C+n_%7Br%7D%5Cin+%5C%7B1%2C2%2C%5Cdots%2C+k-1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n_{1}, n_{2}, &#92;dots, n_{r}&#92;in &#92;{1,2,&#92;dots, k-1&#92;}' title='n_{1}, n_{2}, &#92;dots, n_{r}&#92;in &#92;{1,2,&#92;dots, k-1&#92;}' class='latex' /> then this sequence will <em>only </em>converge to <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28n_%7B1%7D%2C+n_%7B2%7D%2C+%5Cdots%2C+n_%7Br%7D%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;max(n_{1}, n_{2}, &#92;dots, n_{r})' title='&#92;max(n_{1}, n_{2}, &#92;dots, n_{r})' class='latex' /> which is kind of a neat characterization.&#160; In fact, this takes care of most (all?) of the sequences.&#160; </p>
<p>&#160;</p>
<p><strong>Limit Points?</strong>&#160; A limit point <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='p' title='p' class='latex' /> of a subset <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> is a point such that for every open <img src='http://s0.wp.com/latex.php?latex=U&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='U' title='U' class='latex' /> containing <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='p' title='p' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=A+%5Ccap+%28U-%5C%7Bp%5C%7D%29+%5Cneq+%5Cemptyset&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A &#92;cap (U-&#92;{p&#92;}) &#92;neq &#92;emptyset' title='A &#92;cap (U-&#92;{p&#92;}) &#92;neq &#92;emptyset' class='latex' />.&#160; </p>
<p>Consider the subset <img src='http://s0.wp.com/latex.php?latex=A+%3D+%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A = &#92;{1&#92;}' title='A = &#92;{1&#92;}' class='latex' /> and let&#8217;s see if there are any limit points.&#160; What about 2?&#160; Well, we have that <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%5C%7D+-+%5C%7B2%5C%7D+%3D+%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2&#92;} - &#92;{2&#92;} = &#92;{1&#92;}' title='&#92;{1,2&#92;} - &#92;{2&#92;} = &#92;{1&#92;}' class='latex' /> so the intersection of this with <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> is nontrivial.&#160; Similarly, the other open sets containing 2 have nontrivial intersection with <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A' title='A' class='latex' /> which includes more than the element 2.&#160; What about 3?&#160; Same deal.&#160; And 4?&#160; Yes.&#160; So we can now ask: what&#8217;s the closure of <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1&#92;}' title='&#92;{1&#92;}' class='latex' />?&#160; </p>
<p>Consider <img src='http://s0.wp.com/latex.php?latex=A+%3D+%5C%7B1%2C2%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A = &#92;{1,2&#92;}' title='A = &#92;{1,2&#92;}' class='latex' /> and we will start looking at the element 3.&#160; Is 3 a limit point?&#160; For the same reasons above, it is.&#160; So what is the closure of this set?&#160; </p>
<p>Let&#8217;s be a little adventurous and ask what about <img src='http://s0.wp.com/latex.php?latex=A+%3D+%5C%7B1%2C+3%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A = &#92;{1, 3&#92;}' title='A = &#92;{1, 3&#92;}' class='latex' />.&#160; For the same reasons as above, <img src='http://s0.wp.com/latex.php?latex=4%2C5%2C6%5Cdots%2C+k-1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='4,5,6&#92;dots, k-1' title='4,5,6&#92;dots, k-1' class='latex' /> are all limit points, but what about 2?&#160; In fact, it is.</p>
<p>Last, (and this will complete our &quot;characterization&quot; of the closures of our subsets) what about <img src='http://s0.wp.com/latex.php?latex=A+%3D+%5C%7B2%2C3%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='A = &#92;{2,3&#92;}' title='A = &#92;{2,3&#92;}' class='latex' />.&#160; Clearly we will have <img src='http://s0.wp.com/latex.php?latex=4%2C+5%2C+6%2C+%5Cdots%2C+k-1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='4, 5, 6, &#92;dots, k-1' title='4, 5, 6, &#92;dots, k-1' class='latex' /> as limit points, but the odd one out is 1.&#160; And 1 is not a limit point (why not?).&#160; That&#8217;s a bit sad.&#160; So, taking the least element in the subset allows us to describe the closure: it&#8217;s the set of every element greater than or equal to it.</p>
<p>&#160;</p>
<p><strong>Closed sets.</strong>&#160; It&#8217;s a bit interesting to think up what sets we got from taking the closures of each subset, and then to just start with our open sets and take compliments.&#160; Do we get the same thing?&#160; Neato.</p>
<p>&#160;</p>
<p><strong>Compactness?&#160; </strong>A bit trivial in this case.&#160; Why?&#160; (Maybe extending to infinite things would make this cooler…)</p>
<p>&#160;</p>
<p><strong>Here&#8217;s something weird, too: </strong>what is a path in this space?&#160; What is a loop?&#160; How could we construct something like the fundamental group for this?&#160; Homology groups?&#160; To those with more experience, these questions might be easy; but it is not obvious to me (at least at this point!) how these constructions should go.&#160; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1259&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/10/16/nested-kind-of-topology/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Number of Elements in a Topology.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/10/14/number-of-elements-in-a-topology/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/10/14/number-of-elements-in-a-topology/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 08:28:39 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[examples]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[point-set topology]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/2011/10/14/number-of-elements-in-a-topology/</guid>
		<description><![CDATA[The following question came up today after a brief and somewhat unsatisfying talk I gave on the intuition behind topologies: &#160; Question: Given , can we construct a topology such that has exactly elements? &#160; The solution wasn&#8217;t obvious to me until I looked at the pattern of numbers on the back of a thing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1258&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following question came up today after a brief and somewhat unsatisfying talk I gave on the intuition behind topologies:</p>
<p>&#160;</p>
<p><strong>Question: </strong>Given <img src='http://s0.wp.com/latex.php?latex=n%5Cin+%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n&#92;in {&#92;mathbb N}' title='n&#92;in {&#92;mathbb N}' class='latex' />, can we construct a topology <img src='http://s0.wp.com/latex.php?latex=%5Ctau&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;tau' title='&#92;tau' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%5Ctau&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;tau' title='&#92;tau' class='latex' /> has exactly <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' /> elements?</p>
<p>&#160;</p>
<p>The solution wasn&#8217;t obvious to me until I looked at the pattern of numbers on the back of a thing of Dried Papaya Chunks.&#160; For <img src='http://s0.wp.com/latex.php?latex=n+%3D+1%2C+2&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n = 1, 2' title='n = 1, 2' class='latex' /> we can simply take <img src='http://s0.wp.com/latex.php?latex=%5Cemptyset&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;emptyset' title='&#92;emptyset' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1&#92;}' title='&#92;{1&#92;}' class='latex' /> to be our sets, but for <img src='http://s0.wp.com/latex.php?latex=n+%3D+k&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n = k' title='n = k' class='latex' /> we need to be a bit more clever.&#160; But not much more.&#160; Consider:</p>
<p>&#160;</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5C%7B%5Cemptyset+%2C%5C%7B1%5C%7D%2C%5C%7B1%2C2%5C%7D%2C%5C%7B1%2C2%2C3%5C%7D%2C%5Cdots+%5C%7B1%2C2%2C3%2C%5Cdots%2C+k-1%5C%7D%5C%7D.&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{&#92;emptyset ,&#92;{1&#92;},&#92;{1,2&#92;},&#92;{1,2,3&#92;},&#92;dots &#92;{1,2,3,&#92;dots, k-1&#92;}&#92;}.' title='&#92;{&#92;emptyset ,&#92;{1&#92;},&#92;{1,2&#92;},&#92;{1,2,3&#92;},&#92;dots &#92;{1,2,3,&#92;dots, k-1&#92;}&#92;}.' class='latex' /></p>
<p>This is a topology on <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C%5Cdots%2C+k-1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,&#92;dots, k-1&#92;}' title='&#92;{1,2,&#92;dots, k-1&#92;}' class='latex' /> with exactly <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='k' title='k' class='latex' /> elements.&#160; </p>
<p>&#160;</p>
<p>In these examples, the elements which are nested inside each other and is somewhat reminiscent of the &quot;particular point&quot; topology &#8212; the topology in which a set is open if and only if it contains some predetermined point (or is empty).&#160; In the finite case, how many elements are in the particular point topology?&#160; Let&#8217;s do a few examples.&#160; </p>
<p>&#160;</p>
<p>If our universe is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1&#92;}' title='&#92;{1&#92;}' class='latex' />, there are two open sets in the particular point topology (empty set and the whole set).</p>
<p>If our universe is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2&#92;}' title='&#92;{1,2&#92;}' class='latex' />, then we have three open sets in the particular point topology.</p>
<p>If our universe is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C+3%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2, 3&#92;}' title='&#92;{1,2, 3&#92;}' class='latex' />, then we have five open sets in the particular point topology.</p>
<p>If our universe is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C3%2C4%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,3,4&#92;}' title='&#92;{1,2,3,4&#92;}' class='latex' />, then we have nine open sets in the particular point topology.</p>
<p>If our universe is <img src='http://s0.wp.com/latex.php?latex=%5C%7B1%2C2%2C3%2C4%2C5%5C%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;{1,2,3,4,5&#92;}' title='&#92;{1,2,3,4,5&#92;}' class='latex' />, then we have seventeen open sets in the particular point topology.</p>
<p>&#160;</p>
<p>If we exclude the empty set, it seems like we will have <img src='http://s0.wp.com/latex.php?latex=2%5E%7Bk-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='2^{k-1}' title='2^{k-1}' class='latex' /> elements in our particular point topology.&#160; Why is this?&#160; </p>
<p>(<em>Hint</em>: Take the last example above with seventeen open sets and suppose the element 5 is your particular point.&#160; Write down all the open sets containing 5.&#160; Now take your pen and scribble out the 5&#8242;s in each of those open sets &#8212; do the resulting sets look familiar?&#160; Hm.)</p>
<p>&#160;</p>
<p> Neat.&#160; If you take other finite topologies, are there any neat patterns that arise when you increase the number of digits?&#160; Is it possible to associate some sort of polynomial or invariant with finite topologies?&#160; With infinite topologies?&#160; Would this even be useful?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1258&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/10/14/number-of-elements-in-a-topology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
		<item>
		<title>Summing 1 + 11 + 111 + &#8230; and My Problem Solving Technique.</title>
		<link>http://dyinglovegrape.wordpress.com/2011/09/17/summing-1-11-111-and-my-problem-solving-technique/</link>
		<comments>http://dyinglovegrape.wordpress.com/2011/09/17/summing-1-11-111-and-my-problem-solving-technique/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 07:43:11 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[arithmetic]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[number theory]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">https://dyinglovegrape.wordpress.com/2011/09/17/summing-1-11-111-and-my-problem-solving-technique/</guid>
		<description><![CDATA[This post was inspired by a question on the comment second of my last post about the prime-ness of 111…111.&#160; The question is: what&#8217;s the sum of 1 + 11 + 111 + … + 111…111?&#160; This seemed kind of silly to me (especially if the sum has less than 10 terms) but I quickly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1252&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post was inspired by a question on the comment second of my last post about the prime-ness of 111…111.&#160; The question is: what&#8217;s the sum of 1 + 11 + 111 + … + 111…111?&#160; This seemed kind of silly to me (especially if the sum has less than 10 terms) but I quickly realized that I couldn&#8217;t figure out a &quot;closed form&quot; without appealing to weird &quot;carry&quot; tricks.&#160; So I tried to figure something else out.&#160; </p>
<p>Because my final solution to this question was somewhat unsatisfying, I&#8217;ve made this a special kind of post!&#160; This post will have two main purposes: to try to answer this question and to show what kinds of things I do when I don&#8217;t know the answer to a problem.&#160; So let&#8217;s begin.</p>
<p>&#160;</p>
<p><strong>First, </strong>I scribbled out lots of examples to see if there were patterns in the numbers.&#160; Indeed, there are, but there was no nice way to describe them in general without creating a whole lot of variables and expanding the number of terms out into a base-ten sum.&#160; This was frustrating.&#160; Especially because I knew there might be an easy answer looming out there that I wasn&#8217;t clever enough to see.&#160; </p>
<p><strong>Second,</strong> I noted that 11 and 111 and 1111 are kind of weird numbers; written in base 10 they look pretty, but they don&#8217;t have much else in common.&#160; As we saw in the last post, a few are prime but many are not, and many have very strange prime factorizations &#8212; these factorizations do group together, but that seemed to be too far away from this problem to use.&#160; So, maybe another base would make them better formed?&#160; I plugged away in wolfram alpha.&#160; The first two bases I tried were base 2 and base 11.&#160; Neither one worked nicely.&#160; When I tried base 5, I found that the numbers followed an interesting pattern:</p>
<p><img src='http://s0.wp.com/latex.php?latex=1%2C+11%2C+111%2C+1111%2C+11111%2C+111111%2C+%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1, 11, 111, 1111, 11111, 111111, &#92;dots' title='1, 11, 111, 1111, 11111, 111111, &#92;dots' class='latex' /></p>
<p>were mapped to</p>
<p><img src='http://s0.wp.com/latex.php?latex=1%2C+21%2C+421%2C+13421%2C+323421%2C+12023421%2C+%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1, 21, 421, 13421, 323421, 12023421, &#92;dots' title='1, 21, 421, 13421, 323421, 12023421, &#92;dots' class='latex' /></p>
<p>Note that the last few digital always stay the same here.&#160; Because the decimal form of these numbers is 1 + 10 + 100 + 10000 + … this is not all that surprising.&#160; We&#8217;re essentially adding the base-5 versions of these together.&#160; Note that <img src='http://s0.wp.com/latex.php?latex=400_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='400_{5}' title='400_{5}' class='latex' /> means the number 400 in base 5; in decimal this is the number 100.&#160; So <img src='http://s0.wp.com/latex.php?latex=400_%7B5%7D+%3D+100_%7B10%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='400_{5} = 100_{10}' title='400_{5} = 100_{10}' class='latex' />.&#160; We drop the <img src='http://s0.wp.com/latex.php?latex=_%7B10%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='_{10}' title='_{10}' class='latex' /> in our base 10 numbers and note the following:</p>
<p><img src='http://s0.wp.com/latex.php?latex=1+%3D+1_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 = 1_{5}' title='1 = 1_{5}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=10+%3D+20_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='10 = 20_{5}' title='10 = 20_{5}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=100+%3D+400_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='100 = 400_{5}' title='100 = 400_{5}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=1000+%3D+13000_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1000 = 13000_{5}' title='1000 = 13000_{5}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=10000+%3D+310000_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='10000 = 310000_{5}' title='10000 = 310000_{5}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=100000+%3D+11200000_%7B5%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='100000 = 11200000_{5}' title='100000 = 11200000_{5}' class='latex' /></p>
<p>and while this seems to have a bit of a pattern, it grows too fast to be of use for adding.&#160; On the other hand, I found that base 5 can be fairly neat when you input numbers that have &quot;nice forms&quot; in base 10.&#160; Try it out!</p>
<p>&#160;</p>
<p><strong>Third, </strong>I was a bit upset, so I went back to thinking that I could write the number of terms as <img src='http://s0.wp.com/latex.php?latex=n+%3D+a_%7B0%7D+%2B+a_%7B1%7D10+%2B+a_%7B2%7D10%5E%7B2%7D+%2B+%5Cdots+%2B+a_%7Bk%7D10%5E%7Bk%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n = a_{0} + a_{1}10 + a_{2}10^{2} + &#92;dots + a_{k}10^{k}' title='n = a_{0} + a_{1}10 + a_{2}10^{2} + &#92;dots + a_{k}10^{k}' class='latex' /> and some some mods to figure out the digits.&#160; The first digit will be easy: it&#8217;s just <img src='http://s0.wp.com/latex.php?latex=a_%7B0%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='a_{0}' title='a_{0}' class='latex' />.&#160; But then what&#8217;s the carry?&#160; After a bit, I worked out that it will just be <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bn+-+a_%7B0%7D%7D%7B10%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;frac{n - a_{0}}{10}' title='&#92;frac{n - a_{0}}{10}' class='latex' />.&#160; This did not seem to be going anywhere, since this number might be somewhat large too; we would need to add this number <img src='http://s0.wp.com/latex.php?latex=n+-+1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n - 1' title='n - 1' class='latex' /> times, and then there&#8217;s another carry that will look significantly more complex than the one I just wrote.&#160; After trying this for five carries, I started to lose track of what I was doing; the formula was getting much more difficult than just doing &quot;normal&quot; addition.&#160; This clearly wasn&#8217;t going to go anywhere.&#160; At this point, a flash of insight hit me.&#160; Of course.&#160; This is just like adding 1 + 10 + 100 + 1000 + …, but only a <em>little bit off</em>.&#160; But how much off?&#160; </p>
<p>&#160;</p>
<p><strong>Fourth,</strong> I thought that, okay, 1 + 11 + 111 + 1111 +… is the same sum as 1 + 10 + 100 + 1000 + … with a difference of exactly 1 + 11 + 111 + … with one less term.&#160; If there are <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' /> terms in the original, then it is equal to <img src='http://s0.wp.com/latex.php?latex=1+%2B+10+%2B+100+%2B+1000+%2B+%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 + 10 + 100 + 1000 + &#92;dots' title='1 + 10 + 100 + 1000 + &#92;dots' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' /> terms plus <img src='http://s0.wp.com/latex.php?latex=1+%2B+11+%2B+111+%2B+%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 + 11 + 111 + &#92;dots' title='1 + 11 + 111 + &#92;dots' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=n+-1&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n -1' title='n -1' class='latex' /> terms.&#160; Note, then, that if we define the term <img src='http://s0.wp.com/latex.php?latex=ONE_%7Bk%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='ONE_{k}' title='ONE_{k}' class='latex' /> to be the sum of <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='k' title='k' class='latex' /> terms that look like <img src='http://s0.wp.com/latex.php?latex=1+%2B+11+%2B+111+%2B+1111%5Cdots&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 + 11 + 111 + 1111&#92;dots' title='1 + 11 + 111 + 1111&#92;dots' class='latex' />, then we have <img src='http://s0.wp.com/latex.php?latex=ONE_%7Bk%7D+%3D+111%5Cdots+111+%2B+ONE_%7Bk-1%7D&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='ONE_{k} = 111&#92;dots 111 + ONE_{k-1}' title='ONE_{k} = 111&#92;dots 111 + ONE_{k-1}' class='latex' />.&#160; At this point, I began kicking myself, because this tells me nothing new about the problem; in fact, it is essentially a restatement of the problem!&#160; But because of this, I thought about what happens when we do addition in 10&#8242;s.&#160; I realized that it is exactly the same sort of thing we are doing when we add 11&#8242;s, but each successive digit will raise by 1.&#160; So for example, while</p>
<p>1 + 10 + 100 + 1000 + 10000 = 11111</p>
<p>we have</p>
<p>1 + 11 + 111 + 1111 + 11111 = 12345</p>
<p>&#160;</p>
<p>Each digit, starting at the left, is one plus the one before it.&#160; Of course, this suggests a pattern.&#160; But then what happens when you get far enough along?&#160; </p>
<p>&#160;</p>
<p><img src='http://s0.wp.com/latex.php?latex=1+%2B+11+%2B+111+%2B+11111+%2B+%5Cdots+%2B+111111111111+%3D+123456790122&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='1 + 11 + 111 + 11111 + &#92;dots + 111111111111 = 123456790122' title='1 + 11 + 111 + 11111 + &#92;dots + 111111111111 = 123456790122' class='latex' /></p>
<p>&#160;</p>
<p>which does not look as pretty.&#160; But look; if we add in the following way, this becomes easy!&#160; (I&#8217;ve attempted to use a chart to display place values.)</p>
<p>&#160;</p>
<table border="0" cellspacing="1" cellpadding="2" width="391">
<tbody>
<tr>
<td valign="top" width="32">1</td>
<td valign="top" width="32">2</td>
<td valign="top" width="32">3</td>
<td valign="top" width="32">4</td>
<td valign="top" width="31">5</td>
<td valign="top" width="31">6</td>
<td valign="top" width="31">7</td>
<td valign="top" width="31">8</td>
<td valign="top" width="31">9</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
</tr>
<tr>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">0</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
</tr>
<tr>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">&#160;</td>
</tr>
<tr>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">2</td>
</tr>
<tr>
<td valign="top" width="33">+</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="33">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="32">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
<td valign="top" width="31">&#160;</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="1" cellpadding="2" width="394">
<tbody>
<tr>
<td valign="top" width="33">1</td>
<td valign="top" width="32">2</td>
<td valign="top" width="32">3</td>
<td valign="top" width="32">4</td>
<td valign="top" width="32">5</td>
<td valign="top" width="32">6</td>
<td valign="top" width="31">7</td>
<td valign="top" width="31">9</td>
<td valign="top" width="31">0</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">1</td>
<td valign="top" width="31">2</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>Which is exactly what we got above!&#160; Note here that I&#8217;ve made a &quot;10&quot; that sits inside the tenth decimal place (and so is implicitly a carry of 1 in the ninth place) and a &quot;11&quot; that sits in the tenth place (and so is a carry of 1 in the tenth place and 1 in the eleventh place) and so on.&#160; I&#8217;ve found that this method of computing is slightly faster than computing the original sum by hand and much less space consuming.&#160; Unfortunately, the clever (and even not-so-clever) reader will notice that this is still the sum of <img src='http://s0.wp.com/latex.php?latex=n+-+8&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n - 8' title='n - 8' class='latex' /> terms.&#160; Though I find it faster because you are only adding at most three things in each column (carries included).&#160; I tried to speed-test myself by adding together 20 terms this way and by doing 1 + 11 + 111 + … etc. straight out.&#160; My times are as follows:</p>
<p>&#160;</p>
<p>Original Way (Adding 1 + 11 + 111…): 1 minute.&#160; </p>
<p>New Way (Described above): 40 seconds.</p>
<p>&#160;</p>
<p>I also was much less confident doing this the original way (try it; you&#8217;ll have to keep track of the carry and the number of ones you need to add up and that gets confusing).&#160; The most time consuming part about the &quot;new way&quot; was writing out the problem; I did not count this in the &quot;original way&quot; because it&#8217;s just as easy to visualize the problem as it is to write it out &#8212; it would take significantly longer.&#160; If I were to only time the &quot;calculation&quot; part, the new way took me about 15 seconds.&#160; Pretty good for a human. </p>
<p>&#160;</p>
<p><strong>But, </strong>this solution was the best I could do.&#160; I do not have a closed form.&#160; If anyone has a different or more interesting solution, let me know.&#160; I didn&#8217;t want to resort to asking google, but maybe there&#8217;s a cute trick that makes this into a nice closed form.&#160; I&#8217;m not sure.</p>
<p>&#160;</p>
<p><strong>Edit: </strong>Of course, there is an easier solution which was provided to me by Josh &quot;The Widowmaker&quot; Silverman over at <a href="http://bubbloy.wordpress.com/2011/09/17/summin-1s/" target="_blank">his blog.</a>&#160; The key was to represent this as a geometric series (something that I seem to have completely missed out on).&#160; It turns out that the closed form expression is </p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7B1%7D%7B81%7D%2810%5E%7Bn%2B1%7D+-+10+-+9n%29&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='&#92;frac{1}{81}(10^{n+1} - 10 - 9n)' title='&#92;frac{1}{81}(10^{n+1} - 10 - 9n)' class='latex' /> </p>
<p>for the sum of the first <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=555555&amp;s=0' alt='n' title='n' class='latex' /> numbers of this form.&#160; To see the derivation, go to his blog and read it over.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dyinglovegrape.wordpress.com/1252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dyinglovegrape.wordpress.com/1252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dyinglovegrape.wordpress.com/1252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dyinglovegrape.wordpress.com&amp;blog=13482326&amp;post=1252&amp;subd=dyinglovegrape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dyinglovegrape.wordpress.com/2011/09/17/summing-1-11-111-and-my-problem-solving-technique/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3cf6d00ba5a67dd77a497a998ea9baf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">James</media:title>
		</media:content>
	</item>
	</channel>
</rss>
