<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://drorbn.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChrisKim</id>
	<title>Drorbn - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://drorbn.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChrisKim"/>
	<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=Special:Contributions/ChrisKim"/>
	<updated>2026-05-07T01:34:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15213</id>
		<title>15-344/Homework Assignment 10</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15213"/>
		<updated>2015-12-17T02:29:53Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;by Friday December 11 at 5PM&amp;lt;/span&amp;gt;. It can be submitted either to Gaurav during his office hours on Thursday December 10 at 3:30-5:30 or during his office hours on Friday December 11 at 4-5, both at 215 Huron room 1012. It can also be submitted to a drop box near Dror&#039;s office, Bahen 6178, at any time between Thursday December 10 at 5 and Friday December 11 at 5.&lt;br /&gt;
&lt;br /&gt;
Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; your notes for November 26 through December 3. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; and submit your solutions of the following three problems:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 1.&#039;&#039;&#039; What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that this tie is the first tie in the game (except before the first goal)?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 2.&#039;&#039;&#039; How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind the second?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 10 Solutions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that the tie is the first tie in the game (except before the first goal)?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ending with a tie means &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; goals each (&amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; on the Catalan diagram). Number of possibilities with no tie before &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; is basically the number of possible paths to &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; without crossing the diagonal line. This is equal to:&lt;br /&gt;
&amp;lt;math&amp;gt;C_{n-1} = \frac{1}{n}\binom{2(n-1)}{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Total number of possible games with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals is &amp;lt;math&amp;gt;\binom{2n}{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The required probability is: &amp;lt;math&amp;gt;C_{n-1} = 2\frac{\frac{1}{n}\binom{2(n-1)}{n-1}}{\binom{2n}{n}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason why we multiply the probability by two is because there are two possible cases (either above the diagonal or below the diagonal).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This can be thought of as an A-dominant game. &lt;br /&gt;
The total number of possibilities with end score &amp;lt;math&amp;gt;(n,m)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\binom{n+m}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using Andre&#039;s Reflection, we need to find the number of good paths (A-dominant paths): Total paths - Bad paths (any paths that cross the diagonal) = Good Paths.&lt;br /&gt;
&lt;br /&gt;
Number of Bad Paths to &amp;lt;math&amp;gt;(n,m) = \binom{n+m}{n-1}&amp;lt;/math&amp;gt;, so using Andre&#039;s Reflection, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n+m}{n} - \binom{n+m}{n-1} = \frac{(n+m)!}{n!m!} - \frac{(n+m)!}{(n-1)!(m+1)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simplifying it gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{(n+m)!(m-n+1)}{n!(m+1)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This could also be thought as an A-dominant game. We can think of each digit in a sequence as the score difference between the two teams at a certain point in the game. For example, &amp;lt;math&amp;gt;000&amp;lt;/math&amp;gt; would mean the score started with a tie and ended with a tie. Likewise, &amp;lt;math&amp;gt;012&amp;lt;/math&amp;gt; would mean that (starting from the right end), Team A led by two goals in the first third of the game, by one goal at half time and gave up another goal and tied the game in the end. In the 3 digit sequence case, the total goal in the game is 3 therefore sequences like &amp;lt;math&amp;gt;022&amp;lt;/math&amp;gt; are not possible. (this would mean Team B was down by two goals and then scored two to tie the game -&amp;gt; 4 goals total). Therefore, for sequences of length &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, the number number of sequences is &amp;lt;math&amp;gt;C_{n} = \frac{1}{n+1}\binom{2n}{n}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15177</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15177"/>
		<updated>2015-12-16T02:22:23Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 7 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;28 How many ways are there to place nine different rings on the four fingers of your right hand if &lt;br /&gt;
a) the order of the rings on a finger does not matter&lt;br /&gt;
b) the order of the rings on a finger is considered&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) a)&#039;&#039;&#039; &lt;br /&gt;
For each ring, we have a choice of being on 1 - 4th finger. So, we have &amp;lt;math&amp;gt; 4^9 &amp;lt;/math&amp;gt; possible such ways. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) b)&#039;&#039;&#039; First, without considering the different types of the rings, consider the distribution of the nine rings to four fingers: &lt;br /&gt;
&amp;lt;math&amp;gt; \binom{n+k-1}{k-1} = \binom{9+4-1}{4-1} = \binom{12}{3} &amp;lt;/math&amp;gt; &lt;br /&gt;
If we consider the fact that the rings are all different, we have the permutations &amp;lt;math&amp;gt;9!&amp;lt;/math&amp;gt; So, in total, &amp;lt;math&amp;gt;9!\binom{12}{3}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;39 How many non-negative integer solutions are there to the equation &amp;lt;math&amp;gt; 2x_{1} + 2x_{2} + x_{3} + x_{4} = 12 &amp;lt;/math&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This can be viewed as a special type of distribution problems. &lt;br /&gt;
&lt;br /&gt;
First we think of all the possible pairs of &amp;lt;math&amp;gt;x_{1}, x_{2} &amp;lt;/math&amp;gt;. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 0, x_{2} = 0 \to x_{3}+x_{4} = 12 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 1, x_{2} = 0 \to x_{3}+x_{4} = 10 &amp;lt;/math&amp;gt; (two such cases since we can interchange the role of x1 and x2)&lt;br /&gt;
&lt;br /&gt;
and so on.&lt;br /&gt;
&lt;br /&gt;
In total, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{12+2-1}{2-1} + 2\binom{10+2-1}{2-1} + 3\binom{8+2-1}{2-1} ... + 7\binom{0+2-1}{2-1} = 140 ways&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15176</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15176"/>
		<updated>2015-12-16T02:21:58Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 7 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;28 How many ways are there to place nine different rings on the four fingers of your right hand if &lt;br /&gt;
a) the order of the rings on a finger does not matter&lt;br /&gt;
b) the order of the rings on a finger is considered&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) a)&#039;&#039;&#039; &lt;br /&gt;
For each ring, we have a choice of being on 1 - 4th finger. So, we have &amp;lt;math&amp;gt; 4^9 &amp;lt;/math&amp;gt; possible such ways. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) b)&#039;&#039;&#039; First, without considering the different types of the rings, consider the distribution of the nine rings to four fingers: &lt;br /&gt;
&amp;lt;math&amp;gt; \binom{n+k-1}{k-1} = \binom{9+4-1}{4-1} = \binom{12}{3} &amp;lt;/math&amp;gt; &lt;br /&gt;
If we consider the fact that the rings are all different, we have the permutations &amp;lt;math&amp;gt;9!&amp;lt;/math&amp;gt; So, in total, &amp;lt;math&amp;gt;9!\binom{12}{3}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;39 How many non-negative integer solutions are there to the equation &amp;lt;math&amp;gt; 2x_{1} + 2x_{2} + x_{3} + x_{4} = 12 &amp;lt;/math&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This can be viewed as a special type of distribution problems. &lt;br /&gt;
&lt;br /&gt;
First we think of all the possible pairs of &amp;lt;math&amp;gt;x_{1}, x_{2} &amp;lt;/math&amp;gt;. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 0, x_{2} = 0 \to x_{3}+x_{4} = 12 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 1, x_{2} = 0 \to x_{3}+x_{4} = 10 &amp;lt;/math&amp;gt; (two such cases since we can interchange the role of x1 and x2)&lt;br /&gt;
&lt;br /&gt;
In total, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{12+2-1}{2-1} + 2\binom{10+2-1}{2-1} + 3\binom{8+2-1}{2-1} ... + 7\binom{0+2-1}{2-1} = 140 ways&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15175</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15175"/>
		<updated>2015-12-16T02:21:31Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 7 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;28 How many ways are there to place nine different rings on the four fingers of your right hand if &lt;br /&gt;
a) the order of the rings on a finger does not matter&lt;br /&gt;
b) the order of the rings on a finger is considered&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) a)&#039;&#039;&#039; &lt;br /&gt;
For each ring, we have a choice of being on 1 - 4th finger. So, we have &amp;lt;math&amp;gt; 4^9 &amp;lt;/math&amp;gt; possible such ways. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) b)&#039;&#039;&#039; First, without considering the different types of the rings, consider the distribution of the nine rings to four fingers: &lt;br /&gt;
&amp;lt;math&amp;gt; \binom{n+k-1}{k-1} = \binom{9+4-1}{4-1} = \binom{12}{3} &amp;lt;/math&amp;gt; &lt;br /&gt;
If we consider the fact that the rings are all different, we have the permutations &amp;lt;math&amp;gt;9!&amp;lt;/math&amp;gt; So, in total, &amp;lt;math&amp;gt;9!\binom{12}{3}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;39 How many non-negative integer solutions are there to the equation &amp;lt;math&amp;gt; 2x_{1} + 2x_{2} + x_{3} + x_{4} = 12 &amp;lt;/math&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This can be viewed as a special type of distribution problems. &lt;br /&gt;
First we think of all the possible pairs of &amp;lt;math&amp;gt;x_{1}, x_{2} &amp;lt;/math&amp;gt;. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 0, x_{2} = 0 \to x_{3}+x_{4} = 12 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;x_{1} = 1, x_{2} = 0 \to x_{3}+x_{4} = 10 &amp;lt;/math&amp;gt; (two such cases since we can interchange the role of x1 and x2)&lt;br /&gt;
&lt;br /&gt;
In total, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{12+2-1}{2-1} + 2\binom{10+2-1}{2-1} + 3\binom{8+2-1}{2-1} ... + 7\binom{0+2-1}{2-1} = 140 ways&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15174</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15174"/>
		<updated>2015-12-16T02:11:18Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 7 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;28 How many ways are there to place nine different rings on the four fingers of your right hand if &lt;br /&gt;
a) the order of the rings on a finger does not matter&lt;br /&gt;
b) the order of the rings on a finger is considered&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) a)&#039;&#039;&#039; &lt;br /&gt;
For each ring, we have a choice of being on 1 - 4th finger. So, we have &amp;lt;math&amp;gt; 4^9 &amp;lt;/math&amp;gt; possible such ways. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) b)&#039;&#039;&#039; First, without considering the different types of the rings, consider the distribution of the nine rings to four fingers: &lt;br /&gt;
&amp;lt;math&amp;gt; \binom{n+k-1}{k-1} = \binom{9+4-1}{4-1} = \binom{12}{3} &amp;lt;/math&amp;gt; &lt;br /&gt;
If we consider the fact that the rings are all different, we have the permutations &amp;lt;math&amp;gt;9!&amp;lt;/math&amp;gt; So, in total, &amp;lt;math&amp;gt;9!\binom{12}{3}&amp;lt;/math&amp;gt; ways.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15173</id>
		<title>15-344/Homework Assignment 8</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15173"/>
		<updated>2015-12-16T02:03:55Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 26&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.5 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 6.1-6.3, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve and submit&#039;&#039;&#039; problems 7, 9a, 11, and 15 in section 5.5. (9b was originally also assigned, but it is too difficult).&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;9a) Show by combinatorial argument that &amp;lt;math&amp;gt;\binom{2n}{n} = 2 \binom{n}{2} + n^2 &amp;lt;/math&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;Split &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; into two groups of n. Then choosing 2 out of &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; can be seen as either choosing 2 from group 1 only&lt;br /&gt;
, which is &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt; or 2 from group 2 only, which is also &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt;, or one from each group, which is&lt;br /&gt;
&amp;lt;math&amp;gt; n^2 &amp;lt;/math&amp;gt;. Their sum gives the total number of possibilities, which is exactly the right hand side of the equality.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15172</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15172"/>
		<updated>2015-12-16T02:03:26Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4 d) Three different boxes with at most five objects in the first box&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3} = r&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;0\leq e_{1} \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; (1+x+x^2+x^3+x^4+x^5) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note that for the other two, we don&#039;t have a limit, so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{k=0}^{\infty}x^{k} = \frac{1}{1-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, in total we have: &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5)(\frac{1}{1-x})^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;16) Find a generating function for the number of integers between 0 and 999,999 whose sum of digits is &amp;lt;math&amp;gt; r &amp;lt;/math&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For each integer in the range, we can express them as a six digit number, including 0&#039;s in the front (5 will be 000005). &lt;br /&gt;
So this amounts to finding:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; e_{1}+e_{2}+e_{3}+e_{4}+e_{5}+e_{6} = r , 0 \leq e_{i} \leq 9 , 1 \leq i \leq 6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9)^6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Section 6.1 2) Find the coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (x^5 + x^6 + x^7 +...)^8&amp;lt;/math&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x^5 + x^6 + x^7 +...)^8 = (x^5(1+ x + x^2 ...))^8 = x^{40} \frac{1}{(1-x)^8} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in this will be of &amp;lt;math&amp;gt; x^{r-40} &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (1-x)^{-8} &amp;lt;/math&amp;gt;, which is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{(r-40) + 8 - 1}{r-40} &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15171</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15171"/>
		<updated>2015-12-16T02:01:04Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;28 How many ways are there to place nine different rings on the four fingers of your right hand if &lt;br /&gt;
a) the order of the rings on a finger does not matter&lt;br /&gt;
b) the order of the rings on a finger is considered&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) a)&#039;&#039;&#039; &lt;br /&gt;
For each ring, we have a choice of being on 1 - 4th finger. So, we have &amp;lt;math&amp;gt; 4^9 &amp;lt;/math&amp;gt; possible such ways. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A) b)&#039;&#039;&#039; First, without considering the different types of the rings, consider the distribution of the nine rings to four fingers: &lt;br /&gt;
&amp;lt;math&amp;gt; \binom{n+k-1}{k-1} = \binom{9+4-1}{4-1} = \binom{12}{3} &amp;lt;/math&amp;gt; &lt;br /&gt;
If we consider the fact that the rings are all different, we have the permutations &amp;lt;math&amp;gt;9!&amp;lt;/math&amp;gt; So, in total, &amp;lt;math&amp;gt;9!\binom{12}{3}&amp;lt;/math&amp;gt; ways.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15170</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15170"/>
		<updated>2015-12-16T01:47:59Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15169</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15169"/>
		<updated>2015-12-16T01:47:34Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24 How many arrangements of the word PREPOSTEROUS are there in which the five vowels are consecutive? &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
We have P-2, R-2, E-2, O-2, S-2, T-1,U-1 &lt;br /&gt;
&lt;br /&gt;
The vowels are OOUEE and its variations. &lt;br /&gt;
&lt;br /&gt;
The number of all the possible variations of OOUEE is: &amp;lt;math&amp;gt;\frac{5!}/{2!2!}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The remaining 7 letters can be arranged in &amp;lt;math&amp;gt;\frac{7!}{2!2!2!}&amp;lt;/math&amp;gt; ways.&lt;br /&gt;
&lt;br /&gt;
Also, there are 8 different positions for the vowel group in the word. For example, OOUEE_ _ _ _ _ _ _ and _ _ _ _ _ _ _ OOUEE&lt;br /&gt;
&lt;br /&gt;
In total, &amp;lt;math&amp;gt;8\frac{5!}{4}\frac{7!}{8} = 151200 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15168</id>
		<title>15-344/Homework Assignment 7</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_7&amp;diff=15168"/>
		<updated>2015-12-16T01:36:57Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 19&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.4 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 5.5 and 6.1, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 8, 10, &amp;lt;u&amp;gt;15&amp;lt;/u&amp;gt;, 20, &amp;lt;u&amp;gt;24&amp;lt;/u&amp;gt;, &amp;lt;u&amp;gt;28&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;29&amp;lt;/u&amp;gt; in section 5.3 and problems 1, &amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;, 16, &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;, 40, &amp;lt;u&amp;gt;63&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;65&amp;lt;/u&amp;gt; in section 5.4, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;15 How many 8-digit sequences are there involving exactly six different digits?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
We have 2 cases: 1 digit repeated three times (for example, 11123456) and 2 digits repeated (for example, 11223456)&lt;br /&gt;
&lt;br /&gt;
For the first case, there are &amp;lt;math&amp;gt; \binom{10}{6} &amp;lt;/math&amp;gt; ways to choose 6 digits from 10 digit choice. Then there are &lt;br /&gt;
&amp;lt;math&amp;gt;\frac{8!}{3!}&amp;lt;/math&amp;gt; arrangements involving a triple digit and and &amp;lt;math&amp;gt;\binom{6}{1}&amp;lt;/math&amp;gt; different triple digits possible (111,222 and so on).So, in total, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{1}\frac{8!}{3!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for the second case, we have: &amp;lt;math&amp;gt;\binom{10}{6} \binom{6}{2}\frac{8!}{2!2!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sum of the two cases gives the answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{10}{6}(\binom{6}{1}\frac{8!}{3!}+ \binom{6}{2}\frac{8!}{2!2!})&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15167</id>
		<title>15-344/Homework Assignment 8</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15167"/>
		<updated>2015-12-16T01:24:24Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 26&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.5 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 6.1-6.3, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve and submit&#039;&#039;&#039; problems 7, 9a, 11, and 15 in section 5.5. (9b was originally also assigned, but it is too difficult).&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;9a)&#039;&#039;&#039; Show by combinatorial argument that &amp;lt;math&amp;gt;\binom{2n}{n} = 2 \binom{n}{2} + n^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;Split &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; into two groups of n. Then choosing 2 out of &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; can be seen as either choosing 2 from group 1 only&lt;br /&gt;
, which is &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt; or 2 from group 2 only, which is also &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt;, or one from each group, which is&lt;br /&gt;
&amp;lt;math&amp;gt; n^2 &amp;lt;/math&amp;gt;. Their sum gives the total number of possibilities, which is exactly the right hand side of the equality.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15166</id>
		<title>15-344/Homework Assignment 8</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_8&amp;diff=15166"/>
		<updated>2015-12-16T01:24:10Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday November 26&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 5.1-5.5 of our textbook. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; sections 6.1-6.3, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve and submit&#039;&#039;&#039; problems 7, 9a, 11, and 15 in section 5.5. (9b was originally also assigned, but it is too difficult).&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 8 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;9a)&#039;&#039;&#039; Show by combinatorial argument that &amp;lt;math&amp;gt;\binom{2n}{n} = 2 \binom{n}{2} + n^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Split &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; into two groups of n. Then choosing 2 out of &amp;lt;math&amp;gt; 2n &amp;lt;/math&amp;gt; can be seen as either choosing 2 from group 1 only&lt;br /&gt;
, which is &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt; or 2 from group 2 only, which is also &amp;lt;math&amp;gt;\binom{n}{2} &amp;lt;/math&amp;gt;, or one from each group, which is&lt;br /&gt;
&amp;lt;math&amp;gt; n^2 &amp;lt;/math&amp;gt;. Their sum gives the total number of possibilities, which is exactly the right hand side of the equality.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15163</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15163"/>
		<updated>2015-12-16T00:50:30Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4 d) &#039;&#039;&#039; Three different boxes with at most five objects in the first box&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3} = r&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;0\leq e_{1} \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; (1+x+x^2+x^3+x^4+x^5) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note that for the other two, we don&#039;t have a limit, so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{k=0}^{\infty}x^{k} = \frac{1}{1-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, in total we have: &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5)(\frac{1}{1-x})^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;16)&#039;&#039;&#039; Find a generating function for the number of integers between 0 and 999,999 whose sum of digits is &amp;lt;math&amp;gt; r &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For each integer in the range, we can express them as a six digit number, including 0&#039;s in the front (5 will be 000005). &lt;br /&gt;
So this amounts to finding:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; e_{1}+e_{2}+e_{3}+e_{4}+e_{5}+e_{6} = r , 0 \leq e_{i} \leq 9 , 1 \leq i \leq 6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9)^6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Section 6.1 2) Find the coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (x^5 + x^6 + x^7 +...)^8&amp;lt;/math&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x^5 + x^6 + x^7 +...)^8 = (x^5(1+ x + x^2 ...))^8 = x^{40} \frac{1}{(1-x)^8} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in this will be of &amp;lt;math&amp;gt; x^{r-40} &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (1-x)^{-8} &amp;lt;/math&amp;gt;, which is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{(r-40) + 8 - 1}{r-40} &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15162</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15162"/>
		<updated>2015-12-16T00:49:58Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4 d) &#039;&#039;&#039; Three different boxes with at most five objects in the first box&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3} = r&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;0\leq e_{1} \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; (1+x+x^2+x^3+x^4+x^5) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note that for the other two, we don&#039;t have a limit, so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{k=0}^{\infty}x^{k} = \frac{1}{1-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, in total we have: &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5)(\frac{1}{1-x})^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;16)&#039;&#039;&#039; Find a generating function for the number of integers between 0 and 999,999 whose sum of digits is &amp;lt;math&amp;gt; r &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For each integer in the range, we can express them as a six digit number, including 0&#039;s in the front (5 will be 000005). &lt;br /&gt;
So this amounts to finding:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; e_{1}+e_{2}+e_{3}+e_{4}+e_{5}+e_{6} = r , 0 \leq e_{i} \leq 9 , 1 \leq i \leq 6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9)^6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Section 6.1 2) Find the coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (x^5 + x^6 + x^7 +...)^8&amp;lt;/math&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;math&amp;gt;(x^5 + x^6 + x^7 +...)^8 = (x^5(1+ x + x^2 ...))^8 = x^{40} \frac{1}{(1-x)^8} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The coefficient of &amp;lt;math&amp;gt; x^r &amp;lt;/math&amp;gt; in this will be of &amp;lt;math&amp;gt; x^{r-40} &amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt; (1-x)^{-8} &amp;lt;/math&amp;gt;, which is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{(r-40) + 8 - 1}{r-40} &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15156</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15156"/>
		<updated>2015-12-16T00:36:18Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4 d) &#039;&#039;&#039; Three different boxes with at most five objects in the first box&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3} = r&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;0\leq e_{1} \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; (1+x+x^2+x^3+x^4+x^5) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note that for the other two, we don&#039;t have a limit, so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{k=0}^{\infty}x^{k} = \frac{1}{1-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, in total we have: &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5)(\frac{1}{1-x})^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;16)&#039;&#039;&#039; Find a generating function for the number of integers between 0 and 999,999 whose sum of digits is &amp;lt;math&amp;gt; r &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For each integer in the range, we can express them as a six digit number, including 0&#039;s in the front (5 will be 000005). &lt;br /&gt;
So this amounts to finding:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4}+e_{5}+e_{6} = r , 0 \leq e_{i} \leq 9 , 1 \leq i \leq 6 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9)^6&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15154</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15154"/>
		<updated>2015-12-16T00:31:12Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4 d) &#039;&#039;&#039; Three different boxes with at most five objects in the first box&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3} = r&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;0\leq e_{1} \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; (1+x+x^2+x^3+x^4+x^5) &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note that for the other two, we don&#039;t have a limit, so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{k=0}^{\infty}x^{k} = \frac{1}{1-x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, in total we have: &amp;lt;math&amp;gt; g(x) = (1+x+x^2+x^3+x^4+x^5)(\frac{1}{1-x})^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15149</id>
		<title>15-344/Homework Assignment 9</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_9&amp;diff=15149"/>
		<updated>2015-12-16T00:22:56Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;at the tutorials on Thursday December 3&amp;lt;/span&amp;gt;. Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; sections 6.1-6.2 of our textbook, &#039;&#039;&#039;and&#039;&#039;&#039; your notes for November 26 and December 1. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read. Also, &#039;&#039;&#039;preread&#039;&#039;&#039; chapter 7, just to get a feel for the future.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; problems 2abde, &amp;lt;u&amp;gt;2c&amp;lt;/u&amp;gt;, 4abc, &amp;lt;u&amp;gt;4d&amp;lt;/u&amp;gt;, 12, &amp;lt;u&amp;gt;16&amp;lt;/u&amp;gt;, 20, and 25 in section 6.1 and problems 1, &amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;, 11abcd, &amp;lt;u&amp;gt;11e&amp;lt;/u&amp;gt;, 30, &amp;lt;u&amp;gt;32&amp;lt;/u&amp;gt;, and &amp;lt;u&amp;gt;43&amp;lt;/u&amp;gt; in section 6.2, but submit only your solutions of the underlined problems.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In addition,&#039;&#039;&#039; solve the following problem. There is no need to submit your solution.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 1.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;C_n&amp;lt;/math&amp;gt; be the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&#039;th Catalan number, defined as the number of words made of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s in which in every initial segment there are at least as many &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s as &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s. Prove that for &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=C_0C_{n-1}+C_1C_{n-2}+C_2C_{n-3}+\ldots+C_{n-1}C_0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; If &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is such a word, let &amp;lt;math&amp;gt;k\geq 1&amp;lt;/math&amp;gt; be the smallest such that if you cut &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2k&amp;lt;/math&amp;gt; letters, then the number of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&#039;s before the cut is equal to the number of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;&#039;s before the cut. What can you say about the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; before the cut, and the part of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; after the cut?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 2.&#039;&#039;&#039; For &amp;lt;math&amp;gt;n\geq 1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; be the number of different ways of computing the product &amp;lt;math&amp;gt;A_1A_2\cdots A_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrices. Prove that for &amp;lt;math&amp;gt;n\geq 2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D_n=D_1D_{n-1}+D_2D_{n-2}+D_3D_{n-3}+\ldots+D_{n-1}D_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; In the last matrix multiplication to be carried out, you&#039;d be multiplying the product of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; of the matrices with the product of &amp;lt;math&amp;gt;n-k&amp;lt;/math&amp;gt; of the matrices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;E_2=1&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt; be the number of triangulations of a convex &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon using non-crossing diagonals. Prove that for &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E_n=E_2E_{n-1}+E_3E_{n-2}+E_4E_{n-3}+\ldots+E_{n-1}E_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Hint.&#039;&#039; Choose one edge of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon, and consider the triangle on top of it, what&#039;s to its left, and what&#039;s to its right.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Part 4.&#039;&#039;&#039; Use the above three assertions to prove that for any &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C_n=D_{n+1}=E_{n+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Catalan Number Revisited: Power Series, Combinatorial Information and Ordinary Differential Equations&lt;br /&gt;
&lt;br /&gt;
[http://drorbn.net/dbnvp/12-267-121106.php A Lecture From MAT267 (Also Taught by Professor Bar-Natan)]&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 9 Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; Build a generating function for &amp;lt;math&amp;gt;a_{r}&amp;lt;/math&amp;gt;, the number of integer solutions to the following equations.&lt;br /&gt;
&lt;br /&gt;
c) &amp;lt;math&amp;gt;e_{1}+e_{2}+e_{3}+e_{4} = r, 2\leq e_{i} \leq 7, e_{1}&amp;lt;/math&amp;gt;  even &amp;lt;math&amp;gt; e_{2} &amp;lt;/math&amp;gt; odd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; For &amp;lt;math&amp;gt;e_{3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e_{4}&amp;lt;/math&amp;gt; together, we have &amp;lt;math&amp;gt;g_{1}(x) = (x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{1}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{2}(x) = (x^2+x^4+x^6) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
         For &amp;lt;math&amp;gt;e_{2}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;g_{3}(x) = (x^3+x^5+x^7) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In total, we have &amp;lt;math&amp;gt;g(x) = (x^2+x^4+x^6)(x^3+x^5+x^7)(x^2+x^3+x^4+x^5+x^6+x^7)^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15148</id>
		<title>15-344/Homework Assignment 10</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15148"/>
		<updated>2015-12-16T00:07:15Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;by Friday December 11 at 5PM&amp;lt;/span&amp;gt;. It can be submitted either to Gaurav during his office hours on Thursday December 10 at 3:30-5:30 or during his office hours on Friday December 11 at 4-5, both at 215 Huron room 1012. It can also be submitted to a drop box near Dror&#039;s office, Bahen 6178, at any time between Thursday December 10 at 5 and Friday December 11 at 5.&lt;br /&gt;
&lt;br /&gt;
Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; your notes for November 26 through December 3. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; and submit your solutions of the following three problems:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 1.&#039;&#039;&#039; What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that this tie is the first tie in the game (except before the first goal)?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 2.&#039;&#039;&#039; How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind the second?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 10 Solutions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that the tie is the first tie in the game (except before the first goal)?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ending with a tie means &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; goals each (&amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; on the Catalan diagram). Number of possibilities with no tie before &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; is basically the number of possible paths to &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; without crossing the diagonal line. This is equal to:&lt;br /&gt;
&amp;lt;math&amp;gt;C_{n-1} = \frac{1}{n}\binom{2(n-1)}{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Total number of possible games with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals is &amp;lt;math&amp;gt;\binom{2n}{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The required probability is: &amp;lt;math&amp;gt;C_{n-1} = 2\frac{\frac{1}{n}\binom{2(n-1)}{n-1}}{\binom{2n}{n}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason why we multiply the probability by two is because there are two possible cases (either above the diagonal or below the diagonal).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This can be thought of as an A-dominant game. &lt;br /&gt;
The total number of possibilities with end score &amp;lt;math&amp;gt;(n,m)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\binom{n+m}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using Andre&#039;s Reflection, we need to find the number of good paths (A-dominant paths): Total paths - Bad paths (any paths that cross the diagonal) = Good Paths.&lt;br /&gt;
&lt;br /&gt;
Number of Bad Paths to &amp;lt;math&amp;gt;(n,m) = \binom{n+m}{n-1}&amp;lt;/math&amp;gt;, so using Andre&#039;s Reflection, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n+m}{n} - \binom{n+m}{n-1} = \frac{(n+m)!}{n!m!} - \frac{(n+m)!}{(n-1)!(m+1)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simplifying it gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{(n+m)!(m-n+1)}{n!(m+1)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039; This could also be thought as an A-dominant game. We can think of each digit in a sequence as the score difference between the two teams at a certain point in the game. For example, &amp;lt;math&amp;gt;000&amp;lt;/math&amp;gt; would mean the score started with a tie and ended with a tie. Likewise, &amp;lt;math&amp;gt;012&amp;lt;/math&amp;gt; would mean that (starting from the right end), Team A led by two goals in the first third of the game, by one goal at half time and gave up another goal and tied the game in the end. In the 3 digit sequence case, the total goal in the game is 3 therefore sequences like &amp;lt;math&amp;gt;022&amp;lt;/math&amp;gt; are not possible. (this would mean Team B was down by two goals and then scored two to tie the game -&amp;gt; 4 goals total). Therefore, for sequences of length &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, the number number of sequences is &amp;lt;math&amp;gt;C_{n} = \frac{1}{n}\binom{2n}{n}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15147</id>
		<title>15-344/Homework Assignment 10</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15147"/>
		<updated>2015-12-15T23:48:55Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;by Friday December 11 at 5PM&amp;lt;/span&amp;gt;. It can be submitted either to Gaurav during his office hours on Thursday December 10 at 3:30-5:30 or during his office hours on Friday December 11 at 4-5, both at 215 Huron room 1012. It can also be submitted to a drop box near Dror&#039;s office, Bahen 6178, at any time between Thursday December 10 at 5 and Friday December 11 at 5.&lt;br /&gt;
&lt;br /&gt;
Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; your notes for November 26 through December 3. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; and submit your solutions of the following three problems:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 1.&#039;&#039;&#039; What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that this tie is the first tie in the game (except before the first goal)?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 2.&#039;&#039;&#039; How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind the second?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 10 Solutions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that the tie is the first tie in the game (except before the first goal)?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A) &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ending with a tie means &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; goals each (&amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; on the Catalan diagram). Number of possibilities with no tie before &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; is basically the number of possible paths to &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; without crossing the diagonal line. This is equal to:&lt;br /&gt;
&amp;lt;math&amp;gt;C_{n-1} = \frac{1}{n}\binom{2(n-1)}{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Total number of possible games with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals is &amp;lt;math&amp;gt;\binom{2n}{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The required probability is: &amp;lt;math&amp;gt;C_{n-1} = 2\frac{\frac{1}{n}\binom{2(n-1)}{n-1}}{\binom{2n}{n}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason why we multiply the probability by two is because there are two possible cases (either above the diagonal or below the diagonal).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A) This can be thought of as an A-dominant game. &lt;br /&gt;
The total number of possibilities with end score &amp;lt;math&amp;gt;(n,m)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\binom{n+m}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using Andre&#039;s Reflection, we need to find the number of good paths (A-dominant paths): Total paths - Bad paths (any paths that cross the diagonal) = Good Paths.&lt;br /&gt;
&lt;br /&gt;
Number of Bad Paths to &amp;lt;math&amp;gt;(n,m) = \binom{n+m}{n-1}&amp;lt;/math&amp;gt;, so using Andre&#039;s Reflection, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n+m}{n} - \binom{n+m}{n-1} = \frac{(n+m)!}{n!m!} - \frac{(n+m)!}{(n-1)!(m+1)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simplifying it gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{(n+m)!(m-n+1)}{n!(m+1)!}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15146</id>
		<title>15-344/Homework Assignment 10</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Homework_Assignment_10&amp;diff=15146"/>
		<updated>2015-12-15T23:39:32Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
This assignment is due &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;by Friday December 11 at 5PM&amp;lt;/span&amp;gt;. It can be submitted either to Gaurav during his office hours on Thursday December 10 at 3:30-5:30 or during his office hours on Friday December 11 at 4-5, both at 215 Huron room 1012. It can also be submitted to a drop box near Dror&#039;s office, Bahen 6178, at any time between Thursday December 10 at 5 and Friday December 11 at 5.&lt;br /&gt;
&lt;br /&gt;
Here and everywhere, &#039;&#039;&#039;neatness counts!!&#039;&#039;&#039; You may be brilliant and you may mean just the right things, but if the teaching assistants will be having hard time deciphering your work they will give up and assume it is wrong.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reread&#039;&#039;&#039; your notes for November 26 through December 3. Remember that reading math isn&#039;t like reading a novel! If you read a novel and miss a few details most likely you&#039;ll still understand the novel. But if you miss a few details in a math text, often you&#039;ll miss everything that follows. So reading math takes reading and rereading and rerereading and a lot of thought about what you&#039;ve read.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solve&#039;&#039;&#039; and submit your solutions of the following three problems:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 1.&#039;&#039;&#039; What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that this tie is the first tie in the game (except before the first goal)?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 2.&#039;&#039;&#039; How many possible histories are there for a soccer game that ends with the score &amp;lt;math&amp;gt;(m,n)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;m&amp;gt;n&amp;lt;/math&amp;gt;, if it is known that the first team is never behind the second?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem 3.&#039;&#039;&#039; Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a natural number. How many sequences of integers &amp;lt;math&amp;gt;0=a_1\leq a_2\leq\ldots\leq a_n&amp;lt;/math&amp;gt; are there, such that &amp;lt;math&amp;gt;a_k&amp;lt;k&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;1\leq k\leq n&amp;lt;/math&amp;gt;? For example, for &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt; the allowed sequences are 000, 001, 002, 011, and 012.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
Homework Assignment 10 Solutions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)What is the probability that a soccer game with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ends with a tie, and that the tie is the first tie in the game (except before the first goal)?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A) &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals ending with a tie means &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; goals each (&amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; on the Catalan diagram). Number of possibilities with no tie before &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; is basically the number of possible paths to &amp;lt;math&amp;gt;(n,n)&amp;lt;/math&amp;gt; without crossing the diagonal line. This is equal to:&lt;br /&gt;
&amp;lt;math&amp;gt;C_{n-1} = \frac{1}{n}\binom{2(n-1)}{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Total number of possible games with &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; goals is &amp;lt;math&amp;gt;\binom{2n}{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The required probability is: &amp;lt;math&amp;gt;C_{n-1} = 2\frac{\frac{1}{n}\binom{2(n-1)}{n-1}}{\binom{2n}{n}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason why we multiply the probability by two is because there are two possible cases (either above the diagonal or below the diagonal).&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14736</id>
		<title>15-344/Classnotes for Thursday September 17</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14736"/>
		<updated>2015-09-18T01:52:52Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Notes for September 17 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
== Scanned Lecture Notes for September 17 ==&lt;br /&gt;
&lt;br /&gt;
(Files not beginning with &amp;quot;15-344&amp;quot; were deleted).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Notes for September 17 ==&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 7 Isomorphism&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G_1 = (V_1, E_1)&amp;lt;/math&amp;gt; is called &#039;&#039;isomorphic&#039;&#039; to a graph &amp;lt;math&amp;gt;G_2 = (V_2, E_2)&amp;lt;/math&amp;gt; whenever&lt;br /&gt;
there exists a bijection &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\forall a,b\in V_1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;(ab)\in E_1&amp;lt;/math&amp;gt; if and &lt;br /&gt;
only if &amp;lt;math&amp;gt;( \phi (a) \phi (b))\in E_2&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G_1\sim G_2&amp;lt;/math&amp;gt; means they are isomorphic to each other.&lt;br /&gt;
&lt;br /&gt;
*A &#039;&#039;bijection&#039;&#039; is a one-to-one and on-to function. https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection&lt;br /&gt;
&lt;br /&gt;
*Isomorphism does not mean two things are identical but means they are mathematically the same. &lt;br /&gt;
&lt;br /&gt;
The relationship of isomorphisms:&lt;br /&gt;
&lt;br /&gt;
1. &#039;&#039;&#039;Reflexive&#039;&#039;&#039;: &amp;lt;math&amp;gt;G \sim G&amp;lt;/math&amp;gt;  A graph is isomorphic to itself&lt;br /&gt;
&lt;br /&gt;
2. &#039;&#039;&#039;Symmetric:&#039;&#039;&#039; &amp;lt;math&amp;gt;G_1 \sim G_2 \implies G_2 \sim G_1 &amp;lt;/math&amp;gt; In other words, for every &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; we have &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ^{-1} :V_2 \rightarrow V_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &#039;&#039;&#039;Transitive:&#039;&#039;&#039;  &amp;lt;math&amp;gt;G_1 \sim G_2 , G_2 \sim G_3 \implies G_1 \sim G_3 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLAIM If two graphs are isomorphic, then they have:&lt;br /&gt;
&lt;br /&gt;
1. same number of vertices&lt;br /&gt;
&lt;br /&gt;
2. same number of edges&lt;br /&gt;
&lt;br /&gt;
3. vertex degrees (valencies) are the same between the two. For example, if one graph has 3 vertices of degree 2, and 2 vertices of degree 1, &lt;br /&gt;
then the other graph should have the same&lt;br /&gt;
&lt;br /&gt;
4. same number of subgraphs&lt;br /&gt;
&lt;br /&gt;
5. same number of complements denoted by &amp;lt;math&amp;gt;G^c = (V,E^c)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Complement means &amp;lt;math&amp;gt;(ab)\in E^c \Longleftrightarrow (ab)\notin E&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 8&#039;&#039;&#039; &#039;&#039;&#039;Subgraph&#039;&#039;&#039; A subgraph of a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a graph &amp;lt;math&amp;gt;G&#039; = (V&#039;,E&#039;)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;V&#039;\subset V&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;E&#039;\subset E&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Checking if two graphs are isomorphic is a hard problem&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14735</id>
		<title>15-344/Classnotes for Thursday September 17</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14735"/>
		<updated>2015-09-18T01:44:27Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Notes for September 17 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
== Scanned Lecture Notes for September 17 ==&lt;br /&gt;
&lt;br /&gt;
(Files not beginning with &amp;quot;15-344&amp;quot; were deleted).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Notes for September 17 ==&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 7 Isomorphism&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G_1 = (V_1, E_1)&amp;lt;/math&amp;gt; is called &#039;&#039;isomorphic&#039;&#039; to a graph &amp;lt;math&amp;gt;G_2 = (V_2, E_2)&amp;lt;/math&amp;gt; whenever&lt;br /&gt;
there exists a bijection &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\forall a,b\in V_1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;(ab)\in E_1&amp;lt;/math&amp;gt; if and &lt;br /&gt;
only if &amp;lt;math&amp;gt;( \phi (a) \phi (b))\in E_2&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G_1\sim G_2&amp;lt;/math&amp;gt; means they are isomorphic to each other.&lt;br /&gt;
&lt;br /&gt;
*A &#039;&#039;bijection&#039;&#039; is a one-to-one and on-to function. https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection&lt;br /&gt;
&lt;br /&gt;
*Isomorphism does not mean two things are identical but means they are mathematically the same. &lt;br /&gt;
&lt;br /&gt;
The relationship of isomorphisms:&lt;br /&gt;
&lt;br /&gt;
1. &#039;&#039;&#039;Reflexive&#039;&#039;&#039;: &amp;lt;math&amp;gt;G \sim G&amp;lt;/math&amp;gt;  A graph is isomorphic to itself&lt;br /&gt;
&lt;br /&gt;
2. &#039;&#039;&#039;Symmetric:&#039;&#039;&#039; &amp;lt;math&amp;gt;G_1 \sim G_2 \implies G_2 \sim G_1 &amp;lt;/math&amp;gt; In other words, for every &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; we have &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ^{-1} :V_2 \rightarrow V_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &#039;&#039;&#039;Transitive:&#039;&#039;&#039;  &amp;lt;math&amp;gt;G_1 \sim G_2 , G_2 \sim G_3 \implies G_1 \sim G_3 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLAIM If two graphs are isomorphic, then they have:&lt;br /&gt;
&lt;br /&gt;
1. same number of vertices&lt;br /&gt;
&lt;br /&gt;
2. same number of edges&lt;br /&gt;
&lt;br /&gt;
3. vertex degrees (valencies) are the same between the two. For example, if one graph has 3 vertices of degree 2, and 2 vertices of degree 1, &lt;br /&gt;
then the other graph should have the same&lt;br /&gt;
&lt;br /&gt;
4. same number of subgraphs&lt;br /&gt;
&lt;br /&gt;
5. same number of complements denoted by &amp;lt;math&amp;gt;G^c = (V,E^c)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Complement means &amp;lt;math&amp;gt;(ab)\in E^c \Longleftrightarrow (ab)\notin E&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 8&#039;&#039;&#039; &#039;&#039;&#039;Subgraph&#039;&#039;&#039; A subgraph of a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a graph &amp;lt;math&amp;gt;G&#039; = (V&#039;,E&#039;)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;V&#039;\subset V&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;E&#039;\subset E&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14734</id>
		<title>15-344/Classnotes for Thursday September 17</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14734"/>
		<updated>2015-09-18T01:38:29Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Notes for September 17 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
== Scanned Lecture Notes for September 17 ==&lt;br /&gt;
&lt;br /&gt;
(Files not beginning with &amp;quot;15-344&amp;quot; were deleted).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Notes for September 17 ==&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 7 Isomorphism&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G_1 = (V_1, E_1)&amp;lt;/math&amp;gt; is called &#039;&#039;isomorphic&#039;&#039; to a graph &amp;lt;math&amp;gt;G_2 = (V_2, E_2)&amp;lt;/math&amp;gt; whenever&lt;br /&gt;
there exists a bijection &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\forall a,b\in V_1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;(ab)\in E_1&amp;lt;/math&amp;gt; if and &lt;br /&gt;
only if &amp;lt;math&amp;gt;( \phi (a) \phi (b))\in E_2&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G_1\sim G_2&amp;lt;/math&amp;gt; means they are isomorphic to each other.&lt;br /&gt;
&lt;br /&gt;
*A &#039;&#039;bijection&#039;&#039; is a one-to-one and on-to function. https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection&lt;br /&gt;
&lt;br /&gt;
*Isomorphism does not mean two things are identical but means they are mathematically the same. &lt;br /&gt;
&lt;br /&gt;
The relationship of isomorphisms:&lt;br /&gt;
&lt;br /&gt;
1. &#039;&#039;&#039;Reflexive&#039;&#039;&#039;: &amp;lt;math&amp;gt;G \sim G&amp;lt;/math&amp;gt;  A graph is isomorphic to itself&lt;br /&gt;
&lt;br /&gt;
2. &#039;&#039;&#039;Symmetric:&#039;&#039;&#039; &amp;lt;math&amp;gt;G_1 \sim G_2 \implies G_2 \sim G_1 &amp;lt;/math&amp;gt; In other words, for every &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; we have &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ^{-1} :V_2 \rightarrow V_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &#039;&#039;&#039;Transitive:&#039;&#039;&#039;  &amp;lt;math&amp;gt;G_1 \sim G_2 , G_2 \sim G_3 \implies G_1 \sim G_3 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLAIM If two graphs are isomorphic, then they have:&lt;br /&gt;
&lt;br /&gt;
1. same number of vertices&lt;br /&gt;
&lt;br /&gt;
2. same number of edges&lt;br /&gt;
&lt;br /&gt;
3. vertex degrees (valencies) are the same between the two. For example, if one graph has 3 vertices of degree 2, and 2 vertices of degree 1, &lt;br /&gt;
then the other graph should have the same&lt;br /&gt;
&lt;br /&gt;
4. same number of subgraphs&lt;br /&gt;
&lt;br /&gt;
5. same number of complements denoted by &amp;lt;math&amp;gt;G^c = (V,E^c)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Complement means &amp;lt;math&amp;gt;(ab)\in E^c \Longleftrightarrow (ab)\notin E&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14733</id>
		<title>15-344/Classnotes for Thursday September 17</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Thursday_September_17&amp;diff=14733"/>
		<updated>2015-09-18T01:28:38Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Scanned Lecture Notes for September 17 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
== Scanned Lecture Notes for September 17 ==&lt;br /&gt;
&lt;br /&gt;
(Files not beginning with &amp;quot;15-344&amp;quot; were deleted).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Notes for September 17 ==&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 7 Isomorphism&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G_1 = (V_1, E_1)&amp;lt;/math&amp;gt; is called &#039;&#039;isomorphic&#039;&#039; to a graph &amp;lt;math&amp;gt;G_2 = (V_2, E_2)&amp;lt;/math&amp;gt; whenever&lt;br /&gt;
there exists a bijection &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\forall a,b\in V_1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;(ab)\in E_1&amp;lt;/math&amp;gt; if and &lt;br /&gt;
only if &amp;lt;math&amp;gt;( \phi (a) \phi (b))\in E_2&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G_1\sim G_2&amp;lt;/math&amp;gt; means they are isomorphic to each other.&lt;br /&gt;
&lt;br /&gt;
*A &#039;&#039;bijection&#039;&#039; is a one-to-one and on-to function. https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection&lt;br /&gt;
&lt;br /&gt;
*Isomorphism does not mean two things are identical but mathematically the same. &lt;br /&gt;
&lt;br /&gt;
The relationship of isomorphisms:&lt;br /&gt;
&lt;br /&gt;
1. &#039;&#039;&#039;Reflexive&#039;&#039;&#039;: &amp;lt;math&amp;gt;G \sim G&amp;lt;/math&amp;gt;  A graph is isomorphic to itself&lt;br /&gt;
&lt;br /&gt;
2. &#039;&#039;&#039;Symmetric:&#039;&#039;&#039; &amp;lt;math&amp;gt;G_1 \sim G_2 \implies G_2 \sim G_1 &amp;lt;/math&amp;gt; In other words, for every &amp;lt;math&amp;gt;\phi:V_1 \rightarrow V_2&amp;lt;/math&amp;gt; we have &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ^{-1} :V_2 \rightarrow V_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &#039;&#039;&#039;Transitive:&#039;&#039;&#039;  &amp;lt;math&amp;gt;G_1 \sim G_2 , G_2 \sim G_3 \implies G_1 \sim G_3 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14732</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14732"/>
		<updated>2015-09-18T01:03:46Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; does not connect any two elements of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect any two members of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 6&#039;&#039;&#039; &#039;&#039;&#039;Matching&#039;&#039;&#039; is a subset of edges of a graph where no two edges share a common vertex. A matching is said to be perfect if&lt;br /&gt;
all edges in a graph are matched.&lt;br /&gt;
&lt;br /&gt;
== Scanned Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:15-344-Sept15-1.jpg|Page 1&lt;br /&gt;
Image:15-344-Sept15-2.jpg|Page 2&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14708</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14708"/>
		<updated>2015-09-16T02:49:18Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; does not connect any two elements of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect any two members of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14707</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14707"/>
		<updated>2015-09-16T02:49:04Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; does not connect any two elements of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect any two members of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14706</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14706"/>
		<updated>2015-09-16T02:44:43Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;a,b&amp;lt;/math&amp;gt; are not connected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect any two members of &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14705</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14705"/>
		<updated>2015-09-16T02:42:46Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;a,b&amp;lt;/math&amp;gt; are not connected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect &amp;lt;math&amp;gt;a,b&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14704</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14704"/>
		<updated>2015-09-16T02:41:20Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: /* Lecture Note for September 15 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &lt;br /&gt;
&amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;a,b&amp;lt;/math&amp;gt; are not connected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(\leftarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;I=V-C&amp;lt;/math&amp;gt; is independent. Pick any edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;. As &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; is independent,&lt;br /&gt;
&amp;lt;math&amp;gt;(ab)&amp;lt;/math&amp;gt; does not connect &amp;lt;math&amp;gt;a,b&amp;lt;/math&amp;gt;. Hence, either &amp;lt;math&amp;gt;a\notin{I} \implies a\in{C}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b\notin{I} \implies b\in{C}&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to an element of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;. QED&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
	<entry>
		<id>https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14703</id>
		<title>15-344/Classnotes for Tuesday September 15</title>
		<link rel="alternate" type="text/html" href="https://drorbn.net/index.php?title=15-344/Classnotes_for_Tuesday_September_15&amp;diff=14703"/>
		<updated>2015-09-16T02:34:23Z</updated>

		<summary type="html">&lt;p&gt;ChrisKim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{15-344/Navigation}}&lt;br /&gt;
&lt;br /&gt;
We mostly went over {{Pensieve link|Classes/15-344-Combinatorics/DayOne.html|Day One Handout}} today.&lt;br /&gt;
&lt;br /&gt;
{{15-344:Dror/Students Divider}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Note for September 15 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 1&#039;&#039;&#039; &#039;&#039;&#039;Graph&#039;&#039;&#039; A graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;V = \{a,b,...\}&amp;lt;/math&amp;gt; (usually finite, &amp;quot;vertices&amp;quot;) &lt;br /&gt;
along with a set &amp;lt;math&amp;gt;E = \{(ab),(bc),(bd),...\}&amp;lt;/math&amp;gt; (&amp;quot;edges&amp;quot;) of unordered pairs of distinct elements of &lt;br /&gt;
&amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 2&#039;&#039;&#039; &#039;&#039;&#039;Incident&#039;&#039;&#039; If an edge &amp;lt;math&amp;gt;e = (ab)\in{E}&amp;lt;/math&amp;gt;, we say that &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is incident to &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; &lt;br /&gt;
&#039;&#039;and&#039;&#039; &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 3&#039;&#039;&#039; &#039;&#039;&#039;N-valent&#039;&#039;&#039; In a graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt;, a vertex &amp;lt;math&amp;gt;u \in{V}&amp;lt;/math&amp;gt; is called&lt;br /&gt;
bivalent if it is incident to precisely two edges and n-valent if incident to precisely n edges, where &amp;lt;math&amp;gt;n = 0,1,2,.. &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 4&#039;&#039;&#039; &#039;&#039;&#039;Edge Cover&#039;&#039;&#039; An edge cover for graph &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; is a subset &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; such that every edge of &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; incident to at least one vertex in &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DEFINITION 5&#039;&#039;&#039; &#039;&#039;&#039;Independent&#039;&#039;&#039; Let &amp;lt;math&amp;gt;G = (V,E)&amp;lt;/math&amp;gt; be a graph. A subset &amp;lt;math&amp;gt;I\subset{V}&amp;lt;/math&amp;gt; is called independent if whenever &amp;lt;math&amp;gt;a,b\in{I}&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;(ab)\notin{E}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;THEOREM 1&#039;&#039;&#039; Edge covers are complementary to independent sets. In other words, &amp;lt;math&amp;gt;C\subset{V}&amp;lt;/math&amp;gt; is an edge cover if and only if&lt;br /&gt;
the complementary subset &amp;lt;math&amp;gt;V-C&amp;lt;/math&amp;gt; is an independent set.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Proof&#039;&#039;&#039;&#039;&#039;  &amp;lt;math&amp;gt;(\rightarrow)&amp;lt;/math&amp;gt; Assume &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover. I assert that &amp;lt;math&amp;gt;I = V-C&amp;lt;/math&amp;gt; is independent.&lt;br /&gt;
Indeed, if &amp;lt;math&amp;gt;e=(ab)\in{E}&amp;lt;/math&amp;gt;, then since &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is an edge cover, either &amp;lt;math&amp;gt;a\in{C} \implies a\notin{I}&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;b\in{C} \implies b\notin{I}&amp;lt;/math&amp;gt;, which implies they are not connected.&lt;/div&gt;</summary>
		<author><name>ChrisKim</name></author>
	</entry>
</feed>