Question: Consider the following boundary value problem: ( p ( x ) u ( x ) ) + q ( x ) u ( x )
Consider the following boundary value problem:
pxux qxux fx a x b uaalpha ubbeta
where p in Ca b and px c qx in Ca b qx and fx in Ca b Divide the interval a b into N equal cells with cell size h b aN Define the grid points xi aih i N with x a xN b Define also the half grid points as xi xi h A natural finite difference scheme to approximate this problem is given as follows:
pxiUipxi pxiUi pxiUi qxiUi fxi h
foriNwithUalpha andUNbeta
a If we expand the left hand side as
pxux pxux qxux fx and then approximate by the finite difference scheme
pxiUiUi Ui pxiUi Ui qxiUi fxi hh
Show that this yields a tridiagonal but not symmetric matrix.
b For the equation
ux axux bxux fx a x b uaalpha ubbeta
where a b and f all belong to Ca b and bx Formulate a similar finite difference scheme as in part a of this problem, and find a sufficient condition for the resulting linear system to have a unique solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
