Edexcel D1 2002 January — Question 3 9 marks

Exam BoardEdexcel
ModuleD1 (Decision Mathematics 1)
Year2002
SessionJanuary
Marks9
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMinimum Spanning Trees
TypeApply Prim's algorithm in matrix form
DifficultyModerate -0.8 This is a straightforward application of Prim's algorithm from a distance table, requiring systematic selection of minimum edges and basic knowledge that an MST has n-1 edges for n vertices. The algorithm is mechanical with no problem-solving insight needed, making it easier than average A-level questions, though the multi-part structure and table work prevent it from being trivial.
Spec7.04b Minimum spanning tree: Prim's and Kruskal's algorithms

  1. \(A\)\(B\)\(C\)\(D\)\(E\)\(F\)
    \(A\)--101213209
    \(B\)10--715117
    \(C\)127--11183
    \(D\)131511--278
    \(E\)20111827--18
    \(F\)973818--
    The table shows the distances, in metres, between six nodes \(A\), \(B\), \(C\), \(D\), \(E\), and \(F\) of a network.
    1. Use Prim's algorithm, starting at \(A\), to solve the minimum connector problem for this table of distances. Explain your method and indicate the order in which you selected the edges. [4]
    2. Draw your minimum spanning tree and find its total length. [2]
    3. State whether your minimum spanning tree is unique. Justify your answer. [1]
  2. A connected network \(N\) has seven vertices.
    1. State the number of edges in a minimum spanning tree for \(N\). [1]
    A minimum spanning tree for a connected network has \(n\) edges.
    1. State the number of vertices in the network. [1]

(i)(a)
AnswerMarks
Method: Choose vertex nearest to A and add to tree. Choose vertex nearest to any vertex on tree. Repeat (set step until all vertices in cluster).M1, A1
(i)(b)
AnswerMarks
Order of arc selection: AF, FC, FB or BC, FD, EBM1, A1, (4)
(i)(c)
AnswerMarks
Not unique - gives other one, or convincing explanationB1, B1, B1, (1)
(ii)(a)
AnswerMarks
Number of edges = 7 - 1 = 6B1
(ii)(b)
AnswerMarks
Number of vertices = n + 1B1, (2)
## (i)(a)
Method: Choose vertex nearest to A and add to tree. Choose vertex nearest to any vertex on tree. Repeat (set step until all vertices in cluster). | M1, A1 |

## (i)(b)
Order of arc selection: AF, FC, FB or BC, FD, EB | M1, A1, (4) |

## (i)(c)
Not unique - gives other one, or convincing explanation | B1, B1, B1, (1) |

## (ii)(a)
Number of edges = 7 - 1 = 6 | B1 |

## (ii)(b)
Number of vertices = n + 1 | B1, (2) |

---
\begin{enumerate}[label=(\roman*)]
\item 
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
& $A$ & $B$ & $C$ & $D$ & $E$ & $F$ \\
\hline
$A$ & -- & 10 & 12 & 13 & 20 & 9 \\
\hline
$B$ & 10 & -- & 7 & 15 & 11 & 7 \\
\hline
$C$ & 12 & 7 & -- & 11 & 18 & 3 \\
\hline
$D$ & 13 & 15 & 11 & -- & 27 & 8 \\
\hline
$E$ & 20 & 11 & 18 & 27 & -- & 18 \\
\hline
$F$ & 9 & 7 & 3 & 8 & 18 & -- \\
\hline
\end{tabular}
\end{center}

The table shows the distances, in metres, between six nodes $A$, $B$, $C$, $D$, $E$, and $F$ of a network.

\begin{enumerate}[label=(\alph*)]
\item Use Prim's algorithm, starting at $A$, to solve the minimum connector problem for this table of distances. Explain your method and indicate the order in which you selected the edges. [4]
\item Draw your minimum spanning tree and find its total length. [2]
\item State whether your minimum spanning tree is unique. Justify your answer. [1]
\end{enumerate}

\item A connected network $N$ has seven vertices.

\begin{enumerate}[label=(\alph*)]
\item State the number of edges in a minimum spanning tree for $N$. [1]
\end{enumerate}

A minimum spanning tree for a connected network has $n$ edges.

\begin{enumerate}[label=(\alph*)]
\setcounter{enumii}{1}
\item State the number of vertices in the network. [1]
\end{enumerate}
\end{enumerate}

\hfill \mbox{\textit{Edexcel D1 2002 Q3 [9]}}