Save this video free

2025 Week 9 - Boundary value problems

Numerical Methods for Engineering · 2:01:52 · Watch on YouTube

Part of McMaster University ENGPHYS 2NM4. See all 14 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 three approaches to boundary value problems: shooting with an IVP solver and root finder, collocation using interpolation functions such as cubic splines or radial basis functions, and finite differences on a discretized grid. A rocket must reach 50 m after 5 seconds, illustrating that shooting with RK45 finds an initial velocity of about 34.5 m/s; later examples show how finite-difference equations become sparse linear systems or nonlinear residuals, including a two-dimensional Laplace problem.

Key takeaways

Chapters

0:00 Boundary Value Problems Versus Initial Value Problems
2:30 Shooting Method: Combine an IVP Solver with Root Finding
6:00 Shooting Method Trade-Offs and Stiffness
8:00 Ballistics as a Historical Motivation for Shooting
10:00 Rocket Boundary Conditions: Reach 50 Metres in Five Seconds
13:00 Use RK45 and a Root Finder to Tune Launch Velocity
15:00 Interpolation as an Alternative to Shooting
18:00 Collocation Enforces the Differential Equation at Selected Points
21:00 Collocation Benefits and the Cost of Solving All Points Together
25:00 Spline-Based BVP Solvers and Their Iterations
29:00 Radial Basis Functions for Multidimensional Collocation
33:00 Build an RBF System and Apply Boundary Conditions
37:00 RBF Adaptivity, Conditioning, and Practical Limits
41:00 Finite-Difference Derivatives and Uniform Spacing
45:00 Discretize the Rocket Equation on a Uniform Grid
49:00 Assemble the Tridiagonal System for the Rocket
53:00 Uneven Grids, Accuracy, and Step-Size Choices
58:00 Why Keep Grid-Spacing Factors on the Right-Hand Side
1:03:00 Finite-Difference Systems Preserve Sparse Structure
1:10:00 Neumann Boundary Conditions and One-Sided Differences
1:19:00 Ghost Points Restore Second-Order Neumann Accuracy
1:30:00 Compare Boundary Accuracy and Grid Refinement
1:40:00 Solve Nonlinear Finite-Difference Equations with Newton's Method
1:50:00 One Root-Finding Framework Handles Linear and Nonlinear Cases
1:54:00 Two-Dimensional Laplacian, Sparse Bands, and Method Selection

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

Transcript excerpt

0:00 Today we're going to get into boundary value problems. Um, has anybody done question number one from the assignment all the way through to completion including part C? Yeah, I see some people yes, some people are right. Um, I actually cheated you guys a little bit because that question is actually the first method that we're going to talk about with a boundary value problem. Okay, so boundary value problems are a little bit different. Well, if you already did it, then guess what? Now you know the material better. That's it, right? Um, boundary values are a little problem or boundary value problems are a little bit different from the initial value problems because initial versus the boundaries. Boundaries implies you know information on both sides of it. Right? So the

0:47 initial one is typically for time stepping when you would have like your your initial condition and you're stepping forward in time. It doesn't have to be. It could just as easily be something like space for example if we're doing something like oh I don't know shooting ballistics right um typically we have information okay so on both sides of the domain either we would have something like a dishlay condition we would have the function value at one side or the other or we would have some kind of slope information which is noman condition combination of the two which are robin conditions um the easiest way to approach this and extend from the initial value is literally to shoot a solution from one side and try and hit the target on the other side. Um, alternately, and I'm not sure we'll be able to get to this today, uh, what you

1:35 can actually do is dig out your old interpolation methods, right? Because we

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.