Section 4 Boundary Value Problems for ODEs
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 222
Section 4 Boundary Value Problems for ODEs Numerical Analysis II - - PowerPoint PPT Presentation
Section 4 Boundary Value Problems for ODEs Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 222 BVP for ODE We study numerical solution for boundary value problem (BVP). If the BVP involves first-order ODE, then
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 222
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 223
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 224
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 225
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 226
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 227
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 228
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 229
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 230
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 231
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 232
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 233
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 234
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 235
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 236
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 237
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 238
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 239
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 240
xi w1,i y (xi ) |w1,i − y(xi )| 1.0 17.000000 17.000000 1.1 15.755495 15.755455 4.06 × 10−5 1.2 14.773389 14.773333 5.60 × 10−5 1.3 13.997752 13.997692 5.94 × 10−5 1.4 13.388629 13.388571 5.71 × 10−5 1.5 12.916719 12.916667 5.23 × 10−5 1.6 12.560046 12.560000 4.64 × 10−5 1.7 12.301805 12.301765 4.02 × 10−5 1.8 12.128923 12.128889 3.14 × 10−5 1.9 12.031081 12.031053 2.84 × 10−5 2.0 12.000023 12.000000 2.32 × 10−5 2.1 12.029066 12.029048 1.84 × 10−5 2.2 12.112741 12.112727 1.40 × 10−5 2.3 12.246532 12.246522 1.01 × 10−5 2.4 12.426673 12.426667 6.68 × 10−6 2.5 12.650004 12.650000 3.61 × 10−6 2.6 12.913847 12.913845 9.17 × 10−7 2.7 13.215924 13.215926 1.43 × 10−6 2.8 13.554282 13.554286 3.46 × 10−6 2.9 13.927236 13.927241 5.21 × 10−6 3.0 14.333327 14.333333 6.69 × 10−6 Netwon’s method requires solving two IVPs in each iteration, but converges much faster than secant method. Still sensitive to round-off errors if y or z increases rapidly. Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 241
i )
i )
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 242
i )
i )
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 243
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 244
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 245
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 246
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 247
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 248
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 249
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 250
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 251
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 252
2 fy′
2h
2h
2 fy′
2h
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 253
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 254
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 255
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 256
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 257
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 258
0 [0, 1]
0 [0, 1], define
0 (p(u′)2 + qu2)dx. Hence y ≡ 0 (since J[u] ≥ 0 and = 0 only if u ≡ 0). Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 259
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 260
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 261
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 262
y y = φi(x)
x
xi1 xi xi1 1 1 y y = φn(x)
x
xn1 xn 1 1 y y = φ1(x)
x
x1 x2 1 1
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 263
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 264
i(x)
xi−1
xi
xi−1
xi
i(x)φ′ i+1(x) + q(x)φi(x)φi+1(x)
xi
xi
i(x)φ′ i−1(x) + q(x)φi(x)φi−1(x)
xi−1
xi−1
xi−1
xi
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 265
xi
xi−1
xi
xi−1
xi−1
xi
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 266
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 267
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 268
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 269
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 270
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 271
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 272
x xi xi1 xi2 xi1 xi2 1 y when i 2, … , n 1 y = φi(x)
x x x x y = φ0(x) x1 x2 y = φ1(x) x1 x2 x3 y = φn(x) xn2 1 y =φn1(x) xn1 xn x3 1 1 1 1 xn1 xn 1 y y y y
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 273
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 274
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 275
Numerical Analysis II – Xiaojing Ye, Math & Stat, Georgia State University 276