Save this video free

2026 2NM4 Week 9 - Differential Equations - Boundary Value Problems

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

Part of McMaster University ENGPHYS 2NM4. See all 20 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 compares shooting, collocation, finite difference, and finite volume methods for boundary value problems, then connects spatial discretization to partial differential equations and time-stepping stability. It works through a projectile BVP, sparse finite-difference systems, flux balance for conservation laws, and explicit, implicit, and Crank–Nicolson schemes for heat diffusion.

Key takeaways

Chapters

0:00 Initial Value Problems Versus Boundary Value Problems
2:10 Shooting Method as a One-Dimensional Root-Finding Problem
6:30 Collocation Builds a Solution from an Adjustable Curve
13:00 Radial Basis Functions for High-Dimensional Collocation
14:30 Finite Differences Approximate Derivatives on a Grid
18:00 Conservation Laws Motivate the Finite Volume Method
22:00 Shooting Reuses Adaptive Initial-Value Solvers
25:50 Projectile Example Finds the Required Launch Velocity
29:00 Spectral and Spline-Based Collocation
31:00 Conditioning Limits Interpolation-Based Solvers
34:00 SciPy BVP Solvers Need an Initial Solution Guess
39:00 Finite-Difference Formulas and Their Accuracy
43:00 Turning a Rocket BVP into a Tridiagonal System
46:30 Choosing Integration Rules for Sampled Data
52:30 Romberg Integration and Its Smoothness Assumption
58:00 Gaussian Quadrature Uses Carefully Chosen Evaluation Points
1:04:00 From Quadrature Review Back to Boundary Value Problems
1:07:00 Dirichlet, Neumann, and Robin Boundary Conditions
1:11:00 Finite-Difference Boundary Rows and Ghost Nodes
1:16:00 Nonlinear and Multidimensional Finite-Difference Systems
1:32:00 Finite Volume Balances Fluxes Across Control Surfaces
1:42:00 Heat-Conduction Example Builds a Finite-Volume System
1:58:00 Finite Volume Strengths and the PDE Transition
1:59:00 PDE Classification and Characteristic Information
2:04:00 Elliptic, Parabolic, and Hyperbolic PDE Examples
2:09:00 Time Marching Couples Spatial and Temporal Discretization
2:10:10 Explicit Euler Diffusion and the CFL Stability Limit
2:16:00 Implicit Euler and Crank–Nicolson for Diffusion
2:20:00 PDE Stiffness, Solver Costs, and Parallel Computation

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

Transcript excerpt

0:00 Uh so last week we talked about initial value problems. IVPs are when you have information about the beginning of your domain. So typically you would have something like your your initial position, your initial function value. Hopefully you would have some kind of a slope. Sometimes you have uh just an initial value. Anybody have any idea when that would be? Every single time. Every single time. Typically you would have uninitial condition that is your boundary at a single domain. The domain is time in that case. Um sometimes if you have anything that has a second derivative like this guy you would have ideally uh a position and a slope at your initial time right second order differential equation. Two pieces of information you

0:49 can find your solution. Boundary value problems are problems where you have information at both sides of your domain. So the idea there is that um you know where you are here, you know where you are over there, and you're worried about what's happening in the middle there. Um typically they are are a bit I would say more robust than initial value problems because you've anchored your domain, right? When you're going for IVPs, your your error is accumulating up and up and up and up and up and at the end you're just kind of there and whatever error you've accumulated along the way, you have to treat with like RK45. These are the mesh refinement techniques. With a boundary value problem, you know what it is over here, you know what it is over there, and you can fix those two in

1:38 which case you don't have this the same nature of propagation of error as your time stepping up and up and up or stepping through your domain.

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.