Back to Topic 3.15 — Adjacency matrices (HL only)
3.15.1Math AI HL8 flashcards

Adjacency matrices

Practice Flashcards

Flip to reveal answers
Card 1 of 83.15.1
3.15.1
Question

What is an adjacency matrix?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 8 Flashcards — Adjacency matrices

Sign up free to track progress and get spaced-repetition review schedules.

Card 1concept

Question

What is an adjacency matrix?

Answer

A square matrix where rows and columns are the vertices (same order); entry (i,j) = the number of edges from vertex i to vertex j.

Card 2concept

Question

How can you tell an undirected adjacency matrix from a directed one?

Answer

An undirected graph gives a SYMMETRIC matrix (edges go both ways); a directed graph is usually not symmetric.

Card 3formula

Question

What does the (i,j) entry of Aⁿ tell you?

Answer

The number of walks of length n (n edges, repeats allowed) from vertex i to vertex j.

Card 4concept

Question

Does 'length of a walk' mean distance?

Answer

No — length = the number of EDGES used. Use the weighted/distance matrix for actual distance.

Card 5concept

Question

Where do you read 'closed walks' (return to start) in Aⁿ?

Answer

On the DIAGONAL — entry (i,i) of Aⁿ counts walks of length n that start and end at vertex i.

Card 6concept

Question

How do you build a distance (weighted) matrix?

Answer

Replace each 1 in the adjacency matrix with the weight (distance/cost/time) of that edge; keep 0 (or blank/∞) where there is no edge.

Card 7concept

Question

How do you count length-4 routes from X to Y on a GDC?

Answer

Enter A, compute A⁴, then read the entry in row X, column Y.

Card 8concept

Question

For an undirected graph, what does the (i,i) entry of A² equal?

Answer

The degree of vertex i (the number of edges meeting it) — 'out and straight back'.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free