Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
The chapter discusses the efficient multiplication of matrices using dynamic programming techniques. It highlights the importance of the order of multiplication in determining the computational cost, with specific examples illustrating how different orders yield varying levels of efficiency. The chapter concludes with a discussion on formulating the problem inductively and filling up a cost matrix in a structured manner.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
References
ch49.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Matrix Multiplication
Definition: The operation of multiplying two matrices, requiring compatible dimensions where the number of columns of the first matrix equals the number of rows of the second.
Term: Dynamic Programming
Definition: A method for solving complex problems by breaking them down into simpler subproblems, storing the results of these subproblems to avoid redundant computations.
Term: Computation Cost
Definition: The total number of arithmetic operations required to achieve matrix multiplication, which can change based on the multiplication order.
Term: Cost Matrix
Definition: A structured matrix that tracks the minimum number of operations required to multiply a specific sequence of matrices.