






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







What is it and how do they differ from IVPs?
Give some example problems of BVP
How does it work?
What are the limitations?
How does it work?
Īŗ
Ļ
Ļ
Ļ
Īŗ
( )
( )
( )
x u
x^
x
Īŗ
Ļ
ā²ā²^
=
( )
( )
u
x
f^
x
ā²ā²^
=
Apply finite-difference method
Introduce mesh points
x
,^ i i =0,1,ā¦,n+1 with unknowns
y
ā j u (
x ) for i
i=1,ā¦,n
Replace uāā by centered difference approximation
We have linear system
Ay
= f
, where
This tridiagonal linear system can be easily solved
How accurate is the solution?
1
1
2 2
(^
)
j^
j^
j
j
y^
y^
y^
f^
x
h ā^
ā^
+^
=
2
1
2 3
2
1
2
2
1
(^
)^
/
1
2
1
(^
)
1
2
1
(^
)
1
,
1
2
1
(^
)
1
2
(^
)^
/ n n f^
x^
h f^
x f^
x
h
f^ x f^ x
h α^ ā β
ā^
^

ā
^
^
^

^

ā^
^

^
^
^

^

ā
=^
=^ 

^
^
^

^
^
^

^

ā^
^

^
 ā^
ā
^

^
^
^

A^
f
Value of
u
(temperature) is specified at boundary
First derivative
u
ā is specified at boundary
E.g., specifying derivative to be 0 at boundary
8
1 2
2 3
2
1
2
1
0
1
0
2
1
1 0
1
0
1
(^
2
)^
(^
),
1
(^
)^
; so
2 1
(^
)^
(^
).
2
y^
y^
y^
f^
x
h
y^
y
h
h
y^
y^
f^
x
h
ā
ā
ā^
+^
=
ā^
=
ā^
+^
=^
^
Replace partial derivatives by centered difference approximationwhere
u
i , j^
is approximation to true solution u(
x , i
y ) for i
i ,
j =1,ā¦,
n
^
This discretization has a five-point stencil ^
Using natural row-wise ordering of nodes, we get matrix of pattern ^
As in 1-D, solution is also 2
nd
order accurate
1,^
,^
1,^
,^
1
,^
,^
1
2
2
1,^
1,^
,^
1
,^
1
,
2
i^
j^
i j^
i^
j^
i j^
i j^
i j
i^
j
i^
j^
i^
j^
i j^
i j^
i j^
i^
j
ā^
+^
ā
+^
ā^
+^
ā
2
4
1 1
4
1 1
4
1
1
,^
where
1
4
1 1
4
h
ā
^
^
^

^
^
^

ā
^
^
^

^
^
^

ā
=^
=
^
^
^

^
^
^

^
^
^

ā
^
^
^
 ā
^
^
^

T^
I I^
T^
I I^
T^
I
A^
T
I^
T^
I I^
T