Professional Documents
Culture Documents
Its general solution contains two arbitrary constants. To determine these constants we need to
prescribe two conditions.
The conditions are called initial conditions if and are specified at a certain value of
The differential equation together with the initial conditions is called the initial value problem.
If or or their combination is prescribed at two different values of then the conditions are
called boundary conditions.
The differential equation together with the boundary conditions is called a boundary value
problem.
1
The solution of an initial value problem, in general, exists and is unique, but the solution of a
boundary value problem may exist or may not.
Auxiliary equation,
; solution is
2
The general solution of DF is,
; and solution is
Here is undeterminable.
Hence the boundary value problem has an infinite number of solutions, Where is an arbitrary
constant.
3
The general solution of DF is,
; and solution is
4
To solve the boundary value problem of the form,
𝑥0 =𝑎 𝑥1 𝑥2 𝑥𝑖 𝑥𝑖 +1 𝑥𝑛 − 1𝑥𝑛 =b
5
By Taylor’s series expansion,
______ (1)
______ (2)
Eqn(1) gives
i.e.,
6
Eqn(1)-Eqn(2)
Clearly this central difference approximation to is better than the forward or backward
difference approximations and hence should be preferred.
Yielding approximation,
(3)
7
Eqn(1)+eqn(2)
We get approximation as
(4)
In finite difference method and are replaced by the finite differences using eqns (3) and (4).
8
Consider the two cases that arise while solving linear boundary value problems.
We set in BVP and replace and by the approximations eqn(3) and (4) and we get the system
of equations
_______ (5)
9
The system (5) involves for and for However these are known from the boundary conditions
as and
Examples:
Answer: With
𝑦 0 =1 𝑦 1 =? 𝑦 2 =? 𝑦 3 =? 𝑦 4=2
i.e., Divide the interval into 4 equal parts
𝑥0 =1 𝑥1=1.25 𝑥2 =1.5 𝑥3 =1.75 𝑥 4=2
10
At
_____ (1)
11
At
_____ (2)
At
_____ (3)
Answer: With
𝑦 0 =0 𝑦 1 =? 𝑦 2 =? 𝑦 3 =0
13
When
(1)
14
When
(2)
15
Case (2): The boundary conditions involve
Examples:
Answer: With 𝑦 0 =0 𝑦 1 =? 𝑦 2 =?
𝑥0 =0 𝑥1=0.5 𝑥2 =1
i.e., Divide the interval into 2 equal parts
We find the unknowns from the system,
16
When
(1)
When
17
_______ (2)
Here the problem involves , the value of outside the given interval.
We know that,
or
18
Now equation (2)
_____ (3)
Answer: With
𝑥0 =0 𝑥1=0.5 𝑥2 =1
19
We find the unknowns from the system,
,
When
---- (1)
Here the problem involves , the value of outside the given interval.
20
We know that,
_______ (2)
When
---- (3)
21
When
---- (4)
Here the problem involves , the value of outside the given interval.
𝑦 𝑖 +1 − 𝑦 𝑖 −1
′
∵𝑦 = 𝑖
2h
22
Now equation (4)
23
Exercises:
24