Save this video free

2025 Week 2: Linear systems 1, Direct methods

Numerical Methods for Engineering · 2:33:09 · Watch on YouTube

Part of McMaster University ENGPHYS 2NM4. See all 17 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

The lecture develops direct methods for solving linear systems, from solvability and conditioning to Gaussian elimination, pivoting, and LU decomposition. It emphasizes that matrix structure matters: condition numbers reveal sensitivity to roundoff, repeated right-hand sides favor reusing LU factors, and sparsity must be preserved because factorization can introduce fill-in.

Key takeaways

Chapters

0:00 Linear Systems as the Workhorse of Scientific Computing
4:36 Modeling Chair and Table Purchases as Linear Equations
10:54 Elimination Solves the Furniture Example
17:00 Determinants, Singular Matrices, and the Infinite-Solution Case
21:51 Parallel Equations Show Why Some Systems Have No Solution
29:20 Linear Dependence and the Meaning of a Singular Matrix
33:02 Near-Singularity and the Furniture-Price Perturbation
40:35 Matrix Norms and Condition Numbers
47:21 Using NumPy to Inspect Conditioning
53:01 Conditioning as Worst-Case Relative Error
57:13 Deriving the Error Bound for A x = b
1:04:02 Uncertainty Distortion and the Condition-Number Geometry
1:09:47 Eigenvectors Explain Stretching Directions
1:16:28 Matrix Norms and Why Condition Number Cannot Be Below One
1:22:04 Computational Complexity Depends on System Size
1:24:37 Gaussian Elimination Produces an Upper-Triangular System
1:38:34 Row Operations, Pivots, and Elimination Factors
1:42:02 Three-by-Three Gaussian Elimination and Its Cost
1:47:32 Zero Pivots, Row Swaps, and Permutation Matrices
1:54:01 Diagonal Dominance as a Useful Matrix Property
2:00:16 Repeated Right-Hand Sides Motivate LU Decomposition
2:01:29 Factoring A into Lower and Upper Triangular Matrices
2:03:04 Recovering LU Factors from Gaussian Elimination
2:07:31 Pivoted LU Packages Return a Permutation Factor
2:09:10 Why LU Helps When Solving Many Systems
2:13:23 Rectangular Systems, Pseudoinverses, and Direct Solvers
2:16:29 Sparse Matrices Reduce Storage and Computation
2:18:38 Matrix Types: Identity, Triangular, and Symmetric
2:20:32 Banded and Block Matrices in Engineering Models
2:28:23 Why Explicit Matrix Inverses Destroy Sparsity
2:31:05 Submitting the Google Colab Assignment

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

Transcript excerpt

0:03 Okay guys, let's uh let's get started. 8:30. Um yeah, sorry I couldn't be there for the lab yesterday. I hope it was uh worthwhile. Um the the Dash system that uh that produced that worksheet for the Python 3 tutorial. Uh they were ideally I was trying to get them to come in and do a lecture, but they we couldn't work it out at uh at short notice. So that that's on me. Um but I hope at least that was uh that was useful. Um, moving forward that'll be the uh the assignment time you guys to go in, you can work on your assignments, you can talk to us TAs, you guys can work together, whatever you want. And then the next week will be the the oral examination part of it as we uh as we spoke about it last time. Um, okay. So linear systems, now is when things uh start to get a little bit more interesting. Um, linear

0:51 systems are the workhorse of scientific computing. Everything basically comes down to it. And linear systems includes the canonical solve, right? So you have a constant scaler time x is equal to b and you solve for x. Right? Literally all you have to do is divide through. Okay. Uh in contrast x squared or anything where the unknown is anything other than linear is nonlinear by definition. That's just kind of the catchall. As it turns out, we can basically use almost always the same techniques to handle nonlinear equations. And they all kind of boil down to linear equations on the inside. Uh, I was messing around with this one yesterday. Uh, Jupiter books doesn't like to format normal math as well as the align statements. So, you're going to have to use your imagination for now.

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.