SlideShare a Scribd company logo
1 of 34
TRIPURA MATHEMATICAL
ASSOCIATION
National Mathematical Webinar 2021
Numerical analysis and its application to Boundary
Value Problems
- Gobinda Debnath
(Research Scholar, MNNIT)
gobinda.2021rma02@mnnit.ac.in
MOTIVATION
β€’ We all know some basics about Numerical Analysis.
β€’ What you could think when you first heard about its application to
Boundary Value Problems.
β€’ We first know about Boundary Value Problems.
β€’ Then we must figure out where is the discrepancy for which
Numerical methods came into existence in BVP (Boundary Value
Problems).
β€’ Then we will see how Numerical methods are applicable to BVP,
what are the techniques and what happens to the solutions of BVP.
BOUNDARY VALUE
PROBLEM (BVP)
β€’ In the field of Differential Equations, a BVP is a Differential Equation
together with a set of additional constraints, called the boundary
conditions. And boundary value problem has conditions specified at
the extremes ("boundaries") of the independent variable in the
equation.
β€’ An example of BVP (in one Spatial dimension)
𝑦′′
π‘₯ + 𝑦 π‘₯ = 0
B.C., 𝑦 0 = 0, 𝑦
πœ‹
2
= 2.
β€’ A solution to BVP, is a solution to the DE which also satisfies the
boundary conditions.
β€’ To be useful in applications, a BVP should be well posed.
β€’ By well posed we mean that given the input to the problems there
exists a unique solution, which depends continuously on the input.
A real life example of BVP
Problem: The conservation of heat can be used to develop a heat balance for a long, thin rod. A
non-insulated uniform rod positioned between two bodies of constant but different temperature.
For this case 𝑇1 > 𝑇2 and 𝑇2 > π‘‡π‘Ž
And the heat (temperature) distribution in the rod is governed by the equation
β…†2𝑇
β…†π‘₯2 + β„Žβ€² π‘‡π‘Ž βˆ’ 𝑇 = 0 (1)
where β„Žβ€²
is a heat transfer coefficient (π‘šβˆ’2
) that parameterizes the rate of heat dissipation to the
surrounding air and π‘‡π‘Ž is the temperature of the surrounding air (in Celsius, C).
To obtain a solution for Eq. (1), there must be appropriate boundary conditions. A simple case is
where the temperatures at the ends of the bar are held at fixed values. These can be expressed
mathematically as
𝑇 0 = 𝑇1, 𝑇 L = 𝑇2
With these conditions. Eq. (1) can be solved analytically using calculus. For a 10 m rod with
π‘‡π‘Ž = 20, 𝑇1 = 40, 𝑇2 = 200, and β„Žβ€² = 0.01, the solution is
𝑇 = 73.4523𝑒0.1π‘₯
βˆ’ 53.4523π‘’βˆ’0.1π‘₯
+ 20 (2)
β€’ So in real life we have the DE which describe the Physical Systems. Example:
Fluid dynamics, aerodynamics, Biological System and many more.
β€’ And that DE in most cases does not have the closure form of solution or
Analytical solution.
β€’ Example in fluid dynamics most of the DE which describes fluid flows
doesn’t have closure form of solution.
β€’ In such cases what we have to do?
β€’ Approximate these solution of the governing equations for the physical
system Numerically.
β€’ Now numerically we mean approximate the solutions at discrete points in the
Domain of the problem.
β€’ So today I will explain one such numerical method namely Finite Difference
Method (FDM).
β€’ This completes motivation.
Finite Difference Method
β€’ The finite difference method is one of the traditional technique to reduce the
given Differential Equation to Difference Equation.
𝐷𝐸
π·π‘–π‘ π‘π‘Ÿπ‘’π‘‘π‘–π‘§π‘Žπ‘‘π‘–π‘œπ‘›
𝐴𝐷𝐸
Differential Equation οƒ  Algebraic Difference Equation
β€’ The process by which we are transforming the DE to ADE it is called the
Discretization.
β€’ There are other different traditional methods to convert this DE to Difference
Equation, namely
β€’ Finite Volume Method (FVM), Finite Element Method (FEM), Boundary
Element Method (BEM) etc.
Discretization
β€’ Taylor’s Theorem: If the function 𝑓 its first (n+1) derivatives are continuous on an
interval containing a and x, then the value of the function at x is given by
β€’ 𝑓 π‘₯ = 𝑓 π‘Ž + 𝑓′ π‘Ž π‘₯ βˆ’ π‘Ž +
𝑓′′ π‘Ž
2!
(π‘₯ βˆ’ π‘Ž)2+ . . . +
𝑓n π‘Ž
n!
(π‘₯ βˆ’ π‘Ž)𝑛+𝑅𝑛 --(3)
where 𝑅𝑛 = π‘Ž
π‘₯ (π‘₯βˆ’π‘‘)𝑛
n!
𝑓(n+1) 𝑑 𝑑𝑑 --- (4)
β€’ An alternate formulation for remainder 𝑅𝑛 can be derived on the basis of the integral
mean value theorem. We get
𝑅𝑛 =
𝑓(n+1) πœ€
(n+1)!
(π‘₯ βˆ’ π‘Ž)(𝑛+1)
----(5)
β€’ A useful way to gain insight into the Taylor series is to build it term by term. For
example the first term in the series is
𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 --- (6)
β€’ This relationship, (6) is called the zero-order approximation, indicates that the value
of 𝑓 at the new point is same as its value at old.
β€’ Equation (6) provides a perfect estimate if the function being approximated is, in fact,
a constant.
β€’ Similarly, by adding one and two, more term to get the first-order and second order
approximation respectively. i.e.,
𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 + 𝑓′
π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 and
𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 + 𝑓′
π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 +
𝑓′′ π‘₯𝑖
2!
(π‘₯𝑖+1 βˆ’ π‘₯𝑖)2
β€’ In a similar manner, additional terms can be included to develop the complete Taylor series
expansion:
𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′
π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 +
𝑓′′ π‘₯𝑖
2!
π‘₯𝑖+1 βˆ’ π‘₯𝑖
2
+ . . . +
𝑓n π‘₯𝑖
n!
(π‘₯𝑖+1 βˆ’ π‘₯𝑖)𝑛
+𝑅𝑛
where, 𝑅𝑛 =
𝑓(n+1) πœ€
(n+1)!
(π‘₯𝑖+1 βˆ’ π‘₯𝑖)(𝑛+1)
(6.1)
β€’ It is often convenient to simplify the Taylor series by defining a step size β„Ž = π‘₯𝑖+1 βˆ’ π‘₯𝑖 and
expressing as
𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′
π‘₯𝑖 β„Ž +
𝑓′′ π‘₯𝑖
2!
β„Ž2
+ . . . +
𝑓n π‘₯𝑖
n!
β„Žπ‘›
+ 𝑅𝑛 --(7)
where the remainder term is now, 𝑅𝑛 =
𝑓(n+1) πœ€
(n+1)!
β„Žπ‘›+1
--(8)
β€’ In general, the nth-order Taylor series expansion will be exact for an nth-order polynomial.
For other differentiable and continuous functions, such as exponentials and sinusoids, a
finite number of terms will not yield an exact estimate. Each additional term will contribute
some improvement, however slight, to the approximation.
β€’ The assessment of how many terms are required to get β€œclose enough” is based on the
remainder term of the expansion.
β€’ This relationship (8) has two major drawbacks. First, πœ€ is not known exactly but
merely lies somewhere between π‘₯𝑖 and π‘₯𝑖+1. Second, to evaluate Eq. (8), we need to
determine the (n + 1) th derivative of 𝑓 π‘₯ . To do this, we need to know 𝑓 π‘₯ .
However, if we knew 𝑓 π‘₯ , there would be no need to perform the Taylor series
expansion in the present context!
β€’ Despite this dilemma, Eq. (8) is still useful for gaining insight into truncation errors.
This is because we do have control over the term h in the equation. In other words,
we can choose how far away from x we want to evaluate 𝑓 π‘₯ , and we can control
the number of terms we include in the expansion. Consequently, Eq. (8) is usually
expressed as
𝑅𝑛 = 𝑂(β„Žπ‘›+1) (10)
β€’ Where the nomenclature 𝑂(β„Žπ‘›+1
) means that the truncation error is of the order of β„Žπ‘›+1
.
That is, the error is proportional to the step size h raised to the (n + l)th power. Although this
approximation implies nothing regarding the magnitude of the derivatives that multiply β„Žπ‘›+1,
it is extremely useful in judging the comparative error of numerical methods based on Taylor
series expansions. For example, if the error is O(h), halving the step size will halve the error.
On the other hand, if the error is O(β„Ž2), halving the step size will quarter the error.
β€’ Now using the Taylor Series we will Estimate Truncation Errors.
β€’ Let v(t) some function which can be expanded in a Taylor series:
𝑣 𝑑𝑖+1 = 𝑣 𝑑 + 𝑣′ 𝑑𝑖 𝑑𝑖+1 βˆ’ 𝑑𝑖 +
𝑣′′
𝑑𝑖
2!
𝑑𝑖+1 βˆ’ 𝑑𝑖
2+ . . . +𝑅𝑛
β€’ Now let us truncate the series after the first derivative term:
𝑣 𝑑𝑖+1 = 𝑣 𝑑 + 𝑣′
𝑑𝑖 𝑑𝑖+1 βˆ’ 𝑑𝑖 + 𝑅1
π‘œπ‘Ÿ, 𝑣′
𝑑𝑖 =
𝑣 𝑑𝑖+1 βˆ’ 𝑣 𝑑𝑖
𝑑𝑖+1 βˆ’ 𝑑𝑖
βˆ’
𝑅1
𝑑𝑖+1 βˆ’ 𝑑𝑖
(11)
1st order-approx. Truncation error
β€’ because of the Taylor series approach, we have now obtained an estimate of the truncation
error associated with this approximation of the derivative. Using Eqs. (6.1) and (11) yields
𝑅1
𝑑𝑖+1 βˆ’ 𝑑𝑖
=
𝑣′′
πœ€
2!
𝑑𝑖+1 βˆ’ 𝑑𝑖 12
π‘œπ‘Ÿ,
𝑅1
𝑑𝑖+1 βˆ’ 𝑑𝑖
= 𝑂 𝑑𝑖+1 βˆ’ 𝑑𝑖 13
β€’ In other words, the error of our derivative approximation should be proportional to the step
size. Consequently, if we halve the step size, we would expect to halve the error of the
derivative.
Numerical
Differentiation
β€’ Equation (11) is given a formal label in numerical methodsβ€”it is called a finite divided
difference. It can be represented generally as.
𝑓′ π‘₯𝑖 =
𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯𝑖
π‘₯𝑖+1 βˆ’ π‘₯𝑖
+ 𝑂 π‘₯𝑖+1 βˆ’ π‘₯𝑖 14
𝑓′
π‘₯𝑖 =
βˆ†π‘“π‘–
β„Ž
+ 𝑂 β„Ž (15)
β€’ where βˆ†π‘“π‘– is referred to as the first forward difference and h is called the step size, that is, the
length of the interval over which the approximation is made. It is termed a β€œforward”
difference because it utilizes data at i and i + 1 to estimate the derivative (Fig a). The entire
term
βˆ†π‘“π‘–
β„Ž
is referred to as a first finite divided difference.
β€’ This forward divided difference is but one of many that can be developed from the Taylor
series to approximate derivatives numerically. For example, backward and central difference
approximations of the first derivative can be developed in a fashion similar to the derivation of
Eq. (11).
β€’ Backward Difference Approximation of the First Derivative: The Taylor series can be
expanded backward to calculate a previous value on the basis of a present value, as in
𝑓 π‘₯π‘–βˆ’1 = 𝑓 π‘₯𝑖 βˆ’ 𝑓′ π‘₯𝑖 β„Ž +
𝑓′′ π‘₯𝑖
2!
β„Ž2βˆ’ . . . (16)
β€’ Truncating this equation after the first derivative and rearranging yields
𝑓′
π‘₯𝑖 β‰…
𝑓 π‘₯𝑖 βˆ’ 𝑓 π‘₯π‘–βˆ’1
β„Ž
=
𝛻𝑓𝑖
β„Ž
(17)
β€’ where the error is O(h), and 𝛻𝑓𝑖 is referred to as the first backward difference. See Fig. b for a
graphical representation.
β€’ Central Difference Approximation of the First Derivative: A third way to approximate the
first derivative is to subtract Eq. (16) from the forward Taylor series expansion:
𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 β„Ž +
𝑓′′ π‘₯𝑖
2!
β„Ž2+ . . . (17.1)
β€’ To yield
𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1 = 2𝑓′ π‘₯𝑖 β„Ž +
2𝑓3
π‘₯𝑖
3!
β„Ž3+ . . .
β€’ Which can be solved for
𝑓′ π‘₯𝑖 =
𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1
2β„Ž
βˆ’
𝑓3
π‘₯𝑖
6
β„Ž2+ . .
π‘œπ‘Ÿ, 𝑓′
π‘₯𝑖 =
𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1
2β„Ž
βˆ’ 𝑂 β„Ž2
(18)
β€’ Equation (18) is a centered difference representation of the first derivative. Notice that the
truncation error is of the order of β„Ž2
in contrast to the forward and backward approximations
that were of the order of β„Ž. Consequently, the Taylor series analysis yields the practical
information that the centered difference is a more accurate representation of the derivative. See
(Fig. c). For example, if we halve the step size using a forward or backward difference, we
would approximately halve the truncation error, whereas for the central difference, the error
would be quartered.
β€’ Finite Difference Approximations of Higher Derivatives: Besides first
derivatives, the Taylor series expansion can be used to derive numerical estimates of
higher derivatives. To do this, we write a forward Taylor series expansion for
𝑓 π‘₯𝑖+2 in terms of 𝑓 π‘₯𝑖 :
𝑓 π‘₯𝑖+2 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 2β„Ž +
𝑓′′ π‘₯𝑖
2!
2β„Ž 2+ . . . 19
β€’ Equation (17.1) can be multiplied by 2 and subtracted from Eq. (19) to give
𝑓 π‘₯𝑖+2 βˆ’ 2𝑓 π‘₯𝑖+1 = βˆ’π‘“ π‘₯𝑖 + 𝑓′′
π‘₯𝑖 β„Ž2
+ 𝑓′′′
π‘₯𝑖 β„Ž3
+ . . .
β€’ Which can be solved for
𝑓′′ π‘₯𝑖 =
𝑓 π‘₯𝑖+2 βˆ’ 2𝑓 π‘₯𝑖+1 + 𝑓 π‘₯𝑖
β„Ž2
+ 𝑂 β„Ž 20
β€’ Similar manipulations can be employed to derive a backward and central version
π‘π‘Žπ‘π‘˜π‘€π‘Žπ‘Ÿπ‘‘, 𝑓′′
π‘₯𝑖 =
𝑓 π‘₯𝑖 βˆ’ 2𝑓 π‘₯π‘–βˆ’1 + 𝑓 π‘₯π‘–βˆ’2
β„Ž2
+ 𝑂 β„Ž (21)
π‘π‘’π‘›π‘‘π‘Ÿπ‘Žπ‘™, 𝑓′′ π‘₯𝑖 =
𝑓 π‘₯𝑖+1 βˆ’ 2𝑓 π‘₯𝑖 + 𝑓 π‘₯π‘–βˆ’1
β„Ž2
+ 𝑂 β„Ž2 (22)
β€’ As was the case with the first-derivative approximations, the centered case is more
accurate.
Figure 2: Backward finite-divided difference Formulas: two versions are presented
for each derivative. The latter version incorporates more terms of the Taylor series
expansion and is, consequently, more accurate.
Figure 2: Backward finite-divided difference Formulas: two versions are presented
for each derivative. The latter version incorporates more terms of the Taylor series
expansion and is, consequently, more accurate.
Application to BVP
Problem: The conservation of heat can be used to develop a heat balance for a long, thin rod. A
non-insulated uniform rod positioned between two bodies of constant but different temperature.
For this case 𝑇1 > 𝑇2 and 𝑇2 > π‘‡π‘Ž
And the heat (temperature) distribution is governed by the equation
β…†2𝑇
β…†π‘₯2 + β„Žβ€² π‘‡π‘Ž βˆ’ 𝑇 = 0 (1)
where β„Žβ€²
is a heat transfer coefficient (π‘šβˆ’2
) that parameterizes the rate of heat dissipation to the
surrounding air and π‘‡π‘Ž is the temperature of the surrounding air (in Celsius, C).
To obtain a solution for Eq. (1), there must be appropriate boundary conditions. A simple case is
where the temperatures at the ends of the bar are held at fixed values. These can be expressed
mathematically as
𝑇 0 = 𝑇1, 𝑇 L = 𝑇2
With these conditions. Eq. (1) can be solved analytically using calculus. For a 10 m rod with
π‘‡π‘Ž = 20, 𝑇1 = 40, 𝑇2 = 200, and β„Žβ€² = 0.01, the solution is
𝑇 = 73.4523𝑒0.1π‘₯
βˆ’ 53.4523π‘’βˆ’0.1π‘₯
+ 20 (2)
β€’ Finite-Difference Methods:
β€’ In these techniques, finite divided differences are substituted for the derivatives in the
original equation. Thus, a linear differential equation is transformed into a set of
simultaneous algebraic equations that can be solved using different known numerical
methods
β€’ Now we have this governing equation
β…†2
𝑇
β…†π‘₯2
+ β„Žβ€²
π‘‡π‘Ž βˆ’ 𝑇 = 0 (24)
β€’ the finite-divided-difference approximation for the second derivative is
β…†2
𝑇
β…†π‘₯2 =
𝑇𝑖+1 βˆ’ 2𝑇𝑖 + π‘‡π‘–βˆ’1
βˆ†π‘₯2
β€’ This approximation can be substituted into Eq. (24) to give
𝑇𝑖+1 βˆ’ 2𝑇𝑖 + π‘‡π‘–βˆ’1
βˆ†π‘₯2 βˆ’ β„Žβ€² 𝑇𝑖 βˆ’ π‘‡π‘Ž = 0
β€’ Collecting terms gives
βˆ’π‘‡π‘–βˆ’1 + 2 + β„Žβ€²
βˆ†π‘₯2
𝑇𝑖 βˆ’ 𝑇𝑖+1 = β„Žβ€²
βˆ†π‘₯2
π‘‡π‘Ž
β€’ This equation applies for each of the interior nodes of the rod. The first and last interior
nodes, π‘‡π‘–βˆ’1 and 𝑇𝑖+1, respectively, are specified by the boundary conditions. Therefore,
the resulting set of linear algebraic equations will be tridiagonal.
β€’ Problem Statement: Use the finite-difference approach to solve the same problem as in
above, For a 10 m rod with π‘‡π‘Ž = 20, 𝑇(0) = 40, 𝑇(10)= 200, and β„Žβ€² = 0.01 , Using
four interior nodes with a segment length of βˆ†π‘₯ = 2π‘š
β€’ Using βˆ’π‘‡π‘–βˆ’1 + 2 + β„Žβ€²βˆ†π‘₯2 𝑇𝑖 βˆ’ 𝑇𝑖+1 = β„Žβ€²βˆ†π‘₯2π‘‡π‘Ž we have
2.04 βˆ’1 0 0
βˆ’1 2.04 βˆ’1 0
0 βˆ’1 2.04 βˆ’1
0 0 βˆ’1 2.04
𝑇1
𝑇2
𝑇3
𝑇4
=
40.8
0
0
200.8
β€’ There are several numerical techniques to solve above system of linear equations, name
Tri-Diagonal Matrix Algorithm (TDMA) {Gauss elimination}, Gauss seidel, LU
decompositions etc.
β€’ which can be solved for 𝑇 𝑑 = 65.9698 93.7785 124.5382 159.4795
β€’ Comparison of the exact analytical solution with the finite difference methods.
Exact analytical solution is given by 𝑇 = 73.4523𝑒0.1π‘₯ βˆ’ 53.4523π‘’βˆ’0.1π‘₯ + 20
x True Finite Difference
0 40 40
2 65.9518 65.9698
4 93.7478 93.7785
6 124.5036 124.5382
8 159.4534 159.4795
10 200 200
β€’ Similarly we can solve
β€’ Laplace equation (steady state with two spatial dimensions)
πœ•2𝑇
πœ•π‘₯2 +
πœ•2𝑇
πœ•π‘¦2 = 0
β€’ Heat conduction equation (time variable with one spatial dimension)
πœ•π‘‡
πœ•π‘‘
= π‘˜β€²
πœ•2
𝑇
πœ•π‘₯2
β€’ Wave equation (time variable with one spatial dimension)
πœ•2
𝑦
πœ•π‘₯2
=
1
𝑐2
πœ•2
𝑦
πœ•π‘‘2
β€’ There are several different schemes for Finite Difference Method, Namely,
β€’ FTFS (Forward Time Forward Space), FTCS (Forward Time Central Space), CTCS(
Central Time Central Space) etc.
β€’ Depending upon the governing Equation given in problem and their Consistency,
Stability analysis and convergence criteria we use them appropriately.
β€’ Consistency: when, βˆ†π’™, βˆ†π’š β†’ 𝟎 then
Numerical solutions β†’ Exact solution
β€’ Error should not be magnified
𝝐𝒏+𝟏 ≀ 𝝐𝒏
β€’ Convergence Criteria
Error ≀ πŸπŸŽβˆ’πŸ“
Conclusions
β€’ Most of the physical system application is governed by some DE.
β€’ All of them do not have closed form/analytical for of solution or difficult to
solve analytically.
β€’ Numerical approximation approaches to BVP are being used nowadays.
β€’ Taylor’s Theorem has a significant role in writing DE in Algebraic difference
equation form.
β€’ Discretization is the process by which we convert DE to ADE.
β€’ We can have different order of accuracy for same order derivative depending
upon different Newton Difference Formula.
β€’ We can increase the order of accuracy by decreasing step size.
β€’ According to Stability analysis for the governing equation of the problem
through different FDM schemes we choose which one to be use to solve the
problem.
β€’ So this is the one way that, how NA is applicable to BVP.
Thank you
Numerical Analysis and Its application to Boundary Value Problems

More Related Content

What's hot

Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method Bhavik Vashi
Β 
03 truncation errors
03 truncation errors03 truncation errors
03 truncation errorsmaheej
Β 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve Mukuldev Khunte
Β 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceMohammad Tawfik
Β 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler methodSohaib Butt
Β 
Engineering Numerical Analysis Lecture-1
Engineering Numerical Analysis Lecture-1Engineering Numerical Analysis Lecture-1
Engineering Numerical Analysis Lecture-1Muhammad Waqas
Β 
Finite DIfference Methods Mathematica
Finite DIfference Methods MathematicaFinite DIfference Methods Mathematica
Finite DIfference Methods Mathematicaguest56708a
Β 
Iterative methods
Iterative methodsIterative methods
Iterative methodsKetan Nayak
Β 
shooting method with Range kutta method
shooting method with Range kutta methodshooting method with Range kutta method
shooting method with Range kutta methodSetuThacker
Β 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value ProblemsMohammad Tawfik
Β 
newton raphson method
newton raphson methodnewton raphson method
newton raphson methodYogesh Bhargawa
Β 
Lu decomposition
Lu decompositionLu decomposition
Lu decompositiongilandio
Β 
Numerical Differentiations Solved examples
Numerical Differentiations Solved examplesNumerical Differentiations Solved examples
Numerical Differentiations Solved examplesDevelopedia
Β 
Secent method
Secent methodSecent method
Secent methodritu1806
Β 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex VariablesSolo Hermelin
Β 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsmuhammadabullah
Β 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
Β 
Secant method
Secant methodSecant method
Secant methodZahra Saman
Β 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical AnalysisMostafijur Rahman
Β 

What's hot (20)

Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
Β 
Numerical Method 2
Numerical Method 2Numerical Method 2
Numerical Method 2
Β 
03 truncation errors
03 truncation errors03 truncation errors
03 truncation errors
Β 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve
Β 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite Difference
Β 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
Β 
Engineering Numerical Analysis Lecture-1
Engineering Numerical Analysis Lecture-1Engineering Numerical Analysis Lecture-1
Engineering Numerical Analysis Lecture-1
Β 
Finite DIfference Methods Mathematica
Finite DIfference Methods MathematicaFinite DIfference Methods Mathematica
Finite DIfference Methods Mathematica
Β 
Iterative methods
Iterative methodsIterative methods
Iterative methods
Β 
shooting method with Range kutta method
shooting method with Range kutta methodshooting method with Range kutta method
shooting method with Range kutta method
Β 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
Β 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
Β 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
Β 
Numerical Differentiations Solved examples
Numerical Differentiations Solved examplesNumerical Differentiations Solved examples
Numerical Differentiations Solved examples
Β 
Secent method
Secent methodSecent method
Secent method
Β 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex Variables
Β 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
Β 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
Β 
Secant method
Secant methodSecant method
Secant method
Β 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical Analysis
Β 

Similar to Numerical Analysis and Its application to Boundary Value Problems

Numerical differentiation and integration
Numerical differentiation and integrationNumerical differentiation and integration
Numerical differentiation and integrationBektu Dida
Β 
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving beltAnalysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving beltVarun Jadhav
Β 
Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Eqah Ihah
Β 
Applied Algorithms and Structures week999
Applied Algorithms and Structures week999Applied Algorithms and Structures week999
Applied Algorithms and Structures week999fashiontrendzz20
Β 
Optimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsOptimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsSantiagoGarridoBulln
Β 
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxCALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxRAHUL126667
Β 
Formal expansion method for solving an electrical circuit model
Formal expansion method for solving an electrical circuit modelFormal expansion method for solving an electrical circuit model
Formal expansion method for solving an electrical circuit modelTELKOMNIKA JOURNAL
Β 
Some Remarks and Propositions on Riemann Hypothesis
Some Remarks and Propositions on Riemann HypothesisSome Remarks and Propositions on Riemann Hypothesis
Some Remarks and Propositions on Riemann HypothesisJamal Salah
Β 
A Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary ConditionA Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary ConditionIJMERJOURNAL
Β 
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...mathsjournal
Β 
Delay-Differential Equations. Tools for Epidemics Modelling
Delay-Differential Equations. Tools for Epidemics ModellingDelay-Differential Equations. Tools for Epidemics Modelling
Delay-Differential Equations. Tools for Epidemics ModellingIgnasi Gros
Β 
GREKing: The most repeated type of quants problem.
GREKing: The most repeated type of quants problem.GREKing: The most repeated type of quants problem.
GREKing: The most repeated type of quants problem.Rahul Singh
Β 
new math seminar paper
new math seminar papernew math seminar paper
new math seminar paperCharlesha Simmons
Β 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfJifarRaya
Β 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdfJifarRaya
Β 
Term project
Term projectTerm project
Term projectMark Brandao
Β 
MT102 Π›Π΅ΠΊΡ† 10
MT102 Π›Π΅ΠΊΡ† 10MT102 Π›Π΅ΠΊΡ† 10
MT102 Π›Π΅ΠΊΡ† 10ssuser184df1
Β 
lecture-3 laplce and poisson.pptx .
lecture-3 laplce and poisson.pptx                .lecture-3 laplce and poisson.pptx                .
lecture-3 laplce and poisson.pptx .happycocoman
Β 

Similar to Numerical Analysis and Its application to Boundary Value Problems (20)

Numerical differentiation and integration
Numerical differentiation and integrationNumerical differentiation and integration
Numerical differentiation and integration
Β 
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving beltAnalysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
Β 
Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)
Β 
Matlab lab.pdf
Matlab lab.pdfMatlab lab.pdf
Matlab lab.pdf
Β 
Applied Algorithms and Structures week999
Applied Algorithms and Structures week999Applied Algorithms and Structures week999
Applied Algorithms and Structures week999
Β 
Optimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsOptimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methods
Β 
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxCALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
Β 
doc
docdoc
doc
Β 
Formal expansion method for solving an electrical circuit model
Formal expansion method for solving an electrical circuit modelFormal expansion method for solving an electrical circuit model
Formal expansion method for solving an electrical circuit model
Β 
Some Remarks and Propositions on Riemann Hypothesis
Some Remarks and Propositions on Riemann HypothesisSome Remarks and Propositions on Riemann Hypothesis
Some Remarks and Propositions on Riemann Hypothesis
Β 
A Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary ConditionA Non Local Boundary Value Problem with Integral Boundary Condition
A Non Local Boundary Value Problem with Integral Boundary Condition
Β 
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
A Probabilistic Algorithm for Computation of Polynomial Greatest Common with ...
Β 
Delay-Differential Equations. Tools for Epidemics Modelling
Delay-Differential Equations. Tools for Epidemics ModellingDelay-Differential Equations. Tools for Epidemics Modelling
Delay-Differential Equations. Tools for Epidemics Modelling
Β 
GREKing: The most repeated type of quants problem.
GREKing: The most repeated type of quants problem.GREKing: The most repeated type of quants problem.
GREKing: The most repeated type of quants problem.
Β 
new math seminar paper
new math seminar papernew math seminar paper
new math seminar paper
Β 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
Β 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
Β 
Term project
Term projectTerm project
Term project
Β 
MT102 Π›Π΅ΠΊΡ† 10
MT102 Π›Π΅ΠΊΡ† 10MT102 Π›Π΅ΠΊΡ† 10
MT102 Π›Π΅ΠΊΡ† 10
Β 
lecture-3 laplce and poisson.pptx .
lecture-3 laplce and poisson.pptx                .lecture-3 laplce and poisson.pptx                .
lecture-3 laplce and poisson.pptx .
Β 

Recently uploaded

Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSΓ©rgio Sacani
Β 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
Β 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfSumit Kumar yadav
Β 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
Β 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
Β 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptxryanrooker
Β 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)AkefAfaneh2
Β 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
Β 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspectsmuralinath2
Β 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptRakeshMohan42
Β 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxSuji236384
Β 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusNazaninKarimi6
Β 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
Β 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
Β 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxseri bangash
Β 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY1301aanya
Β 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
Β 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
Β 
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfSumit Kumar yadav
Β 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Silpa
Β 

Recently uploaded (20)

Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Β 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Β 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
Β 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
Β 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Β 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
Β 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
Β 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Β 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
Β 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.ppt
Β 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
Β 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
Β 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
Β 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
Β 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
Β 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
Β 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
Β 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
Β 
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdfChemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
Β 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
Β 

Numerical Analysis and Its application to Boundary Value Problems

  • 1. TRIPURA MATHEMATICAL ASSOCIATION National Mathematical Webinar 2021 Numerical analysis and its application to Boundary Value Problems - Gobinda Debnath (Research Scholar, MNNIT) gobinda.2021rma02@mnnit.ac.in
  • 2. MOTIVATION β€’ We all know some basics about Numerical Analysis. β€’ What you could think when you first heard about its application to Boundary Value Problems. β€’ We first know about Boundary Value Problems. β€’ Then we must figure out where is the discrepancy for which Numerical methods came into existence in BVP (Boundary Value Problems). β€’ Then we will see how Numerical methods are applicable to BVP, what are the techniques and what happens to the solutions of BVP.
  • 4. β€’ In the field of Differential Equations, a BVP is a Differential Equation together with a set of additional constraints, called the boundary conditions. And boundary value problem has conditions specified at the extremes ("boundaries") of the independent variable in the equation. β€’ An example of BVP (in one Spatial dimension) 𝑦′′ π‘₯ + 𝑦 π‘₯ = 0 B.C., 𝑦 0 = 0, 𝑦 πœ‹ 2 = 2. β€’ A solution to BVP, is a solution to the DE which also satisfies the boundary conditions. β€’ To be useful in applications, a BVP should be well posed. β€’ By well posed we mean that given the input to the problems there exists a unique solution, which depends continuously on the input.
  • 5.
  • 6. A real life example of BVP
  • 7. Problem: The conservation of heat can be used to develop a heat balance for a long, thin rod. A non-insulated uniform rod positioned between two bodies of constant but different temperature. For this case 𝑇1 > 𝑇2 and 𝑇2 > π‘‡π‘Ž And the heat (temperature) distribution in the rod is governed by the equation β…†2𝑇 β…†π‘₯2 + β„Žβ€² π‘‡π‘Ž βˆ’ 𝑇 = 0 (1) where β„Žβ€² is a heat transfer coefficient (π‘šβˆ’2 ) that parameterizes the rate of heat dissipation to the surrounding air and π‘‡π‘Ž is the temperature of the surrounding air (in Celsius, C). To obtain a solution for Eq. (1), there must be appropriate boundary conditions. A simple case is where the temperatures at the ends of the bar are held at fixed values. These can be expressed mathematically as 𝑇 0 = 𝑇1, 𝑇 L = 𝑇2 With these conditions. Eq. (1) can be solved analytically using calculus. For a 10 m rod with π‘‡π‘Ž = 20, 𝑇1 = 40, 𝑇2 = 200, and β„Žβ€² = 0.01, the solution is 𝑇 = 73.4523𝑒0.1π‘₯ βˆ’ 53.4523π‘’βˆ’0.1π‘₯ + 20 (2)
  • 8. β€’ So in real life we have the DE which describe the Physical Systems. Example: Fluid dynamics, aerodynamics, Biological System and many more. β€’ And that DE in most cases does not have the closure form of solution or Analytical solution. β€’ Example in fluid dynamics most of the DE which describes fluid flows doesn’t have closure form of solution. β€’ In such cases what we have to do? β€’ Approximate these solution of the governing equations for the physical system Numerically. β€’ Now numerically we mean approximate the solutions at discrete points in the Domain of the problem. β€’ So today I will explain one such numerical method namely Finite Difference Method (FDM). β€’ This completes motivation.
  • 10. β€’ The finite difference method is one of the traditional technique to reduce the given Differential Equation to Difference Equation. 𝐷𝐸 π·π‘–π‘ π‘π‘Ÿπ‘’π‘‘π‘–π‘§π‘Žπ‘‘π‘–π‘œπ‘› 𝐴𝐷𝐸 Differential Equation οƒ  Algebraic Difference Equation β€’ The process by which we are transforming the DE to ADE it is called the Discretization. β€’ There are other different traditional methods to convert this DE to Difference Equation, namely β€’ Finite Volume Method (FVM), Finite Element Method (FEM), Boundary Element Method (BEM) etc.
  • 12. β€’ Taylor’s Theorem: If the function 𝑓 its first (n+1) derivatives are continuous on an interval containing a and x, then the value of the function at x is given by β€’ 𝑓 π‘₯ = 𝑓 π‘Ž + 𝑓′ π‘Ž π‘₯ βˆ’ π‘Ž + 𝑓′′ π‘Ž 2! (π‘₯ βˆ’ π‘Ž)2+ . . . + 𝑓n π‘Ž n! (π‘₯ βˆ’ π‘Ž)𝑛+𝑅𝑛 --(3) where 𝑅𝑛 = π‘Ž π‘₯ (π‘₯βˆ’π‘‘)𝑛 n! 𝑓(n+1) 𝑑 𝑑𝑑 --- (4) β€’ An alternate formulation for remainder 𝑅𝑛 can be derived on the basis of the integral mean value theorem. We get 𝑅𝑛 = 𝑓(n+1) πœ€ (n+1)! (π‘₯ βˆ’ π‘Ž)(𝑛+1) ----(5) β€’ A useful way to gain insight into the Taylor series is to build it term by term. For example the first term in the series is 𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 --- (6) β€’ This relationship, (6) is called the zero-order approximation, indicates that the value of 𝑓 at the new point is same as its value at old. β€’ Equation (6) provides a perfect estimate if the function being approximated is, in fact, a constant.
  • 13. β€’ Similarly, by adding one and two, more term to get the first-order and second order approximation respectively. i.e., 𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 and 𝑓 π‘₯𝑖+1 β‰… 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 + 𝑓′′ π‘₯𝑖 2! (π‘₯𝑖+1 βˆ’ π‘₯𝑖)2 β€’ In a similar manner, additional terms can be included to develop the complete Taylor series expansion: 𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 + 𝑓′′ π‘₯𝑖 2! π‘₯𝑖+1 βˆ’ π‘₯𝑖 2 + . . . + 𝑓n π‘₯𝑖 n! (π‘₯𝑖+1 βˆ’ π‘₯𝑖)𝑛 +𝑅𝑛 where, 𝑅𝑛 = 𝑓(n+1) πœ€ (n+1)! (π‘₯𝑖+1 βˆ’ π‘₯𝑖)(𝑛+1) (6.1) β€’ It is often convenient to simplify the Taylor series by defining a step size β„Ž = π‘₯𝑖+1 βˆ’ π‘₯𝑖 and expressing as 𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 β„Ž + 𝑓′′ π‘₯𝑖 2! β„Ž2 + . . . + 𝑓n π‘₯𝑖 n! β„Žπ‘› + 𝑅𝑛 --(7) where the remainder term is now, 𝑅𝑛 = 𝑓(n+1) πœ€ (n+1)! β„Žπ‘›+1 --(8) β€’ In general, the nth-order Taylor series expansion will be exact for an nth-order polynomial. For other differentiable and continuous functions, such as exponentials and sinusoids, a finite number of terms will not yield an exact estimate. Each additional term will contribute some improvement, however slight, to the approximation.
  • 14. β€’ The assessment of how many terms are required to get β€œclose enough” is based on the remainder term of the expansion. β€’ This relationship (8) has two major drawbacks. First, πœ€ is not known exactly but merely lies somewhere between π‘₯𝑖 and π‘₯𝑖+1. Second, to evaluate Eq. (8), we need to determine the (n + 1) th derivative of 𝑓 π‘₯ . To do this, we need to know 𝑓 π‘₯ . However, if we knew 𝑓 π‘₯ , there would be no need to perform the Taylor series expansion in the present context! β€’ Despite this dilemma, Eq. (8) is still useful for gaining insight into truncation errors. This is because we do have control over the term h in the equation. In other words, we can choose how far away from x we want to evaluate 𝑓 π‘₯ , and we can control the number of terms we include in the expansion. Consequently, Eq. (8) is usually expressed as 𝑅𝑛 = 𝑂(β„Žπ‘›+1) (10) β€’ Where the nomenclature 𝑂(β„Žπ‘›+1 ) means that the truncation error is of the order of β„Žπ‘›+1 . That is, the error is proportional to the step size h raised to the (n + l)th power. Although this approximation implies nothing regarding the magnitude of the derivatives that multiply β„Žπ‘›+1, it is extremely useful in judging the comparative error of numerical methods based on Taylor series expansions. For example, if the error is O(h), halving the step size will halve the error. On the other hand, if the error is O(β„Ž2), halving the step size will quarter the error.
  • 15. β€’ Now using the Taylor Series we will Estimate Truncation Errors. β€’ Let v(t) some function which can be expanded in a Taylor series: 𝑣 𝑑𝑖+1 = 𝑣 𝑑 + 𝑣′ 𝑑𝑖 𝑑𝑖+1 βˆ’ 𝑑𝑖 + 𝑣′′ 𝑑𝑖 2! 𝑑𝑖+1 βˆ’ 𝑑𝑖 2+ . . . +𝑅𝑛 β€’ Now let us truncate the series after the first derivative term: 𝑣 𝑑𝑖+1 = 𝑣 𝑑 + 𝑣′ 𝑑𝑖 𝑑𝑖+1 βˆ’ 𝑑𝑖 + 𝑅1 π‘œπ‘Ÿ, 𝑣′ 𝑑𝑖 = 𝑣 𝑑𝑖+1 βˆ’ 𝑣 𝑑𝑖 𝑑𝑖+1 βˆ’ 𝑑𝑖 βˆ’ 𝑅1 𝑑𝑖+1 βˆ’ 𝑑𝑖 (11) 1st order-approx. Truncation error β€’ because of the Taylor series approach, we have now obtained an estimate of the truncation error associated with this approximation of the derivative. Using Eqs. (6.1) and (11) yields 𝑅1 𝑑𝑖+1 βˆ’ 𝑑𝑖 = 𝑣′′ πœ€ 2! 𝑑𝑖+1 βˆ’ 𝑑𝑖 12 π‘œπ‘Ÿ, 𝑅1 𝑑𝑖+1 βˆ’ 𝑑𝑖 = 𝑂 𝑑𝑖+1 βˆ’ 𝑑𝑖 13 β€’ In other words, the error of our derivative approximation should be proportional to the step size. Consequently, if we halve the step size, we would expect to halve the error of the derivative.
  • 17. β€’ Equation (11) is given a formal label in numerical methodsβ€”it is called a finite divided difference. It can be represented generally as. 𝑓′ π‘₯𝑖 = 𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯𝑖 π‘₯𝑖+1 βˆ’ π‘₯𝑖 + 𝑂 π‘₯𝑖+1 βˆ’ π‘₯𝑖 14 𝑓′ π‘₯𝑖 = βˆ†π‘“π‘– β„Ž + 𝑂 β„Ž (15) β€’ where βˆ†π‘“π‘– is referred to as the first forward difference and h is called the step size, that is, the length of the interval over which the approximation is made. It is termed a β€œforward” difference because it utilizes data at i and i + 1 to estimate the derivative (Fig a). The entire term βˆ†π‘“π‘– β„Ž is referred to as a first finite divided difference. β€’ This forward divided difference is but one of many that can be developed from the Taylor series to approximate derivatives numerically. For example, backward and central difference approximations of the first derivative can be developed in a fashion similar to the derivation of Eq. (11).
  • 18. β€’ Backward Difference Approximation of the First Derivative: The Taylor series can be expanded backward to calculate a previous value on the basis of a present value, as in 𝑓 π‘₯π‘–βˆ’1 = 𝑓 π‘₯𝑖 βˆ’ 𝑓′ π‘₯𝑖 β„Ž + 𝑓′′ π‘₯𝑖 2! β„Ž2βˆ’ . . . (16) β€’ Truncating this equation after the first derivative and rearranging yields 𝑓′ π‘₯𝑖 β‰… 𝑓 π‘₯𝑖 βˆ’ 𝑓 π‘₯π‘–βˆ’1 β„Ž = 𝛻𝑓𝑖 β„Ž (17) β€’ where the error is O(h), and 𝛻𝑓𝑖 is referred to as the first backward difference. See Fig. b for a graphical representation.
  • 19. β€’ Central Difference Approximation of the First Derivative: A third way to approximate the first derivative is to subtract Eq. (16) from the forward Taylor series expansion: 𝑓 π‘₯𝑖+1 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 β„Ž + 𝑓′′ π‘₯𝑖 2! β„Ž2+ . . . (17.1) β€’ To yield 𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1 = 2𝑓′ π‘₯𝑖 β„Ž + 2𝑓3 π‘₯𝑖 3! β„Ž3+ . . . β€’ Which can be solved for 𝑓′ π‘₯𝑖 = 𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1 2β„Ž βˆ’ 𝑓3 π‘₯𝑖 6 β„Ž2+ . . π‘œπ‘Ÿ, 𝑓′ π‘₯𝑖 = 𝑓 π‘₯𝑖+1 βˆ’ 𝑓 π‘₯π‘–βˆ’1 2β„Ž βˆ’ 𝑂 β„Ž2 (18) β€’ Equation (18) is a centered difference representation of the first derivative. Notice that the truncation error is of the order of β„Ž2 in contrast to the forward and backward approximations that were of the order of β„Ž. Consequently, the Taylor series analysis yields the practical information that the centered difference is a more accurate representation of the derivative. See (Fig. c). For example, if we halve the step size using a forward or backward difference, we would approximately halve the truncation error, whereas for the central difference, the error would be quartered.
  • 20.
  • 21. β€’ Finite Difference Approximations of Higher Derivatives: Besides first derivatives, the Taylor series expansion can be used to derive numerical estimates of higher derivatives. To do this, we write a forward Taylor series expansion for 𝑓 π‘₯𝑖+2 in terms of 𝑓 π‘₯𝑖 : 𝑓 π‘₯𝑖+2 = 𝑓 π‘₯𝑖 + 𝑓′ π‘₯𝑖 2β„Ž + 𝑓′′ π‘₯𝑖 2! 2β„Ž 2+ . . . 19 β€’ Equation (17.1) can be multiplied by 2 and subtracted from Eq. (19) to give 𝑓 π‘₯𝑖+2 βˆ’ 2𝑓 π‘₯𝑖+1 = βˆ’π‘“ π‘₯𝑖 + 𝑓′′ π‘₯𝑖 β„Ž2 + 𝑓′′′ π‘₯𝑖 β„Ž3 + . . . β€’ Which can be solved for 𝑓′′ π‘₯𝑖 = 𝑓 π‘₯𝑖+2 βˆ’ 2𝑓 π‘₯𝑖+1 + 𝑓 π‘₯𝑖 β„Ž2 + 𝑂 β„Ž 20 β€’ Similar manipulations can be employed to derive a backward and central version π‘π‘Žπ‘π‘˜π‘€π‘Žπ‘Ÿπ‘‘, 𝑓′′ π‘₯𝑖 = 𝑓 π‘₯𝑖 βˆ’ 2𝑓 π‘₯π‘–βˆ’1 + 𝑓 π‘₯π‘–βˆ’2 β„Ž2 + 𝑂 β„Ž (21) π‘π‘’π‘›π‘‘π‘Ÿπ‘Žπ‘™, 𝑓′′ π‘₯𝑖 = 𝑓 π‘₯𝑖+1 βˆ’ 2𝑓 π‘₯𝑖 + 𝑓 π‘₯π‘–βˆ’1 β„Ž2 + 𝑂 β„Ž2 (22) β€’ As was the case with the first-derivative approximations, the centered case is more accurate.
  • 22.
  • 23. Figure 2: Backward finite-divided difference Formulas: two versions are presented for each derivative. The latter version incorporates more terms of the Taylor series expansion and is, consequently, more accurate.
  • 24. Figure 2: Backward finite-divided difference Formulas: two versions are presented for each derivative. The latter version incorporates more terms of the Taylor series expansion and is, consequently, more accurate.
  • 26. Problem: The conservation of heat can be used to develop a heat balance for a long, thin rod. A non-insulated uniform rod positioned between two bodies of constant but different temperature. For this case 𝑇1 > 𝑇2 and 𝑇2 > π‘‡π‘Ž And the heat (temperature) distribution is governed by the equation β…†2𝑇 β…†π‘₯2 + β„Žβ€² π‘‡π‘Ž βˆ’ 𝑇 = 0 (1) where β„Žβ€² is a heat transfer coefficient (π‘šβˆ’2 ) that parameterizes the rate of heat dissipation to the surrounding air and π‘‡π‘Ž is the temperature of the surrounding air (in Celsius, C). To obtain a solution for Eq. (1), there must be appropriate boundary conditions. A simple case is where the temperatures at the ends of the bar are held at fixed values. These can be expressed mathematically as 𝑇 0 = 𝑇1, 𝑇 L = 𝑇2 With these conditions. Eq. (1) can be solved analytically using calculus. For a 10 m rod with π‘‡π‘Ž = 20, 𝑇1 = 40, 𝑇2 = 200, and β„Žβ€² = 0.01, the solution is 𝑇 = 73.4523𝑒0.1π‘₯ βˆ’ 53.4523π‘’βˆ’0.1π‘₯ + 20 (2)
  • 27. β€’ Finite-Difference Methods: β€’ In these techniques, finite divided differences are substituted for the derivatives in the original equation. Thus, a linear differential equation is transformed into a set of simultaneous algebraic equations that can be solved using different known numerical methods β€’ Now we have this governing equation β…†2 𝑇 β…†π‘₯2 + β„Žβ€² π‘‡π‘Ž βˆ’ 𝑇 = 0 (24) β€’ the finite-divided-difference approximation for the second derivative is β…†2 𝑇 β…†π‘₯2 = 𝑇𝑖+1 βˆ’ 2𝑇𝑖 + π‘‡π‘–βˆ’1 βˆ†π‘₯2 β€’ This approximation can be substituted into Eq. (24) to give 𝑇𝑖+1 βˆ’ 2𝑇𝑖 + π‘‡π‘–βˆ’1 βˆ†π‘₯2 βˆ’ β„Žβ€² 𝑇𝑖 βˆ’ π‘‡π‘Ž = 0 β€’ Collecting terms gives βˆ’π‘‡π‘–βˆ’1 + 2 + β„Žβ€² βˆ†π‘₯2 𝑇𝑖 βˆ’ 𝑇𝑖+1 = β„Žβ€² βˆ†π‘₯2 π‘‡π‘Ž β€’ This equation applies for each of the interior nodes of the rod. The first and last interior nodes, π‘‡π‘–βˆ’1 and 𝑇𝑖+1, respectively, are specified by the boundary conditions. Therefore, the resulting set of linear algebraic equations will be tridiagonal.
  • 28. β€’ Problem Statement: Use the finite-difference approach to solve the same problem as in above, For a 10 m rod with π‘‡π‘Ž = 20, 𝑇(0) = 40, 𝑇(10)= 200, and β„Žβ€² = 0.01 , Using four interior nodes with a segment length of βˆ†π‘₯ = 2π‘š β€’ Using βˆ’π‘‡π‘–βˆ’1 + 2 + β„Žβ€²βˆ†π‘₯2 𝑇𝑖 βˆ’ 𝑇𝑖+1 = β„Žβ€²βˆ†π‘₯2π‘‡π‘Ž we have 2.04 βˆ’1 0 0 βˆ’1 2.04 βˆ’1 0 0 βˆ’1 2.04 βˆ’1 0 0 βˆ’1 2.04 𝑇1 𝑇2 𝑇3 𝑇4 = 40.8 0 0 200.8 β€’ There are several numerical techniques to solve above system of linear equations, name Tri-Diagonal Matrix Algorithm (TDMA) {Gauss elimination}, Gauss seidel, LU decompositions etc. β€’ which can be solved for 𝑇 𝑑 = 65.9698 93.7785 124.5382 159.4795
  • 29. β€’ Comparison of the exact analytical solution with the finite difference methods. Exact analytical solution is given by 𝑇 = 73.4523𝑒0.1π‘₯ βˆ’ 53.4523π‘’βˆ’0.1π‘₯ + 20 x True Finite Difference 0 40 40 2 65.9518 65.9698 4 93.7478 93.7785 6 124.5036 124.5382 8 159.4534 159.4795 10 200 200
  • 30. β€’ Similarly we can solve β€’ Laplace equation (steady state with two spatial dimensions) πœ•2𝑇 πœ•π‘₯2 + πœ•2𝑇 πœ•π‘¦2 = 0 β€’ Heat conduction equation (time variable with one spatial dimension) πœ•π‘‡ πœ•π‘‘ = π‘˜β€² πœ•2 𝑇 πœ•π‘₯2 β€’ Wave equation (time variable with one spatial dimension) πœ•2 𝑦 πœ•π‘₯2 = 1 𝑐2 πœ•2 𝑦 πœ•π‘‘2 β€’ There are several different schemes for Finite Difference Method, Namely, β€’ FTFS (Forward Time Forward Space), FTCS (Forward Time Central Space), CTCS( Central Time Central Space) etc. β€’ Depending upon the governing Equation given in problem and their Consistency, Stability analysis and convergence criteria we use them appropriately.
  • 31. β€’ Consistency: when, βˆ†π’™, βˆ†π’š β†’ 𝟎 then Numerical solutions β†’ Exact solution β€’ Error should not be magnified 𝝐𝒏+𝟏 ≀ 𝝐𝒏 β€’ Convergence Criteria Error ≀ πŸπŸŽβˆ’πŸ“
  • 32. Conclusions β€’ Most of the physical system application is governed by some DE. β€’ All of them do not have closed form/analytical for of solution or difficult to solve analytically. β€’ Numerical approximation approaches to BVP are being used nowadays. β€’ Taylor’s Theorem has a significant role in writing DE in Algebraic difference equation form. β€’ Discretization is the process by which we convert DE to ADE. β€’ We can have different order of accuracy for same order derivative depending upon different Newton Difference Formula. β€’ We can increase the order of accuracy by decreasing step size. β€’ According to Stability analysis for the governing equation of the problem through different FDM schemes we choose which one to be use to solve the problem. β€’ So this is the one way that, how NA is applicable to BVP.