Mental Model
We want to find the best way to multiply a chain of matrices so that the total number of multiplications is as small as possible.
Analogy: Imagine you have to multiply several long ropes tied end to end. The order in which you tie and multiply the ropes affects how much effort you spend. Finding the best order saves your energy.
Matrices: A1(10x30) -> A2(30x5) -> A3(5x60) Goal: Find best way to multiply A1xA2xA3 with least cost.
