A boundary value problem is nonlinear iff its differential equation cannot be written as
for functions p, q, and r.
Nonlinear Shooting Method
Finds the initial slope y′(a) that makes an IVP solution hit y(b)=β.
Idea
For a guess t, let y(x,t) solve
Find t such that y(b,t)−β=0 with Newton’s method.
Newton Iteration
Define z(x,t)=∂t∂y(x,t). Differentiating the IVP gives
The Newton update is
Procedure
- Choose an initial guess t0
- For k=0,1,2,…, solve the IVPs for yk(x)=y(x,tk) and zk(x)=z(x,tk)
- Stop when ∣yk(b)−β∣ is sufficiently small
- Update tk+1=tk−zk(b)yk(b)−β
Nonlinear Finite-Difference Method
Replace derivatives with centered differences and solve the resulting nonlinear system with Newton’s method.
A unique solution exists iff
- f, fy, and fy′ are continuous for x∈[a,b] and y,y′∈(−∞,∞)
- fy(x,y,y′)≥δ for some δ>0
- A constant k exists with k=max(∣fy(x,y,y′)∣, ∣fy′(x,y,y′)∣)
Nonlinear Difference Equation
For mesh points x0,…,xN+1, with y(xi)≈wi,
for i=1,…,N, with truncation error O(h2).
Nonlinear System
The N equations are
Solve with Newton’s method. A unique solution exists whenever h<L2.