Chapter - 1 A Brief Discussion On Differential Equation and Collocation Method
Chapter - 1 A Brief Discussion On Differential Equation and Collocation Method
1.1 Introduction 1
1.2 DifTerential Ek[uation
1.3 Brief Review of MWR
1.4 S e l e c t i o n of Weighting F u n c t i o n
1.5 S o l u t i o n of Differential Equation And Numerical Method
1.6 Finite Difference M e t h o d
1.7 Classification of Partial Differential Equation
1.8 S c o p e of Present Work
1.1 INTRODUCTION :
A differential equation is a mathematical equation for
an unknown function of one or several variables. That
relates the values of the function itself and its derivatives of
various orders. Differential equations play a prominent role
in engineering, science and technology, economics and
other disciplines. Whenever a deterministic relationship
involving some continuously varying quantities is known or
postulated. This is illustrated in classical mechanics, where
the motion of a body is described by its position and velocity
as the time varies. Newton's Laws allow one to relate the
position, velocity, acceleration and various forces acting on
the body and state this relation as a differential equation for
the unknown position of the body as a function of the time.
In some case, this differential equation may be solved
explicitly.
As an example of modeling a real world problem using
differential equations is determination of the velocity of a
ball falling through the air, considering only gravity and air
resistance. The ball's acceleration towards the ground is the
acceleration due to air resistance. Gravity is constant but
air resistance may be modelled as proportional to the ball's
velocity. This m.eans acceleration of ball is the derivative of
its velocity, depends on the velocity. Finding the velocity as
a function of time requires solving a differential equation.
Differential equations are mathematically studied from
several different perspectives, m.ost concerned with their
solutions, the set of functions that satisfy the equation.
Only the simplest differential equations admit solutions
given by explicit formulas, however some properties of
solutions of a given differential equation may be determined
without finding their exact form. If a self-contained formula
for the solution is not available, the solution may be
numerically approximated using computers. The theory of
dynamical systems puts emphasis on qualitative analysis
described by differential equations, while many numerical
methods have been developed to determine solution with a
given degree of accuracy.
6
and {^j}, j =1,2,3,...,n is a set of trial functions selected
before hand. These (Z^j's are chosen in such a way that they
satisfy the boundary conditions. This requirement can be
modified according to the nature of problem. The constants
C ,j = l,2,3,...,n are undetermined parameters and they can
be evaluated in many ways. In MWR, these parameters are
so chosen that the weighted averages of residuals vanish at
specified points. In other criteria this is done so as to give a
stationary value to a functional related to the given problem.
This functional is usually obtained through the calculus of
variations. In both the cases, for undetermined values ofCj,
a set of simultaneous algebraic equations in Cj, is arrived
for j = 1, 2, 3, ..., n. These results in a set of simultgmeous
differential equations inCjare in the case of undetermined
functional.
The trial solutions, in MWR, are selected in a manner
that they satisfy all boundary conditions in both equilibrium
and initial value problems. This can be accomplished in a
number of modes. One of them is suggested to select ^^ so
that the relations
^iih) = gi i = l,2,3, ,p 1 ( 1 3 4)
BM) = 0 i = l,2,3, ,p, j ^0 J
7
For t h e stationary functional m e t h o d , it is only required t h a t
u(x) m a t c h e s essential b o u n d a r y conditions.
By s u b s t i t u t i o n of t h e trial solution (1.3.3) into t h e
given e q u a t i o n (1.2.1), a n equation of r e s i d u a l is p r o d u c e d
having t h e form
R(C, (l>) = f(x) - L[u(x)]
(B) Collocation M e t h o d :
The weight function to be selected in t h e m e t h o d of
collocation is a special function known a s dirac delta
f u n c t i o n s . If Pj, i = 1, 2, 3 , ..., n are n-points in the domain
D a n d Wj^ = d(?-?^) is t h e weight function, t h e n due-to the
n a t u r e of dirac delta function, W,^vanishes every-where
except at P = Pk • These yields
/ a ( P - P k ) R d D = R(Pk) ...(1.4.2)
D
(C) M e t h o d Of Subdomain :
The entire domain D of the problem is divided into
several partitions, not necessarily disjoints. Say
Di,D2,D3,...,Djj are such divisions of D and consider
Wk ( D J = I, Wk (Dj) = 0, j ^ n so t h a t
JRdD = 0, k-0,l,2,...,n ...(1.4.3)
10
it up into subdomains and treat it as separate portions of
study.
Since these procedures are approximate, an important
question arises regarding accuracy of the approximation. In
many cases convergence theorems exist to the effect that if
iterations are carried on indefinitely or if the size of the
interval is reduced without any limit, then the process will
yield approximations converging to the true solution, while
these theorems are not without their stimulation value to
the confidence of the analyst. They are not as much of
practical value, if a realistic error bound applicable to the
problem, does not exist at any or each stage of the
computation. When the error bounds are not available, the
method is applied to a problem having exact solution in
order to verify the utility of the method. Error is then
calculated and a presumption is made that the method
produces error of same magnitude for similar problems.
Though this is not an ideal practice, one h a s to do so on
certain occasions.
Certain error distribution principles should be utilized
when the undetermined parameters aire to be calculated in
all of these techniques. An error is distributed in
approximate solution over a domain D. Error should be
orthogonal to a chosen set of linearly independent weighting
functions in methods like Galerkin's and in the method of
moments. The error distribution principles are
advantageous as they work directly with differential
equations instead of equivalent variational problem.
1.5 SOLUTION OP DIFFERENTIAL EQUATION AND
NUMERICAL METHOD :
In modern practice a majority of unsolved problem in
life science, physical science etc. usuadly governed by non
linear differential equations, can only be treated by
numerical approach. As a consequence specialist to various
fields h a s devoted increasing attention to numerical as
opposed to anadytical techniques. In the early days of
research in numerical analysis because of restricted
capacity of computing machines, the applications of
numerical methods where possible to a limited set of
problem. Today the situation is different and the computing
devices available now are sufficiently advanced and
developed to deal with almost an unlimited range of problem
what is really needed is merely the right choice of the
effective numerical methods for solving them. Thus rapidly
advancing computers have greatly extended the reality of
the computational work making it possible in many
instances to reject approximate interpretations of applied
problem and pass on to the solution of precisely stated
problem. No doubt, this involved utilization of a dipper
knowledge and understanding of specialized branches of
mathematics. Also the proper aid of modern computer is
rather impossible to get without the skilled use of
approximation methods and numerical analysis as well. All
these need the universally enhanced and inherent in the
methods of computational mathematics.
12
Various types of applications of differential equations
to nature science have stretched the limit of the field of
differential equation. It is rather difficult to say that every
differential equation can be treated numerically by the same
method but it can be modify by a statement that more than
one techniques can be attempted to handle the same
problem and vice versa. The study of various differential
equations demand and exclusive range of method for their
solutions and several numerical methods are found to be
used very frequently, some of these are method of finite
differences, Miline's method, perturbation, predictor-
corrector, single step, multi step, Runge kutta, Taylor's
expansion and many other methods. It may be added that
for some of these methods ready programmed packages are
also available for use with modern computers.
A numerical solution to a differential equation differs
in many ways from an analytical solution. The later provides
the value of dependent variable corresponding to any value
of an independent variable. In contrast to this in numerical
solution in interval of interested is divided into
predetermined numbers of increments may or may not be of
equal length. When the equation is to be solved numerically
the initial conditions are necessary to start with at each
incremental step. When this solution is completed results
are presented through graph and tables.
For a sufficiently smadl step size a numerical solution
closely approximate the true once hair grays prematurely, a
numerical solution may become unstable. This means that
13
as the solution progresses from one step to next the
numerical result may begin to Oscillate in an uncontrolled
manner. This referred to as numerical instability. If step size
is change then the stability characteristic is varied. The
objective is to select an approximate step size so that the
numerical solution is reasonably accurate and no instability
results or at least the stability is established u p to some
acceptable limit. Traditionally various choice is in one step
size are made and the respective numerical result are
compared. The best solution is then selected. However the
larger step size the shorter is the computer time but is
should not be so small to give excessive error. Also it is
desirable that the step size should be small enough to get
accurate results.
Two common questions are encountered while the
numerical solution to the problem is obtained. The first is
about its acceptance whether it is sufficiently close to the
true solution or not. If one has an analytic solution then
this can be answered very clearly but in either case it is not
so easy. One has to be careful while concluding that a
particular numerical solution is acceptable when an
analytic solution is not available. Normally a method is
selected which requires a minimum numiber of steps,
consuming the shortest computational time and yet one
that does not produce an excessive errors.
1.6 FINITE DIFFERENCE METHOD :
The finite difference method (FDM) for the solution of a
two point boundary value problem consists in replacing the
14
derivatives occurring in t h e differential e q u a t i o n s . By m e a n s
of their finite difference approximation a n d t h e n solving the
resulting linear system of e q u a t i o n s u s i n g a standard
procedure.
Here we u s e Taylor's series m e t h o d to obtain the
appropriate finite difference approximation to the
derivatives.
E x p a n d i n g y(x + h) by Taylor's series m e t h o d
...(1.6.1.a)
O n simplifying
y'(x) = y ' " ^ ' ' > - " ' " ' + 0(h) ...(1.6.2)
h
which is forward difference approximations for y'(x),
similarly expanding y(x - h) by Taylor's series m e t h o d , we
have
...(1.6.1.b)
from which we obtain
15
It is clear t h a t equation (1.6.4) is better approximation
to y'(x) than equation (1.6.2) and (1.6.3). On adding
equation (1.6.1a) a n d (1.6.1b), we get a n approximation for
y'Cx)
y(x-h)-2y(x)+y(x + h) , ^,^2-
^„^^^ ^ ^.-..j-.yy.j-ry,.^..j ^ ^^^2^ ...(1.6.5)
1
= ^' " ^'-^ + 0(h) ...(1.6.3a)
h
1
Yi =
= y i + i - yi-i + o(h^) ...(1.6.4a)
2h ^ ^
_ Yi-i- 2 y i + yj+i
Yi = 0(h2) ...(1.6.5a)
16
The points of intersecting of t h e s e families of line are
called m e s h points, lattice p o i n t s or grid points. T h e n we
have, from above equation, e q u a t i o n (1.6. 2a) becomes
E q u a t i o n (1.6.4a) b e c o m e s
E q u a t i o n (1.6.5) becomes
u„ = "'-'•^"""/"'^'•^ + 0{h^) ...(1.6.9)
h
Similarly, we have t h e approximation w. r. t psirtial
derivative y a s
Uy = ^ ^ ^ + 0(k) ...(1.6.6a)
And
U; j , - 2U: j + Uj j , , ,
Uyy = -^^J-^ f '-^^^ + 0 ( k 2 ) ...(1.6.9a)
17
1.7 CLASSIFICATION OF PARTIAL DIFFERENTIAL
EQUATION :
An equation which involves partial derivatives of a n
u n k n o w n function of two or more i n d e p e n d e n t variables is
called a partial differential equation. These e q u a t i o n s arise
in connection with numerous physical and geometric
problems.
A partial differential equation can be classified
according to various properties. Some of t h e characteristic
properties are a s follows:
The order is the order of the highest derivatives t h a t
a p p e a r s in t h e equation, the dimension is t h e n u m b e r of
i n d e p e n d e n t variables in the equation, sometimes for initial
value problems, dimension refers to t h e n u m b e r of "Space"
variables while "time" is not counted. An equation is said to
be linear if it is linear in t h e u n k n o w n variable a n d its
derivatives. A n o n linear differential equation which is linear
in t h e derivatives of the u n k n o w n function is sometimes
referred to a s quasilinear.
The general second - order linear PDE is of t h e form
18
If As <0 at a point in (x, y) plane, the equation is said
to be of elliptic type, to be of hyperbolic type when As>0 at
that point and to be of parabolic type when As = 0 .
The particular cases of equation (1.7.1) namely
^xx + '^yy - ^ (The lap lace equation) ...(1.7,2)
19
"t = C^(UxX+Uyy+U,j
Utt = C ^ ( U x x + U y y )
Utt = C ^ ( U x x + U y y + U , J
20
differential equation. In short for solution this thesis reflects
numerical experience with spline function as interpolate to
some physical problems, which are of particular interest in
the present work. It is well known fact that the integral
equations have also become the part of the study of certain
physical phenomena. The applications to solve the integral
equations are also sought. One can hopefully proceed in
this area. These will enlarge the dimensions of the
applicability of spline functions.
21