Waveequationconsitency Stability
Waveequationconsitency Stability
Email address:
Received: October 24, 2020; Accepted: May 3, 2021; Published: May 26, 2021
Abstract: There are many problems in the field of science, engineering and technology which can be solved by differential
equations formulation. The wave equation is a second order linear hyperbolic partial differential equation that describes the
propagation of variety of waves, such as sound or water waves. In this paper we consider the convergence analysis of the
explicit schemes for solving one dimensional, time-dependent wave equation with Drichlet and Neumann boundary condition.
Taylor's series expansion is used to expand the finite difference approximations in the explicit scheme. We present the
derivation of the schemes and develop a computer program to implement it We use spectral radius of Matrix obtained from
discretization and Von Neumann stability condition to determine stability, and consistence of the method from truncated error
from discretized method. Using Lax Equivalence Theorem, convergence of the methods was described by testing consistency
and stability of the methods. And it is found out that the scheme is stable with the Drichlet boundary and conditionally stable
with Derivative boundary condition.
Keywords: Wave Equation, Explicit Method, Convergence, Stability
= where T is the
length L is tightly stretched between two supports at the same
horizontal level. So that the x-axis lies along the string. The The coefficient in the equation is
elastic string may be thought of as violin sting, guy wire or tension (force) in the string and m is the mass per unit length
,
possibly an electric power line. Suppose that the string is set of the string material. To describes the motion of the string
=
$,'%& ( $,' ) $,'*&
,
equation is of second order with respect to t is plausible to (5)
,0 =
prescribe two initial conditions those are the initial position
=2 − + 3 − 2 -,. + -(/,. 4
2 ,
. the displacement function is governed by the -,.)/ -,. -,.(/ + -)/,. (8)
= + , ∈ 0, , ∈ 0,
+
we
(1) obtain
(Governing equation) -,.)/ = 2 − 25 -,. +5 -)/,. +5 -(/,. − -,.(/ (9)
,0 = , = ∈ 0,
,!
(Initial condition) (2) 2.2. Matrix Form of Explicit Scheme
0, = , = 0 (Boundary conditions) ∈ 0,
nodes the temperature at time j ∆ t is given by [7j =
(3) Referring to equation (1), we discretize in space, using n
here 0, = , = 0, specifying that the string is fixed 7 .)/ = 5 -(/,. + 2 − 25 -,. +5 -)/,. − -,.(/
at the ends, that ist the Displacement is zero. The solution
(10)
2 1 − 5 5 … 0
The finite difference techniques are based up on the
5 ⋱ ⋱ ⋮
approximations that permit replacing differential equation by
Where A = D G and
⋮ ⋱ ⋱ 5
finite difference equation. There finite difference
0 … 5 2 1 − 5
approximations are algebraic in form, and the solutions are
related to grid points. Thus, a finite difference solution
/,.
7. = H ⋮ I
basically involves three steps:
Dividing the solution into grids of notes.
Approximating the given differential equation by finite -(/,.
difference equivalence that relates the solutions to grid
points. 2.3. One Dimensional Wave Equation with Derivative
Boundary Condition
, = makes change
Solving the difference equations subject to the prescribed
, =
boundary conditions and or Initial conditions. [2, 5, 9] The boundary condition
The numerical solution of one dimensional wave equation the stability with boundary condition , = 0, which is
, = 0 in a finite
using explicit scheme is obtained and the error calculated. To more complicated to express numerically. We shall present
determine the stability and convergence, we will consider the two methods for implementing
= J. ∇ = 0
.
have (12)
=
$%&,' ( $,' ) $*&,'
The derivative is in the outward normal direction from
+
.
(4)
a general boundary.
Mathematics Letters 2021; 7(2): 19-24 21
For one dimension domain [0; ], we have that: tridiagonal matrix of the form [1, 4, 13, 15]
L L L L
M = , M =−
Lax Equivalence theorem: The Lax-Richtmyer
LJ L LJ L
Equivalence Theorem is often called the Fundamental
NO N! Theorem of Numerical Analysis, even though it is only
Boundary conditions that specify the value of . are applicable to the small subset of linear numerical methods for
well-posed, linear partial di erential equations. Along with
of . When ( = 0 or = 0 ) it is Dirichler boundary
known as Neumann conditions, while refer to specifications
Dahl Quist’s equivalence theorem for ordinary di erential
.
stability ⇒ convergence always holds has caused a great deal
equations, the notion that the relationship consistency +
condition
The Discretization of derivatives at the boundary in the of confusion in the numerical analysis of di erential
finite difference scheme is used central differences in all the equations. In the case of PDEs, mathematicians are most
tempting to implement (12) at = 0 and = . by the
other approximations to derivatives in the scheme, it is
often interested in nonlinear phenomena, for which Lax-
Richtmyer does not apply. More damningly, the forward
difference
*&,' ( &,'
=0
implication that
∆
(13) Consistent +stability ⇒ convergence
The problem is that (/,. is not a value that is being
matrix A = (_C- ), for row i the disk `C have centre _CC and
Theorem: Gerschgorin’s theorem: Consider a square
combine 13 with the scheme for j = 0, -N/a_C- a. Then the theorem states that;
radius∑b
computed since the point is outside the mesh. However, if we
-cC
Every eigenvalue of A lies in some `C .
If S is the union of s disks `C such that S is disjoint from
2.4. Fourier Method (Von Neumann Stability)
, = ∑, Q t exp ikx
equation. [8, 12-14]
Assume The truncation error of the approximation of the time
derivative is / given by
just one Fourier
The sum is over X, the Fourier frequencies. Now take for
= + / Where − ,e
$,'%& ( $,' ) $,'*& , d
Term , = Q t exp ikx And evaluate it at ( -, ., ) to , /= / d
Where =− f, −ℎ ≤
+
+
− =− ,e
,
finding the spectral radiu which is [ \ =max (]C ) where ]C h the h= /
The condition for stability of methods is determined by
/
Where truncation error
f,
+
| h| ≤ j + j X j +ℎ j
Tridiagonal matrices are often found in connection with , + /
/ / /
=
for | f, |
since there exists ancient numerical methods both for solving is a bound
their linear systems of equations and eigenvalue problem.
Here we consider the eigenvalue problem for a general
22 Kedir Nebi Habib: Convergence Analysis for Wave Equation by Explicit Finite Difference
Equation with Drichlet and Neumann Boundary Condition
Hence h → 0 as k, h → 0 that is the difference This places a restriction on the relative sizes of the time
approximation is consistent and space steps. We conclude that the numerical scheme is
conditionally stable. The stability criterion (23) is known as
3.2. Stability Analysis of Explicit Method the Courant condition, The Courant condition requires that
the mesh slope, which is defined to be the ratio of the space
3.2.1. Stability For Explicit with Drichlet Boundary
step size to the time step size, namely ℎ/X, must be strictly
Condition
greater than the characteristic slope c
The stability of this numerical scheme proceeds as follows
7 7
-)/,. -(/,.
A −o
q̅.)/ = l .)/ m , q.̅ = l . m s=n p = Derivative boundary for > = ~ (27)
7. 7 .(/ o 0 -(/,. -)/,.
Let and
= Row 1 > = 2, … , ~ − 1 J = 1
Implies that
̅ = sq̅. + BC
-,/ -
q.)/
(28)
tridiagonal matrix A
required for the special formula for the first time step Then
we have the explicit scheme with derivative boundary is
n] + p = 2 1 − 5 + 5 cos
/ z, -,.)/ = 2 − 25 -,. + 25 -)/,. − -,.(/ For > = 0 (33)
v .
= 2 − 25 -,. + 5 3 -)/,. + -(/,. 4 − -,.(/ > =
k= 1, 2. N-1 (22)
that ‚ 25 2 − 25 ‡
5= < 1 Or X <
2, +
+ 2
(23)
Mathematics Letters 2021; 7(2): 19-24 23
/,. 0, = , = 0 Initial
7. = H ⋮ I , 0 = sin • ,0 = 0
condition distribution is
-,. − 1
and
stable and instability of explicit method with derivative boundary
„ + X+5
4
‰̂
-,/
−2 -+
r=1
„ ‰̂ ƒ
-,/ - -
2 -)/ -(/
r=0.5
€• = ƒ ⋮
3
=ƒ ⋮ ˆ
⋮ ƒ ⋮ ˆ
2
‚ ‡
-,/ 5
‚ + X + −2 -+ ‡
- -
2 -)/ -(/
1
solution
7 .)/ = \ 7 . + • where • = €• + BŠ•
0
(37)
2 − 25 25 ⋯ 0
-3
„ 5 2 − 25 ‰̂
ƒ ⋮ ⋱ ⋮
-4
⋯ ⋱ 5
0 1 2 3 4 5 6 7 8 9 10
‚ 25 2 − 25 ‡
// = 0.5 And it’s instability for r = 1 k=0.25 and. ℎ = 0.5 at // = 0.25.
The disks for row 2 to ~ − 1 have center 2 − 25 and
radii 25 so the eigen value lies in 2 − 25 − 25 ≤ ] ≤ 2 −
25 + 25
Table 1. Maximum absolute error of example 1 for r=0.75 explicit method at
different time t.
is stable for 5 ≤
√Œ
stability and instability of explicit method
Ž
8
r=0.75
This shows that with derivative boundary condition the r=1.05
6
explicit scheme stability depends on the values of r.
4
4. Numerical Experiment
2
Numerical examples are presented to verify stability and
solution
-6
Example 2. Use the explicit scheme to solve the one 0 1 2 3 4 5 6 7 8 9 10
=4 ∈ [0, ] ∈ [0, ] With boundary Figure 3. Stability of explicit method for 5 = 0.75, X = 0.0475 _J€ ℎ =
x
dimensional wave equation
0.1 at // = 0.475 and it’s instability for r = 1.05 k=0.0525 and. h=0.1 at
For
24 Kedir Nebi Habib: Convergence Analysis for Wave Equation by Explicit Finite Difference
Equation with Drichlet and Neumann Boundary Condition
unstable for 5 ≤
5.1. Discussion that it is unstable for r greater than one with drichilet and
√Œ
= +
I used one dimensional wave equation by considering the with derivative boundary
In the above table the Drichilet boundary condition are [8] 2012. Rishu SinglaThesis paper of finite difference equation
(0, ) = ( , ) = 0 and the diivative boundary condition for parabolic equationHans De and Paul Ullrich (2007-2009).
are ( , ) = ( ), ( , ) = ( ) 1 is the critical value Introductionto Computational PDEs Department of Applied
Mathematics University of Waterloo.
such that for 5 ≤ 1 scheme is stable.
A systematic study was applied to the two test numerical [9] Randall J. Leveque (2006). A Finite difference Methods for
problems and the schemes have been successfully applied. Differrential Equations. AMath 585, Winter Quarter 2006
The performance of the schemes for the considered problems University of Washington.
was measured by calculating the error. [10] Rishu Singla (2012). Numerical solution of Some Parabolic
Partial Differantial Equations Using Finite Difference
Methods.
References [11] S. Larsson and V. Theme. Partial Differential Equations with
Numerical Methods, volume 45 of Texts in Applied
[1] AUTUMN (2009) the eigen vaue of the tridiagonal matrix. Mathematics. Springer, 2003.
[2] D. M. Causon; Professor C. G. Mingham (2010). Introductory [12] Abel Kurura T. and Charles Otieno N. (2018) Stability and
Finite Differences for PDEs. Consistency Analysis for Central Difference Scheme for
Advection Diffusion Partial Differential Equation Kisii
[3] Harwinder Kaur (2012). MSc. Thesis on Numerical Solutions
university, Kenya.
of Some Differantial Equations Using B-Spline Collection
Method. School of Mathematics and Computer Applications, [13] Doyo K. and Gofe G. (2016). Convergence Rates of Finite
Thapar University. Difference Schemes for the Diffusion Equation with Neumann
Boundary Conditions. American Journal of Computational and
[4] J. W. Thomas (1998) numerical partia equation: finite
Applied Mathematics, 6 (2): 92102.
difference methods.
[14] Azad, T. M. A. K., M. Begum and L. S. Andallah. (2015). An
[5] Michael T. Heath (2002). Scientific Computing: An
explicit finite difference scheme for advection diffusion
Introductotry Survey Chapter 11- Partial
equation (2015). Jahangirnagar J. Mathematics and
DifferantialEquations.
Mathematical Sciences 24: 2219-5823.
[6] Michael P. Lamoureux (2006). The mathematics of PDEs and
[15] Chan, T. F. (1984). Stability analysis of finite difference
the wave equation.
schemes for the advection diffusion equation. SIAM J. Numer.
[7] 2012 Peter J. Olver Vibration and Diffusion in One– Anal. 21: 272-284.
Dimensional Media.