<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>187-discrete-mathematics &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/187-discrete-mathematics/</link>
	<description>Feed of posts on WordPress.com tagged "187-discrete-mathematics"</description>
	<pubDate>Wed, 22 May 2013 21:18:15 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[187 - Quiz 10]]></title>
<link>http://andrescaicedo.wordpress.com/2010/04/21/187-quiz-10/</link>
<pubDate>Wed, 21 Apr 2010 18:27:16 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/04/21/187-quiz-10/</guid>
<description><![CDATA[Here is quiz 10.  Problem 1 asks to solve in the equation .  This equation is equivalent to Since ,]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/04/187-spring2010-quiz10.pdf" target="_blank">Here</a> is quiz 10. </p>
<p><strong>Problem 1</strong> asks to solve in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D_%7B37%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb Z}_{37}' title='{&#92;mathbb Z}_{37}' class='latex' /> the equation <img src='http://s0.wp.com/latex.php?latex=17x%2B12%3D5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17x+12=5' title='17x+12=5' class='latex' />. </p>
<p>This equation is equivalent to <img src='http://s0.wp.com/latex.php?latex=17x%3D-7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17x=-7.' title='17x=-7.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=%7B%5Crm+gcd%7D%2817%2C37%29%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;rm gcd}(17,37)=1' title='{&#92;rm gcd}(17,37)=1' class='latex' />, there is a <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=17b%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17b=1,' title='17b=1,' class='latex' /> and multiplying by <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> both sides of <img src='http://s0.wp.com/latex.php?latex=17x%3D-7&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17x=-7' title='17x=-7' class='latex' /> gives us <img src='http://s0.wp.com/latex.php?latex=x%3D-7b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-7b' title='x=-7b' class='latex' />. To finish the problem, it then suffices to find <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' />. For this, we use the Euclidean algorithm:</p>
<p><img src='http://s0.wp.com/latex.php?latex=37%3D17%5Ctimes+2%2B3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='37=17&#92;times 2+3.' title='37=17&#92;times 2+3.' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=17%3D3%5Ctimes+5%2B2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17=3&#92;times 5+2.' title='17=3&#92;times 5+2.' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=3%3D2%5Ctimes+1%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3=2&#92;times 1+1.' title='3=2&#92;times 1+1.' class='latex' /></p>
<p>Now we work backwards from these equalities:</p>
<p><img src='http://s0.wp.com/latex.php?latex=1%3D3-2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-2.' title='1=3-2.' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=1%3D3-%2817-3%5Ctimes5%29%3D17%5Ctimes%28-1%29%2B3%5Ctimes6.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-(17-3&#92;times5)=17&#92;times(-1)+3&#92;times6.' title='1=3-(17-3&#92;times5)=17&#92;times(-1)+3&#92;times6.' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=1%3D17%5Ctimes%28-1%29%2B%2837-17%5Ctimes2%29%5Ctimes+6%3D37%5Ctimes+6%2B17%5Ctimes%28-13%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=17&#92;times(-1)+(37-17&#92;times2)&#92;times 6=37&#92;times 6+17&#92;times(-13).' title='1=17&#92;times(-1)+(37-17&#92;times2)&#92;times 6=37&#92;times 6+17&#92;times(-13).' class='latex' /></p>
<p>This means that, in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D_%7B37%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb Z}_{37}' title='{&#92;mathbb Z}_{37}' class='latex' />, if we let <img src='http://s0.wp.com/latex.php?latex=b%3D-13%3D24%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=-13=24,' title='b=-13=24,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=17%5Cotimes+b%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17&#92;otimes b=1.' title='17&#92;otimes b=1.' class='latex' /></p>
<p>(In effect, <img src='http://s0.wp.com/latex.php?latex=17%5Cotimes+24%3D%28408%5Cmod37%29%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='17&#92;otimes 24=(408&#92;mod37)=1,' title='17&#92;otimes 24=(408&#92;mod37)=1,' class='latex' /> because <img src='http://s0.wp.com/latex.php?latex=408%3D37%5Ctimes+11%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='408=37&#92;times 11+1.' title='408=37&#92;times 11+1.' class='latex' />)</p>
<p>And the value of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> we are looking for is <img src='http://s0.wp.com/latex.php?latex=x%3D-7%5Cotimes%28-13%29%3D%2891%5Cmod37%29%3D17.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-7&#92;otimes(-13)=(91&#92;mod37)=17.' title='x=-7&#92;otimes(-13)=(91&#92;mod37)=17.' class='latex' /></p>
<p><strong>Problem 2</strong> asks for a solution to the equation <img src='http://s0.wp.com/latex.php?latex=x%5E2%3D-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x^2=-1' title='x^2=-1' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D_%7B13%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb Z}_{13}.' title='{&#92;mathbb Z}_{13}.' class='latex' /></p>
<p>This can be done by direct computation. We have that 5 and 8 are solutions, since <img src='http://s0.wp.com/latex.php?latex=5%5E2%3D25%5Cequiv-1%5Cmod13%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5^2=25&#92;equiv-1&#92;mod13,' title='5^2=25&#92;equiv-1&#92;mod13,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=8%5E2%3D64%5Cequiv-1%5Cmod13.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='8^2=64&#92;equiv-1&#92;mod13.' title='8^2=64&#92;equiv-1&#92;mod13.' class='latex' /></p>
<p><strong>Remark:</strong> This is related to the fact, that you may have conjectured through the homework, that an odd prime <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p' title='p' class='latex' /> is a sum of two squares iff <img src='http://s0.wp.com/latex.php?latex=p%5Cequiv1%5Cmod4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p&#92;equiv1&#92;mod4.' title='p&#92;equiv1&#92;mod4.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=13%3D3%5E2%2B2%5E2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13=3^2+2^2.' title='13=3^2+2^2.' class='latex' /> The relation with the problem is that, in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D_%7B13%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb Z}_{13},' title='{&#92;mathbb Z}_{13},' class='latex' /> this equation becomes</p>
<p><img src='http://s0.wp.com/latex.php?latex=3%5E2%5Coplus2%5E2%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^2&#92;oplus2^2=0,' title='3^2&#92;oplus2^2=0,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=3%5E2%3D-2%5E2%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^2=-2^2,' title='3^2=-2^2,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=%283%5Coslash2%29%5E2%3D-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(3&#92;oslash2)^2=-1,' title='(3&#92;oslash2)^2=-1,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=3%5Coslash2%3D3%5Cotimes+b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;oslash2=3&#92;otimes b' title='3&#92;oslash2=3&#92;otimes b' class='latex' /> for the <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=2b%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2b=1,' title='2b=1,' class='latex' /> namely <img src='http://s0.wp.com/latex.php?latex=b%3D7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=7.' title='b=7.' class='latex' /> Note that <img src='http://s0.wp.com/latex.php?latex=3%5Cotimes7%3D8.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;otimes7=8.' title='3&#92;otimes7=8.' class='latex' /> </p>
<p>Similarly, <img src='http://s0.wp.com/latex.php?latex=3%5E2%5Coplus2%5E2%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^2&#92;oplus2^2=0' title='3^2&#92;oplus2^2=0' class='latex' /> gives <img src='http://s0.wp.com/latex.php?latex=2%5E2%3D-3%5E2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^2=-3^2' title='2^2=-3^2' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=%282%5Coslash3%29%5E2%3D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(2&#92;oslash3)^2=-1.' title='(2&#92;oslash3)^2=-1.' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=2%5Coslash3%3D2%5Cotimes+c%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;oslash3=2&#92;otimes c,' title='2&#92;oslash3=2&#92;otimes c,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=3%5Cotimes+c%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;otimes c=1,' title='3&#92;otimes c=1,' class='latex' /> i.e., <img src='http://s0.wp.com/latex.php?latex=c%3D9.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c=9.' title='c=9.' class='latex' /> Note that <img src='http://s0.wp.com/latex.php?latex=2%5Cotimes9%3D5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;otimes9=5.' title='2&#92;otimes9=5.' class='latex' /></p>
<p><strong>Problem 3</strong> asks to find <img src='http://s0.wp.com/latex.php?latex=o%283%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='o(3),' title='o(3),' class='latex' /> the order of <img src='http://s0.wp.com/latex.php?latex=3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3,' title='3,' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+Z%7D_%7B100%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb Z}_{100},' title='{&#92;mathbb Z}_{100},' class='latex' /> i.e., the smallest <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=3%5En%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^n=1.' title='3^n=1.' class='latex' /></p>
<p> There are two ways of solving this problem. One is to simply write down the powers of 3 until we reach 1:</p>
<p><img src='http://s0.wp.com/latex.php?latex=3%2C9%2C27%2C81%2C43%2C29%2C87%2C61%2C83%2C49%2C47%2C41%2C23%2C69%2C7%2C21%2C63%2C89%2C67%2C1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3,9,27,81,43,29,87,61,83,49,47,41,23,69,7,21,63,89,67,1.' title='3,9,27,81,43,29,87,61,83,49,47,41,23,69,7,21,63,89,67,1.' class='latex' /> This means that <img src='http://s0.wp.com/latex.php?latex=o%283%29%3D20.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='o(3)=20.' title='o(3)=20.' class='latex' /></p>
<p>The other way is perhaps less computational, but it requires a bit more theory. Recall form lecture Euler&#8217;s theorem stating that if <img src='http://s0.wp.com/latex.php?latex=%7B%5Crm+gcd%7D%28a%2Cn%29%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;rm gcd}(a,n)=1,' title='{&#92;rm gcd}(a,n)=1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=o%28a%29%26%23124%3B%5Cvarphi%28n%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='o(a)&#124;&#92;varphi(n),' title='o(a)&#124;&#92;varphi(n),' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=%5Cvarphi%28n%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;varphi(n)' title='&#92;varphi(n)' class='latex' /> is the number of numbers <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k' title='k' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=0%5Cle+k%26%2360%3Bn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le k&lt;n' title='0&#92;le k&lt;n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k' title='k' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> are relatively prime.</p>
<p>From the formula mentioned in lecture, <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cvarphi%28100%29%3D100%5Cleft%28+1-%5Cfrac12%5Cright%29%5Cleft%281-%5Cfrac15%5Cright%29%3D100%5Ccdot%5Cfrac12%5Ccdot%5Cfrac45%3D40.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle &#92;varphi(100)=100&#92;left( 1-&#92;frac12&#92;right)&#92;left(1-&#92;frac15&#92;right)=100&#92;cdot&#92;frac12&#92;cdot&#92;frac45=40.' title='&#92;displaystyle &#92;varphi(100)=100&#92;left( 1-&#92;frac12&#92;right)&#92;left(1-&#92;frac15&#92;right)=100&#92;cdot&#92;frac12&#92;cdot&#92;frac45=40.' class='latex' /></p>
<p>This means that <img src='http://s0.wp.com/latex.php?latex=o%283%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='o(3)' title='o(3)' class='latex' /> is a divisor of 40, so it is one of <img src='http://s0.wp.com/latex.php?latex=1%2C2%2C4%2C5%2C8%2C10%2C20%2C40.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1,2,4,5,8,10,20,40.' title='1,2,4,5,8,10,20,40.' class='latex' /> These are the only powers we need to compute. This is faster than computing all the powers since, for example, <img src='http://s0.wp.com/latex.php?latex=3%5E8%3D%283%5E4%29%5E2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^8=(3^4)^2.' title='3^8=(3^4)^2.' class='latex' /> We have:</p>
<p><img src='http://s0.wp.com/latex.php?latex=3%5E1%3D3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^1=3,' title='3^1=3,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E2%3D9%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^2=9,' title='3^2=9,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E4%3D%283%5E2%29%5E2%3D81%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^4=(3^2)^2=81,' title='3^4=(3^2)^2=81,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E5%3D81%5Cotimes3%3D43%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^5=81&#92;otimes3=43,' title='3^5=81&#92;otimes3=43,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E8%3D%283%5E4%29%5E2%3D61%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^8=(3^4)^2=61,' title='3^8=(3^4)^2=61,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E%7B10%7D%3D3%5E8%5Cotimes3%5E2%3D49%3D50-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^{10}=3^8&#92;otimes3^2=49=50-1,' title='3^{10}=3^8&#92;otimes3^2=49=50-1,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=3%5E%7B20%7D%3D%2850-1%29%5E2%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3^{20}=(50-1)^2=1,' title='3^{20}=(50-1)^2=1,' class='latex' /> and we have <img src='http://s0.wp.com/latex.php?latex=o%283%29%3D20.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='o(3)=20.' title='o(3)=20.' class='latex' /></p>
		<div id="geo-post-2670" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 9]]></title>
<link>http://andrescaicedo.wordpress.com/2010/04/13/187-quiz-9/</link>
<pubDate>Tue, 13 Apr 2010 16:59:49 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/04/13/187-quiz-9/</guid>
<description><![CDATA[Here is quiz 9. Problem 1 asks to show that if three numbers are given, each a power of 2 or of 3, o]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/04/187-spring2010-quiz9.pdf" target="_blank">Here</a> is quiz 9.</p>
<p><strong>Problem 1</strong> asks to show that if three numbers are given, each a power of 2 or of 3, or a product of powers of 2 and 3, then either one of these three numbers is a square, or else the product of some of them is a square.</p>
<p>Each of these numbers, and their products, can be written in the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea3%5Eb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a3^b' title='2^a3^b' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}.' title='a,b&#92;in{&#92;mathbb N}.' class='latex' /> A number of this form is a square if and only if both <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are even. </p>
<p>To a number <img src='http://s0.wp.com/latex.php?latex=2%5Ea3%5Eb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a3^b' title='2^a3^b' class='latex' /> we associate its &#8220;pattern of parities,&#8221; the pair <img src='http://s0.wp.com/latex.php?latex=%28a%5Cmod2%2Cb%5Cmod+2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a&#92;mod2,b&#92;mod 2).' title='(a&#92;mod2,b&#92;mod 2).' class='latex' /> Note that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> has pattern <img src='http://s0.wp.com/latex.php?latex=%28p%2Cq%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(p,q)' title='(p,q)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> has pattern <img src='http://s0.wp.com/latex.php?latex=%28r%2Cs%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(r,s),' title='(r,s),' class='latex' /> then their product has pattern <img src='http://s0.wp.com/latex.php?latex=%28%28p%2Br%29%5Cmod2%2C%28q%2Bs%29%5Cmod2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='((p+r)&#92;mod2,(q+s)&#92;mod2).' title='((p+r)&#92;mod2,(q+s)&#92;mod2).' class='latex' /></p>
<p>If one of the three numbers has pattern <img src='http://s0.wp.com/latex.php?latex=%280%2C0%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(0,0),' title='(0,0),' class='latex' /> we are done. If two of the numbers have the same pattern, their product is a square, and we are done. So we may assume that the numbers have patterns <img src='http://s0.wp.com/latex.php?latex=%280%2C1%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(0,1),' title='(0,1),' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%281%2C0%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(1,0),' title='(1,0),' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%281%2C1%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(1,1).' title='(1,1).' class='latex' /> But then the product of the three of them is a square.</p>
<p>More generally, one can check that if <img src='http://s0.wp.com/latex.php?latex=r%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r+1' title='r+1' class='latex' /> positive integers are given (<img src='http://s0.wp.com/latex.php?latex=r%5Cge1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r&#92;ge1' title='r&#92;ge1' class='latex' />), and their prime factorizations together involve only <img src='http://s0.wp.com/latex.php?latex=r&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r' title='r' class='latex' /> primes, then there is a (non-empty) subset of these integers whose product is a square. Try to show this as an <strong>extra credit</strong> problem. </p>
<p><strong>Problem 2</strong> asks to show that if 9 lattice points are given in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D%5E3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb R}^3,' title='{&#92;mathbb R}^3,' class='latex' /> there are two such that the midpoint of the segment they determine is also a lattice point. Here, a lattice point is a point all of whose coordinates are integers.</p>
<p>As before, associate to each lattice point <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> its pattern of parity, <img src='http://s0.wp.com/latex.php?latex=%28a%5Cmod2%2Cb%5Cmod2%2Cc%5Cmod2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a&#92;mod2,b&#92;mod2,c&#92;mod2).' title='(a&#92;mod2,b&#92;mod2,c&#92;mod2).' class='latex' /> Note that the midpoint of the segment joining <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%28d%2Ce%2Cf%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(d,e,f)' title='(d,e,f)' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbigl%28%5Cfrac%7Ba%2Bd%7D2%2C%5Cfrac%7Bb%2Be%7D2%2C%5Cfrac%7Bc%2Bf%7D2%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle &#92;bigl(&#92;frac{a+d}2,&#92;frac{b+e}2,&#92;frac{c+f}2&#92;bigr).' title='&#92;displaystyle &#92;bigl(&#92;frac{a+d}2,&#92;frac{b+e}2,&#92;frac{c+f}2&#92;bigr).' class='latex' /> It follows that this midpoint is a lattice point iff <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%28d%2Ce%2Cf%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(d,e,f)' title='(d,e,f)' class='latex' /> have the same pattern of parity. </p>
<p>But there are only 8 possible patterns: each of the three coordinates is either 0 or 1. Since 9 points are given, two must have the same pattern, and we are done.</p>
<p><strong>Problem 3</strong> asks for a list of 4 distinct integers without an increasing or decreasing subsequence of length 3. </p>
<p>There are many possible ways of doing this. For example, <img src='http://s0.wp.com/latex.php?latex=2%2C1%2C4%2C3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,1,4,3.' title='2,1,4,3.' class='latex' /></p>
		<div id="geo-post-2662" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 9]]></title>
<link>http://caicedoteaching.wordpress.com/2010/04/13/187-quiz-9/</link>
<pubDate>Tue, 13 Apr 2010 16:59:49 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/04/13/187-quiz-9/</guid>
<description><![CDATA[Here is quiz 9. Problem 1 asks to show that if three numbers are given, each a power of 2 or of 3, o]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/04/187-spring2010-quiz9.pdf" target="_blank">Here</a> is quiz 9.</p>
<p><strong>Problem 1</strong> asks to show that if three numbers are given, each a power of 2 or of 3, or a product of powers of 2 and 3, then either one of these three numbers is a square, or else the product of some of them is a square.</p>
<p>Each of these numbers, and their products, can be written in the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea3%5Eb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a3^b' title='2^a3^b' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}.' title='a,b&#92;in{&#92;mathbb N}.' class='latex' /> A number of this form is a square if and only if both <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are even. </p>
<p>To a number <img src='http://s0.wp.com/latex.php?latex=2%5Ea3%5Eb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a3^b' title='2^a3^b' class='latex' /> we associate its &#8220;pattern of parities,&#8221; the pair <img src='http://s0.wp.com/latex.php?latex=%28a%5Cmod2%2Cb%5Cmod+2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a&#92;mod2,b&#92;mod 2).' title='(a&#92;mod2,b&#92;mod 2).' class='latex' /> Note that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> has pattern <img src='http://s0.wp.com/latex.php?latex=%28p%2Cq%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(p,q)' title='(p,q)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> has pattern <img src='http://s0.wp.com/latex.php?latex=%28r%2Cs%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(r,s),' title='(r,s),' class='latex' /> then their product has pattern <img src='http://s0.wp.com/latex.php?latex=%28%28p%2Br%29%5Cmod2%2C%28q%2Bs%29%5Cmod2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='((p+r)&#92;mod2,(q+s)&#92;mod2).' title='((p+r)&#92;mod2,(q+s)&#92;mod2).' class='latex' /></p>
<p>If one of the three numbers has pattern <img src='http://s0.wp.com/latex.php?latex=%280%2C0%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(0,0),' title='(0,0),' class='latex' /> we are done. If two of the numbers have the same pattern, their product is a square, and we are done. So we may assume that the numbers have patterns <img src='http://s0.wp.com/latex.php?latex=%280%2C1%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(0,1),' title='(0,1),' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%281%2C0%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(1,0),' title='(1,0),' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%281%2C1%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(1,1).' title='(1,1).' class='latex' /> But then the product of the three of them is a square.</p>
<p>More generally, one can check that if <img src='http://s0.wp.com/latex.php?latex=r%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r+1' title='r+1' class='latex' /> positive integers are given (<img src='http://s0.wp.com/latex.php?latex=r%5Cge1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r&#92;ge1' title='r&#92;ge1' class='latex' />), and their prime factorizations together involve only <img src='http://s0.wp.com/latex.php?latex=r&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='r' title='r' class='latex' /> primes, then there is a (non-empty) subset of these integers whose product is a square. Try to show this as an <strong>extra credit</strong> problem. </p>
<p><strong>Problem 2</strong> asks to show that if 9 lattice points are given in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+R%7D%5E3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb R}^3,' title='{&#92;mathbb R}^3,' class='latex' /> there are two such that the midpoint of the segment they determine is also a lattice point. Here, a lattice point is a point all of whose coordinates are integers.</p>
<p>As before, associate to each lattice point <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> its pattern of parity, <img src='http://s0.wp.com/latex.php?latex=%28a%5Cmod2%2Cb%5Cmod2%2Cc%5Cmod2%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a&#92;mod2,b&#92;mod2,c&#92;mod2).' title='(a&#92;mod2,b&#92;mod2,c&#92;mod2).' class='latex' /> Note that the midpoint of the segment joining <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%28d%2Ce%2Cf%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(d,e,f)' title='(d,e,f)' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbigl%28%5Cfrac%7Ba%2Bd%7D2%2C%5Cfrac%7Bb%2Be%7D2%2C%5Cfrac%7Bc%2Bf%7D2%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle &#92;bigl(&#92;frac{a+d}2,&#92;frac{b+e}2,&#92;frac{c+f}2&#92;bigr).' title='&#92;displaystyle &#92;bigl(&#92;frac{a+d}2,&#92;frac{b+e}2,&#92;frac{c+f}2&#92;bigr).' class='latex' /> It follows that this midpoint is a lattice point iff <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c)' title='(a,b,c)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%28d%2Ce%2Cf%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(d,e,f)' title='(d,e,f)' class='latex' /> have the same pattern of parity. </p>
<p>But there are only 8 possible patterns: each of the three coordinates is either 0 or 1. Since 9 points are given, two must have the same pattern, and we are done.</p>
<p><strong>Problem 3</strong> asks for a list of 4 distinct integers without an increasing or decreasing subsequence of length 3. </p>
<p>There are many possible ways of doing this. For example, <img src='http://s0.wp.com/latex.php?latex=2%2C1%2C4%2C3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,1,4,3.' title='2,1,4,3.' class='latex' /></p>
		<div id="geo-post-2662" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Handout]]></title>
<link>http://caicedoteaching.wordpress.com/2010/04/07/187-handout/</link>
<pubDate>Wed, 07 Apr 2010 16:38:15 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/04/07/187-handout/</guid>
<description><![CDATA[If you need today&#8217;s handout on the pigeonhole principle and g.c.d.s, let me know and I&#8217;l]]></description>
<content:encoded><![CDATA[<p>If you need today&#8217;s handout on the pigeonhole principle and g.c.d.s, let me know and I&#8217;ll bring extra copies to lecture. </p>
<p>The exercises in the handout are extra-credit. All extra-credit problems, other than the two due this Friday, are due the last day of lecture. (I may change this date, if need be, but let&#8217;s try it for now.)</p>
		<div id="geo-post-2656" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Handout]]></title>
<link>http://andrescaicedo.wordpress.com/2010/04/07/187-handout/</link>
<pubDate>Wed, 07 Apr 2010 16:38:15 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/04/07/187-handout/</guid>
<description><![CDATA[If you need today&#8217;s handout on the pigeonhole principle and g.c.d.s, let me know and I&#8217;l]]></description>
<content:encoded><![CDATA[<p>If you need today&#8217;s handout on the pigeonhole principle and g.c.d.s, let me know and I&#8217;ll bring extra copies to lecture. </p>
<p>The exercises in the handout are extra-credit. All extra-credit problems, other than the two due this Friday, are due the last day of lecture. (I may change this date, if need be, but let&#8217;s try it for now.)</p>
		<div id="geo-post-2656" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 8]]></title>
<link>http://caicedoteaching.wordpress.com/2010/04/06/187-quiz-8/</link>
<pubDate>Tue, 06 Apr 2010 16:38:59 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/04/06/187-quiz-8/</guid>
<description><![CDATA[Here is quiz 8. Problem 1 asks to find integers such that   One way of doing this is to follow the E]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/04/187-spring2010-quiz8.pdf" target="_blank">Here</a> is quiz 8.</p>
<p><strong>Problem 1</strong> asks to find integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=13+x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13 x+8y=1.' title='13 x+8y=1.' class='latex' /> </p>
<p>One way of doing this is to follow the Euclidean algorithm to compute the g.c.d. of 13 and 8:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+13%7D%3D%7B%5Cmathbf+8%7D%5Ctimes1%2B%7B%5Cmathbf+5%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 13}={&#92;mathbf 8}&#92;times1+{&#92;mathbf 5},' title='{&#92;mathbf 13}={&#92;mathbf 8}&#92;times1+{&#92;mathbf 5},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+8%7D%3D%7B%5Cmathbf+5%7D%5Ctimes1%2B%7B%5Cmathbf+3%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 8}={&#92;mathbf 5}&#92;times1+{&#92;mathbf 3},' title='{&#92;mathbf 8}={&#92;mathbf 5}&#92;times1+{&#92;mathbf 3},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+5%7D%3D%7B%5Cmathbf+3%7D%5Ctimes1%2B%7B%5Cmathbf+2%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 5}={&#92;mathbf 3}&#92;times1+{&#92;mathbf 2},' title='{&#92;mathbf 5}={&#92;mathbf 3}&#92;times1+{&#92;mathbf 2},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+3%7D%3D%7B%5Cmathbf+2%7D%5Ctimes1%2B%7B%5Cmathbf+1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 3}={&#92;mathbf 2}&#92;times1+{&#92;mathbf 1}.' title='{&#92;mathbf 3}={&#92;mathbf 2}&#92;times1+{&#92;mathbf 1}.' class='latex' /></p>
<p>Now we work from these equations, starting with the last one and going up, expressing the remainders as linear combinations of the other two numbers:</p>
<p><img src='http://s0.wp.com/latex.php?latex=1%3D3-2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-2.' title='1=3-2.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=2%3D5-3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2=5-3,' title='2=5-3,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D3-%285-3%29%3D3%5Ctimes2-5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-(5-3)=3&#92;times2-5.' title='1=3-(5-3)=3&#92;times2-5.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=3%3D8-5%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3=8-5,' title='3=8-5,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D%288-5%29%5Ctimes2-5%3D8%5Ctimes+2-5%5Ctimes3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=(8-5)&#92;times2-5=8&#92;times 2-5&#92;times3.' title='1=(8-5)&#92;times2-5=8&#92;times 2-5&#92;times3.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=5%3D13-8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5=13-8,' title='5=13-8,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D8%5Ctimes+2-%2813-8%29%5Ctimes3%3D8%5Ctimes+5-13%5Ctimes3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=8&#92;times 2-(13-8)&#92;times3=8&#92;times 5-13&#92;times3.' title='1=8&#92;times 2-(13-8)&#92;times3=8&#92;times 5-13&#92;times3.' class='latex' /></p>
<p>We have found that <img src='http://s0.wp.com/latex.php?latex=x%3D-3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-3,' title='x=-3,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=5' title='y=5' class='latex' /> satisfy <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=1.' title='13x+8y=1.' class='latex' /> </p>
<p>There are, of course, other ways we could have found these numbers, including trial and error: Simply list the multiples of 13 in order: 13, 26, 39, &#8230;, and note that 39 is 1 shy of a multiple of 8: <img src='http://s0.wp.com/latex.php?latex=13%5Ctimes+3%3D8%5Ctimes+5-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times 3=8&#92;times 5-1,' title='13&#92;times 3=8&#92;times 5-1,' class='latex' /> giving the same solution as before.</p>
<p><strong>Problem 2</strong> asks for integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y,' title='x,y,' class='latex' /> neither of which is 0, and such that <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=0.' title='13x+8y=0.' class='latex' /></p>
<p>Perhaps the easiest solution is to make <img src='http://s0.wp.com/latex.php?latex=x%3D8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=8,' title='x=8,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D-13.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=-13.' title='y=-13.' class='latex' /></p>
<p><strong>Problem 3</strong> asks for integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> different from those in problem 1, such that <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=1.' title='13x+8y=1.' class='latex' /></p>
<p>One way of finding these numbers is by adding the solutions to problems 1 and 2:</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%28-3%29%2B8%5Ctimes+5%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(-3)+8&#92;times 5=1,' title='13&#92;times(-3)+8&#92;times 5=1,' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes8%2B8%5Ctimes%28-13%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times8+8&#92;times(-13)=0,' title='13&#92;times8+8&#92;times(-13)=0,' class='latex' /></p>
<p>so</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes+5%2B8%5Ctimes%28-8%29%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times 5+8&#92;times(-8)=1.' title='13&#92;times 5+8&#92;times(-8)=1.' class='latex' /></p>
<p>We could have also subtracted the solution to problem 2 from the solution to problem 1, to obtain <img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%28-11%29%2B8%5Ctimes18%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(-11)+8&#92;times18=1.' title='13&#92;times(-11)+8&#92;times18=1.' class='latex' /></p>
<p>Or we could have squared the solution to problem 1: <img src='http://s0.wp.com/latex.php?latex=%2813%5Ctimes%28-3%29%2B8%5Ctimes+5%29%5E2%3D1%5E2%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(13&#92;times(-3)+8&#92;times 5)^2=1^2=1,' title='(13&#92;times(-3)+8&#92;times 5)^2=1^2=1,' class='latex' /> or</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5E2%5Ctimes+9%2B2%5Ctimes13%5Ctimes%28-3%29%5Ctimes8%5Ctimes5%2B8%5E2%5Ctimes25%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13^2&#92;times 9+2&#92;times13&#92;times(-3)&#92;times8&#92;times5+8^2&#92;times25=1,' title='13^2&#92;times 9+2&#92;times13&#92;times(-3)&#92;times8&#92;times5+8^2&#92;times25=1,' class='latex' /> or</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%2813%5Ctimes9%2B2%5Ctimes-3%5Ctimes8%5Ctimes5%29%2B8%5Ctimes%288%5Ctimes25%29%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(13&#92;times9+2&#92;times-3&#92;times8&#92;times5)+8&#92;times(8&#92;times25)=1.' title='13&#92;times(13&#92;times9+2&#92;times-3&#92;times8&#92;times5)+8&#92;times(8&#92;times25)=1.' class='latex' /></p>
<p><strong>Problem 4</strong> asks  for the number of injective functions from <img src='http://s0.wp.com/latex.php?latex=A%3D%5C%7Ba%2Cb%2Cc%2Cd%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A=&#92;{a,b,c,d&#92;}' title='A=&#92;{a,b,c,d&#92;}' class='latex' /> into <img src='http://s0.wp.com/latex.php?latex=B%3D%5C%7B1%2C2%2C3%2C4%2C5%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B=&#92;{1,2,3,4,5&#92;}.' title='B=&#92;{1,2,3,4,5&#92;}.' class='latex' /></p>
<p>Let <img src='http://s0.wp.com/latex.php?latex=f%3AA%5Cto+B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f:A&#92;to B' title='f:A&#92;to B' class='latex' /> be 1-1. There are 5 possibilities for the value <img src='http://s0.wp.com/latex.php?latex=f%28a%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a).' title='f(a).' class='latex' /> Whatever it is, <img src='http://s0.wp.com/latex.php?latex=f%28b%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b)' title='f(b)' class='latex' /> can take any value in <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> other than <img src='http://s0.wp.com/latex.php?latex=f%28a%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a),' title='f(a),' class='latex' /> so there are 4 possibilities for <img src='http://s0.wp.com/latex.php?latex=f%28b%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b).' title='f(b).' class='latex' /> The value <img src='http://s0.wp.com/latex.php?latex=f%28c%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(c)' title='f(c)' class='latex' /> can be anything in <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> other than <img src='http://s0.wp.com/latex.php?latex=f%28a%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a)' title='f(a)' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=f%28b%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b),' title='f(b),' class='latex' /> so there are 3 possibilities for <img src='http://s0.wp.com/latex.php?latex=f%28c%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(c).' title='f(c).' class='latex' /> Finally, <img src='http://s0.wp.com/latex.php?latex=f%28d%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(d)' title='f(d)' class='latex' /> can take any of the remaining 2 values. This gives a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes4%5Ctimes+3%5Ctimes+2%3D120&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times4&#92;times 3&#92;times 2=120' title='5&#92;times4&#92;times 3&#92;times 2=120' class='latex' /> injective functions.</p>
<p>Note that this is the same as the number of lists of length 4 without repetitions with values taken from the set <img src='http://s0.wp.com/latex.php?latex=B.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B.' title='B.' class='latex' /></p>
		<div id="geo-post-2649" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 8]]></title>
<link>http://andrescaicedo.wordpress.com/2010/04/06/187-quiz-8/</link>
<pubDate>Tue, 06 Apr 2010 16:38:59 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/04/06/187-quiz-8/</guid>
<description><![CDATA[Here is quiz 8. Problem 1 asks to find integers such that   One way of doing this is to follow the E]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/04/187-spring2010-quiz8.pdf" target="_blank">Here</a> is quiz 8.</p>
<p><strong>Problem 1</strong> asks to find integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=13+x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13 x+8y=1.' title='13 x+8y=1.' class='latex' /> </p>
<p>One way of doing this is to follow the Euclidean algorithm to compute the g.c.d. of 13 and 8:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+13%7D%3D%7B%5Cmathbf+8%7D%5Ctimes1%2B%7B%5Cmathbf+5%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 13}={&#92;mathbf 8}&#92;times1+{&#92;mathbf 5},' title='{&#92;mathbf 13}={&#92;mathbf 8}&#92;times1+{&#92;mathbf 5},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+8%7D%3D%7B%5Cmathbf+5%7D%5Ctimes1%2B%7B%5Cmathbf+3%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 8}={&#92;mathbf 5}&#92;times1+{&#92;mathbf 3},' title='{&#92;mathbf 8}={&#92;mathbf 5}&#92;times1+{&#92;mathbf 3},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+5%7D%3D%7B%5Cmathbf+3%7D%5Ctimes1%2B%7B%5Cmathbf+2%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 5}={&#92;mathbf 3}&#92;times1+{&#92;mathbf 2},' title='{&#92;mathbf 5}={&#92;mathbf 3}&#92;times1+{&#92;mathbf 2},' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbf+3%7D%3D%7B%5Cmathbf+2%7D%5Ctimes1%2B%7B%5Cmathbf+1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbf 3}={&#92;mathbf 2}&#92;times1+{&#92;mathbf 1}.' title='{&#92;mathbf 3}={&#92;mathbf 2}&#92;times1+{&#92;mathbf 1}.' class='latex' /></p>
<p>Now we work from these equations, starting with the last one and going up, expressing the remainders as linear combinations of the other two numbers:</p>
<p><img src='http://s0.wp.com/latex.php?latex=1%3D3-2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-2.' title='1=3-2.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=2%3D5-3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2=5-3,' title='2=5-3,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D3-%285-3%29%3D3%5Ctimes2-5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=3-(5-3)=3&#92;times2-5.' title='1=3-(5-3)=3&#92;times2-5.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=3%3D8-5%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3=8-5,' title='3=8-5,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D%288-5%29%5Ctimes2-5%3D8%5Ctimes+2-5%5Ctimes3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=(8-5)&#92;times2-5=8&#92;times 2-5&#92;times3.' title='1=(8-5)&#92;times2-5=8&#92;times 2-5&#92;times3.' class='latex' /></p>
<p>Since <img src='http://s0.wp.com/latex.php?latex=5%3D13-8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5=13-8,' title='5=13-8,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=1%3D8%5Ctimes+2-%2813-8%29%5Ctimes3%3D8%5Ctimes+5-13%5Ctimes3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=8&#92;times 2-(13-8)&#92;times3=8&#92;times 5-13&#92;times3.' title='1=8&#92;times 2-(13-8)&#92;times3=8&#92;times 5-13&#92;times3.' class='latex' /></p>
<p>We have found that <img src='http://s0.wp.com/latex.php?latex=x%3D-3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-3,' title='x=-3,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=5' title='y=5' class='latex' /> satisfy <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=1.' title='13x+8y=1.' class='latex' /> </p>
<p>There are, of course, other ways we could have found these numbers, including trial and error: Simply list the multiples of 13 in order: 13, 26, 39, &#8230;, and note that 39 is 1 shy of a multiple of 8: <img src='http://s0.wp.com/latex.php?latex=13%5Ctimes+3%3D8%5Ctimes+5-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times 3=8&#92;times 5-1,' title='13&#92;times 3=8&#92;times 5-1,' class='latex' /> giving the same solution as before.</p>
<p><strong>Problem 2</strong> asks for integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y,' title='x,y,' class='latex' /> neither of which is 0, and such that <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=0.' title='13x+8y=0.' class='latex' /></p>
<p>Perhaps the easiest solution is to make <img src='http://s0.wp.com/latex.php?latex=x%3D8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=8,' title='x=8,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D-13.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=-13.' title='y=-13.' class='latex' /></p>
<p><strong>Problem 3</strong> asks for integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> different from those in problem 1, such that <img src='http://s0.wp.com/latex.php?latex=13x%2B8y%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13x+8y=1.' title='13x+8y=1.' class='latex' /></p>
<p>One way of finding these numbers is by adding the solutions to problems 1 and 2:</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%28-3%29%2B8%5Ctimes+5%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(-3)+8&#92;times 5=1,' title='13&#92;times(-3)+8&#92;times 5=1,' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes8%2B8%5Ctimes%28-13%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times8+8&#92;times(-13)=0,' title='13&#92;times8+8&#92;times(-13)=0,' class='latex' /></p>
<p>so</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes+5%2B8%5Ctimes%28-8%29%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times 5+8&#92;times(-8)=1.' title='13&#92;times 5+8&#92;times(-8)=1.' class='latex' /></p>
<p>We could have also subtracted the solution to problem 2 from the solution to problem 1, to obtain <img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%28-11%29%2B8%5Ctimes18%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(-11)+8&#92;times18=1.' title='13&#92;times(-11)+8&#92;times18=1.' class='latex' /></p>
<p>Or we could have squared the solution to problem 1: <img src='http://s0.wp.com/latex.php?latex=%2813%5Ctimes%28-3%29%2B8%5Ctimes+5%29%5E2%3D1%5E2%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(13&#92;times(-3)+8&#92;times 5)^2=1^2=1,' title='(13&#92;times(-3)+8&#92;times 5)^2=1^2=1,' class='latex' /> or</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5E2%5Ctimes+9%2B2%5Ctimes13%5Ctimes%28-3%29%5Ctimes8%5Ctimes5%2B8%5E2%5Ctimes25%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13^2&#92;times 9+2&#92;times13&#92;times(-3)&#92;times8&#92;times5+8^2&#92;times25=1,' title='13^2&#92;times 9+2&#92;times13&#92;times(-3)&#92;times8&#92;times5+8^2&#92;times25=1,' class='latex' /> or</p>
<p><img src='http://s0.wp.com/latex.php?latex=13%5Ctimes%2813%5Ctimes9%2B2%5Ctimes-3%5Ctimes8%5Ctimes5%29%2B8%5Ctimes%288%5Ctimes25%29%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='13&#92;times(13&#92;times9+2&#92;times-3&#92;times8&#92;times5)+8&#92;times(8&#92;times25)=1.' title='13&#92;times(13&#92;times9+2&#92;times-3&#92;times8&#92;times5)+8&#92;times(8&#92;times25)=1.' class='latex' /></p>
<p><strong>Problem 4</strong> asks  for the number of injective functions from <img src='http://s0.wp.com/latex.php?latex=A%3D%5C%7Ba%2Cb%2Cc%2Cd%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A=&#92;{a,b,c,d&#92;}' title='A=&#92;{a,b,c,d&#92;}' class='latex' /> into <img src='http://s0.wp.com/latex.php?latex=B%3D%5C%7B1%2C2%2C3%2C4%2C5%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B=&#92;{1,2,3,4,5&#92;}.' title='B=&#92;{1,2,3,4,5&#92;}.' class='latex' /></p>
<p>Let <img src='http://s0.wp.com/latex.php?latex=f%3AA%5Cto+B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f:A&#92;to B' title='f:A&#92;to B' class='latex' /> be 1-1. There are 5 possibilities for the value <img src='http://s0.wp.com/latex.php?latex=f%28a%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a).' title='f(a).' class='latex' /> Whatever it is, <img src='http://s0.wp.com/latex.php?latex=f%28b%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b)' title='f(b)' class='latex' /> can take any value in <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> other than <img src='http://s0.wp.com/latex.php?latex=f%28a%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a),' title='f(a),' class='latex' /> so there are 4 possibilities for <img src='http://s0.wp.com/latex.php?latex=f%28b%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b).' title='f(b).' class='latex' /> The value <img src='http://s0.wp.com/latex.php?latex=f%28c%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(c)' title='f(c)' class='latex' /> can be anything in <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> other than <img src='http://s0.wp.com/latex.php?latex=f%28a%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(a)' title='f(a)' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=f%28b%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(b),' title='f(b),' class='latex' /> so there are 3 possibilities for <img src='http://s0.wp.com/latex.php?latex=f%28c%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(c).' title='f(c).' class='latex' /> Finally, <img src='http://s0.wp.com/latex.php?latex=f%28d%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f(d)' title='f(d)' class='latex' /> can take any of the remaining 2 values. This gives a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes4%5Ctimes+3%5Ctimes+2%3D120&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times4&#92;times 3&#92;times 2=120' title='5&#92;times4&#92;times 3&#92;times 2=120' class='latex' /> injective functions.</p>
<p>Note that this is the same as the number of lists of length 4 without repetitions with values taken from the set <img src='http://s0.wp.com/latex.php?latex=B.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B.' title='B.' class='latex' /></p>
		<div id="geo-post-2649" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Midterm 2]]></title>
<link>http://caicedoteaching.wordpress.com/2010/03/24/187-midterm-2/</link>
<pubDate>Wed, 24 Mar 2010 19:01:57 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/03/24/187-midterm-2/</guid>
<description><![CDATA[Here is midterm 2.  Solutions follow. Problem 1 introduces a relation on integers by saying that iff]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/03/187-spring2010-midterm2.pdf" target="_blank">Here</a> is midterm 2. </p>
<p>Solutions follow.</p>
<p><!--more--><strong>Problem 1</strong> introduces a relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> on integers by saying that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y' title='x&#92;mathrel{R} y' class='latex' /> iff the difference between <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is at most 3. In symbols, <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y%5CLongleftrightarrow+%26%23124%3Bx-y%26%23124%3B%5Cle3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y&#92;Longleftrightarrow &#124;x-y&#124;&#92;le3.' title='x&#92;mathrel{R} y&#92;Longleftrightarrow &#124;x-y&#124;&#92;le3.' class='latex' /> The problem asks to determine whether <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is transitive.</p>
<p>It is not. For a counterexample, consider <img src='http://s0.wp.com/latex.php?latex=2%2C5%2C6.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,5,6.' title='2,5,6.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=2%5Cmathrel%7BR%7D5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;mathrel{R}5' title='2&#92;mathrel{R}5' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=5%5Cmathrel%7BR%7D6%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;mathrel{R}6,' title='5&#92;mathrel{R}6,' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=2%5Cnot%5Cmathrel%7BR%7D6.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;not&#92;mathrel{R}6.' title='2&#92;not&#92;mathrel{R}6.' class='latex' /></p>
<p><strong>Problem 2</strong> lets <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> be the collection of finite subsets of a set <img src='http://s0.wp.com/latex.php?latex=X%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X,' title='X,' class='latex' /> and defines a relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> on <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+y%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle y&#124;' title='&#124;x&#92;triangle y&#124;' class='latex' /> is even. The problem is to show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is reflexive and symmetric.</p>
<p>To prove reflexivity, let <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> be an arbitrary finite subset of <img src='http://s0.wp.com/latex.php?latex=X.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X.' title='X.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=x%5Ctriangle+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;triangle x=&#92;emptyset,' title='x&#92;triangle x=&#92;emptyset,' class='latex' /> so <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+x%26%23124%3B%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle x&#124;=0.' title='&#124;x&#92;triangle x&#124;=0.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0' title='0' class='latex' /> is even, we conclude that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} x.' title='x&#92;mathrel{R} x.' class='latex' /></p>
<p>To prove symmetry, let <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> be finite subsets of <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X' title='X' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+y%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle y&#124;' title='&#124;x&#92;triangle y&#124;' class='latex' /> is even. Since <img src='http://s0.wp.com/latex.php?latex=x%5Ctriangle+y%3Dy%5Ctriangle+x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;triangle y=y&#92;triangle x,' title='x&#92;triangle y=y&#92;triangle x,' class='latex' /> we have that <img src='http://s0.wp.com/latex.php?latex=%26%23124%3By%5Ctriangle+x%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;y&#92;triangle x&#124;' title='&#124;y&#92;triangle x&#124;' class='latex' /> is even, and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /></p>
<p><strong>Problem 3</strong> informs us that <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> is a property about integers <img src='http://s0.wp.com/latex.php?latex=n%2Cm%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,m,' title='n,m,' class='latex' /> and asks us to choose among a few options for what is needed to do in order to prove that &#8220;For every integer <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> there exists an integer <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> is true.&#8221;</p>
<p>To do this, we need to start with an arbitrary integer <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and then find an integer <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> that makes <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> true. Of course, if we choose a different <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> it could be that the <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> that now works is different, i.e., it may well be that <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> depends on <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> Of the options listed in the problem, it is (e) that precisely captures this.</p>
<p>Note that if one manages to show (a) or (f), then one also succeeds in proving the required statement. However, both (a) and (f) are too strong in general, i.e., there are cases where the given statement holds but both (a) and (f) fail. None of the other options even guarantees the truth of the statement.</p>
<p><strong>Problem 4</strong> gives as an erroneous proof, and requires to identify the flaw. The statement being claimed is that all natural numbers are divisible by 3. The argument uses the well-ordering principle, and contradiction. Assuming that the statement is false means that there are natural numbers not divisible by 3. Letting <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X' title='X' class='latex' /> be the set of all these numbers, this means that <img src='http://s0.wp.com/latex.php?latex=X%5Cne%5Cemptyset.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X&#92;ne&#92;emptyset.' title='X&#92;ne&#92;emptyset.' class='latex' /> The well-ordering principle guarantees that there is a least element of <img src='http://s0.wp.com/latex.php?latex=X%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X,' title='X,' class='latex' /> and we call it <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /> </p>
<p>Clearly, <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is not divisible by 3, so in particular <img src='http://s0.wp.com/latex.php?latex=x%5Cne0%2C3%2C6%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;ne0,3,6,&#92;dots' title='x&#92;ne0,3,6,&#92;dots' class='latex' /></p>
<p>The argument then asks to consider <img src='http://s0.wp.com/latex.php?latex=x-3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3.' title='x-3.' class='latex' /> Obviously, <img src='http://s0.wp.com/latex.php?latex=x-3%26%2360%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&lt;x,' title='x-3&lt;x,' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=x-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3' title='x-3' class='latex' /> is not in <img src='http://s0.wp.com/latex.php?latex=X.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X.' title='X.' class='latex' /> If <img src='http://s0.wp.com/latex.php?latex=x-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3' title='x-3' class='latex' /> happens to be a natural number, then we are forced to conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3)' title='3&#124;(x-3)' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;x,' title='3&#124;x,' class='latex' /> since <img src='http://s0.wp.com/latex.php?latex=x%3D%28x-3%29%2B3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=(x-3)+3.' title='x=(x-3)+3.' class='latex' /> However, there is also the chance that <img src='http://s0.wp.com/latex.php?latex=x-3%5Cnotin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&#92;notin{&#92;mathbb N},' title='x-3&#92;notin{&#92;mathbb N},' class='latex' /> in which case we cannot conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3).' title='3&#124;(x-3).' class='latex' /> Thus, we cannot conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3Bx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;x.' title='3&#124;x.' class='latex' /> The flaw in the argument, of course, is in assuming that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3),' title='3&#124;(x-3),' class='latex' /> which is only assured if <img src='http://s0.wp.com/latex.php?latex=x-3%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&#92;in{&#92;mathbb N}.' title='x-3&#92;in{&#92;mathbb N}.' class='latex' /></p>
<p><strong>Problem </strong>5 asks to prove by induction that, for all positive integers <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> we have</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cge1%2B%5Cfrac%7Bn%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' class='latex' /></p>
<p style="text-align:left;">To argue by induction, we first prove the base case, when <img src='http://s0.wp.com/latex.php?latex=n%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1.' title='n=1.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac12' title='1+&#92;frac12' class='latex' /> on the left hand side and <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac12' title='1+&#92;frac12' class='latex' /> on the right hand side as well. The inequality holds (in fact, it is an equality in this case).</p>
<p style="text-align:left;">Now we argue the inductive step. Assume that, indeed, </p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cge1%2B%5Cfrac%7Bn%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' class='latex' /></p>
<p style="text-align:left;">We need to prove that also</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%5Cge1%2B%5Cfrac%7Bn%2B1%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}&#92;ge1+&#92;frac{n+1}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}&#92;ge1+&#92;frac{n+1}2.' class='latex' /></p>
<p style="text-align:left;">To do this, note that <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%3D+%5Cbigl%281%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cbigr%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle= &#92;bigl(1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;bigr)' title='&#92;displaystyle= &#92;bigl(1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;bigr)' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%2B%5Cbigl%28%5Cfrac1%7B2%5En%2B1%7D%2B%5Cfrac1%7B2%5En%2B2%7D%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle +&#92;bigl(&#92;frac1{2^n+1}+&#92;frac1{2^n+2}+&#92;dots+&#92;frac1{2^{n+1}}&#92;bigr).' title='&#92;displaystyle +&#92;bigl(&#92;frac1{2^n+1}+&#92;frac1{2^n+2}+&#92;dots+&#92;frac1{2^{n+1}}&#92;bigr).' class='latex' /> </p>
<p style="text-align:left;">The sum inside the first set of parentheses is at least <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac%7Bn%7D2%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac{n}2,' title='1+&#92;frac{n}2,' class='latex' /> by the inductive assumption. We are done if we manage to show that the sum within the second set of parentheses is at least <img src='http://s0.wp.com/latex.php?latex=%5Cfrac12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac12.' title='&#92;frac12.' class='latex' /> </p>
<p style="text-align:left;">But note that <img src='http://s0.wp.com/latex.php?latex=%5Cfrac1%7B2%5En%2B1%7D%5Cge%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac1{2^n+1}&#92;ge&#92;frac1{2^{n+1}},' title='&#92;frac1{2^n+1}&#92;ge&#92;frac1{2^{n+1}},' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cfrac1%7B2%5En%2B2%7D%5Cge%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac1{2^n+2}&#92;ge&#92;frac1{2^{n+1}},' title='&#92;frac1{2^n+2}&#92;ge&#92;frac1{2^{n+1}},' class='latex' /> etc, so the second sum is at least </p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle &#92;frac1{2^{n+1}}+&#92;frac1{2^{n+1}}+&#92;dots+&#92;frac1{2^{n+1}},' title='&#92;displaystyle &#92;frac1{2^{n+1}}+&#92;frac1{2^{n+1}}+&#92;dots+&#92;frac1{2^{n+1}},' class='latex' /></p>
<p style="text-align:left;">where there are precisely <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> many terms being added, all of them equal to <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle&#92;frac1{2^{n+1}}.' title='&#92;displaystyle&#92;frac1{2^{n+1}}.' class='latex' /> This means that this sum adds up to <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cfrac%7B2%5En%7D%7B2%5E%7Bn%2B1%7D%7D%3D%5Cfrac12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle&#92;frac{2^n}{2^{n+1}}=&#92;frac12.' title='&#92;displaystyle&#92;frac{2^n}{2^{n+1}}=&#92;frac12.' class='latex' /> Since this is what we needed, we have completed the inductive step, and therefore the proof.</p>
		<div id="geo-post-2640" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Midterm 2]]></title>
<link>http://andrescaicedo.wordpress.com/2010/03/24/187-midterm-2/</link>
<pubDate>Wed, 24 Mar 2010 19:01:57 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/03/24/187-midterm-2/</guid>
<description><![CDATA[Here is midterm 2.  Solutions follow. Problem 1 introduces a relation on integers by saying that iff]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/03/187-spring2010-midterm2.pdf" target="_blank">Here</a> is midterm 2. </p>
<p>Solutions follow.</p>
<p><!--more--><strong>Problem 1</strong> introduces a relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> on integers by saying that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y' title='x&#92;mathrel{R} y' class='latex' /> iff the difference between <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is at most 3. In symbols, <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y%5CLongleftrightarrow+%26%23124%3Bx-y%26%23124%3B%5Cle3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y&#92;Longleftrightarrow &#124;x-y&#124;&#92;le3.' title='x&#92;mathrel{R} y&#92;Longleftrightarrow &#124;x-y&#124;&#92;le3.' class='latex' /> The problem asks to determine whether <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is transitive.</p>
<p>It is not. For a counterexample, consider <img src='http://s0.wp.com/latex.php?latex=2%2C5%2C6.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,5,6.' title='2,5,6.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=2%5Cmathrel%7BR%7D5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;mathrel{R}5' title='2&#92;mathrel{R}5' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=5%5Cmathrel%7BR%7D6%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;mathrel{R}6,' title='5&#92;mathrel{R}6,' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=2%5Cnot%5Cmathrel%7BR%7D6.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2&#92;not&#92;mathrel{R}6.' title='2&#92;not&#92;mathrel{R}6.' class='latex' /></p>
<p><strong>Problem 2</strong> lets <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> be the collection of finite subsets of a set <img src='http://s0.wp.com/latex.php?latex=X%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X,' title='X,' class='latex' /> and defines a relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> on <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+y%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle y&#124;' title='&#124;x&#92;triangle y&#124;' class='latex' /> is even. The problem is to show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is reflexive and symmetric.</p>
<p>To prove reflexivity, let <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> be an arbitrary finite subset of <img src='http://s0.wp.com/latex.php?latex=X.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X.' title='X.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=x%5Ctriangle+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;triangle x=&#92;emptyset,' title='x&#92;triangle x=&#92;emptyset,' class='latex' /> so <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+x%26%23124%3B%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle x&#124;=0.' title='&#124;x&#92;triangle x&#124;=0.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0' title='0' class='latex' /> is even, we conclude that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} x.' title='x&#92;mathrel{R} x.' class='latex' /></p>
<p>To prove symmetry, let <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> be finite subsets of <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X' title='X' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%26%23124%3Bx%5Ctriangle+y%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;x&#92;triangle y&#124;' title='&#124;x&#92;triangle y&#124;' class='latex' /> is even. Since <img src='http://s0.wp.com/latex.php?latex=x%5Ctriangle+y%3Dy%5Ctriangle+x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;triangle y=y&#92;triangle x,' title='x&#92;triangle y=y&#92;triangle x,' class='latex' /> we have that <img src='http://s0.wp.com/latex.php?latex=%26%23124%3By%5Ctriangle+x%26%23124%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;y&#92;triangle x&#124;' title='&#124;y&#92;triangle x&#124;' class='latex' /> is even, and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /></p>
<p><strong>Problem 3</strong> informs us that <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> is a property about integers <img src='http://s0.wp.com/latex.php?latex=n%2Cm%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,m,' title='n,m,' class='latex' /> and asks us to choose among a few options for what is needed to do in order to prove that &#8220;For every integer <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> there exists an integer <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> is true.&#8221;</p>
<p>To do this, we need to start with an arbitrary integer <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and then find an integer <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> that makes <img src='http://s0.wp.com/latex.php?latex=P%28n%2Cm%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='P(n,m)' title='P(n,m)' class='latex' /> true. Of course, if we choose a different <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> it could be that the <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> that now works is different, i.e., it may well be that <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> depends on <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> Of the options listed in the problem, it is (e) that precisely captures this.</p>
<p>Note that if one manages to show (a) or (f), then one also succeeds in proving the required statement. However, both (a) and (f) are too strong in general, i.e., there are cases where the given statement holds but both (a) and (f) fail. None of the other options even guarantees the truth of the statement.</p>
<p><strong>Problem 4</strong> gives as an erroneous proof, and requires to identify the flaw. The statement being claimed is that all natural numbers are divisible by 3. The argument uses the well-ordering principle, and contradiction. Assuming that the statement is false means that there are natural numbers not divisible by 3. Letting <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X' title='X' class='latex' /> be the set of all these numbers, this means that <img src='http://s0.wp.com/latex.php?latex=X%5Cne%5Cemptyset.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X&#92;ne&#92;emptyset.' title='X&#92;ne&#92;emptyset.' class='latex' /> The well-ordering principle guarantees that there is a least element of <img src='http://s0.wp.com/latex.php?latex=X%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X,' title='X,' class='latex' /> and we call it <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /> </p>
<p>Clearly, <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is not divisible by 3, so in particular <img src='http://s0.wp.com/latex.php?latex=x%5Cne0%2C3%2C6%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;ne0,3,6,&#92;dots' title='x&#92;ne0,3,6,&#92;dots' class='latex' /></p>
<p>The argument then asks to consider <img src='http://s0.wp.com/latex.php?latex=x-3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3.' title='x-3.' class='latex' /> Obviously, <img src='http://s0.wp.com/latex.php?latex=x-3%26%2360%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&lt;x,' title='x-3&lt;x,' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=x-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3' title='x-3' class='latex' /> is not in <img src='http://s0.wp.com/latex.php?latex=X.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='X.' title='X.' class='latex' /> If <img src='http://s0.wp.com/latex.php?latex=x-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3' title='x-3' class='latex' /> happens to be a natural number, then we are forced to conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3)' title='3&#124;(x-3)' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;x,' title='3&#124;x,' class='latex' /> since <img src='http://s0.wp.com/latex.php?latex=x%3D%28x-3%29%2B3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=(x-3)+3.' title='x=(x-3)+3.' class='latex' /> However, there is also the chance that <img src='http://s0.wp.com/latex.php?latex=x-3%5Cnotin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&#92;notin{&#92;mathbb N},' title='x-3&#92;notin{&#92;mathbb N},' class='latex' /> in which case we cannot conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3).' title='3&#124;(x-3).' class='latex' /> Thus, we cannot conclude that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3Bx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;x.' title='3&#124;x.' class='latex' /> The flaw in the argument, of course, is in assuming that <img src='http://s0.wp.com/latex.php?latex=3%26%23124%3B%28x-3%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#124;(x-3),' title='3&#124;(x-3),' class='latex' /> which is only assured if <img src='http://s0.wp.com/latex.php?latex=x-3%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x-3&#92;in{&#92;mathbb N}.' title='x-3&#92;in{&#92;mathbb N}.' class='latex' /></p>
<p><strong>Problem </strong>5 asks to prove by induction that, for all positive integers <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> we have</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cge1%2B%5Cfrac%7Bn%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' class='latex' /></p>
<p style="text-align:left;">To argue by induction, we first prove the base case, when <img src='http://s0.wp.com/latex.php?latex=n%3D1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1.' title='n=1.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac12' title='1+&#92;frac12' class='latex' /> on the left hand side and <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac12' title='1+&#92;frac12' class='latex' /> on the right hand side as well. The inequality holds (in fact, it is an equality in this case).</p>
<p style="text-align:left;">Now we argue the inductive step. Assume that, indeed, </p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cge1%2B%5Cfrac%7Bn%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;ge1+&#92;frac{n}2.' class='latex' /></p>
<p style="text-align:left;">We need to prove that also</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%5Cge1%2B%5Cfrac%7Bn%2B1%7D2.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}&#92;ge1+&#92;frac{n+1}2.' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}&#92;ge1+&#92;frac{n+1}2.' class='latex' /></p>
<p style="text-align:left;">To do this, note that <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+1%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}' title='&#92;displaystyle 1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^{n+1}}' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%3D+%5Cbigl%281%2B%5Cfrac12%2B%5Cfrac13%2B%5Cfrac14%2B%5Cdots%2B%5Cfrac1%7B2%5En%7D%5Cbigr%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle= &#92;bigl(1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;bigr)' title='&#92;displaystyle= &#92;bigl(1+&#92;frac12+&#92;frac13+&#92;frac14+&#92;dots+&#92;frac1{2^n}&#92;bigr)' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%2B%5Cbigl%28%5Cfrac1%7B2%5En%2B1%7D%2B%5Cfrac1%7B2%5En%2B2%7D%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle +&#92;bigl(&#92;frac1{2^n+1}+&#92;frac1{2^n+2}+&#92;dots+&#92;frac1{2^{n+1}}&#92;bigr).' title='&#92;displaystyle +&#92;bigl(&#92;frac1{2^n+1}+&#92;frac1{2^n+2}+&#92;dots+&#92;frac1{2^{n+1}}&#92;bigr).' class='latex' /> </p>
<p style="text-align:left;">The sum inside the first set of parentheses is at least <img src='http://s0.wp.com/latex.php?latex=1%2B%5Cfrac%7Bn%7D2%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1+&#92;frac{n}2,' title='1+&#92;frac{n}2,' class='latex' /> by the inductive assumption. We are done if we manage to show that the sum within the second set of parentheses is at least <img src='http://s0.wp.com/latex.php?latex=%5Cfrac12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac12.' title='&#92;frac12.' class='latex' /> </p>
<p style="text-align:left;">But note that <img src='http://s0.wp.com/latex.php?latex=%5Cfrac1%7B2%5En%2B1%7D%5Cge%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac1{2^n+1}&#92;ge&#92;frac1{2^{n+1}},' title='&#92;frac1{2^n+1}&#92;ge&#92;frac1{2^{n+1}},' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cfrac1%7B2%5En%2B2%7D%5Cge%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac1{2^n+2}&#92;ge&#92;frac1{2^{n+1}},' title='&#92;frac1{2^n+2}&#92;ge&#92;frac1{2^{n+1}},' class='latex' /> etc, so the second sum is at least </p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2B%5Cdots%2B%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle &#92;frac1{2^{n+1}}+&#92;frac1{2^{n+1}}+&#92;dots+&#92;frac1{2^{n+1}},' title='&#92;displaystyle &#92;frac1{2^{n+1}}+&#92;frac1{2^{n+1}}+&#92;dots+&#92;frac1{2^{n+1}},' class='latex' /></p>
<p style="text-align:left;">where there are precisely <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> many terms being added, all of them equal to <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cfrac1%7B2%5E%7Bn%2B1%7D%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle&#92;frac1{2^{n+1}}.' title='&#92;displaystyle&#92;frac1{2^{n+1}}.' class='latex' /> This means that this sum adds up to <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cfrac%7B2%5En%7D%7B2%5E%7Bn%2B1%7D%7D%3D%5Cfrac12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle&#92;frac{2^n}{2^{n+1}}=&#92;frac12.' title='&#92;displaystyle&#92;frac{2^n}{2^{n+1}}=&#92;frac12.' class='latex' /> Since this is what we needed, we have completed the inductive step, and therefore the proof.</p>
		<div id="geo-post-2640" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Extra credit problems]]></title>
<link>http://caicedoteaching.wordpress.com/2010/03/24/187-extra-credit-problems/</link>
<pubDate>Wed, 24 Mar 2010 16:57:19 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/03/24/187-extra-credit-problems/</guid>
<description><![CDATA[These questions are due Friday, April 9 at the beginning of lecture. Let be the function given by Sh]]></description>
<content:encoded><![CDATA[<p>These questions are due Friday, April 9 at the beginning of lecture.</p>
<ol>
<li>Let <img src='http://s0.wp.com/latex.php?latex=f%3A%7B%5Cmathbb+N%7D%5Ctimes%7B%5Cmathbb+N%7D%5Cto%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f:{&#92;mathbb N}&#92;times{&#92;mathbb N}&#92;to{&#92;mathbb N}' title='f:{&#92;mathbb N}&#92;times{&#92;mathbb N}&#92;to{&#92;mathbb N}' class='latex' /> be the function given by <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+f%28x%2Cy%29%3D%5Cfrac%7B%28x%2By%29%28x%2By%2B1%29%7D2%2By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle f(x,y)=&#92;frac{(x+y)(x+y+1)}2+y.' title='&#92;displaystyle f(x,y)=&#92;frac{(x+y)(x+y+1)}2+y.' class='latex' /> Show that <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f' title='f' class='latex' /> is a bijection.</li>
<li>Define <img src='http://s0.wp.com/latex.php?latex=g%3A%7B%5Cmathbb+N%7D%5Cto%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g:{&#92;mathbb N}&#92;to{&#92;mathbb N}' title='g:{&#92;mathbb N}&#92;to{&#92;mathbb N}' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=g%280%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(0)=0,' title='g(0)=0,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=g%281%29%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(1)=1' title='g(1)=1' class='latex' /> and, if <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then, letting <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p' title='p' class='latex' /> be the smallest prime such that <img src='http://s0.wp.com/latex.php?latex=p%26%23124%3Bn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p&#124;n,' title='p&#124;n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=g%28n%29%3D2%5Ep%5Ctimes+3%5E%7Bg%28n%2Fp%29%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(n)=2^p&#92;times 3^{g(n/p)}.' title='g(n)=2^p&#92;times 3^{g(n/p)}.' class='latex' /> [Here, <img src='http://s0.wp.com/latex.php?latex=n%2Fp%3Dn%5Cmathrel%7B%5Crm+div%7D+p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n/p=n&#92;mathrel{&#92;rm div} p' title='n/p=n&#92;mathrel{&#92;rm div} p' class='latex' />.] Compute <img src='http://s0.wp.com/latex.php?latex=g%28n%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(n)' title='g(n)' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=n%5Cle+15%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;le 15,' title='n&#92;le 15,' class='latex' /> and show that <img src='http://s0.wp.com/latex.php?latex=g&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g' title='g' class='latex' /> is one-to-one. </li>
</ol>
		<div id="geo-post-2637" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Extra credit problems]]></title>
<link>http://andrescaicedo.wordpress.com/2010/03/24/187-extra-credit-problems/</link>
<pubDate>Wed, 24 Mar 2010 16:57:19 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/03/24/187-extra-credit-problems/</guid>
<description><![CDATA[These questions are due Friday, April 9 at the beginning of lecture. Let be the function given by Sh]]></description>
<content:encoded><![CDATA[<p>These questions are due Friday, April 9 at the beginning of lecture.</p>
<ol>
<li>Let <img src='http://s0.wp.com/latex.php?latex=f%3A%7B%5Cmathbb+N%7D%5Ctimes%7B%5Cmathbb+N%7D%5Cto%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f:{&#92;mathbb N}&#92;times{&#92;mathbb N}&#92;to{&#92;mathbb N}' title='f:{&#92;mathbb N}&#92;times{&#92;mathbb N}&#92;to{&#92;mathbb N}' class='latex' /> be the function given by <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+f%28x%2Cy%29%3D%5Cfrac%7B%28x%2By%29%28x%2By%2B1%29%7D2%2By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;displaystyle f(x,y)=&#92;frac{(x+y)(x+y+1)}2+y.' title='&#92;displaystyle f(x,y)=&#92;frac{(x+y)(x+y+1)}2+y.' class='latex' /> Show that <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='f' title='f' class='latex' /> is a bijection.</li>
<li>Define <img src='http://s0.wp.com/latex.php?latex=g%3A%7B%5Cmathbb+N%7D%5Cto%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g:{&#92;mathbb N}&#92;to{&#92;mathbb N}' title='g:{&#92;mathbb N}&#92;to{&#92;mathbb N}' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=g%280%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(0)=0,' title='g(0)=0,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=g%281%29%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(1)=1' title='g(1)=1' class='latex' /> and, if <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then, letting <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p' title='p' class='latex' /> be the smallest prime such that <img src='http://s0.wp.com/latex.php?latex=p%26%23124%3Bn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p&#124;n,' title='p&#124;n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=g%28n%29%3D2%5Ep%5Ctimes+3%5E%7Bg%28n%2Fp%29%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(n)=2^p&#92;times 3^{g(n/p)}.' title='g(n)=2^p&#92;times 3^{g(n/p)}.' class='latex' /> [Here, <img src='http://s0.wp.com/latex.php?latex=n%2Fp%3Dn%5Cmathrel%7B%5Crm+div%7D+p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n/p=n&#92;mathrel{&#92;rm div} p' title='n/p=n&#92;mathrel{&#92;rm div} p' class='latex' />.] Compute <img src='http://s0.wp.com/latex.php?latex=g%28n%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g(n)' title='g(n)' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=n%5Cle+15%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;le 15,' title='n&#92;le 15,' class='latex' /> and show that <img src='http://s0.wp.com/latex.php?latex=g&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='g' title='g' class='latex' /> is one-to-one. </li>
</ol>
		<div id="geo-post-2637" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 7]]></title>
<link>http://caicedoteaching.wordpress.com/2010/03/22/187-quiz-7/</link>
<pubDate>Mon, 22 Mar 2010 16:45:53 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/03/22/187-quiz-7/</guid>
<description><![CDATA[Here is quiz 7. Solutions follow. Problem 1 asks us to prove that, for all natural numbers we have T]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/03/187-spring2010-quiz7.pdf" target="_blank">Here</a> is quiz 7.</p>
<p>Solutions follow.</p>
<p><!--more--></p>
<p><strong>Problem 1</strong> asks us to prove that, for all natural numbers <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></p>
<p>There are several ways of showing this. I present two proofs, one using the well-ordering principle (least counterexample), and the other arguing by induction.</p>
<p><em>Proof 1: </em>Using the well-ordering principle, one proceeds as follows: Suppose the result is false. This means that there is a natural <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> for which the identity fails, and therefore (since the set <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> of naturals for which the identity fails is non-empty) there is a least natural <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k' title='k' class='latex' /> for which the identity fails. This means several things:</p>
<ol>
<li><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5Ek%5Cne+10%5E%7Bk%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^k&#92;ne 10^{k+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^k&#92;ne 10^{k+1}-1.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=n%26%2360%3Bk&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&lt;k' title='n&lt;k' class='latex' /> is a natural number, <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></li>
</ol>
<p>We begin by noticing that <img src='http://s0.wp.com/latex.php?latex=k%5Cne+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k&#92;ne 0,' title='k&#92;ne 0,' class='latex' /> because <img src='http://s0.wp.com/latex.php?latex=9%3D10%5E1-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9=10^1-1,' title='9=10^1-1,' class='latex' /> meaning that the identity holds in this case.</p>
<p>It follows that <img src='http://s0.wp.com/latex.php?latex=k-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k-1' title='k-1' class='latex' /> is also a natural number. By item 2, we then have that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bk-1%7D%3D10%5Ek-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1}=10^k-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1}=10^k-1.' class='latex' /> </p>
<p>The plan is now to somehow transform this equality into the equality that item 1 claims must fail. To do this, the most direct route seems to be to add <img src='http://s0.wp.com/latex.php?latex=9%5Ctimes+10%5Ek&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9&#92;times 10^k' title='9&#92;times 10^k' class='latex' /> to both sides of the displayed equation. We have</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%289%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bk-1%7D%29%2B9%5Ctimes+10%5Ek%3D%2810%5Ek-1%29%2B9%5Ctimes+10%5Ek&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1})+9&#92;times 10^k=(10^k-1)+9&#92;times 10^k' title='(9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1})+9&#92;times 10^k=(10^k-1)+9&#92;times 10^k' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%3D10%5Ctimes+10%5Ek-1%3D10%5E%7Bk%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='=10&#92;times 10^k-1=10^{k+1}-1.' title='=10&#92;times 10^k-1=10^{k+1}-1.' class='latex' /></p>
<p>We have indeed shown that item 1 is false. This is a contradiction, and we conclude that our assumption (that the identity fails for some natural <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' />) is false, meaning of course that the identity holds for all natural numbers, as we wanted to prove.</p>
<p><em>Proof 2:</em> Using induction, one argues as follows: First, we show that the identity is true when <img src='http://s0.wp.com/latex.php?latex=n%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0.' title='n=0.' class='latex' /> This is indeed the case, since <img src='http://s0.wp.com/latex.php?latex=9%3D10%5E1-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9=10^1-1.' title='9=10^1-1.' class='latex' /></p>
<p>Now we assume that the identity holds for some number <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> meaning that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></p>
<p>We need to somehow conclude that also <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D10%5E%7Bn%2B2%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^{n+1}=10^{n+2}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^{n+1}=10^{n+2}-1.' class='latex' /> To do this, we can start with the identity for <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> that we are assuming is true, and add <img src='http://s0.wp.com/latex.php?latex=9%5Ctimes+10%5E%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9&#92;times 10^{n+1}' title='9&#92;times 10^{n+1}' class='latex' /> to both sides. We obtain</p>
<p style="text-align:center;"> <img src='http://s0.wp.com/latex.php?latex=%289%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D%2810%5E%7Bn%2B1%7D-1%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(9+9&#92;times 10+&#92;dots+9&#92;times 10^n)+9&#92;times 10^{n+1}=(10^{n+1}-1)+9&#92;times 10^{n+1}.' title='(9+9&#92;times 10+&#92;dots+9&#92;times 10^n)+9&#92;times 10^{n+1}=(10^{n+1}-1)+9&#92;times 10^{n+1}.' class='latex' /></p>
<p>Now we observe that <img src='http://s0.wp.com/latex.php?latex=%2810%5E%7Bn%2B1%7D-1%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D10%5Ctimes+10%5E%7Bn%2B1%7D-1%3D10%5E%7Bn%2B2%7D-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(10^{n+1}-1)+9&#92;times 10^{n+1}=10&#92;times 10^{n+1}-1=10^{n+2}-1,' title='(10^{n+1}-1)+9&#92;times 10^{n+1}=10&#92;times 10^{n+1}-1=10^{n+2}-1,' class='latex' /> and we conclude that the identity also holds for <img src='http://s0.wp.com/latex.php?latex=n%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n+1,' title='n+1,' class='latex' /> as we wanted to show.</p>
<p>By induction, we conclude that the identity holds for all natural numbers.</p>
<p>[Note that both proofs are very similar, as was to be expected.]</p>
<p><strong>Problem 2</strong> starts by defining a sequence by recursion: We set <img src='http://s0.wp.com/latex.php?latex=a_0%3D12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_0=12' title='a_0=12' class='latex' /> and, in general, <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%3D%283a_n%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}=(3a_n+8)/5' title='a_{n+1}=(3a_n+8)/5' class='latex' /> for all naturals <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> We are asked to prove that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4' title='a_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}.' title='n&#92;in{&#92;mathbb N}.' class='latex' /> </p>
<p>Once again, one can argue by either the well-ordering principle, or induction. I present here a proof using induction. First, we consider the case <img src='http://s0.wp.com/latex.php?latex=n%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0.' title='n=0.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=a_0%3D12%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_0=12,' title='a_0=12,' class='latex' /> which is obviously larger than <img src='http://s0.wp.com/latex.php?latex=4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4.' title='4.' class='latex' /></p>
<p>Assuming now that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4,' title='a_n&gt;4,' class='latex' /> we need to prove that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;4' title='a_{n+1}&gt;4' class='latex' /> as well. For this, we use that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%3D%283a_n%2B8%29%2F5%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}=(3a_n+8)/5,' title='a_{n+1}=(3a_n+8)/5,' class='latex' /> from which it follows, using the inductive assumption, that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3B%283%5Ctimes+4%2B8%29%2F5%3D%2812%2B8%29%2F5%3D20%2F5%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;(3&#92;times 4+8)/5=(12+8)/5=20/5=4.' title='a_{n+1}&gt;(3&#92;times 4+8)/5=(12+8)/5=20/5=4.' class='latex' /></p>
<p>This is what we needed to prove. By induction, we conclude that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4' title='a_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}.' title='n&#92;in{&#92;mathbb N}.' class='latex' /></p>
<p><strong>Remark: </strong>One can also prove that induction that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3Ba_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;a_{n+1}' title='a_n&gt;a_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N},' title='n&#92;in{&#92;mathbb N},' class='latex' /> i.e., that the sequence is <em>decreasing</em>. To see this, note that <img src='http://s0.wp.com/latex.php?latex=a_1%3D%283%5Ctimes+a_0%2B8%29%2F5%3D%283%5Ctimes+12%2B8%29%2F5%3D44%2F5%3D8.8%26%2360%3B12%3Da_0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_1=(3&#92;times a_0+8)/5=(3&#92;times 12+8)/5=44/5=8.8&lt;12=a_0.' title='a_1=(3&#92;times a_0+8)/5=(3&#92;times 12+8)/5=44/5=8.8&lt;12=a_0.' class='latex' /> Assuming that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3Ba_%7Bn%2B1%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;a_{n+1},' title='a_n&gt;a_{n+1},' class='latex' /> we then have that <img src='http://s0.wp.com/latex.php?latex=3a_n%26%2362%3B3a_%7Bn%2B1%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3a_n&gt;3a_{n+1},' title='3a_n&gt;3a_{n+1},' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=3a_n%2B8%26%2362%3B3a_%7Bn%2B1%7D%2B8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3a_n+8&gt;3a_{n+1}+8,' title='3a_n+8&gt;3a_{n+1}+8,' class='latex' /> and so <img src='http://s0.wp.com/latex.php?latex=%283a_n%2B8%29%2F5%26%2362%3B%283a_%7Bn%2B1%7D%2B8%29%2F5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(3a_n+8)/5&gt;(3a_{n+1}+8)/5.' title='(3a_n+8)/5&gt;(3a_{n+1}+8)/5.' class='latex' /> But this means (using the recursive definition of the sequence) that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3Ba_%7Bn%2B2%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;a_{n+2}.' title='a_{n+1}&gt;a_{n+2}.' class='latex' /> By induction, the sequence is decreasing.</p>
<p>A fundamental result in calculus is that a decreasing sequence that is bounded below must converge. We can now easily compute <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7Da_n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}a_n.' title='&#92;lim_{n&#92;to&#92;infty}a_n.' class='latex' /> In effect, let <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7Da_n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}a_n.' title='L=&#92;lim_{n&#92;to&#92;infty}a_n.' class='latex' /> Then, of course, we also have <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7Da_%7Bn%2B1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}a_{n+1}.' title='L=&#92;lim_{n&#92;to&#92;infty}a_{n+1}.' class='latex' /> Using the recursive definition of the sequence, we then have <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7D%283a_n%2B8%29%2F5%3D%283L%2B8%29%2F5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}(3a_n+8)/5=(3L+8)/5.' title='L=&#92;lim_{n&#92;to&#92;infty}(3a_n+8)/5=(3L+8)/5.' class='latex' /> The equality <img src='http://s0.wp.com/latex.php?latex=L%3D%283L%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=(3L+8)/5' title='L=(3L+8)/5' class='latex' /> quickly gives us that <img src='http://s0.wp.com/latex.php?latex=L%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=4.' title='L=4.' class='latex' /></p>
<p>As a matter of fact, we can show that if <img src='http://s0.wp.com/latex.php?latex=b_0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0' title='b_0' class='latex' /> is any real number, and we define the sequence <img src='http://s0.wp.com/latex.php?latex=b_0%2Cb_1%2Cb_2%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0,b_1,b_2,&#92;dots' title='b_0,b_1,b_2,&#92;dots' class='latex' /> recursively, by setting <img src='http://s0.wp.com/latex.php?latex=b_%7Bn%2B1%7D%3D%283b_n%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_{n+1}=(3b_n+8)/5' title='b_{n+1}=(3b_n+8)/5' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N},' title='n&#92;in{&#92;mathbb N},' class='latex' /> then:</p>
<ol>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%26%2362%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0&gt;4,' title='b_0&gt;4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&gt;4' title='b_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and the sequence is decreasing, meaning that <img src='http://s0.wp.com/latex.php?latex=b_n%26%2362%3Bb_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&gt;b_{n+1}' title='b_n&gt;b_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%26%2360%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0&lt;4,' title='b_0&lt;4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%26%2360%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&lt;4' title='b_n&lt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and the sequence is increasing, meaning that <img src='http://s0.wp.com/latex.php?latex=b_n%26%2360%3Bb_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&lt;b_{n+1}' title='b_n&lt;b_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> </li>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%3D4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0=4,' title='b_0=4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%3D4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n=4' title='b_n=4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /></li>
<li>In all three cases, <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7Db_n%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}b_n=4.' title='&#92;lim_{n&#92;to&#92;infty}b_n=4.' class='latex' /></li>
</ol>
<p>Though the example presented here is simple, this technique of computing limits of sequences by studying their behavior using induction, is actually very useful in higher calculus (mathematical analysis).</p>
<p><strong>Problem 3</strong> asks us to identify the flaw in the following wrong argument:</p>
<blockquote><p><strong>Theorem. </strong><em><span style="color:#0000ff;">All natural numbers are equal.</span></em></p>
<p><strong>Proof</strong>. We argue by induction on <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> that if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}' title='a,b&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n,' title='&#92;max(a,b)=n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n.' title='a=b=n.' class='latex' /> </p>
<p>The case <img src='http://s0.wp.com/latex.php?latex=n%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0' title='n=0' class='latex' /> holds, because if <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=0' title='&#92;max(a,b)=0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> are natural numbers, then in fact <img src='http://s0.wp.com/latex.php?latex=a%3Db%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=0.' title='a=b=0.' class='latex' /></p>
<p>Suppose then that the result holds for <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> and consider natural numbers <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1.' title='&#92;max(a,b)=n+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n' title='&#92;max(a-1,b-1)=n' class='latex' /> and, by the inductive assumption, it follows that <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n.' title='a-1=b-1=n.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n+1.' title='a=b=n+1.' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5CBox&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;Box' title='&#92;Box' class='latex' /></p></blockquote>
<p>The argument is presented as a proof by induction, with the base case and the inductive case indicated. If indeed both cases are argued correctly, the conclusion will follow. This means that the flaw is either in the proof of the base case or of the inductive case.</p>
<p>The base case, however, is proved correctly: If <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> are natural numbers, then <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%2Cb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a,b.' title='0&#92;le a,b.' class='latex' /> If we are also given that <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=0,' title='&#92;max(a,b)=0,' class='latex' /> then we have <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%5Cle+0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a&#92;le 0' title='0&#92;le a&#92;le 0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=0%5Cle+b%5Cle+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le b&#92;le 0,' title='0&#92;le b&#92;le 0,' class='latex' /> so indeed <img src='http://s0.wp.com/latex.php?latex=a%3Db%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=0.' title='a=b=0.' class='latex' /></p>
<p>It follows that the flaw must lie somewhere within the inductive case. Now, if <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1,' title='&#92;max(a,b)=n+1,' class='latex' /> then indeed <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n.' title='&#92;max(a-1,b-1)=n.' class='latex' /> Also, if <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n,' title='a-1=b-1=n,' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n+1.' title='a=b=n+1.' class='latex' /> And, finally, <em>if</em> it is indeed the case that we can apply the inductive assumption <em>then</em>, from <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n' title='&#92;max(a-1,b-1)=n' class='latex' /> we are forced to conclude that <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n.' title='a-1=b-1=n.' class='latex' /></p>
<p>It follows that the flaw is in assuming that the inductive assumption applies. Recall that the inductive assumption is:</p>
<blockquote><p>If <img src='http://s0.wp.com/latex.php?latex=%5Calpha%2C%5Cbeta%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha,&#92;beta&#92;in{&#92;mathbb N}' title='&#92;alpha,&#92;beta&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28%5Calpha%2C%5Cbeta%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(&#92;alpha,&#92;beta)=n,' title='&#92;max(&#92;alpha,&#92;beta)=n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=%5Calpha%3D%5Cbeta%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha=&#92;beta=n,' title='&#92;alpha=&#92;beta=n,' class='latex' /></p></blockquote>
<p>And we are using it with <img src='http://s0.wp.com/latex.php?latex=%5Calpha%3Da-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha=a-1' title='&#92;alpha=a-1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cbeta%3Db-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;beta=b-1.' title='&#92;beta=b-1.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n,' title='&#92;max(a-1,b-1)=n,' class='latex' /> the only place we have left, and thus the place where the problem should reside, is in affirming that <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1&#92;in{&#92;mathbb N}.' title='a-1,b-1&#92;in{&#92;mathbb N}.' class='latex' /> </p>
<p>We see that this is, as expected, a problem, because if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}' title='a,b&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1,' title='&#92;max(a,b)=n+1,' class='latex' /> then we cannot conclude that both <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1&#92;in{&#92;mathbb N}' title='a-1,b-1&#92;in{&#92;mathbb N}' class='latex' /> as well. Of course, one of <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1' title='a-1,b-1' class='latex' /> equals <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}' title='n&#92;in{&#92;mathbb N}' class='latex' /> but, for all we know, we could have <img src='http://s0.wp.com/latex.php?latex=a%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=0' title='a=0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=n+1.' title='b=n+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=a-1%3D-1%5Cnotin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=-1&#92;notin{&#92;mathbb N},' title='a-1=-1&#92;notin{&#92;mathbb N},' class='latex' /> and the inductive assumption does not apply to <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1' title='a-1,b-1' class='latex' /> since they are not both natural numbers.</p>
		<div id="geo-post-2619" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 7]]></title>
<link>http://andrescaicedo.wordpress.com/2010/03/22/187-quiz-7/</link>
<pubDate>Mon, 22 Mar 2010 16:45:53 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/03/22/187-quiz-7/</guid>
<description><![CDATA[Here is quiz 7. Solutions follow. Problem 1 asks us to prove that, for all natural numbers we have T]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/03/187-spring2010-quiz7.pdf" target="_blank">Here</a> is quiz 7.</p>
<p>Solutions follow.</p>
<p><!--more--></p>
<p><strong>Problem 1</strong> asks us to prove that, for all natural numbers <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> we have <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></p>
<p>There are several ways of showing this. I present two proofs, one using the well-ordering principle (least counterexample), and the other arguing by induction.</p>
<p><em>Proof 1: </em>Using the well-ordering principle, one proceeds as follows: Suppose the result is false. This means that there is a natural <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> for which the identity fails, and therefore (since the set <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> of naturals for which the identity fails is non-empty) there is a least natural <img src='http://s0.wp.com/latex.php?latex=k&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k' title='k' class='latex' /> for which the identity fails. This means several things:</p>
<ol>
<li><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5Ek%5Cne+10%5E%7Bk%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^k&#92;ne 10^{k+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^k&#92;ne 10^{k+1}-1.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=n%26%2360%3Bk&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&lt;k' title='n&lt;k' class='latex' /> is a natural number, <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></li>
</ol>
<p>We begin by noticing that <img src='http://s0.wp.com/latex.php?latex=k%5Cne+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k&#92;ne 0,' title='k&#92;ne 0,' class='latex' /> because <img src='http://s0.wp.com/latex.php?latex=9%3D10%5E1-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9=10^1-1,' title='9=10^1-1,' class='latex' /> meaning that the identity holds in this case.</p>
<p>It follows that <img src='http://s0.wp.com/latex.php?latex=k-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k-1' title='k-1' class='latex' /> is also a natural number. By item 2, we then have that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bk-1%7D%3D10%5Ek-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1}=10^k-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1}=10^k-1.' class='latex' /> </p>
<p>The plan is now to somehow transform this equality into the equality that item 1 claims must fail. To do this, the most direct route seems to be to add <img src='http://s0.wp.com/latex.php?latex=9%5Ctimes+10%5Ek&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9&#92;times 10^k' title='9&#92;times 10^k' class='latex' /> to both sides of the displayed equation. We have</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%289%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bk-1%7D%29%2B9%5Ctimes+10%5Ek%3D%2810%5Ek-1%29%2B9%5Ctimes+10%5Ek&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1})+9&#92;times 10^k=(10^k-1)+9&#92;times 10^k' title='(9+9&#92;times 10+&#92;dots+9&#92;times 10^{k-1})+9&#92;times 10^k=(10^k-1)+9&#92;times 10^k' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%3D10%5Ctimes+10%5Ek-1%3D10%5E%7Bk%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='=10&#92;times 10^k-1=10^{k+1}-1.' title='=10&#92;times 10^k-1=10^{k+1}-1.' class='latex' /></p>
<p>We have indeed shown that item 1 is false. This is a contradiction, and we conclude that our assumption (that the identity fails for some natural <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' />) is false, meaning of course that the identity holds for all natural numbers, as we wanted to prove.</p>
<p><em>Proof 2:</em> Using induction, one argues as follows: First, we show that the identity is true when <img src='http://s0.wp.com/latex.php?latex=n%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0.' title='n=0.' class='latex' /> This is indeed the case, since <img src='http://s0.wp.com/latex.php?latex=9%3D10%5E1-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9=10^1-1.' title='9=10^1-1.' class='latex' /></p>
<p>Now we assume that the identity holds for some number <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> meaning that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%3D10%5E%7Bn%2B1%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^n=10^{n+1}-1.' class='latex' /></p>
<p>We need to somehow conclude that also <img src='http://s0.wp.com/latex.php?latex=9%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D10%5E%7Bn%2B2%7D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9+9&#92;times 10+&#92;dots+9&#92;times 10^{n+1}=10^{n+2}-1.' title='9+9&#92;times 10+&#92;dots+9&#92;times 10^{n+1}=10^{n+2}-1.' class='latex' /> To do this, we can start with the identity for <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> that we are assuming is true, and add <img src='http://s0.wp.com/latex.php?latex=9%5Ctimes+10%5E%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='9&#92;times 10^{n+1}' title='9&#92;times 10^{n+1}' class='latex' /> to both sides. We obtain</p>
<p style="text-align:center;"> <img src='http://s0.wp.com/latex.php?latex=%289%2B9%5Ctimes+10%2B%5Cdots%2B9%5Ctimes+10%5En%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D%2810%5E%7Bn%2B1%7D-1%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(9+9&#92;times 10+&#92;dots+9&#92;times 10^n)+9&#92;times 10^{n+1}=(10^{n+1}-1)+9&#92;times 10^{n+1}.' title='(9+9&#92;times 10+&#92;dots+9&#92;times 10^n)+9&#92;times 10^{n+1}=(10^{n+1}-1)+9&#92;times 10^{n+1}.' class='latex' /></p>
<p>Now we observe that <img src='http://s0.wp.com/latex.php?latex=%2810%5E%7Bn%2B1%7D-1%29%2B9%5Ctimes+10%5E%7Bn%2B1%7D%3D10%5Ctimes+10%5E%7Bn%2B1%7D-1%3D10%5E%7Bn%2B2%7D-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(10^{n+1}-1)+9&#92;times 10^{n+1}=10&#92;times 10^{n+1}-1=10^{n+2}-1,' title='(10^{n+1}-1)+9&#92;times 10^{n+1}=10&#92;times 10^{n+1}-1=10^{n+2}-1,' class='latex' /> and we conclude that the identity also holds for <img src='http://s0.wp.com/latex.php?latex=n%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n+1,' title='n+1,' class='latex' /> as we wanted to show.</p>
<p>By induction, we conclude that the identity holds for all natural numbers.</p>
<p>[Note that both proofs are very similar, as was to be expected.]</p>
<p><strong>Problem 2</strong> starts by defining a sequence by recursion: We set <img src='http://s0.wp.com/latex.php?latex=a_0%3D12&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_0=12' title='a_0=12' class='latex' /> and, in general, <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%3D%283a_n%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}=(3a_n+8)/5' title='a_{n+1}=(3a_n+8)/5' class='latex' /> for all naturals <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> We are asked to prove that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4' title='a_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}.' title='n&#92;in{&#92;mathbb N}.' class='latex' /> </p>
<p>Once again, one can argue by either the well-ordering principle, or induction. I present here a proof using induction. First, we consider the case <img src='http://s0.wp.com/latex.php?latex=n%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0.' title='n=0.' class='latex' /> We have <img src='http://s0.wp.com/latex.php?latex=a_0%3D12%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_0=12,' title='a_0=12,' class='latex' /> which is obviously larger than <img src='http://s0.wp.com/latex.php?latex=4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4.' title='4.' class='latex' /></p>
<p>Assuming now that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4,' title='a_n&gt;4,' class='latex' /> we need to prove that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;4' title='a_{n+1}&gt;4' class='latex' /> as well. For this, we use that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%3D%283a_n%2B8%29%2F5%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}=(3a_n+8)/5,' title='a_{n+1}=(3a_n+8)/5,' class='latex' /> from which it follows, using the inductive assumption, that</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3B%283%5Ctimes+4%2B8%29%2F5%3D%2812%2B8%29%2F5%3D20%2F5%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;(3&#92;times 4+8)/5=(12+8)/5=20/5=4.' title='a_{n+1}&gt;(3&#92;times 4+8)/5=(12+8)/5=20/5=4.' class='latex' /></p>
<p>This is what we needed to prove. By induction, we conclude that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;4' title='a_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}.' title='n&#92;in{&#92;mathbb N}.' class='latex' /></p>
<p><strong>Remark: </strong>One can also prove that induction that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3Ba_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;a_{n+1}' title='a_n&gt;a_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N},' title='n&#92;in{&#92;mathbb N},' class='latex' /> i.e., that the sequence is <em>decreasing</em>. To see this, note that <img src='http://s0.wp.com/latex.php?latex=a_1%3D%283%5Ctimes+a_0%2B8%29%2F5%3D%283%5Ctimes+12%2B8%29%2F5%3D44%2F5%3D8.8%26%2360%3B12%3Da_0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_1=(3&#92;times a_0+8)/5=(3&#92;times 12+8)/5=44/5=8.8&lt;12=a_0.' title='a_1=(3&#92;times a_0+8)/5=(3&#92;times 12+8)/5=44/5=8.8&lt;12=a_0.' class='latex' /> Assuming that <img src='http://s0.wp.com/latex.php?latex=a_n%26%2362%3Ba_%7Bn%2B1%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_n&gt;a_{n+1},' title='a_n&gt;a_{n+1},' class='latex' /> we then have that <img src='http://s0.wp.com/latex.php?latex=3a_n%26%2362%3B3a_%7Bn%2B1%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3a_n&gt;3a_{n+1},' title='3a_n&gt;3a_{n+1},' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=3a_n%2B8%26%2362%3B3a_%7Bn%2B1%7D%2B8%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3a_n+8&gt;3a_{n+1}+8,' title='3a_n+8&gt;3a_{n+1}+8,' class='latex' /> and so <img src='http://s0.wp.com/latex.php?latex=%283a_n%2B8%29%2F5%26%2362%3B%283a_%7Bn%2B1%7D%2B8%29%2F5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(3a_n+8)/5&gt;(3a_{n+1}+8)/5.' title='(3a_n+8)/5&gt;(3a_{n+1}+8)/5.' class='latex' /> But this means (using the recursive definition of the sequence) that <img src='http://s0.wp.com/latex.php?latex=a_%7Bn%2B1%7D%26%2362%3Ba_%7Bn%2B2%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a_{n+1}&gt;a_{n+2}.' title='a_{n+1}&gt;a_{n+2}.' class='latex' /> By induction, the sequence is decreasing.</p>
<p>A fundamental result in calculus is that a decreasing sequence that is bounded below must converge. We can now easily compute <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7Da_n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}a_n.' title='&#92;lim_{n&#92;to&#92;infty}a_n.' class='latex' /> In effect, let <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7Da_n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}a_n.' title='L=&#92;lim_{n&#92;to&#92;infty}a_n.' class='latex' /> Then, of course, we also have <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7Da_%7Bn%2B1%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}a_{n+1}.' title='L=&#92;lim_{n&#92;to&#92;infty}a_{n+1}.' class='latex' /> Using the recursive definition of the sequence, we then have <img src='http://s0.wp.com/latex.php?latex=L%3D%5Clim_%7Bn%5Cto%5Cinfty%7D%283a_n%2B8%29%2F5%3D%283L%2B8%29%2F5.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=&#92;lim_{n&#92;to&#92;infty}(3a_n+8)/5=(3L+8)/5.' title='L=&#92;lim_{n&#92;to&#92;infty}(3a_n+8)/5=(3L+8)/5.' class='latex' /> The equality <img src='http://s0.wp.com/latex.php?latex=L%3D%283L%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=(3L+8)/5' title='L=(3L+8)/5' class='latex' /> quickly gives us that <img src='http://s0.wp.com/latex.php?latex=L%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='L=4.' title='L=4.' class='latex' /></p>
<p>As a matter of fact, we can show that if <img src='http://s0.wp.com/latex.php?latex=b_0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0' title='b_0' class='latex' /> is any real number, and we define the sequence <img src='http://s0.wp.com/latex.php?latex=b_0%2Cb_1%2Cb_2%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0,b_1,b_2,&#92;dots' title='b_0,b_1,b_2,&#92;dots' class='latex' /> recursively, by setting <img src='http://s0.wp.com/latex.php?latex=b_%7Bn%2B1%7D%3D%283b_n%2B8%29%2F5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_{n+1}=(3b_n+8)/5' title='b_{n+1}=(3b_n+8)/5' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N},' title='n&#92;in{&#92;mathbb N},' class='latex' /> then:</p>
<ol>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%26%2362%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0&gt;4,' title='b_0&gt;4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%26%2362%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&gt;4' title='b_n&gt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and the sequence is decreasing, meaning that <img src='http://s0.wp.com/latex.php?latex=b_n%26%2362%3Bb_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&gt;b_{n+1}' title='b_n&gt;b_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%26%2360%3B4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0&lt;4,' title='b_0&lt;4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%26%2360%3B4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&lt;4' title='b_n&lt;4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n,' title='n,' class='latex' /> and the sequence is increasing, meaning that <img src='http://s0.wp.com/latex.php?latex=b_n%26%2360%3Bb_%7Bn%2B1%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n&lt;b_{n+1}' title='b_n&lt;b_{n+1}' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /> </li>
<li>If <img src='http://s0.wp.com/latex.php?latex=b_0%3D4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_0=4,' title='b_0=4,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=b_n%3D4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b_n=4' title='b_n=4' class='latex' /> for all <img src='http://s0.wp.com/latex.php?latex=n.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n.' title='n.' class='latex' /></li>
<li>In all three cases, <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7Db_n%3D4.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}b_n=4.' title='&#92;lim_{n&#92;to&#92;infty}b_n=4.' class='latex' /></li>
</ol>
<p>Though the example presented here is simple, this technique of computing limits of sequences by studying their behavior using induction, is actually very useful in higher calculus (mathematical analysis).</p>
<p><strong>Problem 3</strong> asks us to identify the flaw in the following wrong argument:</p>
<blockquote><p><strong>Theorem. </strong><em><span style="color:#0000ff;">All natural numbers are equal.</span></em></p>
<p><strong>Proof</strong>. We argue by induction on <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> that if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}' title='a,b&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n,' title='&#92;max(a,b)=n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n.' title='a=b=n.' class='latex' /> </p>
<p>The case <img src='http://s0.wp.com/latex.php?latex=n%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=0' title='n=0' class='latex' /> holds, because if <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=0' title='&#92;max(a,b)=0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> are natural numbers, then in fact <img src='http://s0.wp.com/latex.php?latex=a%3Db%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=0.' title='a=b=0.' class='latex' /></p>
<p>Suppose then that the result holds for <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> and consider natural numbers <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1.' title='&#92;max(a,b)=n+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n' title='&#92;max(a-1,b-1)=n' class='latex' /> and, by the inductive assumption, it follows that <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n.' title='a-1=b-1=n.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n+1.' title='a=b=n+1.' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5CBox&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;Box' title='&#92;Box' class='latex' /></p></blockquote>
<p>The argument is presented as a proof by induction, with the base case and the inductive case indicated. If indeed both cases are argued correctly, the conclusion will follow. This means that the flaw is either in the proof of the base case or of the inductive case.</p>
<p>The base case, however, is proved correctly: If <img src='http://s0.wp.com/latex.php?latex=a%2Cb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b' title='a,b' class='latex' /> are natural numbers, then <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%2Cb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a,b.' title='0&#92;le a,b.' class='latex' /> If we are also given that <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3D0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=0,' title='&#92;max(a,b)=0,' class='latex' /> then we have <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%5Cle+0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a&#92;le 0' title='0&#92;le a&#92;le 0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=0%5Cle+b%5Cle+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le b&#92;le 0,' title='0&#92;le b&#92;le 0,' class='latex' /> so indeed <img src='http://s0.wp.com/latex.php?latex=a%3Db%3D0.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=0.' title='a=b=0.' class='latex' /></p>
<p>It follows that the flaw must lie somewhere within the inductive case. Now, if <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1,' title='&#92;max(a,b)=n+1,' class='latex' /> then indeed <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n.' title='&#92;max(a-1,b-1)=n.' class='latex' /> Also, if <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n,' title='a-1=b-1=n,' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=a%3Db%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=b=n+1.' title='a=b=n+1.' class='latex' /> And, finally, <em>if</em> it is indeed the case that we can apply the inductive assumption <em>then</em>, from <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n' title='&#92;max(a-1,b-1)=n' class='latex' /> we are forced to conclude that <img src='http://s0.wp.com/latex.php?latex=a-1%3Db-1%3Dn.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=b-1=n.' title='a-1=b-1=n.' class='latex' /></p>
<p>It follows that the flaw is in assuming that the inductive assumption applies. Recall that the inductive assumption is:</p>
<blockquote><p>If <img src='http://s0.wp.com/latex.php?latex=%5Calpha%2C%5Cbeta%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha,&#92;beta&#92;in{&#92;mathbb N}' title='&#92;alpha,&#92;beta&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28%5Calpha%2C%5Cbeta%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(&#92;alpha,&#92;beta)=n,' title='&#92;max(&#92;alpha,&#92;beta)=n,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=%5Calpha%3D%5Cbeta%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha=&#92;beta=n,' title='&#92;alpha=&#92;beta=n,' class='latex' /></p></blockquote>
<p>And we are using it with <img src='http://s0.wp.com/latex.php?latex=%5Calpha%3Da-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha=a-1' title='&#92;alpha=a-1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cbeta%3Db-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;beta=b-1.' title='&#92;beta=b-1.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a-1%2Cb-1%29%3Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a-1,b-1)=n,' title='&#92;max(a-1,b-1)=n,' class='latex' /> the only place we have left, and thus the place where the problem should reside, is in affirming that <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1&#92;in{&#92;mathbb N}.' title='a-1,b-1&#92;in{&#92;mathbb N}.' class='latex' /> </p>
<p>We see that this is, as expected, a problem, because if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b&#92;in{&#92;mathbb N}' title='a,b&#92;in{&#92;mathbb N}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cmax%28a%2Cb%29%3Dn%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;max(a,b)=n+1,' title='&#92;max(a,b)=n+1,' class='latex' /> then we cannot conclude that both <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1&#92;in{&#92;mathbb N}' title='a-1,b-1&#92;in{&#92;mathbb N}' class='latex' /> as well. Of course, one of <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1' title='a-1,b-1' class='latex' /> equals <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;in{&#92;mathbb N}' title='n&#92;in{&#92;mathbb N}' class='latex' /> but, for all we know, we could have <img src='http://s0.wp.com/latex.php?latex=a%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=0' title='a=0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%3Dn%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=n+1.' title='b=n+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=a-1%3D-1%5Cnotin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1=-1&#92;notin{&#92;mathbb N},' title='a-1=-1&#92;notin{&#92;mathbb N},' class='latex' /> and the inductive assumption does not apply to <img src='http://s0.wp.com/latex.php?latex=a-1%2Cb-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a-1,b-1' title='a-1,b-1' class='latex' /> since they are not both natural numbers.</p>
		<div id="geo-post-2619" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quizzes 5 and 6]]></title>
<link>http://caicedoteaching.wordpress.com/2010/03/14/187-quizzes-5-and-6/</link>
<pubDate>Mon, 15 Mar 2010 05:44:59 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/03/14/187-quizzes-5-and-6/</guid>
<description><![CDATA[Here is quiz 5 and here is quiz 6. Problem 1 asks to show that the relation defined as follows is an]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/03/187-spring2010-quiz5.pdf" target="_blank">Here</a> is quiz 5 and <a href="http://caicedoteaching.files.wordpress.com/2010/03/187-spring2010-quiz6.pdf" target="_blank">here</a> is quiz 6.</p>
<p><strong>Problem 1</strong> asks to show that the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> defined as follows is antisymmetric: Given a set <img src='http://s0.wp.com/latex.php?latex=A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,' title='A,' class='latex' /> the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is defined on the subsets of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Csubseteq+A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;subseteq A,' title='x,y&#92;subseteq A,' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset,' title='y&#92;setminus x=&#92;emptyset,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=%5Csetminus&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;setminus' title='&#92;setminus' class='latex' /> denotes set-theoretic difference of sets.</p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is antisymmetric, we need to show that whenever <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Csubseteq+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;subseteq A' title='x,y&#92;subseteq A' class='latex' /> are such that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x,' title='y&#92;mathrel{R}x,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=x%3Dy.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=y.' title='x=y.' class='latex' /> Suppose <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> satisfy these assumptions. We need to show that they are equal as sets, i.e., that they have the same elements.</p>
<p>By definition, <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> holds iff <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset,' title='y&#92;setminus x=&#92;emptyset,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x' title='y&#92;mathrel{R}x' class='latex' /> holds iff <img src='http://s0.wp.com/latex.php?latex=x%5Csetminus+y%3D%5Cemptyset.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;setminus y=&#92;emptyset.' title='x&#92;setminus y=&#92;emptyset.' class='latex' /> Recall that if <img src='http://s0.wp.com/latex.php?latex=B%2CC&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B,C' title='B,C' class='latex' /> are sets, then <img src='http://s0.wp.com/latex.php?latex=B%5Csetminus+C%3D%5C%7Ba%5Cin+B%5Cmid+a%5Cnotin+C%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B&#92;setminus C=&#92;{a&#92;in B&#92;mid a&#92;notin C&#92;}.' title='B&#92;setminus C=&#92;{a&#92;in B&#92;mid a&#92;notin C&#92;}.' class='latex' /> It follows that <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset' title='y&#92;setminus x=&#92;emptyset' class='latex' /> iff every element of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=x%5Csetminus+y%3D%5Cemptyset&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;setminus y=&#92;emptyset' title='x&#92;setminus y=&#92;emptyset' class='latex' /> iff every element of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y.' title='y.' class='latex' /> But these two facts together mean precisely that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> have the same elements, i.e., that <img src='http://s0.wp.com/latex.php?latex=x%3Dy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=y,' title='x=y,' class='latex' /> as we needed to show.</p>
<p><strong>Problem 2(a)</strong> of <strong>quiz 6</strong> asks to consider the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> defined on <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb N}' title='{&#92;mathbb N}' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y' title='x&#92;mathrel{R} y' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;in{&#92;mathbb N},' title='x,y&#92;in{&#92;mathbb N},' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y),' title='5&#124;(2^x-2^y),' class='latex' /> and to show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is an equivalence relation. This means that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is reflexive, symmetric, and transitive. <strong>Problem 2(a)</strong> of <strong>quiz 5</strong> asks to show one of these properties. </p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is <em>reflexive</em>, we need to show that for any <img src='http://s0.wp.com/latex.php?latex=x%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in{&#92;mathbb N},' title='x&#92;in{&#92;mathbb N},' class='latex' /> we have that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}x,' title='x&#92;mathrel{R}x,' class='latex' /> i.e., that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ex%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^x).' title='5&#124;(2^x-2^x).' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=2%5Ex-2%5Ex%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^x-2^x=0' title='2^x-2^x=0' class='latex' /> is certainly divisible by 5.</p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is <em>symmetric</em>, we need to show that for any <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;in{&#92;mathbb N},' title='x,y&#92;in{&#92;mathbb N},' class='latex' /> if it is the case that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y,' title='x&#92;mathrel{R}y,' class='latex' /> then it is also the case that <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /> Suppose then that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y.' title='x&#92;mathrel{R}y.' class='latex' /> This means that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y),' title='5&#124;(2^x-2^y),' class='latex' /> i.e., there is an integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5a%3D2%5Ex-2%5Ey.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5a=2^x-2^y.' title='5a=2^x-2^y.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=2%5Ey-2%5Ex%3D-5a%3D5%28-a%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^y-2^x=-5a=5(-a),' title='2^y-2^x=-5a=5(-a),' class='latex' /> showing that also <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ex%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^x),' title='5&#124;(2^y-2^x),' class='latex' /> i.e., <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /></p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is transitive, we need to show that if <img src='http://s0.wp.com/latex.php?latex=x%2Cy%2Cz%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y,z&#92;in{&#92;mathbb N}' title='x,y,z&#92;in{&#92;mathbb N}' class='latex' /> and both <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}z' title='y&#92;mathrel{R}z' class='latex' /> hold, then also <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}z' title='x&#92;mathrel{R}z' class='latex' /> holds. But if <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dz%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}z,' title='y&#92;mathrel{R}z,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y)' title='5&#124;(2^x-2^y)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ez%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^z).' title='5&#124;(2^y-2^z).' class='latex' /> But then it is certainly the case that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%5Cbigl%28%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;&#92;bigl((2^x-2^y)+(2^y-2^z)&#92;bigr).' title='5&#124;&#92;bigl((2^x-2^y)+(2^y-2^z)&#92;bigr).' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(2^x-2^y)+(2^y-2^z)=2^x-2^z,' title='(2^x-2^y)+(2^y-2^z)=2^x-2^z,' class='latex' /> this proves that, indeed <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ez%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^z),' title='5&#124;(2^x-2^z),' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dz%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}z,' title='x&#92;mathrel{R}z,' class='latex' /> as we needed to show.</p>
<p>(If one feels the need to be somewhat more strict: That <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y)' title='5&#124;(2^x-2^y)' class='latex' /> means that there is an integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5a%3D2%5Ex-2%5Ey.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5a=2^x-2^y.' title='5a=2^x-2^y.' class='latex' /> Similarly, <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ez%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^z)' title='5&#124;(2^y-2^z)' class='latex' /> means that there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5b%3D2%5Ey-2%5Ez.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5b=2^y-2^z.' title='5b=2^y-2^z.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=5%28a%2Bb%29%3D5a%2B5b%3D%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5(a+b)=5a+5b=(2^x-2^y)+(2^y-2^z)=2^x-2^z,' title='5(a+b)=5a+5b=(2^x-2^y)+(2^y-2^z)=2^x-2^z,' class='latex' /> showing that there is an integer <img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5c%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5c=2^x-2^z,' title='5c=2^x-2^z,' class='latex' /> namely, we can take <img src='http://s0.wp.com/latex.php?latex=c%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c=a+b.' title='c=a+b.' class='latex' />)</p>
<p><strong>Problem 2(b)</strong> asks to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=3%5Cmathrel%7BR%7Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;mathrel{R}n,' title='3&#92;mathrel{R}n,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is as defined for problem 2(a).</p>
<p>That <img src='http://s0.wp.com/latex.php?latex=3%5Cmathrel%7BR%7Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;mathrel{R}n' title='3&#92;mathrel{R}n' class='latex' /> means exactly the same that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5E3-2%5En%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^3-2^n).' title='5&#124;(2^3-2^n).' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=2%5E3%3D8&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^3=8' title='2^3=8' class='latex' /> and an integer is a multiple of 5 iff it ends in 5 or 0, we need to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> ends in <img src='http://s0.wp.com/latex.php?latex=8&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='8' title='8' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3.' title='3.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=2%5E0%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^0=1' title='2^0=1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=2%5Em&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^m' title='2^m' class='latex' /> is even for all  naturals <img src='http://s0.wp.com/latex.php?latex=m%5Cne+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m&#92;ne 0,' title='m&#92;ne 0,' class='latex' /> we actually need to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> ends in 8. For this, we only need to examine the last digit of the numbers <img src='http://s0.wp.com/latex.php?latex=2%5E1%2C2%5E2%2C2%5E3%2C2%5E4%2C2%5E5%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^1,2^2,2^3,2^4,2^5,&#92;dots,' title='2^1,2^2,2^3,2^4,2^5,&#92;dots,' class='latex' /> and we find that these last digits form the sequence <img src='http://s0.wp.com/latex.php?latex=2%2C4%2C8%2C6%2C2%2C4%2C8%2C6%2C2%2C4%2C8%2C6%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,4,8,6,2,4,8,6,2,4,8,6,&#92;dots' title='2,4,8,6,2,4,8,6,2,4,8,6,&#92;dots' class='latex' /> which is periodic, repeating itself each 4. This means that the numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> we are looking for are precisely <img src='http://s0.wp.com/latex.php?latex=3%2C7%2C11%2C15%2C19%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3,7,11,15,19,&#92;dots,' title='3,7,11,15,19,&#92;dots,' class='latex' /> i.e., the natural numbers of the form <img src='http://s0.wp.com/latex.php?latex=4k%2B3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4k+3' title='4k+3' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=k%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k&#92;in{&#92;mathbb N}.' title='k&#92;in{&#92;mathbb N}.' class='latex' /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quizzes 5 and 6]]></title>
<link>http://andrescaicedo.wordpress.com/2010/03/14/187-quizzes-5-and-6/</link>
<pubDate>Mon, 15 Mar 2010 05:44:59 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/03/14/187-quizzes-5-and-6/</guid>
<description><![CDATA[Here is quiz 5 and here is quiz 6. Problem 1 asks to show that the relation defined as follows is an]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/03/187-spring2010-quiz5.pdf" target="_blank">Here</a> is quiz 5 and <a href="http://andrescaicedo.files.wordpress.com/2010/03/187-spring2010-quiz6.pdf" target="_blank">here</a> is quiz 6.</p>
<p><strong>Problem 1</strong> asks to show that the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> defined as follows is antisymmetric: Given a set <img src='http://s0.wp.com/latex.php?latex=A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,' title='A,' class='latex' /> the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is defined on the subsets of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Csubseteq+A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;subseteq A,' title='x,y&#92;subseteq A,' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset,' title='y&#92;setminus x=&#92;emptyset,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=%5Csetminus&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;setminus' title='&#92;setminus' class='latex' /> denotes set-theoretic difference of sets.</p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is antisymmetric, we need to show that whenever <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Csubseteq+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;subseteq A' title='x,y&#92;subseteq A' class='latex' /> are such that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x,' title='y&#92;mathrel{R}x,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=x%3Dy.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=y.' title='x=y.' class='latex' /> Suppose <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> satisfy these assumptions. We need to show that they are equal as sets, i.e., that they have the same elements.</p>
<p>By definition, <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> holds iff <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset,' title='y&#92;setminus x=&#92;emptyset,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x' title='y&#92;mathrel{R}x' class='latex' /> holds iff <img src='http://s0.wp.com/latex.php?latex=x%5Csetminus+y%3D%5Cemptyset.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;setminus y=&#92;emptyset.' title='x&#92;setminus y=&#92;emptyset.' class='latex' /> Recall that if <img src='http://s0.wp.com/latex.php?latex=B%2CC&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B,C' title='B,C' class='latex' /> are sets, then <img src='http://s0.wp.com/latex.php?latex=B%5Csetminus+C%3D%5C%7Ba%5Cin+B%5Cmid+a%5Cnotin+C%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B&#92;setminus C=&#92;{a&#92;in B&#92;mid a&#92;notin C&#92;}.' title='B&#92;setminus C=&#92;{a&#92;in B&#92;mid a&#92;notin C&#92;}.' class='latex' /> It follows that <img src='http://s0.wp.com/latex.php?latex=y%5Csetminus+x%3D%5Cemptyset&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;setminus x=&#92;emptyset' title='y&#92;setminus x=&#92;emptyset' class='latex' /> iff every element of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=x%5Csetminus+y%3D%5Cemptyset&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;setminus y=&#92;emptyset' title='x&#92;setminus y=&#92;emptyset' class='latex' /> iff every element of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y.' title='y.' class='latex' /> But these two facts together mean precisely that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> have the same elements, i.e., that <img src='http://s0.wp.com/latex.php?latex=x%3Dy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=y,' title='x=y,' class='latex' /> as we needed to show.</p>
<p><strong>Problem 2(a)</strong> of <strong>quiz 6</strong> asks to consider the relation <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> defined on <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;mathbb N}' title='{&#92;mathbb N}' class='latex' /> by setting <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7D+y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R} y' title='x&#92;mathrel{R} y' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;in{&#92;mathbb N},' title='x,y&#92;in{&#92;mathbb N},' class='latex' /> iff <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y),' title='5&#124;(2^x-2^y),' class='latex' /> and to show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is an equivalence relation. This means that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is reflexive, symmetric, and transitive. <strong>Problem 2(a)</strong> of <strong>quiz 5</strong> asks to show one of these properties. </p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is <em>reflexive</em>, we need to show that for any <img src='http://s0.wp.com/latex.php?latex=x%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in{&#92;mathbb N},' title='x&#92;in{&#92;mathbb N},' class='latex' /> we have that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}x,' title='x&#92;mathrel{R}x,' class='latex' /> i.e., that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ex%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^x).' title='5&#124;(2^x-2^x).' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=2%5Ex-2%5Ex%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^x-2^x=0' title='2^x-2^x=0' class='latex' /> is certainly divisible by 5.</p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is <em>symmetric</em>, we need to show that for any <img src='http://s0.wp.com/latex.php?latex=x%2Cy%5Cin%7B%5Cmathbb+N%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y&#92;in{&#92;mathbb N},' title='x,y&#92;in{&#92;mathbb N},' class='latex' /> if it is the case that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y,' title='x&#92;mathrel{R}y,' class='latex' /> then it is also the case that <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /> Suppose then that <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y.' title='x&#92;mathrel{R}y.' class='latex' /> This means that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y),' title='5&#124;(2^x-2^y),' class='latex' /> i.e., there is an integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5a%3D2%5Ex-2%5Ey.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5a=2^x-2^y.' title='5a=2^x-2^y.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=2%5Ey-2%5Ex%3D-5a%3D5%28-a%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^y-2^x=-5a=5(-a),' title='2^y-2^x=-5a=5(-a),' class='latex' /> showing that also <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ex%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^x),' title='5&#124;(2^y-2^x),' class='latex' /> i.e., <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}x.' title='y&#92;mathrel{R}x.' class='latex' /></p>
<p>To show that <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is transitive, we need to show that if <img src='http://s0.wp.com/latex.php?latex=x%2Cy%2Cz%5Cin%7B%5Cmathbb+N%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y,z&#92;in{&#92;mathbb N}' title='x,y,z&#92;in{&#92;mathbb N}' class='latex' /> and both <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}z' title='y&#92;mathrel{R}z' class='latex' /> hold, then also <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}z' title='x&#92;mathrel{R}z' class='latex' /> holds. But if <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}y' title='x&#92;mathrel{R}y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%5Cmathrel%7BR%7Dz%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y&#92;mathrel{R}z,' title='y&#92;mathrel{R}z,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y)' title='5&#124;(2^x-2^y)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ez%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^z).' title='5&#124;(2^y-2^z).' class='latex' /> But then it is certainly the case that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%5Cbigl%28%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;&#92;bigl((2^x-2^y)+(2^y-2^z)&#92;bigr).' title='5&#124;&#92;bigl((2^x-2^y)+(2^y-2^z)&#92;bigr).' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(2^x-2^y)+(2^y-2^z)=2^x-2^z,' title='(2^x-2^y)+(2^y-2^z)=2^x-2^z,' class='latex' /> this proves that, indeed <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ez%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^z),' title='5&#124;(2^x-2^z),' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=x%5Cmathrel%7BR%7Dz%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;mathrel{R}z,' title='x&#92;mathrel{R}z,' class='latex' /> as we needed to show.</p>
<p>(If one feels the need to be somewhat more strict: That <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ex-2%5Ey%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^x-2^y)' title='5&#124;(2^x-2^y)' class='latex' /> means that there is an integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5a%3D2%5Ex-2%5Ey.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5a=2^x-2^y.' title='5a=2^x-2^y.' class='latex' /> Similarly, <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5Ey-2%5Ez%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^y-2^z)' title='5&#124;(2^y-2^z)' class='latex' /> means that there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5b%3D2%5Ey-2%5Ez.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5b=2^y-2^z.' title='5b=2^y-2^z.' class='latex' /> But then <img src='http://s0.wp.com/latex.php?latex=5%28a%2Bb%29%3D5a%2B5b%3D%282%5Ex-2%5Ey%29%2B%282%5Ey-2%5Ez%29%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5(a+b)=5a+5b=(2^x-2^y)+(2^y-2^z)=2^x-2^z,' title='5(a+b)=5a+5b=(2^x-2^y)+(2^y-2^z)=2^x-2^z,' class='latex' /> showing that there is an integer <img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=5c%3D2%5Ex-2%5Ez%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5c=2^x-2^z,' title='5c=2^x-2^z,' class='latex' /> namely, we can take <img src='http://s0.wp.com/latex.php?latex=c%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c=a+b.' title='c=a+b.' class='latex' />)</p>
<p><strong>Problem 2(b)</strong> asks to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=3%5Cmathrel%7BR%7Dn%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;mathrel{R}n,' title='3&#92;mathrel{R}n,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=R&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='R' title='R' class='latex' /> is as defined for problem 2(a).</p>
<p>That <img src='http://s0.wp.com/latex.php?latex=3%5Cmathrel%7BR%7Dn&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;mathrel{R}n' title='3&#92;mathrel{R}n' class='latex' /> means exactly the same that <img src='http://s0.wp.com/latex.php?latex=5%26%23124%3B%282%5E3-2%5En%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#124;(2^3-2^n).' title='5&#124;(2^3-2^n).' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=2%5E3%3D8&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^3=8' title='2^3=8' class='latex' /> and an integer is a multiple of 5 iff it ends in 5 or 0, we need to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> ends in <img src='http://s0.wp.com/latex.php?latex=8&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='8' title='8' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=3.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3.' title='3.' class='latex' /> Since <img src='http://s0.wp.com/latex.php?latex=2%5E0%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^0=1' title='2^0=1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=2%5Em&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^m' title='2^m' class='latex' /> is even for all  naturals <img src='http://s0.wp.com/latex.php?latex=m%5Cne+0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m&#92;ne 0,' title='m&#92;ne 0,' class='latex' /> we actually need to find all natural numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^n' title='2^n' class='latex' /> ends in 8. For this, we only need to examine the last digit of the numbers <img src='http://s0.wp.com/latex.php?latex=2%5E1%2C2%5E2%2C2%5E3%2C2%5E4%2C2%5E5%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^1,2^2,2^3,2^4,2^5,&#92;dots,' title='2^1,2^2,2^3,2^4,2^5,&#92;dots,' class='latex' /> and we find that these last digits form the sequence <img src='http://s0.wp.com/latex.php?latex=2%2C4%2C8%2C6%2C2%2C4%2C8%2C6%2C2%2C4%2C8%2C6%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2,4,8,6,2,4,8,6,2,4,8,6,&#92;dots' title='2,4,8,6,2,4,8,6,2,4,8,6,&#92;dots' class='latex' /> which is periodic, repeating itself each 4. This means that the numbers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> we are looking for are precisely <img src='http://s0.wp.com/latex.php?latex=3%2C7%2C11%2C15%2C19%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3,7,11,15,19,&#92;dots,' title='3,7,11,15,19,&#92;dots,' class='latex' /> i.e., the natural numbers of the form <img src='http://s0.wp.com/latex.php?latex=4k%2B3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4k+3' title='4k+3' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=k%5Cin%7B%5Cmathbb+N%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='k&#92;in{&#92;mathbb N}.' title='k&#92;in{&#92;mathbb N}.' class='latex' /></p>
		<div id="geo-post-2597" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 4]]></title>
<link>http://caicedoteaching.wordpress.com/2010/02/26/187-quiz-4/</link>
<pubDate>Fri, 26 Feb 2010 20:24:35 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/02/26/187-quiz-4/</guid>
<description><![CDATA[Here is quiz 4.  Problem 1 asks to determine (with brief justifications) the truth value of the foll]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/02/187-spring2010-quiz4.pdf" target="_blank">Here</a> is quiz 4. </p>
<p><strong>Problem 1</strong> asks to determine (with brief justifications) the truth value of the following statements about integers:</p>
<ol>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%5Cforall+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,&#92;forall y&#92;,(x&gt;y).' title='&#92;forall x&#92;,&#92;forall y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cexists+x%5C%2C%5Cforall+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x&#92;,&#92;forall y&#92;,(x&gt;y).' title='&#92;exists x&#92;,&#92;forall y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%5Cexists+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,&#92;exists y&#92;,(x&gt;y).' title='&#92;forall x&#92;,&#92;exists y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cexists+x%5C%2C%5Cexists+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x&#92;,&#92;exists y&#92;,(x&gt;y).' title='&#92;exists x&#92;,&#92;exists y&#92;,(x&gt;y).' class='latex' /></li>
</ol>
<p>1. is <em>False</em>. To show this we provide a counterexample: Specific integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt;y.' title='x&#92;not&gt;y.' class='latex' /> For example, <img src='http://s0.wp.com/latex.php?latex=1%5Cnot%26%2362%3B23.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&#92;not&gt;23.' title='1&#92;not&gt;23.' class='latex' /></p>
<p>2. is <em>False</em>. To show this we need to exhibit for each integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> an integer <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3B+y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt; y.' title='x&#92;not&gt; y.' class='latex' /> For example, <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3Bx%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt;x+1.' title='x&#92;not&gt;x+1.' class='latex' /> Note that, although <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is a fixed integer once we know <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> we are not giving a fixed value of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> that serves as a <em>simultaneous</em> counterexample for all values of <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>3. is <em>True</em>. To show this we exhibit for each integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> a specific integer <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;y.' title='x&gt;y.' class='latex' /> For example: <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3Bx-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;x-1.' title='x&gt;x-1.' class='latex' /> Note that, although <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is a fixed integer once we know <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> we are not giving a fixed value of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> that works simultaneously for all <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>4. is <em>True</em>. To show this, we exhibit specific values of <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;y.' title='x&gt;y.' class='latex' /> For example: <img src='http://s0.wp.com/latex.php?latex=1777%26%2362%3B-52451256.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1777&gt;-52451256.' title='1777&gt;-52451256.' class='latex' /></p>
<p><strong>Problem 2</strong> asks to show by contradiction that no integer can be both odd and even. Here is the proof: Suppose otherwise, i.e., there is an integer, let&#8217;s call it <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is both odd and even. This means that there are integers <img src='http://s0.wp.com/latex.php?latex=y%2Cz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y,z' title='y,z' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%3D2y%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=2y+1' title='x=2y+1' class='latex' /> (since <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is odd) and <img src='http://s0.wp.com/latex.php?latex=x%3D2z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=2z' title='x=2z' class='latex' /> (since <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is even). </p>
<p>Then we have that <img src='http://s0.wp.com/latex.php?latex=2y%2B1%3D2z%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2y+1=2z,' title='2y+1=2z,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1%3D2%28z-y%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=2(z-y).' title='1=2(z-y).' class='latex' /> But this is impossible, since 1 is not divisible by 2. We have reached a contradiction, and therefore our assumption that there is such an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> ought to be false. This means that no integer can be both odd and even, which is what we wanted to show.</p>
<p>Note that we have not shown that every integer is either odd or even. We will use <em>mathematical induction</em> to do this.</p>
<p><strong>Problem 3 </strong>asks for symbolic formulas stating Goldbach&#8217;s conjecture and the twin primes conjecture (both are famous open problems in number theory).</p>
<p><em>Goldbach&#8217;s conjecture</em> asserts that every even integer larger than 2 is sum of two primes:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%28%5B%7B%5Ctt+Even%7D%28x%29%5Cland%28x%26%2362%3B2%29%5D%5CRightarrow%5Cexists+p%5C%2C%5Cexists+q%5C%2C%5Bx%3Dp%2Bq%5C%2C%5Cland&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,([{&#92;tt Even}(x)&#92;land(x&gt;2)]&#92;Rightarrow&#92;exists p&#92;,&#92;exists q&#92;,[x=p+q&#92;,&#92;land' title='&#92;forall x&#92;,([{&#92;tt Even}(x)&#92;land(x&gt;2)]&#92;Rightarrow&#92;exists p&#92;,&#92;exists q&#92;,[x=p+q&#92;,&#92;land' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Prime%7D%28p%29%5Cland%7B%5Ctt+Prime%7D%28q%29%5D%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Prime}(p)&#92;land{&#92;tt Prime}(q)]).' title='{&#92;tt Prime}(p)&#92;land{&#92;tt Prime}(q)]).' class='latex' /></p>
<p>Here, <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Even%7D%28x%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Even}(x)' title='{&#92;tt Even}(x)' class='latex' /> is the formula asserting that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is even, namely, <img src='http://s0.wp.com/latex.php?latex=%5Cexists+y%5Cin%7B%5Cmathbb+Z%7D%5C%2C%28x%3D2y%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists y&#92;in{&#92;mathbb Z}&#92;,(x=2y),' title='&#92;exists y&#92;in{&#92;mathbb Z}&#92;,(x=2y),' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Prime%7D%28n%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Prime}(n)' title='{&#92;tt Prime}(n)' class='latex' /> is the formula (given in the quiz) asserting that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is prime. Note we had to add existential quantifiers in order to be able to refer to the two prime numbers that add up to <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>The<em> twin primes conjecture</em> asserts that there are infinitely many primes <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p' title='p' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=p%2B2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p+2' title='p+2' class='latex' /> is also prime. </p>
<p>The difficulty here is in saying &#8220;there are infinitely many,&#8221; since the quantifier <img src='http://s0.wp.com/latex.php?latex=%5Cexists&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists' title='&#92;exists' class='latex' /> only allows us to mention one integer at a time, and writing something of infinite length such as <img src='http://s0.wp.com/latex.php?latex=%5Cexists+x_1%5C%2C%5Cexists+x_2%5C%2C%5Cexists+x_3%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x_1&#92;,&#92;exists x_2&#92;,&#92;exists x_3,&#92;dots' title='&#92;exists x_1&#92;,&#92;exists x_2&#92;,&#92;exists x_3,&#92;dots' class='latex' /> is not allowed.</p>
<p>We follow the suggestion given in the quiz, and represent &#8220;there are infinitely many <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> with [some property]&#8221; by saying &#8220;for all <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> there is a larger <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> with [some property].&#8221;</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cforall+m%5Cin%7B%5Cmathbb+Z%7D%5Cexists+n%5C%2C%28n%26%2362%3Bm%5Cland+%7B%5Ctt+Prime%7D%28n%29%5Cland+%7B%5Ctt+Prime%7D%28n%2B2%29%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall m&#92;in{&#92;mathbb Z}&#92;exists n&#92;,(n&gt;m&#92;land {&#92;tt Prime}(n)&#92;land {&#92;tt Prime}(n+2)).' title='&#92;forall m&#92;in{&#92;mathbb Z}&#92;exists n&#92;,(n&gt;m&#92;land {&#92;tt Prime}(n)&#92;land {&#92;tt Prime}(n+2)).' class='latex' /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 4]]></title>
<link>http://andrescaicedo.wordpress.com/2010/02/26/187-quiz-4/</link>
<pubDate>Fri, 26 Feb 2010 20:24:35 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/02/26/187-quiz-4/</guid>
<description><![CDATA[Here is quiz 4.   Problem 1 asks to determine (with brief justifications) the truth value of the fol]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/02/187-spring2010-quiz4.pdf" target="_blank">Here</a> is quiz 4.  </p>
<p><strong>Problem 1</strong> asks to determine (with brief justifications) the truth value of the following statements about integers:</p>
<ol>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%5Cforall+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,&#92;forall y&#92;,(x&gt;y).' title='&#92;forall x&#92;,&#92;forall y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cexists+x%5C%2C%5Cforall+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x&#92;,&#92;forall y&#92;,(x&gt;y).' title='&#92;exists x&#92;,&#92;forall y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%5Cexists+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,&#92;exists y&#92;,(x&gt;y).' title='&#92;forall x&#92;,&#92;exists y&#92;,(x&gt;y).' class='latex' /></li>
<li><img src='http://s0.wp.com/latex.php?latex=%5Cexists+x%5C%2C%5Cexists+y%5C%2C%28x%26%2362%3By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x&#92;,&#92;exists y&#92;,(x&gt;y).' title='&#92;exists x&#92;,&#92;exists y&#92;,(x&gt;y).' class='latex' /></li>
</ol>
<p>1. is <em>False</em>. To show this we provide a counterexample: Specific integers <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt;y.' title='x&#92;not&gt;y.' class='latex' /> For example, <img src='http://s0.wp.com/latex.php?latex=1%5Cnot%26%2362%3B23.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&#92;not&gt;23.' title='1&#92;not&gt;23.' class='latex' /></p>
<p>2. is <em>False</em>. To show this we need to exhibit for each integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> an integer <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3B+y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt; y.' title='x&#92;not&gt; y.' class='latex' /> For example, <img src='http://s0.wp.com/latex.php?latex=x%5Cnot%26%2362%3Bx%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;not&gt;x+1.' title='x&#92;not&gt;x+1.' class='latex' /> Note that, although <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is a fixed integer once we know <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> we are not giving a fixed value of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> that serves as a <em>simultaneous</em> counterexample for all values of <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>3. is <em>True</em>. To show this we exhibit for each integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> a specific integer <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;y.' title='x&gt;y.' class='latex' /> For example: <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3Bx-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;x-1.' title='x&gt;x-1.' class='latex' /> Note that, although <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> is a fixed integer once we know <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> we are not giving a fixed value of <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> that works simultaneously for all <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>4. is <em>True</em>. To show this, we exhibit specific values of <img src='http://s0.wp.com/latex.php?latex=x%2Cy&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,y' title='x,y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;y.' title='x&gt;y.' class='latex' /> For example: <img src='http://s0.wp.com/latex.php?latex=1777%26%2362%3B-52451256.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1777&gt;-52451256.' title='1777&gt;-52451256.' class='latex' /></p>
<p><strong>Problem 2</strong> asks to show by contradiction that no integer can be both odd and even. Here is the proof: Suppose otherwise, i.e., there is an integer, let&#8217;s call it <img src='http://s0.wp.com/latex.php?latex=x%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x,' title='x,' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is both odd and even. This means that there are integers <img src='http://s0.wp.com/latex.php?latex=y%2Cz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y,z' title='y,z' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=x%3D2y%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=2y+1' title='x=2y+1' class='latex' /> (since <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is odd) and <img src='http://s0.wp.com/latex.php?latex=x%3D2z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=2z' title='x=2z' class='latex' /> (since <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is even). </p>
<p>Then we have that <img src='http://s0.wp.com/latex.php?latex=2y%2B1%3D2z%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2y+1=2z,' title='2y+1=2z,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1%3D2%28z-y%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1=2(z-y).' title='1=2(z-y).' class='latex' /> But this is impossible, since 1 is not divisible by 2. We have reached a contradiction, and therefore our assumption that there is such an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> ought to be false. This means that no integer can be both odd and even, which is what we wanted to show.</p>
<p>Note that we have not shown that every integer is either odd or even. We will use <em>mathematical induction</em> to do this.</p>
<p><strong>Problem 3 </strong>asks for symbolic formulas stating Goldbach&#8217;s conjecture and the twin primes conjecture (both are famous open problems in number theory).</p>
<p><em>Goldbach&#8217;s conjecture</em> asserts that every even integer larger than 2 is sum of two primes:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cforall+x%5C%2C%28%5B%7B%5Ctt+Even%7D%28x%29%5Cland%28x%26%2362%3B2%29%5D%5CRightarrow%5Cexists+p%5C%2C%5Cexists+q%5C%2C%5Bx%3Dp%2Bq%5C%2C%5Cland&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall x&#92;,([{&#92;tt Even}(x)&#92;land(x&gt;2)]&#92;Rightarrow&#92;exists p&#92;,&#92;exists q&#92;,[x=p+q&#92;,&#92;land' title='&#92;forall x&#92;,([{&#92;tt Even}(x)&#92;land(x&gt;2)]&#92;Rightarrow&#92;exists p&#92;,&#92;exists q&#92;,[x=p+q&#92;,&#92;land' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Prime%7D%28p%29%5Cland%7B%5Ctt+Prime%7D%28q%29%5D%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Prime}(p)&#92;land{&#92;tt Prime}(q)]).' title='{&#92;tt Prime}(p)&#92;land{&#92;tt Prime}(q)]).' class='latex' /></p>
<p>Here, <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Even%7D%28x%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Even}(x)' title='{&#92;tt Even}(x)' class='latex' /> is the formula asserting that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is even, namely, <img src='http://s0.wp.com/latex.php?latex=%5Cexists+y%5Cin%7B%5Cmathbb+Z%7D%5C%2C%28x%3D2y%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists y&#92;in{&#92;mathbb Z}&#92;,(x=2y),' title='&#92;exists y&#92;in{&#92;mathbb Z}&#92;,(x=2y),' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctt+Prime%7D%28n%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='{&#92;tt Prime}(n)' title='{&#92;tt Prime}(n)' class='latex' /> is the formula (given in the quiz) asserting that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is prime. Note we had to add existential quantifiers in order to be able to refer to the two prime numbers that add up to <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>The<em> twin primes conjecture</em> asserts that there are infinitely many primes <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p' title='p' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=p%2B2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='p+2' title='p+2' class='latex' /> is also prime. </p>
<p>The difficulty here is in saying &#8220;there are infinitely many,&#8221; since the quantifier <img src='http://s0.wp.com/latex.php?latex=%5Cexists&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists' title='&#92;exists' class='latex' /> only allows us to mention one integer at a time, and writing something of infinite length such as <img src='http://s0.wp.com/latex.php?latex=%5Cexists+x_1%5C%2C%5Cexists+x_2%5C%2C%5Cexists+x_3%2C%5Cdots&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;exists x_1&#92;,&#92;exists x_2&#92;,&#92;exists x_3,&#92;dots' title='&#92;exists x_1&#92;,&#92;exists x_2&#92;,&#92;exists x_3,&#92;dots' class='latex' /> is not allowed.</p>
<p>We follow the suggestion given in the quiz, and represent &#8220;there are infinitely many <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> with [some property]&#8221; by saying &#8220;for all <img src='http://s0.wp.com/latex.php?latex=m&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='m' title='m' class='latex' /> there is a larger <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> with [some property].&#8221;</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cforall+m%5Cin%7B%5Cmathbb+Z%7D%5Cexists+n%5C%2C%28n%26%2362%3Bm%5Cland+%7B%5Ctt+Prime%7D%28n%29%5Cland+%7B%5Ctt+Prime%7D%28n%2B2%29%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;forall m&#92;in{&#92;mathbb Z}&#92;exists n&#92;,(n&gt;m&#92;land {&#92;tt Prime}(n)&#92;land {&#92;tt Prime}(n+2)).' title='&#92;forall m&#92;in{&#92;mathbb Z}&#92;exists n&#92;,(n&gt;m&#92;land {&#92;tt Prime}(n)&#92;land {&#92;tt Prime}(n+2)).' class='latex' /></p>
		<div id="geo-post-2553" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Midterm 1]]></title>
<link>http://caicedoteaching.wordpress.com/2010/02/18/187-midterm-1/</link>
<pubDate>Fri, 19 Feb 2010 06:39:02 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/02/18/187-midterm-1/</guid>
<description><![CDATA[Here is the midterm. Solutions follow. Problem 1 concerns lists. We are given a collection of 5 obje]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/02/187-spring2010-midterm1.pdf" target="_blank">Here</a> is the midterm.</p>
<p>Solutions follow.</p>
<p><!--more--></p>
<p><strong>Problem 1</strong> concerns lists. We are given a collection of 5 objects, <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%2C1%2C2%2C3%2C4%5C%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;{0,1,2,3,4&#92;},' title='&#92;{0,1,2,3,4&#92;},' class='latex' /> and we want to find:</p>
<ol>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are allowed. We have that for each entry we can use 5 possible objects, for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+5%3D25&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 5=25' title='5&#92;times 5=25' class='latex' /> lists.</li>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are required. Now, once we select the first entry (there are 5 possible ways of doing this), the second entry is completely determined. So we only have <img src='http://s0.wp.com/latex.php?latex=5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5' title='5' class='latex' /> lists.</li>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are not allowed. There are two ways of counting: Either we simply notice that this is the total number of lists of length 2 (25), except for those that have repetitions (5), for a total of <img src='http://s0.wp.com/latex.php?latex=25-5%3D20%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='25-5=20,' title='25-5=20,' class='latex' /> or else we note that whatever first entry we choose (5 possibilities), this eliminates one of the 5 possible objects from being the second entry (so now we only have 4 possibilities for this entry), for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+4%3D20.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 4=20.' title='5&#92;times 4=20.' class='latex' /></li>
</ol>
<p>The extra credit problem asked for the number of lists of length 3 whose entries come from <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%2C1%2C2%2C3%2C4%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;{0,1,2,3,4&#92;}' title='&#92;{0,1,2,3,4&#92;}' class='latex' /> and repetitions are required. Again, there are two ways of counting. The easiest way is simply to count of lists of length 3 (<img src='http://s0.wp.com/latex.php?latex=5%5E3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5^3' title='5^3' class='latex' />) and subtract from them those lists that do not have repetitions (<img src='http://s0.wp.com/latex.php?latex=5%5Ctimes4%5Ctimes+3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times4&#92;times 3' title='5&#92;times4&#92;times 3' class='latex' />) for a total of <img src='http://s0.wp.com/latex.php?latex=5%5E3-5%5Ctimes+4%5Ctimes+3%3D125-60%3D65&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5^3-5&#92;times 4&#92;times 3=125-60=65' title='5^3-5&#92;times 4&#92;times 3=125-60=65' class='latex' /> lists. The second way counts the lists directly, but this is a bit more complicated. There are 5 possibilities for the first entry. If the second entry is the same, the third entry is arbitrary (so this gives us <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes1%5Ctimes+5%3D25&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times1&#92;times 5=25' title='5&#92;times1&#92;times 5=25' class='latex' /> lists so far). If the second entry is different (4 possibilities) then the last entry is either the same as the first or the second (2 possibilities), for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+4%5Ctimes+2%3D40&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 4&#92;times 2=40' title='5&#92;times 4&#92;times 2=40' class='latex' /> lists. Hence, the total number of lists we are looking for is <img src='http://s0.wp.com/latex.php?latex=25%2B40%3D65.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='25+40=65.' title='25+40=65.' class='latex' /></p>
<p><strong>Problem 2</strong> asks us to explain in what sense the statement <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CLeftrightarrow%5Cpsi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Leftrightarrow&#92;psi)' title='(&#92;varphi&#92;Leftrightarrow&#92;psi)' class='latex' /> is equivalent to the statement <img src='http://s0.wp.com/latex.php?latex=%28%28%5Clnot%5Cvarphi%29%5CLeftrightarrow%28%5Clnot%5Cpsi%29%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='((&#92;lnot&#92;varphi)&#92;Leftrightarrow(&#92;lnot&#92;psi)),' title='((&#92;lnot&#92;varphi)&#92;Leftrightarrow(&#92;lnot&#92;psi)),' class='latex' /> and to prove that this is the case. </p>
<p>Two statements are equivalent precisely when <em>they have the same truth values</em>, i.e., they are both true in precisely the same cases and both are false in precisely the same cases. To see that this is the case, the easiest method is to compare the truth tables for both statements and see that they are the same. This is indeed the case: Both statements are true precisely when latex \varphi$ and <img src='http://s0.wp.com/latex.php?latex=%5Cpsi&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;psi' title='&#92;psi' class='latex' /> have the same truth value (be it true or false).</p>
<p>There is another way in which the equivalence can be analyzed. The statement <img src='http://s0.wp.com/latex.php?latex=%28A%5CLeftrightarrow+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Leftrightarrow B)' title='(A&#92;Leftrightarrow B)' class='latex' /> is known to be equivalent to the conjunction <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29%5Cland%28B%5CRightarrow+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B)&#92;land(B&#92;Rightarrow A).' title='(A&#92;Rightarrow B)&#92;land(B&#92;Rightarrow A).' class='latex' /> Let&#8217;s analyze when this conjunction holds, which is the same as saying that both implications must be true. Note that <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B)' title='(A&#92;Rightarrow B)' class='latex' /> holds if <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> is true. However, if <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> is false, then the implication only holds if <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> is also false. This is to say, <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot+B%5CRightarrow%5Clnot+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot B&#92;Rightarrow&#92;lnot A).' title='(&#92;lnot B&#92;Rightarrow&#92;lnot A).' class='latex' /> This statement is called the <strong>contrapositive</strong> of <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B),' title='(A&#92;Rightarrow B),' class='latex' /> and our analysis just showed that the two are equivalent.</p>
<p>In the case that interests us, we see that <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CLeftrightarrow%5Cpsi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Leftrightarrow&#92;psi)' title='(&#92;varphi&#92;Leftrightarrow&#92;psi)' class='latex' /> is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CRightarrow%5Cpsi%29%5Cland%28%5Cpsi%5CRightarrow%5Cvarphi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Rightarrow&#92;psi)&#92;land(&#92;psi&#92;Rightarrow&#92;varphi)' title='(&#92;varphi&#92;Rightarrow&#92;psi)&#92;land(&#92;psi&#92;Rightarrow&#92;varphi)' class='latex' /> which is equivalent, considering the contrapositives of both implications, to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cpsi%5CRightarrow%5Clnot%5Cvarphi%29%5Cland%28%5Clnot%5Cvarphi%5CRightarrow%5Clnot%5Cpsi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;psi&#92;Rightarrow&#92;lnot&#92;varphi)&#92;land(&#92;lnot&#92;varphi&#92;Rightarrow&#92;lnot&#92;psi),' title='(&#92;lnot&#92;psi&#92;Rightarrow&#92;lnot&#92;varphi)&#92;land(&#92;lnot&#92;varphi&#92;Rightarrow&#92;lnot&#92;psi),' class='latex' /> which is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cpsi%5CLeftrightarrow%5Clnot%5Cvarphi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;psi&#92;Leftrightarrow&#92;lnot&#92;varphi),' title='(&#92;lnot&#92;psi&#92;Leftrightarrow&#92;lnot&#92;varphi),' class='latex' /> which in turn is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cvarphi%5CLeftrightarrow%5Clnot%5Cpsi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;varphi&#92;Leftrightarrow&#92;lnot&#92;psi),' title='(&#92;lnot&#92;varphi&#92;Leftrightarrow&#92;lnot&#92;psi),' class='latex' /> as we wanted to see.</p>
<p>There is yet another way in which one can make sense of two statements <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D' title='D' class='latex' /> being equivalent, namely, that we can <em>prove</em> <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D' title='D' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> and also prove <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D.' title='D.' class='latex' /> A careful study of this sense would lead us to study provability in the context of mathematical logic. </p>
<p><strong>Problem 3</strong> asks us to show that if <img src='http://s0.wp.com/latex.php?latex=A%2CB%2CC&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,B,C' title='A,B,C' class='latex' /> are sets and <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is an element such that <img src='http://s0.wp.com/latex.php?latex=x%5Cin%28A%5Ctriangle+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in(A&#92;triangle B)' title='x&#92;in(A&#92;triangle B)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=x%5Cin+C%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in C,' title='x&#92;in C,' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=x%5Cin%5Cbigl%28%28A%5Ccap+C%29%5Ctriangle%28B%5Ccap+C%29%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in&#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr).' title='x&#92;in&#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr).' class='latex' /></p>
<p>To prove this, recall that <img src='http://s0.wp.com/latex.php?latex=A%5Ctriangle+B%3D%28A%5Csetminus+B%29%5Ccup%28B%5Csetminus+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A&#92;triangle B=(A&#92;setminus B)&#92;cup(B&#92;setminus A).' title='A&#92;triangle B=(A&#92;setminus B)&#92;cup(B&#92;setminus A).' class='latex' /> If <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> belongs to this symmetric difference, then there are two possibilities: Either <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Csetminus+B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;setminus B,' title='x&#92;in A&#92;setminus B,' class='latex' /> or else <img src='http://s0.wp.com/latex.php?latex=x%5Cin+B%5Csetminus+A.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in B&#92;setminus A.' title='x&#92;in B&#92;setminus A.' class='latex' /></p>
<ol>
<li>Assume that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Csetminus+B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;setminus B,' title='x&#92;in A&#92;setminus B,' class='latex' /> and recall that this means that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A' title='x&#92;in A' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=x%5Cnotin+B.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;notin B.' title='x&#92;notin B.' class='latex' /> Then (since we are also given that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in C' title='x&#92;in C' class='latex' />) we have that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Ccap+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;cap C' title='x&#92;in A&#92;cap C' class='latex' /> (by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccap&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cap' title='&#92;cap' class='latex' />) and <img src='http://s0.wp.com/latex.php?latex=x%5Cnotin+B%5Ccap+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;notin B&#92;cap C' title='x&#92;notin B&#92;cap C' class='latex' /> (again, by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccap&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cap' title='&#92;cap' class='latex' />). But then <img src='http://s0.wp.com/latex.php?latex=x%5Cin+%28A%5Ccap+C%29%5Csetminus+%28B%5Ccap+C%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in (A&#92;cap C)&#92;setminus (B&#92;cap C)' title='x&#92;in (A&#92;cap C)&#92;setminus (B&#92;cap C)' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=x%5Cin%5Cbigl%28+%28A%5Ccap+C%29%5Csetminus+%28B%5Ccap+C%29+%5Cbigr%29%5Ccup+%5Cbigl%28+%28B%5Ccap+C%29%5Csetminus+%28A%5Ccap+C%29+%5Cbigr%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in&#92;bigl( (A&#92;cap C)&#92;setminus (B&#92;cap C) &#92;bigr)&#92;cup &#92;bigl( (B&#92;cap C)&#92;setminus (A&#92;cap C) &#92;bigr)' title='x&#92;in&#92;bigl( (A&#92;cap C)&#92;setminus (B&#92;cap C) &#92;bigr)&#92;cup &#92;bigl( (B&#92;cap C)&#92;setminus (A&#92;cap C) &#92;bigr)' class='latex' /> (by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccup&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cup' title='&#92;cup' class='latex' />), i.e., <img src='http://s0.wp.com/latex.php?latex=x%5Cin+%5Cbigl%28%28A%5Ccap+C%29%5Ctriangle%28B%5Ccap+C%29%5Cbigr%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in &#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr),' title='x&#92;in &#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr),' class='latex' /> by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ctriangle.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;triangle.' title='&#92;triangle.' class='latex' /></li>
<li>Assuming that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+B%5Csetminus+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in B&#92;setminus A' title='x&#92;in B&#92;setminus A' class='latex' /> leads us to the same conclusion by essentially the same argument.</li>
</ol>
<p>Since in both cases we have reached the desired conclusion, we are done.</p>
<p><strong>Problem 4 </strong>asks to show that if <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is divisible by <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> is a factor of <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>The problem essentially asked us to remember that &#8220;<img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' /> is divisible by <img src='http://s0.wp.com/latex.php?latex=d&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d' title='d' class='latex' />&#8221; means the same as <img src='http://s0.wp.com/latex.php?latex=d%26%23124%3Bc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d&#124;c' title='d&#124;c' class='latex' /> and that &#8220;<img src='http://s0.wp.com/latex.php?latex=d&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d' title='d' class='latex' /> is a factor of <img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' />.&#8221; All three statements mean that <img src='http://s0.wp.com/latex.php?latex=c%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,d' title='c,d' class='latex' /> are integers and there is an integer <img src='http://s0.wp.com/latex.php?latex=e&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='e' title='e' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=de%3Dc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='de=c.' title='de=c.' class='latex' /></p>
<p>We are given that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%26%23124%3Bx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b&#124;x.' title='b&#124;x.' class='latex' /> There are then integers <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z' title='z' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=ay%3Db&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ay=b' title='ay=b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=bz%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='bz=x.' title='bz=x.' class='latex' /> Then, multiplying the first equation by <img src='http://s0.wp.com/latex.php?latex=z%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z,' title='z,' class='latex' /> we get <img src='http://s0.wp.com/latex.php?latex=%28ay%29z%3Dbz%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(ay)z=bz=x.' title='(ay)z=bz=x.' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=%28ayz%29%3Da%28yz%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(ayz)=a(yz),' title='(ayz)=a(yz),' class='latex' /> and it follows that there is an integer <img src='http://s0.wp.com/latex.php?latex=t&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='t' title='t' class='latex' /> (namely, <img src='http://s0.wp.com/latex.php?latex=t%3Dyz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='t=yz' title='t=yz' class='latex' />) such that <img src='http://s0.wp.com/latex.php?latex=at%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='at=x.' title='at=x.' class='latex' /> This is the definition of <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;x,' title='a&#124;x,' class='latex' /> which is what we needed to prove.</p>
<p><strong>Problem 5</strong> asks us to count the number of positive divisors of <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' class='latex' />  </p>
<p>To find this number, note that <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7%3D2%5E3%5Ctimes+3%5E2%5Ctimes+5%5E1%5Ctimes+7%5E1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7=2^3&#92;times 3^2&#92;times 5^1&#92;times 7^1' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7=2^3&#92;times 3^2&#92;times 5^1&#92;times 7^1' class='latex' /> and therefore any divisor will have the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea%5Ctimes+3%5Eb%5Ctimes+5%5Ec%5Ctimes+7%5Ed&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' title='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c,d' title='a,b,c,d' class='latex' /> are integers with <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%5Cle3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a&#92;le3,' title='0&#92;le a&#92;le3,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=0%5Cle+b%5Cle+2%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le b&#92;le 2,' title='0&#92;le b&#92;le 2,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=0%5Cle+c%5Cle+1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le c&#92;le 1,' title='0&#92;le c&#92;le 1,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=0%5Cle+d%5Cle+1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le d&#92;le 1.' title='0&#92;le d&#92;le 1.' class='latex' /></p>
<p>This means that the number of divisors is the same as the number of  lists <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%2Cd%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c,d)' title='(a,b,c,d)' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c,d' title='a,b,c,d' class='latex' /> as explained. There are 4 possibilities for <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> 3 for <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> 2 for <img src='http://s0.wp.com/latex.php?latex=c%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,' title='c,' class='latex' /> and 2 for <img src='http://s0.wp.com/latex.php?latex=d%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d,' title='d,' class='latex' /> for a total of <img src='http://s0.wp.com/latex.php?latex=4%5Ctimes+3%5Ctimes+2%5Ctimes+2%3D48&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4&#92;times 3&#92;times 2&#92;times 2=48' title='4&#92;times 3&#92;times 2&#92;times 2=48' class='latex' /> lists, and therefore 48 is the number of positive divisors of <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' class='latex' /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Midterm 1]]></title>
<link>http://andrescaicedo.wordpress.com/2010/02/18/187-midterm-1/</link>
<pubDate>Fri, 19 Feb 2010 06:39:02 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/02/18/187-midterm-1/</guid>
<description><![CDATA[Here is the midterm. Solutions follow. Problem 1 concerns lists. We are given a collection of 5 obje]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/02/187-spring2010-midterm1.pdf" target="_blank">Here</a> is the midterm.</p>
<p>Solutions follow.</p>
<p><!--more--></p>
<p><strong>Problem 1</strong> concerns lists. We are given a collection of 5 objects, <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%2C1%2C2%2C3%2C4%5C%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;{0,1,2,3,4&#92;},' title='&#92;{0,1,2,3,4&#92;},' class='latex' /> and we want to find:</p>
<ol>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are allowed. We have that for each entry we can use 5 possible objects, for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+5%3D25&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 5=25' title='5&#92;times 5=25' class='latex' /> lists.</li>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are required. Now, once we select the first entry (there are 5 possible ways of doing this), the second entry is completely determined. So we only have <img src='http://s0.wp.com/latex.php?latex=5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5' title='5' class='latex' /> lists.</li>
<li>The number of lists of length 2 where the entries come from these objects, and repetitions are not allowed. There are two ways of counting: Either we simply notice that this is the total number of lists of length 2 (25), except for those that have repetitions (5), for a total of <img src='http://s0.wp.com/latex.php?latex=25-5%3D20%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='25-5=20,' title='25-5=20,' class='latex' /> or else we note that whatever first entry we choose (5 possibilities), this eliminates one of the 5 possible objects from being the second entry (so now we only have 4 possibilities for this entry), for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+4%3D20.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 4=20.' title='5&#92;times 4=20.' class='latex' /></li>
</ol>
<p>The extra credit problem asked for the number of lists of length 3 whose entries come from <img src='http://s0.wp.com/latex.php?latex=%5C%7B0%2C1%2C2%2C3%2C4%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;{0,1,2,3,4&#92;}' title='&#92;{0,1,2,3,4&#92;}' class='latex' /> and repetitions are required. Again, there are two ways of counting. The easiest way is simply to count of lists of length 3 (<img src='http://s0.wp.com/latex.php?latex=5%5E3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5^3' title='5^3' class='latex' />) and subtract from them those lists that do not have repetitions (<img src='http://s0.wp.com/latex.php?latex=5%5Ctimes4%5Ctimes+3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times4&#92;times 3' title='5&#92;times4&#92;times 3' class='latex' />) for a total of <img src='http://s0.wp.com/latex.php?latex=5%5E3-5%5Ctimes+4%5Ctimes+3%3D125-60%3D65&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5^3-5&#92;times 4&#92;times 3=125-60=65' title='5^3-5&#92;times 4&#92;times 3=125-60=65' class='latex' /> lists. The second way counts the lists directly, but this is a bit more complicated. There are 5 possibilities for the first entry. If the second entry is the same, the third entry is arbitrary (so this gives us <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes1%5Ctimes+5%3D25&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times1&#92;times 5=25' title='5&#92;times1&#92;times 5=25' class='latex' /> lists so far). If the second entry is different (4 possibilities) then the last entry is either the same as the first or the second (2 possibilities), for a total of <img src='http://s0.wp.com/latex.php?latex=5%5Ctimes+4%5Ctimes+2%3D40&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5&#92;times 4&#92;times 2=40' title='5&#92;times 4&#92;times 2=40' class='latex' /> lists. Hence, the total number of lists we are looking for is <img src='http://s0.wp.com/latex.php?latex=25%2B40%3D65.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='25+40=65.' title='25+40=65.' class='latex' /></p>
<p><strong>Problem 2</strong> asks us to explain in what sense the statement <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CLeftrightarrow%5Cpsi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Leftrightarrow&#92;psi)' title='(&#92;varphi&#92;Leftrightarrow&#92;psi)' class='latex' /> is equivalent to the statement <img src='http://s0.wp.com/latex.php?latex=%28%28%5Clnot%5Cvarphi%29%5CLeftrightarrow%28%5Clnot%5Cpsi%29%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='((&#92;lnot&#92;varphi)&#92;Leftrightarrow(&#92;lnot&#92;psi)),' title='((&#92;lnot&#92;varphi)&#92;Leftrightarrow(&#92;lnot&#92;psi)),' class='latex' /> and to prove that this is the case. </p>
<p>Two statements are equivalent precisely when <em>they have the same truth values</em>, i.e., they are both true in precisely the same cases and both are false in precisely the same cases. To see that this is the case, the easiest method is to compare the truth tables for both statements and see that they are the same. This is indeed the case: Both statements are true precisely when latex \varphi$ and <img src='http://s0.wp.com/latex.php?latex=%5Cpsi&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;psi' title='&#92;psi' class='latex' /> have the same truth value (be it true or false).</p>
<p>There is another way in which the equivalence can be analyzed. The statement <img src='http://s0.wp.com/latex.php?latex=%28A%5CLeftrightarrow+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Leftrightarrow B)' title='(A&#92;Leftrightarrow B)' class='latex' /> is known to be equivalent to the conjunction <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29%5Cland%28B%5CRightarrow+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B)&#92;land(B&#92;Rightarrow A).' title='(A&#92;Rightarrow B)&#92;land(B&#92;Rightarrow A).' class='latex' /> Let&#8217;s analyze when this conjunction holds, which is the same as saying that both implications must be true. Note that <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B)' title='(A&#92;Rightarrow B)' class='latex' /> holds if <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> is true. However, if <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B' title='B' class='latex' /> is false, then the implication only holds if <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> is also false. This is to say, <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot+B%5CRightarrow%5Clnot+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot B&#92;Rightarrow&#92;lnot A).' title='(&#92;lnot B&#92;Rightarrow&#92;lnot A).' class='latex' /> This statement is called the <strong>contrapositive</strong> of <img src='http://s0.wp.com/latex.php?latex=%28A%5CRightarrow+B%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(A&#92;Rightarrow B),' title='(A&#92;Rightarrow B),' class='latex' /> and our analysis just showed that the two are equivalent.</p>
<p>In the case that interests us, we see that <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CLeftrightarrow%5Cpsi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Leftrightarrow&#92;psi)' title='(&#92;varphi&#92;Leftrightarrow&#92;psi)' class='latex' /> is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Cvarphi%5CRightarrow%5Cpsi%29%5Cland%28%5Cpsi%5CRightarrow%5Cvarphi%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;varphi&#92;Rightarrow&#92;psi)&#92;land(&#92;psi&#92;Rightarrow&#92;varphi)' title='(&#92;varphi&#92;Rightarrow&#92;psi)&#92;land(&#92;psi&#92;Rightarrow&#92;varphi)' class='latex' /> which is equivalent, considering the contrapositives of both implications, to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cpsi%5CRightarrow%5Clnot%5Cvarphi%29%5Cland%28%5Clnot%5Cvarphi%5CRightarrow%5Clnot%5Cpsi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;psi&#92;Rightarrow&#92;lnot&#92;varphi)&#92;land(&#92;lnot&#92;varphi&#92;Rightarrow&#92;lnot&#92;psi),' title='(&#92;lnot&#92;psi&#92;Rightarrow&#92;lnot&#92;varphi)&#92;land(&#92;lnot&#92;varphi&#92;Rightarrow&#92;lnot&#92;psi),' class='latex' /> which is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cpsi%5CLeftrightarrow%5Clnot%5Cvarphi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;psi&#92;Leftrightarrow&#92;lnot&#92;varphi),' title='(&#92;lnot&#92;psi&#92;Leftrightarrow&#92;lnot&#92;varphi),' class='latex' /> which in turn is equivalent to <img src='http://s0.wp.com/latex.php?latex=%28%5Clnot%5Cvarphi%5CLeftrightarrow%5Clnot%5Cpsi%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(&#92;lnot&#92;varphi&#92;Leftrightarrow&#92;lnot&#92;psi),' title='(&#92;lnot&#92;varphi&#92;Leftrightarrow&#92;lnot&#92;psi),' class='latex' /> as we wanted to see.</p>
<p>There is yet another way in which one can make sense of two statements <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D' title='D' class='latex' /> being equivalent, namely, that we can <em>prove</em> <img src='http://s0.wp.com/latex.php?latex=D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D' title='D' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> and also prove <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D.' title='D.' class='latex' /> A careful study of this sense would lead us to study provability in the context of mathematical logic. </p>
<p><strong>Problem 3</strong> asks us to show that if <img src='http://s0.wp.com/latex.php?latex=A%2CB%2CC&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,B,C' title='A,B,C' class='latex' /> are sets and <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is an element such that <img src='http://s0.wp.com/latex.php?latex=x%5Cin%28A%5Ctriangle+B%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in(A&#92;triangle B)' title='x&#92;in(A&#92;triangle B)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=x%5Cin+C%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in C,' title='x&#92;in C,' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=x%5Cin%5Cbigl%28%28A%5Ccap+C%29%5Ctriangle%28B%5Ccap+C%29%5Cbigr%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in&#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr).' title='x&#92;in&#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr).' class='latex' /></p>
<p>To prove this, recall that <img src='http://s0.wp.com/latex.php?latex=A%5Ctriangle+B%3D%28A%5Csetminus+B%29%5Ccup%28B%5Csetminus+A%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A&#92;triangle B=(A&#92;setminus B)&#92;cup(B&#92;setminus A).' title='A&#92;triangle B=(A&#92;setminus B)&#92;cup(B&#92;setminus A).' class='latex' /> If <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> belongs to this symmetric difference, then there are two possibilities: Either <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Csetminus+B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;setminus B,' title='x&#92;in A&#92;setminus B,' class='latex' /> or else <img src='http://s0.wp.com/latex.php?latex=x%5Cin+B%5Csetminus+A.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in B&#92;setminus A.' title='x&#92;in B&#92;setminus A.' class='latex' /></p>
<ol>
<li>Assume that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Csetminus+B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;setminus B,' title='x&#92;in A&#92;setminus B,' class='latex' /> and recall that this means that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A' title='x&#92;in A' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=x%5Cnotin+B.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;notin B.' title='x&#92;notin B.' class='latex' /> Then (since we are also given that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in C' title='x&#92;in C' class='latex' />) we have that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+A%5Ccap+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in A&#92;cap C' title='x&#92;in A&#92;cap C' class='latex' /> (by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccap&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cap' title='&#92;cap' class='latex' />) and <img src='http://s0.wp.com/latex.php?latex=x%5Cnotin+B%5Ccap+C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;notin B&#92;cap C' title='x&#92;notin B&#92;cap C' class='latex' /> (again, by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccap&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cap' title='&#92;cap' class='latex' />). But then <img src='http://s0.wp.com/latex.php?latex=x%5Cin+%28A%5Ccap+C%29%5Csetminus+%28B%5Ccap+C%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in (A&#92;cap C)&#92;setminus (B&#92;cap C)' title='x&#92;in (A&#92;cap C)&#92;setminus (B&#92;cap C)' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=x%5Cin%5Cbigl%28+%28A%5Ccap+C%29%5Csetminus+%28B%5Ccap+C%29+%5Cbigr%29%5Ccup+%5Cbigl%28+%28B%5Ccap+C%29%5Csetminus+%28A%5Ccap+C%29+%5Cbigr%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in&#92;bigl( (A&#92;cap C)&#92;setminus (B&#92;cap C) &#92;bigr)&#92;cup &#92;bigl( (B&#92;cap C)&#92;setminus (A&#92;cap C) &#92;bigr)' title='x&#92;in&#92;bigl( (A&#92;cap C)&#92;setminus (B&#92;cap C) &#92;bigr)&#92;cup &#92;bigl( (B&#92;cap C)&#92;setminus (A&#92;cap C) &#92;bigr)' class='latex' /> (by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ccup&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;cup' title='&#92;cup' class='latex' />), i.e., <img src='http://s0.wp.com/latex.php?latex=x%5Cin+%5Cbigl%28%28A%5Ccap+C%29%5Ctriangle%28B%5Ccap+C%29%5Cbigr%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in &#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr),' title='x&#92;in &#92;bigl((A&#92;cap C)&#92;triangle(B&#92;cap C)&#92;bigr),' class='latex' /> by definition of <img src='http://s0.wp.com/latex.php?latex=%5Ctriangle.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;triangle.' title='&#92;triangle.' class='latex' /></li>
<li>Assuming that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+B%5Csetminus+A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in B&#92;setminus A' title='x&#92;in B&#92;setminus A' class='latex' /> leads us to the same conclusion by essentially the same argument.</li>
</ol>
<p>Since in both cases we have reached the desired conclusion, we are done.</p>
<p><strong>Problem 4 </strong>asks to show that if <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is divisible by <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> is a factor of <img src='http://s0.wp.com/latex.php?latex=x.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x.' title='x.' class='latex' /></p>
<p>The problem essentially asked us to remember that &#8220;<img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' /> is divisible by <img src='http://s0.wp.com/latex.php?latex=d&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d' title='d' class='latex' />&#8221; means the same as <img src='http://s0.wp.com/latex.php?latex=d%26%23124%3Bc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d&#124;c' title='d&#124;c' class='latex' /> and that &#8220;<img src='http://s0.wp.com/latex.php?latex=d&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d' title='d' class='latex' /> is a factor of <img src='http://s0.wp.com/latex.php?latex=c&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c' title='c' class='latex' />.&#8221; All three statements mean that <img src='http://s0.wp.com/latex.php?latex=c%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,d' title='c,d' class='latex' /> are integers and there is an integer <img src='http://s0.wp.com/latex.php?latex=e&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='e' title='e' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=de%3Dc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='de=c.' title='de=c.' class='latex' /></p>
<p>We are given that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%26%23124%3Bx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b&#124;x.' title='b&#124;x.' class='latex' /> There are then integers <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z' title='z' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=ay%3Db&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ay=b' title='ay=b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=bz%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='bz=x.' title='bz=x.' class='latex' /> Then, multiplying the first equation by <img src='http://s0.wp.com/latex.php?latex=z%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z,' title='z,' class='latex' /> we get <img src='http://s0.wp.com/latex.php?latex=%28ay%29z%3Dbz%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(ay)z=bz=x.' title='(ay)z=bz=x.' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=%28ayz%29%3Da%28yz%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(ayz)=a(yz),' title='(ayz)=a(yz),' class='latex' /> and it follows that there is an integer <img src='http://s0.wp.com/latex.php?latex=t&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='t' title='t' class='latex' /> (namely, <img src='http://s0.wp.com/latex.php?latex=t%3Dyz&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='t=yz' title='t=yz' class='latex' />) such that <img src='http://s0.wp.com/latex.php?latex=at%3Dx.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='at=x.' title='at=x.' class='latex' /> This is the definition of <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;x,' title='a&#124;x,' class='latex' /> which is what we needed to prove.</p>
<p><strong>Problem 5</strong> asks us to count the number of positive divisors of <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' class='latex' />  </p>
<p>To find this number, note that <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7%3D2%5E3%5Ctimes+3%5E2%5Ctimes+5%5E1%5Ctimes+7%5E1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7=2^3&#92;times 3^2&#92;times 5^1&#92;times 7^1' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7=2^3&#92;times 3^2&#92;times 5^1&#92;times 7^1' class='latex' /> and therefore any divisor will have the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea%5Ctimes+3%5Eb%5Ctimes+5%5Ec%5Ctimes+7%5Ed&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' title='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c,d' title='a,b,c,d' class='latex' /> are integers with <img src='http://s0.wp.com/latex.php?latex=0%5Cle+a%5Cle3%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le a&#92;le3,' title='0&#92;le a&#92;le3,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=0%5Cle+b%5Cle+2%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le b&#92;le 2,' title='0&#92;le b&#92;le 2,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=0%5Cle+c%5Cle+1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le c&#92;le 1,' title='0&#92;le c&#92;le 1,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=0%5Cle+d%5Cle+1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0&#92;le d&#92;le 1.' title='0&#92;le d&#92;le 1.' class='latex' /></p>
<p>This means that the number of divisors is the same as the number of  lists <img src='http://s0.wp.com/latex.php?latex=%28a%2Cb%2Cc%2Cd%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(a,b,c,d)' title='(a,b,c,d)' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc%2Cd&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c,d' title='a,b,c,d' class='latex' /> as explained. There are 4 possibilities for <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> 3 for <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> 2 for <img src='http://s0.wp.com/latex.php?latex=c%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,' title='c,' class='latex' /> and 2 for <img src='http://s0.wp.com/latex.php?latex=d%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d,' title='d,' class='latex' /> for a total of <img src='http://s0.wp.com/latex.php?latex=4%5Ctimes+3%5Ctimes+2%5Ctimes+2%3D48&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4&#92;times 3&#92;times 2&#92;times 2=48' title='4&#92;times 3&#92;times 2&#92;times 2=48' class='latex' /> lists, and therefore 48 is the number of positive divisors of <img src='http://s0.wp.com/latex.php?latex=3%5Ctimes+4%5Ctimes+5%5Ctimes+6%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' title='3&#92;times 4&#92;times 5&#92;times 6&#92;times 7.' class='latex' /></p>
		<div id="geo-post-2539" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 3]]></title>
<link>http://caicedoteaching.wordpress.com/2010/02/15/187-quiz-3/</link>
<pubDate>Tue, 16 Feb 2010 00:55:51 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/02/15/187-quiz-3/</guid>
<description><![CDATA[Here is quiz 3.  Problem 1 requests a counterexample to the statement: An integer is positive if and]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/02/187-spring2010-quiz3.pdf" target="_blank">Here</a> is quiz 3. </p>
<p><strong>Problem 1</strong> requests a counterexample to the statement: An integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is positive if and only if <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is positive.</p>
<p>To find a counterexample to a statement of the form &#8220;an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> has property <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> if and only if it has property <img src='http://s0.wp.com/latex.php?latex=B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B,' title='B,' class='latex' /> we need an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> such that one of the properties is true of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> while the other is false. Note that if <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is positive, i.e., <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3B0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;0,' title='x&gt;0,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=x%2B1%26%2362%3B1%26%2362%3B0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1&gt;1&gt;0,' title='x+1&gt;1&gt;0,' class='latex' /> i.e., <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is also positive. This means that the only way the statement is going to fail is if we have that <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is positive yet <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is not. </p>
<p>We can now easily see that <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> is a counterexample. (And, in fact, it is the only counterexample.)</p>
<p><strong>Problem 2</strong> asks to show that <img src='http://s0.wp.com/latex.php?latex=C%5Csubseteq+D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C&#92;subseteq D,' title='C&#92;subseteq D,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=C%3D%5C%7Bx%5Cin%7B%5Cmathbb+Z%7D%5Ccolon+x%26%23124%3B12%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;12&#92;}' title='C=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;12&#92;}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=D%3D%5C%7Bx%5Cin%7B%5Cmathbb+Z%7D%5Ccolon+x%26%23124%3B60%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;60&#92;}.' title='D=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;60&#92;}.' class='latex' /> </p>
<p>By definition, <img src='http://s0.wp.com/latex.php?latex=C%5Csubseteq+D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C&#92;subseteq D' title='C&#92;subseteq D' class='latex' /> iff any element of <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D.' title='D.' class='latex' /> Let us then consider an element <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=C.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C.' title='C.' class='latex' /> By definition of <img src='http://s0.wp.com/latex.php?latex=C%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C,' title='C,' class='latex' /> this means that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is an integer, and <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;12.' title='x&#124;12.' class='latex' /> We need to show that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in D,' title='x&#92;in D,' class='latex' /> i.e., that <img src='http://s0.wp.com/latex.php?latex=x%5Cin%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in{&#92;mathbb Z}' title='x&#92;in{&#92;mathbb Z}' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60.' title='x&#124;60.' class='latex' /> The first requirement is automatic, so we only need to verify that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60.' title='x&#124;60.' class='latex' /> </p>
<p>To see this, we use that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;12.' title='x&#124;12.' class='latex' /> By definition, this means that there is an integer, let us call it <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=xa%3D12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xa=12.' title='xa=12.' class='latex' /> To show that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60,' title='x&#124;60,' class='latex' /> we need (again, by definition) that there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=xb%3D60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xb=60.' title='xb=60.' class='latex' /> Now, since <img src='http://s0.wp.com/latex.php?latex=xa%3D12%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xa=12,' title='xa=12,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=5%28xa%29%3D5%5Ctimes+12%3D60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5(xa)=5&#92;times 12=60,' title='5(xa)=5&#92;times 12=60,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=x%285a%29%3D60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x(5a)=60.' title='x(5a)=60.' class='latex' /> We immediately see that we can take <img src='http://s0.wp.com/latex.php?latex=b%3D5a.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=5a.' title='b=5a.' class='latex' /> This is an integer, and <img src='http://s0.wp.com/latex.php?latex=xb%3D60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xb=60,' title='xb=60,' class='latex' /> as needed.</p>
<p><strong>Problem 3</strong> asks for the cardinality of the set <img src='http://s0.wp.com/latex.php?latex=2%5E%7B2%5E%7B%5C%7B1%2C3%2C7%2C11%5C%7D%7D%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^{2^{&#92;{1,3,7,11&#92;}}}.' title='2^{2^{&#92;{1,3,7,11&#92;}}}.' class='latex' /> </p>
<p>Recall that for any set <img src='http://s0.wp.com/latex.php?latex=A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,' title='A,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5EA%26%23124%3B%3D2%5E%7B%26%23124%3BA%26%23124%3B%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^A&#124;=2^{&#124;A&#124;},' title='&#124;2^A&#124;=2^{&#124;A&#124;},' class='latex' /> as shown in lecture. In particular, if <img src='http://s0.wp.com/latex.php?latex=A%3D%5C%7B1%2C3%2C7%2C11%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A=&#92;{1,3,7,11&#92;}' title='A=&#92;{1,3,7,11&#92;}' class='latex' />, then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5EA%26%23124%3B%3D2%5E4%3D16.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^A&#124;=2^4=16.' title='&#124;2^A&#124;=2^4=16.' class='latex' /> Now let <img src='http://s0.wp.com/latex.php?latex=A%27%3D2%5E%7B%5C%7B1%2C3%2C7%2C11%5C%7D%7D%3D2%5EA.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A&#039;=2^{&#92;{1,3,7,11&#92;}}=2^A.' title='A&#039;=2^{&#92;{1,3,7,11&#92;}}=2^A.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5E%7BA%27%7D%26%23124%3B%3D2%5E%7B%26%23124%3BA%27%26%23124%3B%7D%3D2%5E%7B16%7D%3D65536.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^{A&#039;}&#124;=2^{&#124;A&#039;&#124;}=2^{16}=65536.' title='&#124;2^{A&#039;}&#124;=2^{&#124;A&#039;&#124;}=2^{16}=65536.' class='latex' /></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 3]]></title>
<link>http://andrescaicedo.wordpress.com/2010/02/15/187-quiz-3/</link>
<pubDate>Tue, 16 Feb 2010 00:55:51 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/02/15/187-quiz-3/</guid>
<description><![CDATA[Here is quiz 3.  Problem 1 requests a counterexample to the statement: An integer is positive if and]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/02/187-spring2010-quiz3.pdf" target="_blank">Here</a> is quiz 3. </p>
<p><strong>Problem 1</strong> requests a counterexample to the statement: An integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is positive if and only if <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is positive.</p>
<p>To find a counterexample to a statement of the form &#8220;an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> has property <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A' title='A' class='latex' /> if and only if it has property <img src='http://s0.wp.com/latex.php?latex=B%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='B,' title='B,' class='latex' /> we need an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> such that one of the properties is true of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> while the other is false. Note that if <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is positive, i.e., <img src='http://s0.wp.com/latex.php?latex=x%26%2362%3B0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&gt;0,' title='x&gt;0,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=x%2B1%26%2362%3B1%26%2362%3B0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1&gt;1&gt;0,' title='x+1&gt;1&gt;0,' class='latex' /> i.e., <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is also positive. This means that the only way the statement is going to fail is if we have that <img src='http://s0.wp.com/latex.php?latex=x%2B1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x+1' title='x+1' class='latex' /> is positive yet <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is not. </p>
<p>We can now easily see that <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> is a counterexample. (And, in fact, it is the only counterexample.)</p>
<p><strong>Problem 2</strong> asks to show that <img src='http://s0.wp.com/latex.php?latex=C%5Csubseteq+D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C&#92;subseteq D,' title='C&#92;subseteq D,' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=C%3D%5C%7Bx%5Cin%7B%5Cmathbb+Z%7D%5Ccolon+x%26%23124%3B12%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;12&#92;}' title='C=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;12&#92;}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=D%3D%5C%7Bx%5Cin%7B%5Cmathbb+Z%7D%5Ccolon+x%26%23124%3B60%5C%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;60&#92;}.' title='D=&#92;{x&#92;in{&#92;mathbb Z}&#92;colon x&#124;60&#92;}.' class='latex' /> </p>
<p>By definition, <img src='http://s0.wp.com/latex.php?latex=C%5Csubseteq+D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C&#92;subseteq D' title='C&#92;subseteq D' class='latex' /> iff any element of <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C' title='C' class='latex' /> is also an element of <img src='http://s0.wp.com/latex.php?latex=D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='D.' title='D.' class='latex' /> Let us then consider an element <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=C.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C.' title='C.' class='latex' /> By definition of <img src='http://s0.wp.com/latex.php?latex=C%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='C,' title='C,' class='latex' /> this means that <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> is an integer, and <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;12.' title='x&#124;12.' class='latex' /> We need to show that <img src='http://s0.wp.com/latex.php?latex=x%5Cin+D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in D,' title='x&#92;in D,' class='latex' /> i.e., that <img src='http://s0.wp.com/latex.php?latex=x%5Cin%7B%5Cmathbb+Z%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;in{&#92;mathbb Z}' title='x&#92;in{&#92;mathbb Z}' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60.' title='x&#124;60.' class='latex' /> The first requirement is automatic, so we only need to verify that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60.' title='x&#124;60.' class='latex' /> </p>
<p>To see this, we use that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;12.' title='x&#124;12.' class='latex' /> By definition, this means that there is an integer, let us call it <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=xa%3D12.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xa=12.' title='xa=12.' class='latex' /> To show that <img src='http://s0.wp.com/latex.php?latex=x%26%23124%3B60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#124;60,' title='x&#124;60,' class='latex' /> we need (again, by definition) that there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=xb%3D60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xb=60.' title='xb=60.' class='latex' /> Now, since <img src='http://s0.wp.com/latex.php?latex=xa%3D12%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xa=12,' title='xa=12,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=5%28xa%29%3D5%5Ctimes+12%3D60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='5(xa)=5&#92;times 12=60,' title='5(xa)=5&#92;times 12=60,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=x%285a%29%3D60.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x(5a)=60.' title='x(5a)=60.' class='latex' /> We immediately see that we can take <img src='http://s0.wp.com/latex.php?latex=b%3D5a.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=5a.' title='b=5a.' class='latex' /> This is an integer, and <img src='http://s0.wp.com/latex.php?latex=xb%3D60%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='xb=60,' title='xb=60,' class='latex' /> as needed.</p>
<p><strong>Problem 3</strong> asks for the cardinality of the set <img src='http://s0.wp.com/latex.php?latex=2%5E%7B2%5E%7B%5C%7B1%2C3%2C7%2C11%5C%7D%7D%7D.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^{2^{&#92;{1,3,7,11&#92;}}}.' title='2^{2^{&#92;{1,3,7,11&#92;}}}.' class='latex' /> </p>
<p>Recall that for any set <img src='http://s0.wp.com/latex.php?latex=A%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A,' title='A,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5EA%26%23124%3B%3D2%5E%7B%26%23124%3BA%26%23124%3B%7D%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^A&#124;=2^{&#124;A&#124;},' title='&#124;2^A&#124;=2^{&#124;A&#124;},' class='latex' /> as shown in lecture. In particular, if <img src='http://s0.wp.com/latex.php?latex=A%3D%5C%7B1%2C3%2C7%2C11%5C%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A=&#92;{1,3,7,11&#92;}' title='A=&#92;{1,3,7,11&#92;}' class='latex' />, then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5EA%26%23124%3B%3D2%5E4%3D16.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^A&#124;=2^4=16.' title='&#124;2^A&#124;=2^4=16.' class='latex' /> Now let <img src='http://s0.wp.com/latex.php?latex=A%27%3D2%5E%7B%5C%7B1%2C3%2C7%2C11%5C%7D%7D%3D2%5EA.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='A&#039;=2^{&#92;{1,3,7,11&#92;}}=2^A.' title='A&#039;=2^{&#92;{1,3,7,11&#92;}}=2^A.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=%26%23124%3B2%5E%7BA%27%7D%26%23124%3B%3D2%5E%7B%26%23124%3BA%27%26%23124%3B%7D%3D2%5E%7B16%7D%3D65536.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#124;2^{A&#039;}&#124;=2^{&#124;A&#039;&#124;}=2^{16}=65536.' title='&#124;2^{A&#039;}&#124;=2^{&#124;A&#039;&#124;}=2^{16}=65536.' class='latex' /></p>
		<div id="geo-post-2528" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 2]]></title>
<link>http://caicedoteaching.wordpress.com/2010/02/08/187-quiz-2/</link>
<pubDate>Tue, 09 Feb 2010 03:28:39 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/02/08/187-quiz-2/</guid>
<description><![CDATA[Here is quiz 2. Problem 1 asks to show that an integer is odd if and only if it is the sum of two co]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/02/187-spring2010-quiz2.pdf" target="_blank">Here</a> is quiz 2.</p>
<p><strong>Problem 1 </strong>asks to show that an integer is odd if and only if it is the sum of two consecutive integers.</p>
<p>Here is an argument: Let <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> be an integer. We need to prove two statements, corresponding to the two directions of the &#8220;if and only if:&#8221;</p>
<ol>
<li>If <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd, then there are two consecutive integers <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b.' title='n=a+b.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is the sum of two consecutive integers <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd.</li>
</ol>
<p>1. Assume that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd. Then, by definition, there is an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=n%3D2x%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=2x+1.' title='n=2x+1.' class='latex' /> Note that <img src='http://s0.wp.com/latex.php?latex=2x%2B1%3Dx%2B%28x%2B1%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2x+1=x+(x+1),' title='2x+1=x+(x+1),' class='latex' /> so we can take <img src='http://s0.wp.com/latex.php?latex=a%3Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=x,' title='a=x,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=b%3Dx%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=x+1,' title='b=x+1,' class='latex' /> and we see that <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are consecutive, and <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b.' title='n=a+b.' class='latex' /></p>
<p>2. Now assume that <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b' title='n=a+b' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are consecutive integers. Say, <img src='http://s0.wp.com/latex.php?latex=b%3Da%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=a+1.' title='b=a+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=n%3Da%2B%28a%2B1%29%3D2a%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+(a+1)=2a+1.' title='n=a+(a+1)=2a+1.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd.</p>
<p><strong>Problem 2</strong> asks to show that if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c' title='a,b,c' class='latex' /> are integers and we have that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;c' title='a&#124;c' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3B%28b%2Bc%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;(b+c).' title='a&#124;(b+c).' class='latex' /></p>
<p>To see this, assume that <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c' title='a,b,c' class='latex' /> are integers such that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;c.' title='a&#124;c.' class='latex' /> By definition, this means that there are integers <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=ax%3Db&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax=b' title='ax=b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=ay%3Dc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ay=c.' title='ay=c.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=ax%2Bay%3Db%2Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax+ay=b+c.' title='ax+ay=b+c.' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=ax%2Bay%3Da%28x%2By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax+ay=a(x+y).' title='ax+ay=a(x+y).' class='latex' /> Let <img src='http://s0.wp.com/latex.php?latex=z%3Dx%2By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z=x+y.' title='z=x+y.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z' title='z' class='latex' /> is an integer, and <img src='http://s0.wp.com/latex.php?latex=az%3Db%2Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='az=b+c.' title='az=b+c.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3B%28b%2Bc%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;(b+c).' title='a&#124;(b+c).' class='latex' /></p>
<p><strong>Problem 3 </strong>asks to show that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is a positive integer, then <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite.</p>
<p>As stated, this is false. For a counterexample, note that <img src='http://s0.wp.com/latex.php?latex=n%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1' title='n=1' class='latex' /> is a positive integer. However, <img src='http://s0.wp.com/latex.php?latex=1%5E4-1%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1^4-1=0' title='1^4-1=0' class='latex' /> is not composite according to the definition given in the book: </p>
<blockquote><p>An integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> is composite if and only if there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bb%26%2360%3Ba&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;b&lt;a' title='1&lt;b&lt;a' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%26%23124%3Ba.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b&#124;a.' title='b&#124;a.' class='latex' /></p></blockquote>
<p>In any case, it is true that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is an integer and <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite. To see this, note first that <img src='http://s0.wp.com/latex.php?latex=n%5E4-1%3D%28n%5E2-1%29%28n%5E2%2B1%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1=(n^2-1)(n^2+1).' title='n^4-1=(n^2-1)(n^2+1).' class='latex' /> Now, if <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n%5Cge2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;ge2' title='n&#92;ge2' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n%5E2%5Cge+4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2&#92;ge 4,' title='n^2&#92;ge 4,' class='latex' /> so <img src='http://s0.wp.com/latex.php?latex=n%5E2-1%5Cge+3%26%2362%3B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2-1&#92;ge 3&gt;1.' title='n^2-1&#92;ge 3&gt;1.' class='latex' /> Also, since <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bn%5E2-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;n^2-1,' title='1&lt;n^2-1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=3%5Cle+n%5E2%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;le n^2+1,' title='3&#92;le n^2+1,' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=n%5E2-1%26%2360%3B3%28n%5E2-1%29%5Cle+%28n%5E2-1%29%28n%5E2%2B1%29%3Dn%5E4-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2-1&lt;3(n^2-1)&#92;le (n^2-1)(n^2+1)=n^4-1.' title='n^2-1&lt;3(n^2-1)&#92;le (n^2-1)(n^2+1)=n^4-1.' class='latex' /> We have shown that <img src='http://s0.wp.com/latex.php?latex=%28n%5E2-1%29%26%23124%3B%28n%5E4-1%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(n^2-1)&#124;(n^4-1)' title='(n^2-1)&#124;(n^4-1)' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bn%5E2-1%26%2360%3Bn%5E4-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;n^2-1&lt;n^4-1.' title='1&lt;n^2-1&lt;n^4-1.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 2]]></title>
<link>http://andrescaicedo.wordpress.com/2010/02/08/187-quiz-2/</link>
<pubDate>Tue, 09 Feb 2010 03:28:39 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/02/08/187-quiz-2/</guid>
<description><![CDATA[Here is quiz 2. Problem 1 asks to show that an integer is odd if and only if it is the sum of two co]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/02/187-spring2010-quiz2.pdf" target="_blank">Here</a> is quiz 2.</p>
<p><strong>Problem 1 </strong>asks to show that an integer is odd if and only if it is the sum of two consecutive integers.</p>
<p>Here is an argument: Let <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> be an integer. We need to prove two statements, corresponding to the two directions of the &#8220;if and only if:&#8221;</p>
<ol>
<li>If <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd, then there are two consecutive integers <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b.' title='n=a+b.' class='latex' /></li>
<li>If <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is the sum of two consecutive integers <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd.</li>
</ol>
<p>1. Assume that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd. Then, by definition, there is an integer <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=n%3D2x%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=2x+1.' title='n=2x+1.' class='latex' /> Note that <img src='http://s0.wp.com/latex.php?latex=2x%2B1%3Dx%2B%28x%2B1%29%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2x+1=x+(x+1),' title='2x+1=x+(x+1),' class='latex' /> so we can take <img src='http://s0.wp.com/latex.php?latex=a%3Dx%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=x,' title='a=x,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=b%3Dx%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=x+1,' title='b=x+1,' class='latex' /> and we see that <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are consecutive, and <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b.' title='n=a+b.' class='latex' /></p>
<p>2. Now assume that <img src='http://s0.wp.com/latex.php?latex=n%3Da%2Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+b' title='n=a+b' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&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=000&amp;s=0' alt='b' title='b' class='latex' /> are consecutive integers. Say, <img src='http://s0.wp.com/latex.php?latex=b%3Da%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=a+1.' title='b=a+1.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=n%3Da%2B%28a%2B1%29%3D2a%2B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=a+(a+1)=2a+1.' title='n=a+(a+1)=2a+1.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is odd.</p>
<p><strong>Problem 2</strong> asks to show that if <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c' title='a,b,c' class='latex' /> are integers and we have that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;c' title='a&#124;c' class='latex' /> then also <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3B%28b%2Bc%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;(b+c).' title='a&#124;(b+c).' class='latex' /></p>
<p>To see this, assume that <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,b,c' title='a,b,c' class='latex' /> are integers such that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bb&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;b' title='a&#124;b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;c.' title='a&#124;c.' class='latex' /> By definition, this means that there are integers <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=ax%3Db&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax=b' title='ax=b' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=ay%3Dc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ay=c.' title='ay=c.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=ax%2Bay%3Db%2Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax+ay=b+c.' title='ax+ay=b+c.' class='latex' /> But <img src='http://s0.wp.com/latex.php?latex=ax%2Bay%3Da%28x%2By%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='ax+ay=a(x+y).' title='ax+ay=a(x+y).' class='latex' /> Let <img src='http://s0.wp.com/latex.php?latex=z%3Dx%2By.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z=x+y.' title='z=x+y.' class='latex' /> Then <img src='http://s0.wp.com/latex.php?latex=z&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='z' title='z' class='latex' /> is an integer, and <img src='http://s0.wp.com/latex.php?latex=az%3Db%2Bc.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='az=b+c.' title='az=b+c.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=a%26%23124%3B%28b%2Bc%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a&#124;(b+c).' title='a&#124;(b+c).' class='latex' /></p>
<p><strong>Problem 3 </strong>asks to show that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is a positive integer, then <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite.</p>
<p>As stated, this is false. For a counterexample, note that <img src='http://s0.wp.com/latex.php?latex=n%3D1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1' title='n=1' class='latex' /> is a positive integer. However, <img src='http://s0.wp.com/latex.php?latex=1%5E4-1%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1^4-1=0' title='1^4-1=0' class='latex' /> is not composite according to the definition given in the book: </p>
<blockquote><p>An integer <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a' title='a' class='latex' /> is composite if and only if there is an integer <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b' title='b' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bb%26%2360%3Ba&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;b&lt;a' title='1&lt;b&lt;a' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b%26%23124%3Ba.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b&#124;a.' title='b&#124;a.' class='latex' /></p></blockquote>
<p>In any case, it is true that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> is an integer and <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite. To see this, note first that <img src='http://s0.wp.com/latex.php?latex=n%5E4-1%3D%28n%5E2-1%29%28n%5E2%2B1%29.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1=(n^2-1)(n^2+1).' title='n^4-1=(n^2-1)(n^2+1).' class='latex' /> Now, if <img src='http://s0.wp.com/latex.php?latex=n%26%2362%3B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&gt;1,' title='n&gt;1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=n%5Cge2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n&#92;ge2' title='n&#92;ge2' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n%5E2%5Cge+4%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2&#92;ge 4,' title='n^2&#92;ge 4,' class='latex' /> so <img src='http://s0.wp.com/latex.php?latex=n%5E2-1%5Cge+3%26%2362%3B1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2-1&#92;ge 3&gt;1.' title='n^2-1&#92;ge 3&gt;1.' class='latex' /> Also, since <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bn%5E2-1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;n^2-1,' title='1&lt;n^2-1,' class='latex' /> then <img src='http://s0.wp.com/latex.php?latex=3%5Cle+n%5E2%2B1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3&#92;le n^2+1,' title='3&#92;le n^2+1,' class='latex' /> and therefore <img src='http://s0.wp.com/latex.php?latex=n%5E2-1%26%2360%3B3%28n%5E2-1%29%5Cle+%28n%5E2-1%29%28n%5E2%2B1%29%3Dn%5E4-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^2-1&lt;3(n^2-1)&#92;le (n^2-1)(n^2+1)=n^4-1.' title='n^2-1&lt;3(n^2-1)&#92;le (n^2-1)(n^2+1)=n^4-1.' class='latex' /> We have shown that <img src='http://s0.wp.com/latex.php?latex=%28n%5E2-1%29%26%23124%3B%28n%5E4-1%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='(n^2-1)&#124;(n^4-1)' title='(n^2-1)&#124;(n^4-1)' class='latex' /> and that <img src='http://s0.wp.com/latex.php?latex=1%26%2360%3Bn%5E2-1%26%2360%3Bn%5E4-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1&lt;n^2-1&lt;n^4-1.' title='1&lt;n^2-1&lt;n^4-1.' class='latex' /> By definition, this means that <img src='http://s0.wp.com/latex.php?latex=n%5E4-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n^4-1' title='n^4-1' class='latex' /> is composite.</p>
		<div id="geo-post-2522" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 1]]></title>
<link>http://caicedoteaching.wordpress.com/2010/02/01/187-quiz-1/</link>
<pubDate>Mon, 01 Feb 2010 21:47:53 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://caicedoteaching.wordpress.com/2010/02/01/187-quiz-1/</guid>
<description><![CDATA[Here is quiz 1.  Problem 1 is False. This is because the number 1 is neither prime nor composite.  P]]></description>
<content:encoded><![CDATA[<p><a href="http://caicedoteaching.files.wordpress.com/2010/02/187-spring2010-quiz1.pdf" target="_blank">Here</a> is quiz 1. </p>
<p>Problem 1 is <strong>False</strong>. This is because the number 1 is neither prime nor composite. </p>
<p>Problem 2 is <strong>False</strong>. This is because we can have <img src='http://s0.wp.com/latex.php?latex=x%3D-y%5Cne0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-y&#92;ne0,' title='x=-y&#92;ne0,' class='latex' /> in which case <img src='http://s0.wp.com/latex.php?latex=x%5E2%3Dy%5E2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x^2=y^2' title='x^2=y^2' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=x%5Cne+y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;ne y.' title='x&#92;ne y.' class='latex' /> For example, consider <img src='http://s0.wp.com/latex.php?latex=x%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=1,' title='x=1,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=-1.' title='y=-1.' class='latex' /></p>
<p>For problem 3, start by writing the number <img src='http://s0.wp.com/latex.php?latex=n%3D1%5Ctimes+2%5Ctimes+%5Cdots%5Ctimes+9&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1&#92;times 2&#92;times &#92;dots&#92;times 9' title='n=1&#92;times 2&#92;times &#92;dots&#92;times 9' class='latex' /> as a product of primes: <img src='http://s0.wp.com/latex.php?latex=n%3D2%5E7%5Ctimes+3%5E4%5Ctimes+5%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=2^7&#92;times 3^4&#92;times 5&#92;times 7.' title='n=2^7&#92;times 3^4&#92;times 5&#92;times 7.' class='latex' /> Plainly, any positive divisor of <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> must have the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea%5Ctimes+3%5Eb%5Ctimes+5%5Ec%5Ctimes+7%5Ed&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' title='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a%3D0%2C1%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=0,1,&#92;dots,' title='a=0,1,&#92;dots,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=7%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='7;' title='7;' class='latex' /> similarly, <img src='http://s0.wp.com/latex.php?latex=b%3D0%2C1%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=0,1,&#92;dots,' title='b=0,1,&#92;dots,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4' title='4' class='latex' />; <img src='http://s0.wp.com/latex.php?latex=c%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c=0' title='c=0' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1,' title='1,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=d%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d=0' title='d=0' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1.' title='1.' class='latex' /> There are 8 possibilities for <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> 5 for <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> 2 for <img src='http://s0.wp.com/latex.php?latex=c%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,' title='c,' class='latex' /> and 2 for <img src='http://s0.wp.com/latex.php?latex=d.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d.' title='d.' class='latex' /> This gives us a total of <img src='http://s0.wp.com/latex.php?latex=8%5Ctimes+5%5Ctimes+2%5Ctimes+2%3D160&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='8&#92;times 5&#92;times 2&#92;times 2=160' title='8&#92;times 5&#92;times 2&#92;times 2=160' class='latex' /> possible positive divisors.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[187 - Quiz 1]]></title>
<link>http://andrescaicedo.wordpress.com/2010/02/01/187-quiz-1/</link>
<pubDate>Mon, 01 Feb 2010 21:47:53 +0000</pubDate>
<dc:creator>andrescaicedo</dc:creator>
<guid>http://andrescaicedo.wordpress.com/2010/02/01/187-quiz-1/</guid>
<description><![CDATA[Here is quiz 1.   Problem 1 is False. This is because the number 1 is neither prime nor composite. ]]></description>
<content:encoded><![CDATA[<p><a href="http://andrescaicedo.files.wordpress.com/2010/02/187-spring2010-quiz1.pdf" target="_blank">Here</a> is quiz 1.  </p>
<p>Problem 1 is <strong>False</strong>. This is because the number 1 is neither prime nor composite. </p>
<p>Problem 2 is <strong>False</strong>. This is because we can have <img src='http://s0.wp.com/latex.php?latex=x%3D-y%5Cne0%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-y&#92;ne0,' title='x=-y&#92;ne0,' class='latex' /> in which case <img src='http://s0.wp.com/latex.php?latex=x%5E2%3Dy%5E2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x^2=y^2' title='x^2=y^2' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=x%5Cne+y.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x&#92;ne y.' title='x&#92;ne y.' class='latex' /> For example, consider <img src='http://s0.wp.com/latex.php?latex=x%3D1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=1,' title='x=1,' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=y%3D-1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=-1.' title='y=-1.' class='latex' /></p>
<p>For problem 3, start by writing the number <img src='http://s0.wp.com/latex.php?latex=n%3D1%5Ctimes+2%5Ctimes+%5Cdots%5Ctimes+9&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=1&#92;times 2&#92;times &#92;dots&#92;times 9' title='n=1&#92;times 2&#92;times &#92;dots&#92;times 9' class='latex' /> as a product of primes: <img src='http://s0.wp.com/latex.php?latex=n%3D2%5E7%5Ctimes+3%5E4%5Ctimes+5%5Ctimes+7.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n=2^7&#92;times 3^4&#92;times 5&#92;times 7.' title='n=2^7&#92;times 3^4&#92;times 5&#92;times 7.' class='latex' /> Plainly, any positive divisor of <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='n' title='n' class='latex' /> must have the form <img src='http://s0.wp.com/latex.php?latex=2%5Ea%5Ctimes+3%5Eb%5Ctimes+5%5Ec%5Ctimes+7%5Ed&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' title='2^a&#92;times 3^b&#92;times 5^c&#92;times 7^d' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=a%3D0%2C1%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a=0,1,&#92;dots,' title='a=0,1,&#92;dots,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=7%3B&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='7;' title='7;' class='latex' /> similarly, <img src='http://s0.wp.com/latex.php?latex=b%3D0%2C1%2C%5Cdots%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b=0,1,&#92;dots,' title='b=0,1,&#92;dots,' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=4&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='4' title='4' class='latex' />; <img src='http://s0.wp.com/latex.php?latex=c%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c=0' title='c=0' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1,' title='1,' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=d%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d=0' title='d=0' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=1.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='1.' title='1.' class='latex' /> There are 8 possibilities for <img src='http://s0.wp.com/latex.php?latex=a%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a,' title='a,' class='latex' /> 5 for <img src='http://s0.wp.com/latex.php?latex=b%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='b,' title='b,' class='latex' /> 2 for <img src='http://s0.wp.com/latex.php?latex=c%2C&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='c,' title='c,' class='latex' /> and 2 for <img src='http://s0.wp.com/latex.php?latex=d.&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='d.' title='d.' class='latex' /> This gives us a total of <img src='http://s0.wp.com/latex.php?latex=8%5Ctimes+5%5Ctimes+2%5Ctimes+2%3D160&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='8&#92;times 5&#92;times 2&#92;times 2=160' title='8&#92;times 5&#92;times 2&#92;times 2=160' class='latex' /> possible positive divisors.</p>
		<div id="geo-post-2506" class="geo geo-post" style="display: none">
			<span class="latitude">43.614000</span>
			<span class="longitude">-116.202000</span>
		</div>]]></content:encoded>
</item>

</channel>
</rss>
