Edexcel D1 2015 June — Question 3 12 marks

Exam BoardEdexcel
ModuleD1 (Decision Mathematics 1)
Year2015
SessionJune
Marks12
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMinimum Spanning Trees
TypeApply Prim's algorithm from vertex
DifficultyModerate -0.8 This is a standard D1 question testing routine application of Prim's and Kruskal's algorithms with straightforward graph theory definitions. Parts (a)-(e) require only mechanical execution of learned procedures with no problem-solving insight. Part (f) adds mild reasoning about when an arc remains in the MST, but this is still a textbook-style exercise well below average A-level difficulty.
Spec7.02c Graph terminology: walk, trail, path, cycle, route7.04b Minimum spanning tree: Prim's and Kruskal's algorithms7.04c Travelling salesman upper bound: nearest neighbour method

3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{6417303d-c42a-4da4-b0fa-fb7718959417-4_591_1365_239_360} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} Figure 2 shows a graph G.
  1. Write down an example of a cycle on G.
    (1)
  2. State, with a reason, whether or not \(\mathrm { P } - \mathrm { Q } - \mathrm { R } - \mathrm { T } - \mathrm { Q } - \mathrm { S }\) is an example of a path on G .
    (2) \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{6417303d-c42a-4da4-b0fa-fb7718959417-4_618_1406_1336_340} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} The numbers on the \(14 \operatorname { arcs }\) in Figure 3 represent the distances, in km , between eight vertices, \(\mathrm { P } , \mathrm { Q }\), \(\mathrm { R } , \mathrm { S } , \mathrm { T } , \mathrm { U } , \mathrm { V }\) and W , in a network.
  3. Use Prim's algorithm, starting at P , to find the minimum spanning tree for the network. You must clearly state the order in which you select the arcs of your tree.
  4. Use Kruskal's algorithm to find the minimum spanning tree for the network. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to the minimum spanning tree.
  5. Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book. The weight on arc RU is now increased to a value of \(x\). The minimum spanning tree for the network is still unique and includes the same arcs as those found in (e).
  6. Write down the smallest interval that must contain \(x\).

Question 3:
Part (a)
AnswerMarks Guidance
AnswerMarks Guidance
e.g. \(P - Q - S - P\)B1 Any closed path on G — must begin and end with same vertex; no vertex (except start/end) appears more than once
Part (b)
AnswerMarks Guidance
AnswerMarks Guidance
As vertex Q appears more than once, \(P - Q - R - T - Q - S\) is not a path on GB1, DB1 B1: any mention of cycle/loop/repeated vertex (condone incorrect technical language); DB1: must refer specifically to vertex Q appearing twice in the walk
Part (c)
AnswerMarks Guidance
AnswerMarks Guidance
PS, ST, SV; QS, QR; RU, TWM1; A1; A1 Prim's — first three arcs (PS, ST, SV or weights 13, 9, 11,...) or first four nodes {P, S, T, V,...} correctly chosen in order; first five arcs correct; CSO all arcs correctly stated in correct order
Part (d)
AnswerMarks Guidance
AnswerMarks Guidance
ST, SV, PS, QS (not QT), QR (not PQ), (not TV), RU, TWM1 A1 A1 Kruskal's — first four arcs (ST, SV, PS, QS or weights 9, 11, 13, 14,...) correctly chosen in order with at least one rejection; all seven arcs correct in order with no additional arcs; CSO all selections and rejections correct in correct order at correct time
Part (e)
AnswerMarks Guidance
AnswerMarks Guidance
Correct minimum spanning tree drawnB1 CAO (condone lack of/incorrect weights on arcs)
Part (f)
AnswerMarks Guidance
AnswerMarks Guidance
\(20 < x < 31\)B2, 1, 0 B1: \(x < 31\) or \(x \leq 31\) or \(x < 30\) or \(x \leq 30\); B2: either \(20 < x < 31\) or \(21 \leq x \leq 30\)
# Question 3:

## Part (a)

| Answer | Marks | Guidance |
|--------|-------|----------|
| e.g. $P - Q - S - P$ | B1 | Any closed path on G — must begin and end with same vertex; no vertex (except start/end) appears more than once |

## Part (b)

| Answer | Marks | Guidance |
|--------|-------|----------|
| As vertex Q appears more than once, $P - Q - R - T - Q - S$ is not a path on G | B1, DB1 | B1: any mention of cycle/loop/repeated vertex (condone incorrect technical language); DB1: must refer specifically to vertex Q appearing twice in the walk |

## Part (c)

| Answer | Marks | Guidance |
|--------|-------|----------|
| PS, ST, SV; QS, QR; RU, TW | M1; A1; A1 | Prim's — first three arcs (PS, ST, SV or weights 13, 9, 11,...) or first four nodes {P, S, T, V,...} correctly chosen in order; first five arcs correct; CSO all arcs correctly stated in correct order |

## Part (d)

| Answer | Marks | Guidance |
|--------|-------|----------|
| ST, SV, PS, QS (not QT), QR (not PQ), (not TV), RU, TW | M1 A1 A1 | Kruskal's — first four arcs (ST, SV, PS, QS or weights 9, 11, 13, 14,...) correctly chosen in order with at least one rejection; all seven arcs correct in order with no additional arcs; CSO all selections and rejections correct in correct order at correct time |

## Part (e)

| Answer | Marks | Guidance |
|--------|-------|----------|
| Correct minimum spanning tree drawn | B1 | CAO (condone lack of/incorrect weights on arcs) |

## Part (f)

| Answer | Marks | Guidance |
|--------|-------|----------|
| $20 < x < 31$ | B2, 1, 0 | B1: $x < 31$ or $x \leq 31$ or $x < 30$ or $x \leq 30$; B2: either $20 < x < 31$ or $21 \leq x \leq 30$ |
3.

\begin{figure}[h]
\begin{center}
  \includegraphics[alt={},max width=\textwidth]{6417303d-c42a-4da4-b0fa-fb7718959417-4_591_1365_239_360}
\captionsetup{labelformat=empty}
\caption{Figure 2}
\end{center}
\end{figure}

Figure 2 shows a graph G.
\begin{enumerate}[label=(\alph*)]
\item Write down an example of a cycle on G.\\
(1)
\item State, with a reason, whether or not $\mathrm { P } - \mathrm { Q } - \mathrm { R } - \mathrm { T } - \mathrm { Q } - \mathrm { S }$ is an example of a path on G .\\
(2)

\begin{figure}[h]
\begin{center}
  \includegraphics[alt={},max width=\textwidth]{6417303d-c42a-4da4-b0fa-fb7718959417-4_618_1406_1336_340}
\captionsetup{labelformat=empty}
\caption{Figure 3}
\end{center}
\end{figure}

The numbers on the $14 \operatorname { arcs }$ in Figure 3 represent the distances, in km , between eight vertices, $\mathrm { P } , \mathrm { Q }$, $\mathrm { R } , \mathrm { S } , \mathrm { T } , \mathrm { U } , \mathrm { V }$ and W , in a network.
\item Use Prim's algorithm, starting at P , to find the minimum spanning tree for the network. You must clearly state the order in which you select the arcs of your tree.
\item Use Kruskal's algorithm to find the minimum spanning tree for the network. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to the minimum spanning tree.
\item Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book.

The weight on arc RU is now increased to a value of $x$. The minimum spanning tree for the network is still unique and includes the same arcs as those found in (e).
\item Write down the smallest interval that must contain $x$.
\end{enumerate}

\hfill \mbox{\textit{Edexcel D1 2015 Q3 [12]}}