LINEAR-ALGEBRA ยท Unit 12 ยท Video 2 ยท Interactive Practice
| Formula | Name | Description |
|---|---|---|
| (start), (end), (else) | Incidence matrix rule | Each row has one and one |
| Kirchhoff's Current Law | Currents balance at every node | |
| Rank (connected graph) | One less than number of nodes | |
| Euler's formula | Nodes edges independent loops |
Each edge becomes one matrix row: at its start node, at its end, elsewhere.
๐ก Adding the rows of gives zero โ the closed loop makes those incidence rows linearly dependent.
Any combination balances the current at every node: .
๐ก The basis currents and span the null space of , whose dimension equals the number of independent loops, .
Split the edges into a spanning tree () plus loop edges, and the alternating count always lands on .
Question 1
In the video's graph, edge 3 goes from node 1 to node 3. What is the entry in row 3 (edge 3), column 2 (node 2) of the incidence matrix ?
โ Correct! Node 2 is not an endpoint of edge 3, so the entry is 0.
โ Not quite. Only the start node gets โ1 and the end node gets +1. All other entries are 0.
Solution:
Edge 3 goes from node 1 to node 3. By the incidence matrix rule:
Row 3 of :
Node 2 is not an endpoint of edge 3, so the entry at (row 3, column 2) is 0.
Question 2
True or False: For a connected graph with nodes, the rank of its incidence matrix equals (the number of nodes).
โ Correct! The rank is n โ 1 because the columns of A always sum to zero โ there is always one dependency.
โ Not quite. Consider: what happens when you add all columns of A together?
Solution:
False. The rank is , not .
Every row of has entries that sum to zero (one and one ). This means the columns of always sum to the zero vector โ a linear dependence. So the column space has dimension at most .
For a connected graph, the rank is exactly . The null space has dimension 1, spanned by the constant vector โ this represents the "ground" reference potential.
Question 3
A connected graph has 6 nodes and 10 edges. How many independent loops does it have?
โ Correct! โ = m โ n + 1 = 10 โ 6 + 1 = 5 independent loops.
โ Not quite. Apply the formula: โ = m โ n + 1.
Solution:
For a connected graph with nodes and edges, the number of independent loops is:
With and :
Why? A spanning tree uses edges. The remaining edges each create exactly one independent loop when added back to the tree. This count equals .
Question 4
In the video's incidence matrix, Row 1 is (edge 1โ2) and Row 2 is (edge 2โ3). Their sum equals Row 3: (edge 1โ3). What does this linear dependence represent in the graph?
โ Correct! The row dependence Row 1 + Row 2 = Row 3 directly corresponds to the closed triangle loop 1โ2โ3โ1 in the graph.
โ Not quite. Think about what it means when traversing edges 1 then 2 arrives at the same place as edge 3 alone.
Solution:
Row 1 + Row 2 = Row 3 means the trip along edge 1 () followed by edge 2 () reaches the same destination as edge 3 (). Reversing edge 3, we get a closed loop: .
Every closed loop in a graph creates a linear dependence among the corresponding rows of the incidence matrix. This is the fundamental connection between graph topology and linear algebra.
In general, the number of independent row dependencies equals โ exactly the number of independent loops.
Solved: 0 / 4