Skip to content

Introduction to Graph TheoryActivities & Teaching Strategies

Active learning works because graph theory relies on visual and kinesthetic models of relationships. Students need to touch, draw, and compare representations to grasp why matrices and lists exist, and how density changes their usefulness. These hands-on activities let students experience the difference between abstraction and application in real time.

Grade 11Computer Science4 activities20 min45 min

Learning Objectives

  1. 1Identify the components of a graph: nodes (vertices) and edges.
  2. 2Compare and contrast the adjacency matrix and adjacency list representations for a given graph.
  3. 3Explain how graph theory can model relationships in a social network or a transportation system.
  4. 4Construct an adjacency matrix and an adjacency list for a simple, undirected graph.
  5. 5Analyze the suitability of adjacency matrices versus adjacency lists for representing sparse versus dense graphs.

Want a complete lesson plan with these objectives? Generate a Mission

30 min·Pairs

Pairs: Social Network Graph Build

Students pair up to list 10 classmates and their friendships, drawing nodes and edges on paper. They convert the drawing to an adjacency matrix, then an adjacency list. Pairs discuss which representation is clearer for their graph.

Prepare & details

Explain how graphs can model real-world relationships and networks.

Facilitation Tip: During the Social Network Graph Build, circulate to gently redirect pairs when they confuse nodes and edges, asking them to point to each on their poster before adding labels.

Setup: Tables with large paper, or wall space

Materials: Concept cards or sticky notes, Large paper, Markers, Example concept map

UnderstandAnalyzeCreateSelf-AwarenessSelf-Management
45 min·Small Groups

Small Groups: Transportation Model Challenge

Groups sketch a city map with intersections as nodes and roads as edges. They represent it using both matrix and list formats, then trace a route between two points. Groups share findings on efficiency.

Prepare & details

Compare different graph representations and their suitability for various problems.

Facilitation Tip: In the Transportation Model Challenge, provide sticky notes in two colors to force students to mark directed edges differently from undirected ones.

Setup: Tables with large paper, or wall space

Materials: Concept cards or sticky notes, Large paper, Markers, Example concept map

UnderstandAnalyzeCreateSelf-AwarenessSelf-Management
20 min·Whole Class

Whole Class: Representation Debate

Display sample graphs of varying sizes on the board. Class votes on best representation per graph, justifying choices. Follow with quick sketches to test ideas.

Prepare & details

Construct a simple graph to represent a social network or transportation system.

Facilitation Tip: For the Representation Debate, assign roles to each small group to ensure balanced participation, such as a matrix advocate, a list advocate, and a neutral moderator.

Setup: Tables with large paper, or wall space

Materials: Concept cards or sticky notes, Large paper, Markers, Example concept map

UnderstandAnalyzeCreateSelf-AwarenessSelf-Management
25 min·Individual

Individual: Digital Graph Creator

Students use free online tools like Graphviz to input a simple network, generate matrix and list views, and note differences in output files.

Prepare & details

Explain how graphs can model real-world relationships and networks.

Facilitation Tip: With the Digital Graph Creator, demonstrate how to toggle edge direction in the tool so students see the visual cue for directed vs undirected graphs.

Setup: Tables with large paper, or wall space

Materials: Concept cards or sticky notes, Large paper, Markers, Example concept map

UnderstandAnalyzeCreateSelf-AwarenessSelf-Management

Teaching This Topic

Teach graph theory by alternating between concrete construction and reflective comparison. Start with physical models like posters or sticky notes so students feel the weight of each representation choice. Then, contrast matrices and lists in a side-by-side analysis, asking students to calculate space and access time for the same graph in both forms. Research shows this cycle of build-compare-justify deepens understanding more than lectures alone. Avoid rushing into formal notation before students have built intuition through drawing and discussion.

What to Expect

Successful learning looks like students confidently choosing between adjacency matrices and lists based on graph properties, and articulating why one representation fits a given scenario better than the other. They should also justify their choices using concrete examples from their activities, showing they understand both utility and trade-offs.

These activities are a starting point. A full mission is the experience.

  • Complete facilitation script with teacher dialogue
  • Printable student materials, ready for class
  • Differentiation strategies for every learner
Generate a Mission

Watch Out for These Misconceptions

Common MisconceptionDuring the Social Network Graph Build, watch for students who treat graphs as abstract puzzles rather than real-world models.

What to Teach Instead

Ask each pair to share one way their social network example connects to a real-world application, like friend recommendations or spam detection, to shift focus to utility.

Common MisconceptionDuring the Representation Debate, watch for students who assume adjacency matrices are always easier to use.

What to Teach Instead

Provide a large sparse graph on the board and ask groups to time how long it takes to find a neighbor using the matrix vs a list, making the trade-offs tangible through live comparison.

Common MisconceptionDuring the Transportation Model Challenge, watch for students who ignore direction in one-way streets or train routes.

What to Teach Instead

Require students to use arrows on their maps and explicitly label which edges are directed, then ask them to explain how ignoring direction would break their model.

Assessment Ideas

Quick Check

After the Social Network Graph Build, give students a 5-minute quick-check with a diagram of a 4-node social network. Ask them to list nodes, edges, draw the adjacency matrix, and write the adjacency list for one person to assess their ability to translate visual models into formal representations.

Exit Ticket

During the Transportation Model Challenge, provide an exit-ticket scenario about a small bus network. Ask students to identify nodes and edges, then explain why an adjacency list might be more efficient than a matrix for this scenario, focusing on graph density and operations like finding a direct route.

Discussion Prompt

After the Representation Debate, pose the question to the whole class: 'When would an adjacency matrix be a better choice than an adjacency list, and why?' Facilitate a discussion where students justify their reasoning using examples from the debate, considering factors like graph density and the types of queries they might perform.

Extensions & Scaffolding

  • Challenge students to add weights to edges in their social network graph and recalculate the smallest number of connections between two distant friends using their chosen representation.
  • Scaffolding: Provide pre-labeled node cards and a partially filled matrix for students who struggle, asking them to complete one row or column at a time.
  • Deeper exploration: Have students research how graph databases like Neo4j use adjacency lists internally and compare their performance for queries on sparse vs dense graphs.

Key Vocabulary

Node (Vertex)A fundamental unit in a graph, representing an entity or a point. In a social network, a node could be a person; in a map, it could be a city.
EdgeA connection between two nodes in a graph, representing a relationship or a path. An edge can signify friendship between people or a road between cities.
Adjacency MatrixA square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or in the same edge.
Adjacency ListA collection of lists, one for each vertex in the graph. Each list contains all the vertices adjacent to the vertex.
Graph RepresentationThe method used to store graph data in computer memory, such as an adjacency matrix or an adjacency list.

Ready to teach Introduction to Graph Theory?

Generate a full mission with everything you need

Generate a Mission