Save this video free

2025 Week 3 - Linear systems 2, iterative solvers

Numerical Methods for Engineering · 1:50:48 · Watch on YouTube

Part of McMaster University ENGPHYS 2NM4. See all 16 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Iterative solvers improve an initial estimate by reducing the residual, trading the robustness of direct methods such as LU for potentially lower memory use and better scaling on large sparse systems. The lecture compares Jacobi, Gauss-Seidel, and SOR with Krylov methods, explains why conjugate gradient suits symmetric positive definite matrices and GMRES handles more general systems, then presents preconditioning techniques including diagonal scaling, ILU, additive Schwarz, and multigrid.

Key takeaways

Chapters

0:00 Direct Solvers Versus Iterative Solvers
5:00 When Iterative Methods Are Worth Trying
9:00 Residuals Measure Whether an Estimate Solves Ax = b
16:00 Solution Tolerances and Vector Norms
21:20 Stationary Methods Update One Component at a Time
25:50 Jacobi Iteration Uses the Previous Solution Vector
28:40 Gauss-Seidel Trades Parallelism for Faster Updates
32:00 SOR Accelerates Gauss-Seidel with a Relaxation Factor
35:00 Stationary Solver Paths and Small-System Demonstrations
45:00 Benchmarking Shows Why Matrix Size and Sparsity Matter
51:30 Krylov Methods Build a Basis for the Solution
57:00 Why Conjugate Gradient Requires an SPD Matrix
1:03:00 Steepest Descent Can Zigzag Across a Narrow Valley
1:12:00 Conjugate Gradient Makes Search Directions A-Conjugate
1:21:00 CG Restarts, Roundoff, and Matrix-Free Products
1:27:00 GMRES Handles Systems Outside Conjugate Gradient’s SPD Case
1:30:00 Preconditioning Improves the System Seen by an Iterative Solver
1:34:10 Left, Right, and Two-Sided Preconditioning
1:38:20 Approximate A Inverse Without Forming a Dense Inverse
1:40:00 Diagonal Scaling and ILU Preconditioners in SciPy
1:46:30 Domain Decomposition and Multigrid for Parallel Systems
1:49:07 Practical Solver Choices for Engineering Systems

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Uh so th those uh announcements will be coming down soon. I'll post those on A2L that way everybody has them. I I got feedback last year that it was a bit weird having like the teams and A2L as sources of information. So I'll try and keep everything on to A2L. Is that is that better? Okay. Can do. Okay. Iterative methods. Uh Gaussian elimination LU decomposition all those are direct solvers. And what that means is that they they will find the solution in a set number of steps. Right? So when we were doing the Gaussian elimination, you take your pivot row, you subtract by the next one, you eliminate that. You take that one, you subtract by the next one, you eliminate that. B. We talked about it. And for dense matrices that scales terribly, right? It scales order and

0:49 cubed. for sparse matrices especially like banded and things like that and like structured sparse matrices it um it becomes faster and significantly faster and on the assignment you you have that you can see like like that working um but generally speaking for large enough systems it gets to be a bit problematic they are however the most robust right so again with console you know your direct solvers and the the modern direct solvers are kind of like your go-to I would say safely until you're at the point where you've nailed down the physics and the equations and you're like fine-tuning stuff. So again in console almost all the time are the solvers that we use where the direct solvers in few exceptions on your reports maybe you had like multifysics and then you had um like navier stoopes

1:36 along with uh heat transport and this and this and this console underneath the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Numerical Methods for Engineering.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.