Methods involving difference quotient approximations for derivatives can be used for solving certain second-order boundary value problems. Consider the linear equation
(1)
over [a,b] with
. Form a partition of [a, b] using the points
, where
and
for
. The central-difference formulas discussed in Chapter 6 are used to approximate the derivatives
(2)![[Graphics:Images/FiniteDifferenceMod_gr_32.gif]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vIzBDS4VUGtvlUEmc5vxhVzX5CluHA9erZ6GFHZtt0t3yaSVFr_N73C06SYNKhfbToSoas153xuwjmKSESntqjrL3Pw_Hq_iuJ2yrwRVnVdpgScEmAfJ_WoyzvN7xMLsrGKN2eC58ucnZW8jSSXbS8wB3LeiMz_o0Gq-qqlg8VEtow0dXvkDxPAoYVyktzlJ0exZn39ecd1epn=s0-d)
and
(3)![[Graphics:Images/FiniteDifferenceMod_gr_33.gif]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_smj-0wBaOtsJKpQ-6_0f9bYN8s40CNaTh0SpMld-KsI6-dk5WV6Cd57Zj0H3nOjrQ0ib8ni35LemwsOUAhvU9Kna78kEisndoVA7X3Qk_9nHbhGKLO29z0eiLexYfxR0IBpQJmor7u9Qd_KzYPyNOajWO_I8VKDn0gO3B0Nl0QArFVOvwUwPEZpvRopE7DJ_fBqXqk3yd_uDzy=s0-d)
(1)
over [a,b] with
(2)
and
(3)
Use the notation for the terms
on the right side of (2) and (3) and drop the two terms
. Also, use the notations
,
, and
this produces the difference equation
which is used to compute numerical approximations to the differential equation (1). This is carried out by multiplying each side by and then collecting terms involving
and arranging them in a system of linear equations:
for , where
and
. This system has the familiar tridiagonal form.
Comments
Post a Comment