China-friendly mirror (cn.improject.org). YouTube may fail on some mainland networks — other resources still work. Global site

Mainland mobile carriers often block or throttle Cloudflare Workers. Reliable phone access needs China CDN (e.g. EdgeOne) and ICP备案 — this mirror is not yet listed on beian.miit.gov.cn.

News

Topic summary · Decision maths (D1)

Algorithms on Graphs summary

Graph algorithms — shortest paths and minimum connectors — need careful labelling of vertices and growing sets.

Files: D1-Algorithms on Graphs.pdf · D1-Algorithms on Graphs answers.pdf · free public downloads · diagrams in the PDFs

Key learning points

  • Dijkstra updates temporary labels until distances become permanent.
  • Prim and Kruskal build MSTs with different edge-selection rules.
  • Reject any MST edge that would create a cycle.
  • State the final route or tree with its total weight.

Worked example 1 — Gradient

Through (1,2)(1,2) and (3,8)(3,8). Gradient?

Working

m=3m=3

Rise over run.

Worked example 2 — Y-intercept

y=3x−4y=3x-4 meets the yy-axis where?

Working

(0,−4)(0,-4)

Set x=0x=0.

Worked example 3 — Evaluate

For y=2x+1y=2x+1, find yy when x=3x=3.

Working

y=7y=7

Substitute.

Worked example 4 — Kruskal

When does Kruskal reject an edge?

Working

when it would form a cycle\text{when it would form a cycle}

Always take the next lightest edge that keeps a forest.

Scaffolded Learning Sheet and answers (PDFs)

This page is a short, searchable overview for revision and search engines. Use the Scaffolded Learning Sheet first, then the Answers PDF for a full written solution. The printable PDFs remain the main classroom resource.