PREMA Internal 3rd Sem
PREMA Internal 3rd Sem
INTERNAL ASSESSMENT
1 Introduction
The finite difference approximations for derivatives are one of this Simplest and of the
oldest methods to solve differential equations. It was already know by L. Euler (1707-
1783) ca. 1768, in one dimension of space and was Probably entered to dimension by two
C. Runge (1856-1927) ca. 1908. The advent of finite difference techniques in numerical
applications began in the early 1950s.
h2 ′′
y(x + h) = y(u) + hy ′ (x) + y (x) + . . . (1)
2!
h2 ′′
y(x − h) = y(u) − hy ′ (x) + y (x) − . . . (2)
2!
2h2 ′′
y(x + h) = y(u) + 2hy ′ (x) + y (x) + . . . (3)
2!
2h2 ′′
y(x − h) = y(u) − 2hy ′ (x) + y (x) − . . . (4)
2!
1
(a) Forward Difference.
yi+1 − yi
y ′ (xi ) = + O(h)
h
yi+2 − 2yi+1 + yi
y ′′ (xi ) = + O(h)
h
yi − yi−1
y ′ (xi ) = + O(h)
h
y1 − 2yi−1 + yi−2
y ′′ (xi ) = + O(h)
h
yi+1 − yi−1
y ′ (xi ) = + O(h2 )
2h
2
order derivative is given by At x = xi (i = 1, 2, . . .), we have
d2 y dy
+ p(x) + q(x)y = r(x), a ≤ x ≤ b
dx2 dx
or, y ′′ + p(x)y ′ + q(x)y = r(x), a ≤ x ≤ b
Where the functions p(x), q(x) and r(x) are continuous functions of x.
Let the boundary conditions at the boundary points (x = a and x = b) be given by
l1 y(a) + m1 y ′ (a) = n1
l2 y(a) + m2 y ′ (a) = n2
Where li , mi , ni ; i = 1, 2 are constant. Thus We have following two particular cases for
the boundary condition:
Case-1 : Let mi = 0, then the boundary condition is said to be of Dirichlet type.
In this case, only function value is prescribed on the boundary.
Case-2 : Let li = 0, then the of condition is said to be of Ncumann type.
In this case, the boundary condition contains any the valve of y ′ .
References
[1] Rajesh Kumar Gupta. Numerical Methods: Fundamentals and Applications. Cam-
bridge University Press, 2019.
[3] J.F. Epperson. An Introduction to Numerical Methods and Analysis. Wiley, 2013