Chapter 22 first version
This commit is contained in:
		
							parent
							
								
									8280718374
								
							
						
					
					
						commit
						0995acf5b9
					
				
							
								
								
									
										141
									
								
								luku22.tex
								
								
								
								
							
							
						
						
									
										141
									
								
								luku22.tex
								
								
								
								
							| 
						 | 
					@ -675,28 +675,28 @@ for $n-1$ numbers, because we can't replace
 | 
				
			||||||
the number $x$ with number $1$, and all other
 | 
					the number $x$ with number $1$, and all other
 | 
				
			||||||
numbers should be changed.
 | 
					numbers should be changed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\section{Burnsiden lemma}
 | 
					\section{Burnside's lemma}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\index{Burnsiden lemma@Burnsiden lemma}
 | 
					\index{Burnside's lemma}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\key{Burnsiden lemma} laskee yhdistelmien määrän niin,
 | 
					\key{Burnside's lemma} counts the number of
 | 
				
			||||||
että symmetrisistä yhdistelmistä lasketaan
 | 
					combinations so that for each group of
 | 
				
			||||||
mukaan vain yksi edustaja.
 | 
					symmetric combinations, only one representative is counted.
 | 
				
			||||||
Burnsiden lemman mukaan yhdistelmien määrä on
 | 
					Burnside's lemma states that the number of
 | 
				
			||||||
 | 
					combinations is
 | 
				
			||||||
\[\sum_{k=1}^n \frac{c(k)}{n},\]
 | 
					\[\sum_{k=1}^n \frac{c(k)}{n},\]
 | 
				
			||||||
missä yhdistelmän asentoa voi muuttaa $n$ tavalla
 | 
					where there are $n$ ways to change the
 | 
				
			||||||
ja $c(k)$ on niiden yhdistelmien määrä,
 | 
					position of a combination,
 | 
				
			||||||
jotka pysyvät ennallaan, kun asentoa
 | 
					and there are $c(k)$ combinations that
 | 
				
			||||||
muutetaan tavalla $k$.
 | 
					remain unchanged when the $k$th way is applied.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Lasketaan esimerkkinä, montako
 | 
					As an example, let's calculate the number of
 | 
				
			||||||
erilaista tapaa on
 | 
					necklaces of $n$ pearls,
 | 
				
			||||||
muodostaa $n$ helmen helminauha,
 | 
					where the color of each pearl is
 | 
				
			||||||
kun kunkin helmen värin tulee olla
 | 
					one of $1,2,\ldots,m$.
 | 
				
			||||||
väliltä $1,2,\ldots,m$.
 | 
					Two necklaces are symmetric if they are
 | 
				
			||||||
Kaksi helminauhaa ovat symmetriset,
 | 
					similar after rotating them.
 | 
				
			||||||
jos ne voi saada näyttämään samalta pyörittämällä.
 | 
					For example, the necklace
 | 
				
			||||||
Esimerkiksi helminauhan
 | 
					 | 
				
			||||||
\begin{center}
 | 
					\begin{center}
 | 
				
			||||||
\begin{tikzpicture}[scale=0.7]
 | 
					\begin{tikzpicture}[scale=0.7]
 | 
				
			||||||
\draw[fill=white] (0,0) circle (1);
 | 
					\draw[fill=white] (0,0) circle (1);
 | 
				
			||||||
| 
						 | 
					@ -706,7 +706,7 @@ Esimerkiksi helminauhan
 | 
				
			||||||
\draw[fill=green] (-1,0) circle (0.3);
 | 
					\draw[fill=green] (-1,0) circle (0.3);
 | 
				
			||||||
\end{tikzpicture}
 | 
					\end{tikzpicture}
 | 
				
			||||||
\end{center}
 | 
					\end{center}
 | 
				
			||||||
kanssa symmetriset helminauhat ovat seuraavat:
 | 
					has the following symmetric necklaces:
 | 
				
			||||||
\begin{center}
 | 
					\begin{center}
 | 
				
			||||||
\begin{tikzpicture}[scale=0.7]
 | 
					\begin{tikzpicture}[scale=0.7]
 | 
				
			||||||
\draw[fill=white] (0,0) circle (1);
 | 
					\draw[fill=white] (0,0) circle (1);
 | 
				
			||||||
| 
						 | 
					@ -734,43 +734,47 @@ kanssa symmetriset helminauhat ovat seuraavat:
 | 
				
			||||||
\draw[fill=red] (12+-1,0) circle (0.3);
 | 
					\draw[fill=red] (12+-1,0) circle (0.3);
 | 
				
			||||||
\end{tikzpicture}
 | 
					\end{tikzpicture}
 | 
				
			||||||
\end{center}
 | 
					\end{center}
 | 
				
			||||||
Tapoja muuttaa asentoa on $n$,
 | 
					There are $n$ ways to change the position
 | 
				
			||||||
koska helminauhaa voi pyörittää $0,1,\ldots,n-1$
 | 
					of a necklace,
 | 
				
			||||||
askelta myötäpäivään.
 | 
					because we can rotate it
 | 
				
			||||||
Jos helminauhaa pyörittää 0 askelta,
 | 
					$0,1,\ldots,n-1$ steps clockwise.
 | 
				
			||||||
kaikki $m^n$ väritystä säilyvät ennallaan.
 | 
					If the number of steps is 0,
 | 
				
			||||||
Jos taas helminauhaa pyörittää 1 askeleen,
 | 
					all $m^n$ necklaces remain the same,
 | 
				
			||||||
vain $m$ yksiväristä helminauhaa säilyy ennallaan.
 | 
					and if the number of steps is 1,
 | 
				
			||||||
 | 
					only the $m$ necklaces where each
 | 
				
			||||||
 | 
					pearl has the same color remain the same.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Yleisemmin kun helminauhaa pyörittää $k$ askelta,
 | 
					More generally, when the number of steps is $k$,
 | 
				
			||||||
ennallaan säilyvien yhdistelmien määrä on
 | 
					a total of
 | 
				
			||||||
\[m^{\textrm{syt}(k,n)},\]
 | 
					\[m^{\textrm{gcd}(k,n)},\]
 | 
				
			||||||
missä $\textrm{syt}(k,n)$ on lukujen $k$ ja $n$
 | 
					necklaces remain the same,
 | 
				
			||||||
suurin yhteinen tekijä.
 | 
					where $\textrm{gcd}(k,n)$ is the greatest common
 | 
				
			||||||
Tämä johtuu siitä, että $\textrm{syt}(k,n)$-kokoiset
 | 
					divisor of $k$ and $n$.
 | 
				
			||||||
pätkät helmiä siirtyvät toistensa paikoille
 | 
					The reason for this is that sequences
 | 
				
			||||||
$k$ askelta eteenpäin.
 | 
					of pearls of size $\textrm{syt}(k,n)$
 | 
				
			||||||
Niinpä helminauhojen määrä on
 | 
					will replace each other.
 | 
				
			||||||
Burnsiden lemman mukaan
 | 
					Thus, according to Burnside's lemma,
 | 
				
			||||||
 | 
					the number of necklaces is
 | 
				
			||||||
\[\sum_{i=0}^{n-1} \frac{m^{\textrm{syt}(i,n)}}{n}. \]
 | 
					\[\sum_{i=0}^{n-1} \frac{m^{\textrm{syt}(i,n)}}{n}. \]
 | 
				
			||||||
Esimerkiksi kun helminauhan pituus on 4
 | 
					For example, the number of necklaces of length 4
 | 
				
			||||||
ja värejä on 3, helminauhoja on
 | 
					with 3 colors is
 | 
				
			||||||
\[\frac{3^4+3+3^2+3}{4} = 24. \]
 | 
					\[\frac{3^4+3+3^2+3}{4} = 24. \]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\section{Cayleyn kaava}
 | 
					\section{Cayley's formula}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\index{Cayleyn kaava@Cayleyn kaava}
 | 
					\index{Cayley's formula}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\key{Cayleyn kaavan} mukaan $n$ solmusta voi
 | 
					\key{Cayley's formula} states that
 | 
				
			||||||
muodostaa $n^{n-2}$ numeroitua puuta.
 | 
					there are $n^{n-2}$ labeled trees
 | 
				
			||||||
Puun solmut on numeroitu $1,2,\ldots,n$,
 | 
					that contain $n$ nodes.
 | 
				
			||||||
ja kaksi puuta ovat erilaiset,
 | 
					The nodes are labeled $1,2,\ldots,n$,
 | 
				
			||||||
jos niiden rakenne on erilainen
 | 
					and two trees are different
 | 
				
			||||||
tai niissä on eri numerointi.
 | 
					if either their structure or their
 | 
				
			||||||
 | 
					labeling is different.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{samepage}
 | 
					\begin{samepage}
 | 
				
			||||||
\noindent
 | 
					For example, when $n=4$, the number of labeled
 | 
				
			||||||
Esimerkiksi kun $n=4$, numeroitujen puiden määrä on $4^{4-2}=16$:
 | 
					trees is $4^{4-2}=16$:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{center}
 | 
					\begin{center}
 | 
				
			||||||
\begin{tikzpicture}[scale=0.8]
 | 
					\begin{tikzpicture}[scale=0.8]
 | 
				
			||||||
| 
						 | 
					@ -816,22 +820,22 @@ Esimerkiksi kun $n=4$, numeroitujen puiden määrä on $4^{4-2}=16$:
 | 
				
			||||||
\end{center}
 | 
					\end{center}
 | 
				
			||||||
\end{samepage}
 | 
					\end{samepage}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Seuraavaksi näemme, miten Cayleyn kaavan
 | 
					Next we will see how Cayley's formula can
 | 
				
			||||||
voi perustella samastamalla numeroidut puut
 | 
					be derived using Prüfer codes.
 | 
				
			||||||
Prüfer-koodeihin.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
\subsubsection{Prüfer-koodi}
 | 
					\subsubsection{Prüfer code}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\index{Prüfer-koodi}
 | 
					\index{Prüfer code}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\key{Prüfer-koodi} on $n-2$ luvun jono,
 | 
					A \key{Prüfer code} is a sequence of
 | 
				
			||||||
joka kuvaa numeroidun puun rakenteen.
 | 
					$n-2$ numbers that describes a labeled tree.
 | 
				
			||||||
Koodi muodostuu poistamalla puusta
 | 
					The code is calculated by removing $n-2$
 | 
				
			||||||
joka askeleella lehden, jonka numero on pienin,
 | 
					leaves from the tree.
 | 
				
			||||||
ja lisäämällä lehden vieressä olevan solmun
 | 
					At each step, we remove the leaf whose number
 | 
				
			||||||
numeron koodiin.
 | 
					is the smallest, and simultaneously
 | 
				
			||||||
 | 
					add the number of its only neighbor to the code.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Esimerkiksi puun
 | 
					For example, the Prüfer code for
 | 
				
			||||||
\begin{center}
 | 
					\begin{center}
 | 
				
			||||||
\begin{tikzpicture}[scale=0.9]
 | 
					\begin{tikzpicture}[scale=0.9]
 | 
				
			||||||
\node[draw, circle] (1) at (2,3) {$1$};
 | 
					\node[draw, circle] (1) at (2,3) {$1$};
 | 
				
			||||||
| 
						 | 
					@ -849,14 +853,13 @@ Esimerkiksi puun
 | 
				
			||||||
%\path[draw,thick,-] (4) -- (5);
 | 
					%\path[draw,thick,-] (4) -- (5);
 | 
				
			||||||
\end{tikzpicture}
 | 
					\end{tikzpicture}
 | 
				
			||||||
\end{center}
 | 
					\end{center}
 | 
				
			||||||
Prüfer-koodi on $[4,4,2]$,
 | 
					is $[4,4,2]$, because we first remove
 | 
				
			||||||
koska puusta poistetaan ensin solmu 1,
 | 
					node 1, then node 3 and finally node 5.
 | 
				
			||||||
sitten solmu 3 ja lopuksi solmu 5.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Jokaiselle puulle voidaan laskea
 | 
					We can calculate a Prüfer code for any tree,
 | 
				
			||||||
Prüfer-koodi, minkä lisäksi
 | 
					and more importantly,
 | 
				
			||||||
Prüfer-koodista pystyy palauttamaan
 | 
					the original tree can be constructed
 | 
				
			||||||
yksikäsitteisesti alkuperäisen puun.
 | 
					from the Prüfer code.
 | 
				
			||||||
Niinpä numeroituja puita on yhtä monta
 | 
					Hence, the number of labeled trees equals
 | 
				
			||||||
kuin Prüfer-koodeja eli $n^{n-2}$.
 | 
					the number of Prüfer codes that is $n^{n-2}$.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue