Skip to content

Commit 795a53c

Browse files
committed
various fixes to 4.9.22, 4.9.24, 4.10.1, 4.10.2, 4.10.4, 4.10.5, 5.1.8, 5.1.18, 5.1.36, 5.1.39, 5.1.44
1 parent 3c5299b commit 795a53c

1 file changed

Lines changed: 77 additions & 25 deletions

File tree

src/Epp.tex

Lines changed: 77 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15862,8 +15862,15 @@ \subsubsection{Exercise 22}
1586215862
{\it Hint:} Use the result of exercise 21, part (c).
1586315863

1586415864
\begin{proof}
15865-
Yes. If we represent people with vertices and acquaintances with edges, we obtain a simple graph: no person is counted as being ``acquainted with themselves'' but only with others, so there are no self-loops; and if two people are acquainted, then only one edge is enough to represent this (it is only counted once), so there are no parallel edges.
15866-
By Exercise 21 part (c), it is impossible for all vertices in a simple graph to have different degrees. Therefore there are at least two people who are acquainted with t he same number of people within the group.
15865+
Yes. If we represent people with vertices and acquaintances with edges,
15866+
we obtain a simple graph: no person is counted as being ``acquainted with themselves''
15867+
but only with others, so there are no self-loops; and if two people are acquainted,
15868+
then only one edge is enough to represent this (it is only counted once),
15869+
so there are no parallel edges.
15870+
15871+
By Exercise 21 part (c), it is impossible for all vertices in a simple graph
15872+
to have different degrees. Therefore there are at least two people who are
15873+
acquainted with the same number of people within the group.
1586715874
\end{proof}
1586815875

1586915876
\subsubsection{Exercise 23}
@@ -15928,62 +15935,94 @@ \subsubsection{Exercise 24}
1592815935

1592915936
A (general) bipartite graph G is a simple graph whose vertex set can be partitioned into two disjoint nonempty subsets $V_1$ and $V_2$ such that vertices in $V_1$ may be connected to vertices in $V_2$, but no vertices in $V_1$ are connected to other vertices in $V_1$ and no vertices in $V_2$ are connected to other vertices in $V_2$. For example, the bipartite graph $G$ illustrated in (i) can be redrawn as shown in (ii). From the drawing in (ii), you can see that $G$ is bipartite with mutually disjoint vertex sets $V_1 = \{v_1, v_3, v_5\}$ and $V_2 = \{v_2, v_4, v_6\}$.
1593015937

15931-
Find which of the following graphs are bipartite. Redraw the bipartite graphs so that their bipartite nature is evident.
15938+
See the image with the 6 graphs labeled a-f (you might need to check the next page).
15939+
Find which of the following graphs are bipartite. Redraw the bipartite graphs so that
15940+
their bipartite nature is evident.
1593215941

1593315942
\begin{figure}[ht!]
1593415943
\centering
1593515944
\includegraphics[scale=0.5]{../images/4.9.24.2.png}
1593615945
\end{figure}
1593715946

1593815947
(a)
15939-
Graph a. above
1594015948

1594115949
\begin{proof}
15950+
We can place \(v_1\) and \(v_3\) on one side, \(v_2\) and \(v_4\) on the other side.
15951+
See the corresponding image (you might have to check the next page).
15952+
1594215953
\begin{figure}[ht!]
1594315954
\centering
1594415955
\includegraphics[scale=0.4]{../images/4.9.24.a.png}
1594515956
\end{figure}
1594615957
\end{proof}
1594715958

1594815959
(b)
15949-
Graph b. above
1595015960

1595115961
\begin{proof}
15952-
Suppose this graph is a bipartite. Then the vertex set can be partitioned into two mutually disjoint subsets such that vertices in each subset are connected by edges only to vertices in the other subset and not to vertices in the same subset. Now $v_1$ is in one subset of the partition, say, $V_1$. Since $v_1$ is connected by edges to $v_2$ and $v_3$ both $v_2$ and $v_3$ must be in the other subset, $V_2$. But $v_2$ and $v_3$ are connected by an edge to each other. This contradicts the fact that no vertices in $V_2$ are connected by edges to other vertices in $V_2$. Hence the supposition is false, and so the graph is not bipartite.
15962+
Suppose this graph is a bipartite.
15963+
Then the vertex set can be partitioned into two mutually disjoint subsets
15964+
such that vertices in each subset are connected by edges only to vertices
15965+
in the other subset and not to vertices in the same subset.
15966+
Now $v_1$ is in one subset of the partition, say, $V_1$.
15967+
Since $v_1$ is connected by edges to $v_2$ and $v_3$ both $v_2$ and $v_3$
15968+
must be in the other subset, $V_2$. But $v_2$ and $v_3$ are connected by an
15969+
edge to each other. This contradicts the fact that no vertices in $V_2$ are
15970+
connected by edges to other vertices in $V_2$.
15971+
Hence the supposition is false, and so the graph is not bipartite.
1595315972
\end{proof}
1595415973

1595515974
(c)
15956-
Graph c. above
1595715975

1595815976
\begin{proof}
15977+
We can place \(v_1, v_3\) and \(v_5\) on one side, \(v_2, v_4\) and \(v_6\)
15978+
on the other side. See the corresponding image.
15979+
1595915980
\begin{figure}[ht!]
1596015981
\centering
1596115982
\includegraphics[scale=0.4]{../images/4.9.24.c.png}
1596215983
\end{figure}
1596315984
\end{proof}
1596415985

1596515986
(d)
15966-
Graph d. above
1596715987

1596815988
\begin{proof}
15969-
This graph is not bipartite due to the triangle formed by $v_2, v_4, v_5$. Argue by contradiction and assume it is bipartite, with disjoint vertex sets $V_1, V_2$. Then either $v_2 \in V_1$ or $v_2 \in V_2$. If $v_2 \in V_1$, then since $v_2$ is connected to both $v_4$ and $v_5$, we must have $v_4 \in V_2$ and $v_5 \in V_2$. But $v_4$ and $v_5$ are also connected, contradicting the definition of bipartite. Similarly if $v_2 \in V_2$ then $v_4 \in V_1$ and $v_5 \in V_1$ and we get a similar contradiction. Therefore the graph is not bipartite.
15989+
This graph is not bipartite due to the triangle formed by $v_2, v_4, v_5$.
15990+
Argue by contradiction and assume it is bipartite,
15991+
with disjoint vertex sets $V_1, V_2$.
15992+
Then either $v_2 \in V_1$ or $v_2 \in V_2$. If $v_2 \in V_1$,
15993+
then since $v_2$ is connected to both $v_4$ and $v_5$,
15994+
we must have $v_4 \in V_2$ and $v_5 \in V_2$.
15995+
But $v_4$ and $v_5$ are also connected, contradicting the definition of bipartite.
15996+
Similarly if $v_2 \in V_2$ then $v_4 \in V_1$ and $v_5 \in V_1$ and
15997+
we get a similar contradiction. Therefore the graph is not bipartite.
1597015998
\end{proof}
1597115999

1597216000
(e)
15973-
Graph e. above
1597416001

1597516002
\begin{proof}
16003+
We can place \(v_2\) and \(v_5\) on one side, \(v_1, v_3\) and \(v_4\)
16004+
on the other side. See the corresponding image.
16005+
1597616006
\begin{figure}[ht!]
1597716007
\centering
1597816008
\includegraphics[scale=0.4]{../images/4.9.24.e.png}
1597916009
\end{figure}
1598016010
\end{proof}
1598116011

1598216012
(f)
15983-
Graph f. above
1598416013

1598516014
\begin{proof}
15986-
This graph is not bipartite. Argue by contradiction and assume it is bipartite, with disjoint vertex sets $V_1, V_2$. Then either $v_1 \in V_1$ or $v_1 \in V_2$. If $v_1 \in V_1$, then since $v_1$ is connected to both $v_2$ and $v_5$, we must have $v_2 \in V_2$ and $v_5 \in V_2$. So $v_3 \in V_1$ and $v_4 \in V_1$. But $v_3$ is connected to $v_4$, contradicting the definition of bipartite. Similarly if $v_1 \in V_2$ then $v_2 \in V_1$ and $v_5 \in V_1$ and $v_3 \in V_2$ and $v_4 \in V_2$ and we get a similar contradiction. Therefore the graph is not bipartite.
16015+
This graph is not bipartite.
16016+
Argue by contradiction and assume it is bipartite,
16017+
with disjoint vertex sets $V_1, V_2$.
16018+
Then either $v_1 \in V_1$ or $v_1 \in V_2$.
16019+
If $v_1 \in V_1$, then since $v_1$ is connected to both $v_2$ and $v_5$,
16020+
we must have $v_2 \in V_2$ and $v_5 \in V_2$.
16021+
So $v_3 \in V_1$ and $v_4 \in V_1$.
16022+
But $v_3$ is connected to $v_4$, contradicting the definition of bipartite.
16023+
Similarly if $v_1 \in V_2$ then $v_2 \in V_1$ and $v_5 \in V_1$ and
16024+
$v_3 \in V_2$ and $v_4 \in V_2$ and we get a similar contradiction.
16025+
Therefore the graph is not bipartite.
1598716026
\end{proof}
1598816027

1598916028
\subsubsection{Exercise 25}
@@ -16000,8 +16039,8 @@ \subsubsection{Exercise 1}
1600016039
\begin{tabbing}
1600116040
$i \coloneqq 2$ \\
1600216041
{\bf if} \= ($i > 3$ or $i \leq 0$) \\
16003-
\> {\bf then} $z \Coloneqq 1$ \\
16004-
\> {\bf else} $z \Coloneqq 0$
16042+
\> {\bf then} $z \coloneqq 1$ \\
16043+
\> {\bf else} $z \coloneqq 0$
1600516044
\end{tabbing}
1600616045

1600716046
\begin{proof}
@@ -16012,8 +16051,8 @@ \subsubsection{Exercise 2}
1601216051
\begin{tabbing}
1601316052
$i \coloneqq 3$ \\
1601416053
{\bf if} \= ($i \leq 3$ or $i > 6$) \\
16015-
\> {\bf then} $z \Coloneqq 2$ \\
16016-
\> {\bf else} $z \Coloneqq 0$
16054+
\> {\bf then} $z \coloneqq 2$ \\
16055+
\> {\bf else} $z \coloneqq 0$
1601716056
\end{tabbing}
1601816057

1601916058
\begin{proof}
@@ -16055,12 +16094,16 @@ \subsubsection{Exercise 4}
1605516094
\end{tabbing}
1605616095

1605716096
\begin{proof}
16058-
After execution: $a = 67$
16097+
After execution: $a = 67$.
16098+
The \(i, a\) values in the table are the values at the end of each iteration.
16099+
1605916100
\begin{center}
1606016101
\arrayrulecolor{cyan}
1606116102
\begin{tabular}{|c|c|c|c|c|}
1606216103
\hline
16063-
$i$ & 0 & 1 & 2 & 3 \\
16104+
$iteration$ & 0 & 1 & 2 & 3 \\
16105+
\hline
16106+
$i$ & 1 & 2 & 3 & 4 \\
1606416107
\hline
1606516108
$a$ & 2 & 7 & 22 & 67 \\
1606616109
\hline
@@ -16080,11 +16123,15 @@ \subsubsection{Exercise 5}
1608016123

1608116124
\begin{proof}
1608216125
After execution: $e = 12$
16126+
The \(k, f, e\) values in the table are the values at the end of each iteration.
16127+
1608316128
\begin{center}
1608416129
\arrayrulecolor{cyan}
1608516130
\begin{tabular}{|c|c|c|c|c|}
1608616131
\hline
16087-
$k$ & 0 & 1 & 2 & 3 \\
16132+
$iteration$ & 0 & 1 & 2 & 3 \\
16133+
\hline
16134+
$k$ & 1 & 2 & 3 & 4 \\
1608816135
\hline
1608916136
$f$ & 0 & 2 & 6 & 18 \\
1609016137
\hline
@@ -16757,7 +16804,12 @@ \subsubsection{Exercise 8}
1675716804

1675816805
$g_{13} = \floor{\log_2 13} = 3, g_{14} = \floor{\log_2 14} = 3, g_{15} = \floor{\log_2 15} = 3$.
1675916806

16760-
When $n$ is an integral power of 2, $g_n$ is the exponent of that power. For instance, $8 = 2^3$ and $g_8 = 3$. More generally, if $n = 2k$, where $k$ is an integer, then $g_n = k$. All terms of the sequence from $g_{2^k}$ up to, but not including, $g_{2^{k+1}}$ have the same value, namely $k$. For instance, all terms of the sequence from $g_8$ through $g_{15}$ have the value 3.
16807+
When $n$ is an integral power of 2, $g_n$ is the exponent of that power.
16808+
For instance, $8 = 2^3$ and $g_8 = 3$.
16809+
More generally, if $n = 2^k$, where $k$ is an integer, then $g_n = k$.
16810+
All terms of the sequence from $g_{2^k}$ up to, but not including,
16811+
$g_{2^{k+1}}$ have the same value, namely $k$.
16812+
For instance, all terms of the sequence from $g_8$ through $g_{15}$ have the value 3.
1676116813
\end{proof}
1676216814

1676316815
\subsubsection{Exercise 9}
@@ -16879,7 +16931,7 @@ \subsubsection{Exercise 18}
1687916931
$\dps\prod_{k=2}^{2}a_k$
1688016932

1688116933
\begin{proof}
16882-
16934+
\(a_2 = -2\)
1688316935
\end{proof}
1688416936

1688516937
{\bf\cy Compute the summations and products in $19-28$.}
@@ -17015,7 +17067,7 @@ \subsubsection{Exercise 36}
1701517067
$\dps \left(\frac{1\cdot2}{3\cdot4}\right)\left(\frac{2\cdot3}{4\cdot5}\right)\left(\frac{3\cdot4}{5\cdot6}\right)\cdots\left(\frac{m\cdot(m+1)}{(m+2)\cdot(m+3)}\right); m = 1$
1701617068

1701717069
\begin{proof}
17018-
$\dps \frac{1\cdot2}{3\cdot4} = \frac{3}{8}$
17070+
$\dps \frac{1\cdot 2}{3\cdot 4} = \frac{1}{6}$
1701917071
\end{proof}
1702017072

1702117073
{\bf\cy Write each of $37-39$ as a single summation.}
@@ -17035,10 +17087,10 @@ \subsubsection{Exercise 38}
1703517087
\end{proof}
1703617088

1703717089
\subsubsection{Exercise 39}
17038-
$\dps\sum_{m=0}^{n}(m+1)2^n + (n+2)2^{n+1}$
17090+
$\dps\sum_{m=0}^{n}(m+1)2^m + (n+2)2^{n+1}$
1703917091

1704017092
\begin{proof}
17041-
$\dps\sum_{m=0}^{n+1}(m+1)2^n$
17093+
$\dps\sum_{m=0}^{n+1}(m+1)2^m$
1704217094
\end{proof}
1704317095

1704417096
{\bf\cy Rewrite $40-42$ by separating off the final term.}
@@ -17080,7 +17132,7 @@ \subsubsection{Exercise 44}
1708017132
$(1^3 - 1) - (2^3 - 1) + (3^3 - 1) - (4^3 - 1) + (5^3 - 1)$
1708117133

1708217134
\begin{proof}
17083-
$\dps\sum_{k=1}^{5}(k^3-1)$
17135+
$\dps\sum_{k=1}^{5} (-1)^{k+1}(k^3-1)$
1708417136
\end{proof}
1708517137

1708617138
\subsubsection{Exercise 45}

0 commit comments

Comments
 (0)