SlideShare a Scribd company logo
1 of 8
Download to read offline
International Journal of Mathematics and Statistics Invention (IJMSI)
E-ISSN: 2321 โ€“ 4767 P-ISSN: 2321 - 4759
www.ijmsi.org Volume 7 Issue 2 || February, 2019 || PP-40-47
www.ijmsi.org 40 | Page
Accuracy Study on Numerical Solutions of Initial Value Problems
(IVP) in Ordinary Differential Equations (ODE)
Anthony Anya Okeke1
, Buba M. T. Hambagda2
, Pius Tumba3
1, 2, 3
Department of Mathematics, Faculty of Science, Federal University Gashua,
P. M. B. 1005 Gashua, Yobe State, Nigeria
Corresponding Author: Anthony Anya Okeke
ABSTRACT: In this work, we solve numerically initial value problems (IVP) in Ordinary Differential
Equations (ODE) by Euler method. The proposed method is presented from the point of view Taylorโ€™s algorithm
which invariably simplifies the demanding analysis. The method is quite efficient and practically well suited for
solving these problems. Many examples are considered to validate the accuracy and easy application of the
proposed method. We compared the approximate solutions with the analytical solution and found out that the
approximate solutions converge to the exact solutions monotonically. In addition, to achieve more accuracy in
the solutions, the step size needs to be very small. Lastly, we analyzed the error terms for the method for
different steps sizes and compared also by appropriate examples to demonstrate the reliability and efficiency.
Keywords: Ordinary Differential Equations (ODE), Initial Value Problems (IVP), Euler Method, Error Analysis
--------------------------------------------------------------------------------------------------------------------------------------
Date of Submission: 16-08-2019 Date Of Acceptance: 13-09-2019
---------------------------------------------------------------------------------------------------------------------------------------
I. INTRODUCTION
We know that mathematics is a science of communication between us and the scientific sciences; in
particular it introduces all the rules and problems as formulas, and also searches for solutions. A unit of
mathematics that is extensively used in all sciences is the differential equations. According to [1], differential
equations are among the most important mathematical tools used in producing models in the engineering,
mathematics, physics, aeronautics, elasticity, astronomy, dynamics, biology, chemistry, medicine,
environmental sciences, social sciences, banking and many other areas. Many researchers have studied the
nature of Differential Equations and many complicated systems that can be described quite precisely with
mathematical expressions. Although there are many analytic methods for finding the solution of differential
equations, there exist quite a number of differential equations that cannot be solved analytically [2]. This means
that the solution cannot be expressed as the sum of a finite number of elementary functions (polynomials,
exponentials, trigonometric, and hyperbolic functions). For simple differential equations, it is possible to ๏ฌnd
closed form solutions [3]. But many differential equations arising in applications are so complicated that it is
sometimes impractical to have solution formulas; even when a solution formula is available, it may involve
integrals that can be calculated only by using a numerical quadrature formula. In either case, numerical methods
provide a powerful alternative tool for solving the differential equations under the prescribed initial condition or
conditions [3].
We have many types of practical numerical methods for solving initial value problems for ordinary differential
equations. From history, the ancestor of all numerical methods in use today was developed by Leonhard Euler
between 1768 and 1770 [4], improved Eulerโ€™s method and Runge Kutta methods described by Carl Runge and
Martin Kutta in 1895 and 1905 respectively [5]. There are excellent and far-reaching books which can be
consulted, such as [1-3, 6-15].
From the literature review, we realize that many authors have worked on numerical solutions of initial value
problems using the Eulerโ€™s method and many others have tried to solve initial value problems to get a higher
accurate solution by applying numerous methods, such as the Euler methodโ€™s, the Runge Kutta method, the
Adomian Decomposition Method, Hybrid method, Extrapolation method, and also some other methods. See
[13-21]. In this paper, Eulerโ€™s method is applied without any discretization, transformation or restrictive
assumption for solving initial value problems in ordinary differential equations.
Eulerโ€™s method historically is the first numerical technique. It is also called the tangent line method. It is the
simplest to understand and geometrically easy to articulate. The method needs to take a smaller value of h, and
the numerical results are very encouraging. Finally, we used two examples of different kind of ordinary
differential equations to illustrate the proposed formulation. The results obtained from each of the numerical
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 41 | Page
examples show that the convergence and error analysis which we presented clearly illustrate the efficiency of
the methods.
However, the numerical technique has its own advantages and disadvantages to use. The method
requires less time consumption, it is simple and single step. Also, in Eulerโ€™s method
dy
dx
changes rapidly over an
interval, this gives a poor approximation at the beginning of the process in comparison with the average value
over the interval. So the calculated value of y in this method occurs much error than the exact value, which
reasonably increased in the succeeding intervals, then the final value ofy differs on a large scale than the exact
value.
Generally, Eulerโ€™s method needs to take a smaller value of h, and as such, the method is suitable for
practical use. If h is not too small enough, this method is inaccurate.
Lastly, this paper is structured as follows: Section 2: problem formulations; Section 3: numerical examples;
Section 4: discussion of results; and the last section, the conclusion of the paper.
II. DEFINITIONS AND GENERAL CONCEPTS OF DIFFERENTIAL EQUATIONS
A differential equation is a mathematical equation for an unknown function of one or more variables that relates
the values of the function itself and its derivatives of various orders.
2.1Definition: The general form of a differential equation is as follows:
a0 t
dn y
dtn + a1 t
dnโˆ’1y
dtnโˆ’1 + โ‹ฏ โ‹ฏ โ‹ฏ + anโˆ’1 t
dy
dt
+ an t y = f(t) (1)
Here ai t ; n = 1, 2, 3, โ‹ฏ โ‹ฏ โ‹ฏ and f(t) is the function of tand y = y(t) is an unknown function in terms of t.
2.2 Definition: An equation involving a function y(t) of one independent variable (t) and its derivatives
y t โ‹ฏ โ‹ฏ โ‹ฏ yn
(t) is called an ordinary differential equation (ODE) of order n.
2.3 Definition: An implicit ODE of order n depending on y(n)
has the form
F(t, y, yโ€ฒ
t , y"(t), โ‹ฏ y(n)
(t)) = 0. In a special form, F(t, y, yโ€ฒ
, y", โ‹ฏ y(nโˆ’1)
) = y(n)
is called an ODE in
explicit form.
2.4 Definition: A partial differential equation for the function u = u(t1, t2, t3, โ‹ฏ โ‹ฏ โ‹ฏ , tn) is of the form
F t1, t2, t3, โ‹ฏ , tn,
โˆ‚u
โˆ‚t1
,
โˆ‚u
โˆ‚t2
. โ‹ฏ ,
โˆ‚u
โˆ‚tn
,
โˆ‚2u
โˆ‚t1 โˆ‚t2
,
โˆ‚3u
โˆ‚t2 โˆ‚t3
, โ‹ฏ = 0 , where F is a linear function of u and its
derivatives.
2.5 Definition: An initial value problem (IVP) is a differential equation such as yโ€ฒ
t = f t, y t , satisfies the
following initial conditions (IC) y t0 = y0 ; yโ€ฒ
t0 = yโ€ฒ0
, where t0 โˆˆ I, for some open interval I โˆˆ โ„.
2.6 Definition: A boundary value problem is a differential equation together with a set of additional restraints,
called boundary conditions. A solution to a boundary value problem is a solution to the differential equation
which also satisfies given boundary conditions. The basic two point boundary value problem is given
byyโ€ฒ
t = f(t, y t ) with g y a , y b = 0.
2.7 Definition: A set of first order differential equation:
y = f t, y
y1 = f1 t, y1 โ‹ฏ โ‹ฏ โ‹ฏ yn
โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ
yn = fn t, y1 โ‹ฏ โ‹ฏ โ‹ฏ yn
is called a first order system of ordinary differential equations.
2.8 Definition: A set of first order differential equation is called autonomous if all functions fk on the right-
hand side do not depend on t.
y = f y or
y1 = f1 y1 โ‹ฏ โ‹ฏ โ‹ฏ yn
โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ
yn = fn y1 โ‹ฏ โ‹ฏ โ‹ฏ yn
2.9 Definition: A solution of a system of ordinary differential equation is the form y t = y0 with y0 โˆˆ โ„2
is
called an equilibrium solution. y t = y(t + T)withT > 0 is called a period. The parameter T denote period.
2.10Definition: An equilibrium solution y t = y0of an autonomous system is called stable if any solution in
the neighborhood of y0 will always approach this equilibrium solution as t โŸถ โˆž. In this case y(t) โŸถ y0 for
t โ†’ โˆž. Otherwise the equilibrium solution is called unstable.
III. PROBLEM FORMULATION
In this section, discussed our proposed method - Eulerโ€™s method- for finding the approximate solutions of the
initial value problem (IVP) of the first order ordinary differential equation of the form
yโ€ฒ
= f x, y , x โˆˆ a, b , y a = y0 (2)
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 42 | Page
Where ๐‘ฆโ€ฒ
=
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
and ๐‘“(๐‘ฅ, ๐‘ฆ) is a given function and y(x) is the solution of the equation (3.1)
Theorem 3.1 [1]
Let ๐‘“(๐‘ฅ, ๐‘ฆ) be defined and continuous for all points (๐‘ฅ, ๐‘ฆ) in the region ๐ท defined by ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘, โˆ’โˆž < ๐‘ฆ < โˆž,
๐‘Ž and ๐‘ finite, and let there exist a constant L such that, for every ๐‘ฅ, ๐‘ฆ, ๐‘ฆโˆ—
, such that (๐‘ฅ, ๐‘ฆ) and (๐‘ฅ, ๐‘ฆโˆ—
) are both
in D,
|๐‘“ ๐‘ฅ, ๐‘ฆ โˆ’ ๐‘“(๐‘ฅ, ๐‘ฆโˆ—
) โ‰ค ๐ฟ(๐‘ฆ โˆ’ ๐‘ฆโˆ—
)|. (3)
Then, if ๐‘ฆ0 is any given number, there exists a unique solution ๐‘ฆ(๐‘ฅ) of the initial value problem (2), where ๐‘ฆ(๐‘ฅ)
is continuous and differentiable for all (๐‘ฅ, ๐‘ฆ)in ๐ท.
In this paper, we determine the solution of this equation in the range ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘, where ๐‘Ž and ๐‘ are finite, and
we assume that ๐‘“ satisfies the Lipchitz conditions stated in Theorem 3.1.
A continuous approximation to the solution y(x) will not be obtained; instead, an approximation to ๐‘ฆ
will be generated at various values, called mesh points, in the interval ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘. Numerical techniques for the
solution of (1) is to obtain approximations to the values of the solution corresponding to the sequence of points
๐‘ฅ๐‘› defined by ๐‘ฅ๐‘› = ๐‘Ž + ๐‘›โ„Ž, ๐‘› = 0, 1, 2, 3, โ€ฆ. The parameter โ„Ž is called the step size. The numerical solution
of (3.1) is given by a set of points { ๐‘ฅ๐‘› , ๐‘ฆ๐‘› : ๐‘› = 0, 1, 2, 3, โ€ฆ , ๐‘} and each point (๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) is an approximation to
the corresponding point (๐‘ฅ๐‘› , ๐‘ฆ(๐‘ฅ๐‘› )) on the solution curve.
3.1. Eulerโ€™s Method
Eulerโ€™s method is also called the tangent method and it is the simplest one-step method. It is the most
basic example method for numerical integration of ordinary differential equations. The Euler method is named
after Leonhard Euler, who treated it in his book Institutiones Calculi Integralis published 1768-1870,
republished in his collected works (Euler 1913) [2]. The Euler method is subdivided into three namely:
๏‚ท Forward Eulerโ€™s method
๏‚ท Improved Eulerโ€™s method
๏‚ท Backward Eulerโ€™s method
In this paper, we shall only consider the forward Eulerโ€™s method
3.2. Derivative of Eulerโ€™s Method
Let us consider the initial value problem
๐‘ฆโ€ฒ
=
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
= ๐‘“ ๐‘ฅ, ๐‘ฆ ; ๐‘ฆ ๐‘ฅ0 = ๐‘ฆ0 (4)
We know that if the function ๐‘“ is continuous in the open interval ๐‘Ž < ๐‘ฅ < ๐‘containing ๐‘ฅ = ๐‘ฅ0, there exists a
unique solution of the equation (4) as
๐‘ฆ๐‘› = ๐‘ฆ ๐‘ฅ๐‘› ; ๐‘› = 1, 2, 3, โ€ฆ (5)
The solution is valid for throughout the interval ๐‘Ž < ๐‘ฅ < ๐‘. We wish to determine the approximate
value of ๐‘ฆ๐‘› of the exact solution ๐‘ฆ = ๐‘ฆ(๐‘ฅ) in the given interval for the value ๐‘ฅ = ๐‘ฅ๐‘› = ๐‘ฅ0 = ๐‘›โ„Ž; ๐‘› =
0, 1, 2, โ€ฆ.Now, the equation of the tangent line through (๐‘ฅ0, ๐‘ฆ0) of (3) is
๐‘ฆ ๐‘ฅ = ๐‘ฆ๐‘› + ๐‘“(๐‘ฅ0, ๐‘ฆ0) ๐‘ฅ โˆ’ ๐‘ฅ0 ,
Setting ๐‘ฅ = ๐‘ฅ1, we have
๐‘ฆ1 = ๐‘ฆ0 + โ„Ž๐‘“(๐‘ฅ0, ๐‘ฆ0),
Similarly, we get the next approximation as
๐‘ฆ2 = ๐‘ฆ1 + โ„Ž๐‘“ ๐‘ฅ1, ๐‘ฆ1 , ๐‘Ž๐‘ก๐‘ฅ = ๐‘ฅ2
๐‘ฆ3 = ๐‘ฆ2 + โ„Ž๐‘“ ๐‘ฅ2, ๐‘ฆ2 , ๐‘Ž๐‘ก๐‘ฅ = ๐‘ฅ3
In general, the (๐‘› + 1)๐‘กโ„Ž
approximation at ๐‘ฅ = ๐‘ฅ๐‘›+1 is given by
๐‘ฆ๐‘›+1 = ๐‘ฆ๐‘› + โ„Ž๐‘“ ๐‘ฅ๐‘› , ๐‘ฆ๐‘› ; ๐‘› = 0, 1, 2, 3, โ€ฆ (6)
3.3. Truncation Error for Eulerโ€™s Method
Numerical stability and errors are well discussed in depth in [10, 12-14]. There are two types of errors
in the numerical solution of ODEs: Round-off errors and truncation errors. Round-off error occurs because
computers use a fixed number of bits and hence fixed the number of binary digits to represent numbers. In a
numerical computation round-off errors are introduced at every stage of computation. Hence though an
individual round-off error due to a given number at a given numerical step may be small but the cumulative
effect can be significant. When the number of bits required for representing a number is less than the number is
usually rounded to fit the available number of bits. This is done either by chopping or by symmetric rounding.
Also, truncation errorarises when you use an approximation in place of an exact expression in a
mathematical procedure. To estimate the truncation error for the Euler method, we first recall Taylorโ€™s Series
approximation of a function.
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 43 | Page
Essentially, Taylorโ€™s Theorem State, that, any smooth function can be approximated by a polynomial. The
Taylor Series Expansion of ๐‘“(๐‘ฅ) at ๐‘Ž is
๐‘“ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ
๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž +
๐‘“โ€ฒโ€ฒ
๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž 2
2!
+
๐‘“โ€ฒโ€ฒโ€ฒ
๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž 3
3!
+ โ‹ฏ
=
๐‘“ ๐‘›
๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž ๐‘›
๐‘›!
โˆž
๐‘›=0
(7)
We note that computers are discrete, finite machine. They canโ€™t perform infinite calculation like these,
so we have to cut the calculation somewhere. This result in truncation error (we truncate the expression). When
we truncate the Taylorโ€™s Series expression to n terms, thereโ€™s error left over, and we can include a remainder
tern ๐‘…๐‘› to keep the = sign exact.
๐‘“ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ
๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž +
๐‘“โ€ฒโ€ฒ ๐‘Ž ๐‘ฅโˆ’๐‘Ž 2
2!
+
๐‘“โ€ฒโ€ฒโ€ฒ ๐‘Ž ๐‘ฅโˆ’๐‘Ž 3
3!
+ โ‹ฏ +
๐‘“ ๐‘› ๐‘Ž ๐‘ฅโˆ’๐‘Ž ๐‘›
๐‘›!
+ ๐‘…๐‘› (8)
Where ๐‘…๐‘› =
๐‘“(๐‘›+1) ๐œ .โ„Ž๐‘›+1
๐‘›+1 !
, ๐‘Ž๐‘›๐‘‘๐‘ฅ โ‰ค ๐›ฝ โ‰ค ๐‘Ž.
In (3.7), let ๐‘ฅ = ๐‘ฅ๐‘›+1 and ๐‘ฅ = ๐‘Ž, in which
๐‘ฆ ๐‘ฅ๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘› + โ„Ž๐‘ฆโ€ฒ
๐‘ฅ๐‘› +
1
2
โ„Ž2
๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (9)
Since ๐‘ฆ satisfies the ordinary differential equation (3), which can be written as
๐‘ฆโ€ฒ
๐‘ฅ๐‘› = ๐‘“(๐‘ฅ๐‘› , ๐‘ฆ ๐‘ฅ๐‘› ) (10)
Hence,โ€™
๐‘ฆ ๐‘ฅ๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘› + โ„Ž๐‘“ ๐‘ฅ๐‘› , ๐‘ฆ(๐‘ฅ๐‘› ) +
1
2
โ„Ž2
๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (11)
By considering (11) to Eulerโ€™s approximation in (6), it is very clear that Eulerโ€™s method is obtained by omitting
the remainder term
1
2
โ„Ž2
๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) in the Taylorโ€™s expansion of ๐‘ฆ(๐‘ฅ๐‘›+1) at the point ๐‘ฅ๐‘› . Therefore, the truncation
๐‘‡๐‘›+1 error is given by
๐‘‡๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘›+1 โˆ’ ๐‘ฆ ๐‘ฅ๐‘› = โ„Ž๐‘ฆโ€ฒ(๐‘ฅ๐‘› ) +
1
2
โ„Ž2
๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (12)
Thus, the truncation error is of ๐›ฐ โ„Ž2
: โ„Ž โŸถ 0, i.e. the truncation error is proportional to โ„Ž2
. By diminishing the
size h, the error can be minimized. If ๐‘€ is positive constant such as ๐‘ฆโ€ฒโ€ฒ(๐‘ฅ) <
๐‘€
2
๐‘‡๐‘›+1 <
๐‘€โ„Ž2
2
(13)
Here the right hand size is an upper bound of the truncation error. The absolute value of ๐‘‡๐‘›+1 is taken for the
magnitude of the error only.
3.4. Algorithm of the Euler Method
(i) Define the function ๐‘“(๐‘ก, ๐‘ฆ), such that f t, y โˆˆ [a, b]
(ii) Give the initial value for t0and y0.
(iii) Specify the step size h =
bโˆ’a
n
, where n is number of steps
(iv) output t0 and y0
(v) for i from 1 to n do
(vi) Let ki = f ti, yi , yi+1 = yi + h โˆ— ki, and ti+1 = ti + h
(vii)output ti and yi
(viii) End
IV. NUMERICAL EXAMPLES
In this section, we present two numerical examples to verify the accuracy of the proposed method. The
numerical results and errors are computed and the findings are represented graphically. The computations were
done using MATLAB programing language. The convergence of the IVP is calculated en = |y(xn) โˆ’ yn| < ฮด,
where y(xn) represents the exact solution and ฮด depends on the problem which varies from 10โˆ’4
while the
absolute error is computed by |y(xn) โˆ’ yn|.
Example 1: We consider the initial value problem yโ€ฒ
xy = x, y 0 = 5, on the interval,0 โ‰ค x โ‰ค 1. The
exact solution of the given problem is given by y x = 1 + 4e
โˆ’x2
2 . The results obtained are shown in Tables 1(a)
and Table 1(b) and graphically displayed in Figures 1-3.
Table 1. (a) Numerical approximations for different step size.
n xn Exact Solution yn Approximation
h = 0.1 h = 0.05 h = 0.0125 h = 0.003125
0 0.0 5.000000000000000 5.000000000000000 5.0000000000000000 5.0000000000000000 5.0000000000000000
1 0.1 4.980049916770730 5.0000000000000000 4.9900000000000002 4.9825314154214064 4.9818753212959335
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 44 | Page
2 0.2 4.920794693227022 4.9600000000000000 4.9402746250000007 4.9256392572578651 4.9244186046076761
3 0.3 4.823989927332399 4.8807999999999998 4.8521109802656257 4.8309640466998092 4.8292824130117262
4 0.4 4.692465385546543 4.7643759999999995 4.7279285525393124 4.7012362998361308 4.6992400289496548
5 0.5 4.529987610338382 4.6138009599999998 4.5711691569050350 4.5401455856907367 4.5325184756621679
6 0.6 4.341080845645088 4.4331109120000001 4.3861379549628925 4.3521659890635460 4.3500896614836799
7 0.7 4.130818152967473 4.2271242572799999 4.1778058172838000 4.1423495142161606 4.1405268578679522
8 0.8 3.904596148294764 4.0012255592703996 3.9515857656659099 3.9161007529283416 3.9147156382819390
9 0.9 3.667907243433898 3.7611275145287677 3.7130976358001044 3.6789468258247888 3.6781574438768523
10 1.0 3.426122638850534 3.5126260382211787 3.4679353506851176 3.4363161765600831 3.4362445949120213
Table 1(b) Observed absolute errors for example 1.
n xn Errors
h = 0.1 h = 0.05 h = 0.0125 h = 0.003125
0 0.0 0.0000000000000000 0.0000000000000000 0.00000000000000000 0.0000000000000000
1 0.1 0.0199500832292703 0.0099500832292705 0.0024814986506767 0.0006008844316403
2 0.2 0.0392053067729785 0.0194799317729792 0.0048445640308437 0.0011918051852371
3 0.3 0.0568100726676004 0.0281210529332263 0.0069741193674098 0.0017245034260940
4 0.4 0.0719106144534569 0.0354631669927699 0.0087709142895882 0.0021742278534251
5 0.5 0.0838133496616180 0.0411815465666532 0.0101579753523549 0.0025218045068556
6 0.6 0.0920300663549121 0.0450571093178045 0.0110851434184580 0.0027547570356079
7 0.7 0.0963061043125268 0.0469876643163269 0.0115313612486876 0.0028678646368165
8 0.8 0.0966294109756358 0.0469896173711462 0.0115046046335778 0.0028631332492144
9 0.9 0.0932202710948702 0.0451903923662069 0.0110395823908913 0.0027492131886087
10 1.0 0.0865033993706450 0.0418127118345830 0.0101935377095490 0.0025403475141204
Figure 1: Exact Numerical Solution
Figure 2: Exact Solution and Numerical Approximation for different step sizes
0.0000
1.0000
2.0000
3.0000
4.0000
5.0000
6.0000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Exact Solution
0.0000000
1.0000000
2.0000000
3.0000000
4.0000000
5.0000000
6.0000000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Exact Solution
h=0.1
h=0.05
h=0.0125
0.003125
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 45 | Page
Figure 3: Error for different step sizes
Example 2:We consider the initial value problem yโ€ฒ
+
1
2
y =
3
2
, y 0 = 4, on the interval 0 โ‰ค x โ‰ค 1. The exact
solution of the given problem is given by y x = 3 + e
โˆ’x
2 . The results obtained are shown in Tables 2(a) and
Table 2(b) and graphically displayed in Figures 4-6.
Table 2. (a) Numerical approximations for different step size.
n xn Exact Solution yn Approximation
h = 0.1 h = 0.05 h = 0.0125 h = 0.003125
0 0.0 4.000000000000000 4.0000000000000000 4.0000000000000000 4.0000000000000000 4.0000000000000000
1 0.1 3.951229424500714 3.9500000000000002 3.9506250000000001 3.9510801844041317 3.9526807928162908
2 0.2 3.904837418035959 3.9025000000000003 3.9036878906250001 3.9045535171661969 3.9061825669182642
3 0.3 3.860707976425058 3.8573750000000002 3.8590683010253906 3.8603029259098327 3.8619538157781688
4 0.4 3.818730753077982 3.8145062500000000 3.8166518036622619 3.8182170654177376 3.8198837713919072
5 0.5 3.778800783071405 3.7737809374999998 3.7763296208564379 3.7781900374601092 3.7798670720947487
6 0.6 3.740818220681718 3.7350918906249997 3.7379983458266510 3.7401211243290184 3.7418034986899582
7 0.7 3.704688089718713 3.6983372960937495 3.7015596775014599 3.7039145354082361 3.7055977234564015
8 0.8 3.670320046035640 3.6634204312890621 3.6669201684248254 3.6694791661408139 3.6711590714065148
9 0.9 3.637628151621773 3.6302494097246090 3.6339909851088494 3.6367283687879297 3.6384012931967575
10 1.0 3.606530659712633 3.5987369392383783 3.6026876802191001 3.6055797344021654 3.6072423491217931
Table 2(b) Observed absolute errors for example 1.
n xn Errors
h = 0.1 h = 0.05 h = 0.0125 h = 0.003125
0 0.0 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000
1 0.1 0.0012294245007141 0.0006044245007142 0.0001492400965826 0.0000360894339484
2 0.2 0.0023374180359590 0.0011495274109592 0.0002839008697624 0.0000697646967454
3 0.3 0.0033329764250576 0.0016396753996673 0.0004050505152251 0.0001000680764069
4 0.4 0.0042245030779817 0.0020789494157198 0.0005136876602441 0.0001272484356862
5 0.5 0.0050198455714052 0.0024711622149671 0.0006107456112958 0.0001515383800963
6 0.6 0.0057263300567181 0.0028198748550667 0.0006970963526993 0.0001731552518756
7 0.7 0.0063507936249638 0.0031284122172535 0.0007735543104772 0.0001923020656545
8 0.8 0.0068996147465774 0.0033998776108142 0.0008408798948256 0.0002091683891745
9 0.9 0.0073787418971643 0.0036371665129238 0.0008997828338435 0.0002243604456358
10 1.0 0.0077937204742550 0.0038429794935330 0.0009509253104678 0.0007116894091599
0.0000000
0.0200000
0.0400000
0.0600000
0.0800000
0.1000000
0.1200000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
h=0.1
h=0.5
h=0.0125
h=0.003125
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 46 | Page
Figure 4: Exact Numerical Solution
Figure 5: Exact Solution and Numerical Approximation for different step sizes
Figure 6: Error for different step sizes
3.4000
3.5000
3.6000
3.7000
3.8000
3.9000
4.0000
4.1000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Exact Solution
3.3000000
3.4000000
3.5000000
3.6000000
3.7000000
3.8000000
3.9000000
4.0000000
4.1000000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Exact Solution
h=0.1
h=0.05
h=0.0125
0.003125
0.0000000
0.0010000
0.0020000
0.0030000
0.0040000
0.0050000
0.0060000
0.0070000
0.0080000
0.0090000
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
h=0.1
h=0.5
h=0.0125
h=0.003125
Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ
www.ijmsi.org 47 | Page
V. DISCUSSION AND RESULTS
The obtained results are displayed in Table 1(a)-(b) and Table 2(a)-(b) and graphically represented in
Figures (1-3) and Figures (4-6) respectively. The approximate solutions and absolute errors are calculated using
MATLAB programming language with the step sizes 0.1, 0.05, 0.0125, and 0.003125 and also computed with
the exact solution. From the tables, we observed that the proposed method give very good results when
compared with the exact solutions. We equally observed that the error get large as the value of n increases.
Hence, we may say that a numerical solution converges to the exact solution if reducing the step size leads to
decreased errors such that in the limit when the step size reduce to zero the errors go to zero.
VI. CONCLUSION
In this paper, the Euler method has been presented for solving first order Ordinary Differential
Equations (ODE) with initial conditions. To find more accurate results of the numerical solution, we reduced the
step size to very, very small. From our tables and figures, we analyzed that the solution for the proposed method
converges to the exact solution for decreasing the step size h. In the same vein, the numerical solutions obtained
are in good agreement with the exact solutions and the numerical results of the two problems guarantee
consistency, convergence, and stability. Thus, the accuracy increase with decrease step size, we may conclude
that this method is applied to solve first-order ODEs with initial conditions to find the anticipated accuracy.In
our subsequent research; we shall examine the comparison of the existing Euler methods and other methods like
the Adomian decomposition.
REFERENCES
[1]. D. J. Lambert,Computational Methods in Ordinary Differential Equations. New York: Wiley & Sons, 21-205IEA, 2000.
[2]. J. C. Butcher,Numerical Methods for Ordinary Differential Equations. West Sussex: John Wiley & Sons Ltd., 2003, 45-95.
[3]. K. Atkinson, W. Han, D. Stewart, Numerical Solution of Ordinary Differential Equations. New Jersey, John Wiley & Sons,
Hoboken, 70-87.
[4]. L. Euler, Institutiones Calculi IntegralisVolumenPrimum, Opera Omnia. Vol. XI, B. G. TeubneriLipsiaeetBerolini MCMXIII, 1768,
21-228.
[5]. L. Euler, De integration aequationum di erentialium per approximationem, In Opera Omnia, 1st
series, Vol II, Institutiones Calculi
Integralis, Teubner, Leipzig and Berlin, 424434, 1913.
[6]. K. E. Brenan,S. L. Campbell S, L. R. Petzold L, Numerical Solution of Initial-Value Problems in Differential-Algebraic
Equations.New York: Society for Industrial and Applied Mathematics, 1989, 76-127.
[7]. J. D. Lambert, Numerical Methods for Ordinary Differential Systems: The Initial value Problem. New York: John Wiley & Sons,
1999, 149-205,
[8]. W. E. Boyce, R. DiPrima, Elementary Differential Equations and Boundary Value Problems. New York: John Wiley & Sons, Inc.,
2000, 419-471.
[9]. B. Carnahan, H. Luther, J.Wikes, ,Applied Numerical Methods, Florida: Krieger Publishing Company, 1990, 341-386.
[10]. S. Chapra, R.Canale, Applied Numerical Methods with MATLAB for Engineers and Scientists, 6 Ed,. Boston: McGraw Hill, 2006,
707-742.
[11]. R. Esfandiari, Numerical Methods for Engineers and Scientists using MATLAB. New York: CRC Press (CRC), Taylor & Francis
Group, 2013, 329-351.
[12]. S. Fatunla, Numerical Methods for Initial Value Problems in Ordinary Differential equations. Boston: Academic Press, INC, 1988,
41-62.
[13]. S. D. Conte, C. D. Boor,Elementary Numerical Analysis: Algorithmic Approach. New York: McGraw-Hill Book Company, 1980,
356-387.
[14]. E. Kreyszig,Advanced Engineering Mathematics, 10 Eds,. Boston: John Wiley &Sons, Inc, 2011, 921-937.
[15]. A. Iserles,A First Course in the Numerical Analysis of Differential Equations, Cambridge: Cambridge University Press, 1996, 1-50.
[16]. S. Fadugba, B.Ogunrinde, T.Okunlola, Eulerโ€™s Method for Solving Initial Value Problems in Ordinary Differential Equations. The
Pacific Journal of Science and Technology, Vol. 13 (2), 2012, 152-158.
[17]. M. A. Islam, Accurate Analysis of Numerical Solutions of Initial Value Problems (IVP) for ordinary differential equations (ODE).
IOSR Journal of Mathematics (IOSR-JM), Vol. 11 (3), 2015, 18-23.
[18]. N. Jamali, Analysis and Comparative Study of Numerical Methods to Solve Ordinary Differential Equation with Initial Value
Problem. International Journal of Advanced Research (IJAR). Vol. 7(5), 2019, 117-128: Available from:
http://www.journalijar.com/uploads/536_IJAR-27303.pdf.
Anthony Anya Okeke" Accuracy Study on Numerical Solutions of Initial Value Problems (IVP)
in Ordinary Differential Equations (ODE)"International Journal of Mathematics and Statistics
Invention (IJMSI), vol. 07, no. 02, 2019, pp.40-47

More Related Content

Similar to Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordinary Differential Equations (ODE)

Numerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportNumerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportShikhar Agarwal
ย 
On the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterativeOn the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterativeAlexander Decker
ย 
The_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdfThe_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdfP Ramana
ย 
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...YogeshIJTSRD
ย 
Numerical solutions for linear fredholm integro differential
 Numerical solutions for linear fredholm integro differential  Numerical solutions for linear fredholm integro differential
Numerical solutions for linear fredholm integro differential Alexander Decker
ย 
A semi analytic method for solving two-dimensional fractional dispersion equa...
A semi analytic method for solving two-dimensional fractional dispersion equa...A semi analytic method for solving two-dimensional fractional dispersion equa...
A semi analytic method for solving two-dimensional fractional dispersion equa...Alexander Decker
ย 
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...Leslie Schulte
ย 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdfShailChettri
ย 
Elzaki transform homotopy perturbation method for
Elzaki transform homotopy perturbation method forElzaki transform homotopy perturbation method for
Elzaki transform homotopy perturbation method foreSAT Publishing House
ย 
Presentation5
Presentation5Presentation5
Presentation5nadia naseem
ย 
Convergence of Homotopy Perturbation
Convergence of Homotopy PerturbationConvergence of Homotopy Perturbation
Convergence of Homotopy Perturbationnadia naseem
ย 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to SolveKomal Goyal
ย 
A Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation ProblemsA Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation ProblemsSara Alvarez
ย 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCArishav rai
ย 
Differential Equations: All about it's order, degree, application and more | ...
Differential Equations: All about it's order, degree, application and more | ...Differential Equations: All about it's order, degree, application and more | ...
Differential Equations: All about it's order, degree, application and more | ...Etoos India
ย 
Paper id 21201486
Paper id 21201486Paper id 21201486
Paper id 21201486IJRAT
ย 

Similar to Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordinary Differential Equations (ODE) (20)

Numerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project ReportNumerical Solutions of Burgers' Equation Project Report
Numerical Solutions of Burgers' Equation Project Report
ย 
On the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterativeOn the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterative
ย 
MSME_ ch 5.pptx
MSME_ ch 5.pptxMSME_ ch 5.pptx
MSME_ ch 5.pptx
ย 
The_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdfThe_variational_iteration_method_for_solving_linea.pdf
The_variational_iteration_method_for_solving_linea.pdf
ย 
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
ย 
Ch02 7
Ch02 7Ch02 7
Ch02 7
ย 
Numerical solutions for linear fredholm integro differential
 Numerical solutions for linear fredholm integro differential  Numerical solutions for linear fredholm integro differential
Numerical solutions for linear fredholm integro differential
ย 
A semi analytic method for solving two-dimensional fractional dispersion equa...
A semi analytic method for solving two-dimensional fractional dispersion equa...A semi analytic method for solving two-dimensional fractional dispersion equa...
A semi analytic method for solving two-dimensional fractional dispersion equa...
ย 
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...
A Numerical Analysis Of A Class Of Contact Problems With Friction In Elastost...
ย 
ODE.pdf
ODE.pdfODE.pdf
ODE.pdf
ย 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdf
ย 
Elzaki transform homotopy perturbation method for
Elzaki transform homotopy perturbation method forElzaki transform homotopy perturbation method for
Elzaki transform homotopy perturbation method for
ย 
Presentation5
Presentation5Presentation5
Presentation5
ย 
Convergence of Homotopy Perturbation
Convergence of Homotopy PerturbationConvergence of Homotopy Perturbation
Convergence of Homotopy Perturbation
ย 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to Solve
ย 
A Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation ProblemsA Fast Numerical Method For Solving Calculus Of Variation Problems
A Fast Numerical Method For Solving Calculus Of Variation Problems
ย 
Ch02 4
Ch02 4Ch02 4
Ch02 4
ย 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
ย 
Differential Equations: All about it's order, degree, application and more | ...
Differential Equations: All about it's order, degree, application and more | ...Differential Equations: All about it's order, degree, application and more | ...
Differential Equations: All about it's order, degree, application and more | ...
ย 
Paper id 21201486
Paper id 21201486Paper id 21201486
Paper id 21201486
ย 

More from Sheila Sinclair

Visual Medium Advertisement Analysis Es. Online assignment writing service.
Visual Medium Advertisement Analysis Es. Online assignment writing service.Visual Medium Advertisement Analysis Es. Online assignment writing service.
Visual Medium Advertisement Analysis Es. Online assignment writing service.Sheila Sinclair
ย 
Personal Essay Template. The Per. Online assignment writing service.
Personal Essay Template. The Per. Online assignment writing service.Personal Essay Template. The Per. Online assignment writing service.
Personal Essay Template. The Per. Online assignment writing service.Sheila Sinclair
ย 
Steps On How To Write An Essay. Steps To Writing An
Steps On How To Write An Essay. Steps To Writing AnSteps On How To Write An Essay. Steps To Writing An
Steps On How To Write An Essay. Steps To Writing AnSheila Sinclair
ย 
Free Writing Paper Cliparts, Download Free Writing Pa
Free Writing Paper Cliparts, Download Free Writing PaFree Writing Paper Cliparts, Download Free Writing Pa
Free Writing Paper Cliparts, Download Free Writing PaSheila Sinclair
ย 
Descriptive Paragraph On Nature. Essay On Nature. 2
Descriptive Paragraph On Nature. Essay On Nature. 2Descriptive Paragraph On Nature. Essay On Nature. 2
Descriptive Paragraph On Nature. Essay On Nature. 2Sheila Sinclair
ย 
.Mickey And Minnie Stationary Writing Paper
.Mickey And Minnie Stationary Writing Paper.Mickey And Minnie Stationary Writing Paper
.Mickey And Minnie Stationary Writing PaperSheila Sinclair
ย 
Sample Seminar Report. Online assignment writing service.
Sample Seminar Report. Online assignment writing service.Sample Seminar Report. Online assignment writing service.
Sample Seminar Report. Online assignment writing service.Sheila Sinclair
ย 
Writing A Speech For Your Presentation - Soalanrule
Writing A Speech For Your Presentation - SoalanruleWriting A Speech For Your Presentation - Soalanrule
Writing A Speech For Your Presentation - SoalanruleSheila Sinclair
ย 
Synthesis Journal Example. Synthesis Exa
Synthesis Journal Example. Synthesis ExaSynthesis Journal Example. Synthesis Exa
Synthesis Journal Example. Synthesis ExaSheila Sinclair
ย 
Self-Introduction Essay - 6 Examples, Form
Self-Introduction Essay - 6 Examples, FormSelf-Introduction Essay - 6 Examples, Form
Self-Introduction Essay - 6 Examples, FormSheila Sinclair
ย 
Owl Writing Paper Teaching Resources. Online assignment writing service.
Owl Writing Paper Teaching Resources. Online assignment writing service.Owl Writing Paper Teaching Resources. Online assignment writing service.
Owl Writing Paper Teaching Resources. Online assignment writing service.Sheila Sinclair
ย 
Admission Essay Outline Of A Descriptive Essay
Admission Essay Outline Of A Descriptive EssayAdmission Essay Outline Of A Descriptive Essay
Admission Essay Outline Of A Descriptive EssaySheila Sinclair
ย 
Essay Size - Dimension, Inches, Mm, Cms, Pixel
Essay Size - Dimension, Inches, Mm, Cms, PixelEssay Size - Dimension, Inches, Mm, Cms, Pixel
Essay Size - Dimension, Inches, Mm, Cms, PixelSheila Sinclair
ย 
How To Write An Introduction Paragraph For An Essay About A Boo
How To Write An Introduction Paragraph For An Essay About A BooHow To Write An Introduction Paragraph For An Essay About A Boo
How To Write An Introduction Paragraph For An Essay About A BooSheila Sinclair
ย 
008 Self Introduction Essay Sample Help G
008 Self Introduction Essay Sample Help G008 Self Introduction Essay Sample Help G
008 Self Introduction Essay Sample Help GSheila Sinclair
ย 
30 High School Scholarship Essay Examples Exampl
30 High School Scholarship Essay Examples Exampl30 High School Scholarship Essay Examples Exampl
30 High School Scholarship Essay Examples ExamplSheila Sinclair
ย 
How To Write Explanation Paper Allsop Author
How To Write Explanation Paper Allsop AuthorHow To Write Explanation Paper Allsop Author
How To Write Explanation Paper Allsop AuthorSheila Sinclair
ย 
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple PagesSheila Sinclair
ย 
Top 10 Best Term Paper Writing Services, Professional Paper Writing
Top 10 Best Term Paper Writing Services, Professional Paper WritingTop 10 Best Term Paper Writing Services, Professional Paper Writing
Top 10 Best Term Paper Writing Services, Professional Paper WritingSheila Sinclair
ย 
College Essay Persuasive Essay Conclusion Format
College Essay Persuasive Essay Conclusion FormatCollege Essay Persuasive Essay Conclusion Format
College Essay Persuasive Essay Conclusion FormatSheila Sinclair
ย 

More from Sheila Sinclair (20)

Visual Medium Advertisement Analysis Es. Online assignment writing service.
Visual Medium Advertisement Analysis Es. Online assignment writing service.Visual Medium Advertisement Analysis Es. Online assignment writing service.
Visual Medium Advertisement Analysis Es. Online assignment writing service.
ย 
Personal Essay Template. The Per. Online assignment writing service.
Personal Essay Template. The Per. Online assignment writing service.Personal Essay Template. The Per. Online assignment writing service.
Personal Essay Template. The Per. Online assignment writing service.
ย 
Steps On How To Write An Essay. Steps To Writing An
Steps On How To Write An Essay. Steps To Writing AnSteps On How To Write An Essay. Steps To Writing An
Steps On How To Write An Essay. Steps To Writing An
ย 
Free Writing Paper Cliparts, Download Free Writing Pa
Free Writing Paper Cliparts, Download Free Writing PaFree Writing Paper Cliparts, Download Free Writing Pa
Free Writing Paper Cliparts, Download Free Writing Pa
ย 
Descriptive Paragraph On Nature. Essay On Nature. 2
Descriptive Paragraph On Nature. Essay On Nature. 2Descriptive Paragraph On Nature. Essay On Nature. 2
Descriptive Paragraph On Nature. Essay On Nature. 2
ย 
.Mickey And Minnie Stationary Writing Paper
.Mickey And Minnie Stationary Writing Paper.Mickey And Minnie Stationary Writing Paper
.Mickey And Minnie Stationary Writing Paper
ย 
Sample Seminar Report. Online assignment writing service.
Sample Seminar Report. Online assignment writing service.Sample Seminar Report. Online assignment writing service.
Sample Seminar Report. Online assignment writing service.
ย 
Writing A Speech For Your Presentation - Soalanrule
Writing A Speech For Your Presentation - SoalanruleWriting A Speech For Your Presentation - Soalanrule
Writing A Speech For Your Presentation - Soalanrule
ย 
Synthesis Journal Example. Synthesis Exa
Synthesis Journal Example. Synthesis ExaSynthesis Journal Example. Synthesis Exa
Synthesis Journal Example. Synthesis Exa
ย 
Self-Introduction Essay - 6 Examples, Form
Self-Introduction Essay - 6 Examples, FormSelf-Introduction Essay - 6 Examples, Form
Self-Introduction Essay - 6 Examples, Form
ย 
Owl Writing Paper Teaching Resources. Online assignment writing service.
Owl Writing Paper Teaching Resources. Online assignment writing service.Owl Writing Paper Teaching Resources. Online assignment writing service.
Owl Writing Paper Teaching Resources. Online assignment writing service.
ย 
Admission Essay Outline Of A Descriptive Essay
Admission Essay Outline Of A Descriptive EssayAdmission Essay Outline Of A Descriptive Essay
Admission Essay Outline Of A Descriptive Essay
ย 
Essay Size - Dimension, Inches, Mm, Cms, Pixel
Essay Size - Dimension, Inches, Mm, Cms, PixelEssay Size - Dimension, Inches, Mm, Cms, Pixel
Essay Size - Dimension, Inches, Mm, Cms, Pixel
ย 
How To Write An Introduction Paragraph For An Essay About A Boo
How To Write An Introduction Paragraph For An Essay About A BooHow To Write An Introduction Paragraph For An Essay About A Boo
How To Write An Introduction Paragraph For An Essay About A Boo
ย 
008 Self Introduction Essay Sample Help G
008 Self Introduction Essay Sample Help G008 Self Introduction Essay Sample Help G
008 Self Introduction Essay Sample Help G
ย 
30 High School Scholarship Essay Examples Exampl
30 High School Scholarship Essay Examples Exampl30 High School Scholarship Essay Examples Exampl
30 High School Scholarship Essay Examples Exampl
ย 
How To Write Explanation Paper Allsop Author
How To Write Explanation Paper Allsop AuthorHow To Write Explanation Paper Allsop Author
How To Write Explanation Paper Allsop Author
ย 
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages
14 Financial Analysis Templates - AI, PSD, Google Docs, Apple Pages
ย 
Top 10 Best Term Paper Writing Services, Professional Paper Writing
Top 10 Best Term Paper Writing Services, Professional Paper WritingTop 10 Best Term Paper Writing Services, Professional Paper Writing
Top 10 Best Term Paper Writing Services, Professional Paper Writing
ย 
College Essay Persuasive Essay Conclusion Format
College Essay Persuasive Essay Conclusion FormatCollege Essay Persuasive Essay Conclusion Format
College Essay Persuasive Essay Conclusion Format
ย 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
ย 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
ย 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
ย 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
ย 
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,Virag Sontakke
ย 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
ย 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
ย 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
ย 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
ย 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
ย 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
ย 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
ย 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
ย 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
ย 
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
ย 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
ย 
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
ย 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
ย 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ย 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
ย 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
ย 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
ย 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
ย 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
ย 

Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordinary Differential Equations (ODE)

  • 1. International Journal of Mathematics and Statistics Invention (IJMSI) E-ISSN: 2321 โ€“ 4767 P-ISSN: 2321 - 4759 www.ijmsi.org Volume 7 Issue 2 || February, 2019 || PP-40-47 www.ijmsi.org 40 | Page Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary Differential Equations (ODE) Anthony Anya Okeke1 , Buba M. T. Hambagda2 , Pius Tumba3 1, 2, 3 Department of Mathematics, Faculty of Science, Federal University Gashua, P. M. B. 1005 Gashua, Yobe State, Nigeria Corresponding Author: Anthony Anya Okeke ABSTRACT: In this work, we solve numerically initial value problems (IVP) in Ordinary Differential Equations (ODE) by Euler method. The proposed method is presented from the point of view Taylorโ€™s algorithm which invariably simplifies the demanding analysis. The method is quite efficient and practically well suited for solving these problems. Many examples are considered to validate the accuracy and easy application of the proposed method. We compared the approximate solutions with the analytical solution and found out that the approximate solutions converge to the exact solutions monotonically. In addition, to achieve more accuracy in the solutions, the step size needs to be very small. Lastly, we analyzed the error terms for the method for different steps sizes and compared also by appropriate examples to demonstrate the reliability and efficiency. Keywords: Ordinary Differential Equations (ODE), Initial Value Problems (IVP), Euler Method, Error Analysis -------------------------------------------------------------------------------------------------------------------------------------- Date of Submission: 16-08-2019 Date Of Acceptance: 13-09-2019 --------------------------------------------------------------------------------------------------------------------------------------- I. INTRODUCTION We know that mathematics is a science of communication between us and the scientific sciences; in particular it introduces all the rules and problems as formulas, and also searches for solutions. A unit of mathematics that is extensively used in all sciences is the differential equations. According to [1], differential equations are among the most important mathematical tools used in producing models in the engineering, mathematics, physics, aeronautics, elasticity, astronomy, dynamics, biology, chemistry, medicine, environmental sciences, social sciences, banking and many other areas. Many researchers have studied the nature of Differential Equations and many complicated systems that can be described quite precisely with mathematical expressions. Although there are many analytic methods for finding the solution of differential equations, there exist quite a number of differential equations that cannot be solved analytically [2]. This means that the solution cannot be expressed as the sum of a finite number of elementary functions (polynomials, exponentials, trigonometric, and hyperbolic functions). For simple differential equations, it is possible to ๏ฌnd closed form solutions [3]. But many differential equations arising in applications are so complicated that it is sometimes impractical to have solution formulas; even when a solution formula is available, it may involve integrals that can be calculated only by using a numerical quadrature formula. In either case, numerical methods provide a powerful alternative tool for solving the differential equations under the prescribed initial condition or conditions [3]. We have many types of practical numerical methods for solving initial value problems for ordinary differential equations. From history, the ancestor of all numerical methods in use today was developed by Leonhard Euler between 1768 and 1770 [4], improved Eulerโ€™s method and Runge Kutta methods described by Carl Runge and Martin Kutta in 1895 and 1905 respectively [5]. There are excellent and far-reaching books which can be consulted, such as [1-3, 6-15]. From the literature review, we realize that many authors have worked on numerical solutions of initial value problems using the Eulerโ€™s method and many others have tried to solve initial value problems to get a higher accurate solution by applying numerous methods, such as the Euler methodโ€™s, the Runge Kutta method, the Adomian Decomposition Method, Hybrid method, Extrapolation method, and also some other methods. See [13-21]. In this paper, Eulerโ€™s method is applied without any discretization, transformation or restrictive assumption for solving initial value problems in ordinary differential equations. Eulerโ€™s method historically is the first numerical technique. It is also called the tangent line method. It is the simplest to understand and geometrically easy to articulate. The method needs to take a smaller value of h, and the numerical results are very encouraging. Finally, we used two examples of different kind of ordinary differential equations to illustrate the proposed formulation. The results obtained from each of the numerical
  • 2. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 41 | Page examples show that the convergence and error analysis which we presented clearly illustrate the efficiency of the methods. However, the numerical technique has its own advantages and disadvantages to use. The method requires less time consumption, it is simple and single step. Also, in Eulerโ€™s method dy dx changes rapidly over an interval, this gives a poor approximation at the beginning of the process in comparison with the average value over the interval. So the calculated value of y in this method occurs much error than the exact value, which reasonably increased in the succeeding intervals, then the final value ofy differs on a large scale than the exact value. Generally, Eulerโ€™s method needs to take a smaller value of h, and as such, the method is suitable for practical use. If h is not too small enough, this method is inaccurate. Lastly, this paper is structured as follows: Section 2: problem formulations; Section 3: numerical examples; Section 4: discussion of results; and the last section, the conclusion of the paper. II. DEFINITIONS AND GENERAL CONCEPTS OF DIFFERENTIAL EQUATIONS A differential equation is a mathematical equation for an unknown function of one or more variables that relates the values of the function itself and its derivatives of various orders. 2.1Definition: The general form of a differential equation is as follows: a0 t dn y dtn + a1 t dnโˆ’1y dtnโˆ’1 + โ‹ฏ โ‹ฏ โ‹ฏ + anโˆ’1 t dy dt + an t y = f(t) (1) Here ai t ; n = 1, 2, 3, โ‹ฏ โ‹ฏ โ‹ฏ and f(t) is the function of tand y = y(t) is an unknown function in terms of t. 2.2 Definition: An equation involving a function y(t) of one independent variable (t) and its derivatives y t โ‹ฏ โ‹ฏ โ‹ฏ yn (t) is called an ordinary differential equation (ODE) of order n. 2.3 Definition: An implicit ODE of order n depending on y(n) has the form F(t, y, yโ€ฒ t , y"(t), โ‹ฏ y(n) (t)) = 0. In a special form, F(t, y, yโ€ฒ , y", โ‹ฏ y(nโˆ’1) ) = y(n) is called an ODE in explicit form. 2.4 Definition: A partial differential equation for the function u = u(t1, t2, t3, โ‹ฏ โ‹ฏ โ‹ฏ , tn) is of the form F t1, t2, t3, โ‹ฏ , tn, โˆ‚u โˆ‚t1 , โˆ‚u โˆ‚t2 . โ‹ฏ , โˆ‚u โˆ‚tn , โˆ‚2u โˆ‚t1 โˆ‚t2 , โˆ‚3u โˆ‚t2 โˆ‚t3 , โ‹ฏ = 0 , where F is a linear function of u and its derivatives. 2.5 Definition: An initial value problem (IVP) is a differential equation such as yโ€ฒ t = f t, y t , satisfies the following initial conditions (IC) y t0 = y0 ; yโ€ฒ t0 = yโ€ฒ0 , where t0 โˆˆ I, for some open interval I โˆˆ โ„. 2.6 Definition: A boundary value problem is a differential equation together with a set of additional restraints, called boundary conditions. A solution to a boundary value problem is a solution to the differential equation which also satisfies given boundary conditions. The basic two point boundary value problem is given byyโ€ฒ t = f(t, y t ) with g y a , y b = 0. 2.7 Definition: A set of first order differential equation: y = f t, y y1 = f1 t, y1 โ‹ฏ โ‹ฏ โ‹ฏ yn โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ yn = fn t, y1 โ‹ฏ โ‹ฏ โ‹ฏ yn is called a first order system of ordinary differential equations. 2.8 Definition: A set of first order differential equation is called autonomous if all functions fk on the right- hand side do not depend on t. y = f y or y1 = f1 y1 โ‹ฏ โ‹ฏ โ‹ฏ yn โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ โ‹ฏ yn = fn y1 โ‹ฏ โ‹ฏ โ‹ฏ yn 2.9 Definition: A solution of a system of ordinary differential equation is the form y t = y0 with y0 โˆˆ โ„2 is called an equilibrium solution. y t = y(t + T)withT > 0 is called a period. The parameter T denote period. 2.10Definition: An equilibrium solution y t = y0of an autonomous system is called stable if any solution in the neighborhood of y0 will always approach this equilibrium solution as t โŸถ โˆž. In this case y(t) โŸถ y0 for t โ†’ โˆž. Otherwise the equilibrium solution is called unstable. III. PROBLEM FORMULATION In this section, discussed our proposed method - Eulerโ€™s method- for finding the approximate solutions of the initial value problem (IVP) of the first order ordinary differential equation of the form yโ€ฒ = f x, y , x โˆˆ a, b , y a = y0 (2)
  • 3. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 42 | Page Where ๐‘ฆโ€ฒ = ๐‘‘๐‘ฆ ๐‘‘๐‘ฅ and ๐‘“(๐‘ฅ, ๐‘ฆ) is a given function and y(x) is the solution of the equation (3.1) Theorem 3.1 [1] Let ๐‘“(๐‘ฅ, ๐‘ฆ) be defined and continuous for all points (๐‘ฅ, ๐‘ฆ) in the region ๐ท defined by ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘, โˆ’โˆž < ๐‘ฆ < โˆž, ๐‘Ž and ๐‘ finite, and let there exist a constant L such that, for every ๐‘ฅ, ๐‘ฆ, ๐‘ฆโˆ— , such that (๐‘ฅ, ๐‘ฆ) and (๐‘ฅ, ๐‘ฆโˆ— ) are both in D, |๐‘“ ๐‘ฅ, ๐‘ฆ โˆ’ ๐‘“(๐‘ฅ, ๐‘ฆโˆ— ) โ‰ค ๐ฟ(๐‘ฆ โˆ’ ๐‘ฆโˆ— )|. (3) Then, if ๐‘ฆ0 is any given number, there exists a unique solution ๐‘ฆ(๐‘ฅ) of the initial value problem (2), where ๐‘ฆ(๐‘ฅ) is continuous and differentiable for all (๐‘ฅ, ๐‘ฆ)in ๐ท. In this paper, we determine the solution of this equation in the range ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘, where ๐‘Ž and ๐‘ are finite, and we assume that ๐‘“ satisfies the Lipchitz conditions stated in Theorem 3.1. A continuous approximation to the solution y(x) will not be obtained; instead, an approximation to ๐‘ฆ will be generated at various values, called mesh points, in the interval ๐‘Ž โ‰ค ๐‘ฅ โ‰ค ๐‘. Numerical techniques for the solution of (1) is to obtain approximations to the values of the solution corresponding to the sequence of points ๐‘ฅ๐‘› defined by ๐‘ฅ๐‘› = ๐‘Ž + ๐‘›โ„Ž, ๐‘› = 0, 1, 2, 3, โ€ฆ. The parameter โ„Ž is called the step size. The numerical solution of (3.1) is given by a set of points { ๐‘ฅ๐‘› , ๐‘ฆ๐‘› : ๐‘› = 0, 1, 2, 3, โ€ฆ , ๐‘} and each point (๐‘ฅ๐‘› , ๐‘ฆ๐‘› ) is an approximation to the corresponding point (๐‘ฅ๐‘› , ๐‘ฆ(๐‘ฅ๐‘› )) on the solution curve. 3.1. Eulerโ€™s Method Eulerโ€™s method is also called the tangent method and it is the simplest one-step method. It is the most basic example method for numerical integration of ordinary differential equations. The Euler method is named after Leonhard Euler, who treated it in his book Institutiones Calculi Integralis published 1768-1870, republished in his collected works (Euler 1913) [2]. The Euler method is subdivided into three namely: ๏‚ท Forward Eulerโ€™s method ๏‚ท Improved Eulerโ€™s method ๏‚ท Backward Eulerโ€™s method In this paper, we shall only consider the forward Eulerโ€™s method 3.2. Derivative of Eulerโ€™s Method Let us consider the initial value problem ๐‘ฆโ€ฒ = ๐‘‘๐‘ฆ ๐‘‘๐‘ฅ = ๐‘“ ๐‘ฅ, ๐‘ฆ ; ๐‘ฆ ๐‘ฅ0 = ๐‘ฆ0 (4) We know that if the function ๐‘“ is continuous in the open interval ๐‘Ž < ๐‘ฅ < ๐‘containing ๐‘ฅ = ๐‘ฅ0, there exists a unique solution of the equation (4) as ๐‘ฆ๐‘› = ๐‘ฆ ๐‘ฅ๐‘› ; ๐‘› = 1, 2, 3, โ€ฆ (5) The solution is valid for throughout the interval ๐‘Ž < ๐‘ฅ < ๐‘. We wish to determine the approximate value of ๐‘ฆ๐‘› of the exact solution ๐‘ฆ = ๐‘ฆ(๐‘ฅ) in the given interval for the value ๐‘ฅ = ๐‘ฅ๐‘› = ๐‘ฅ0 = ๐‘›โ„Ž; ๐‘› = 0, 1, 2, โ€ฆ.Now, the equation of the tangent line through (๐‘ฅ0, ๐‘ฆ0) of (3) is ๐‘ฆ ๐‘ฅ = ๐‘ฆ๐‘› + ๐‘“(๐‘ฅ0, ๐‘ฆ0) ๐‘ฅ โˆ’ ๐‘ฅ0 , Setting ๐‘ฅ = ๐‘ฅ1, we have ๐‘ฆ1 = ๐‘ฆ0 + โ„Ž๐‘“(๐‘ฅ0, ๐‘ฆ0), Similarly, we get the next approximation as ๐‘ฆ2 = ๐‘ฆ1 + โ„Ž๐‘“ ๐‘ฅ1, ๐‘ฆ1 , ๐‘Ž๐‘ก๐‘ฅ = ๐‘ฅ2 ๐‘ฆ3 = ๐‘ฆ2 + โ„Ž๐‘“ ๐‘ฅ2, ๐‘ฆ2 , ๐‘Ž๐‘ก๐‘ฅ = ๐‘ฅ3 In general, the (๐‘› + 1)๐‘กโ„Ž approximation at ๐‘ฅ = ๐‘ฅ๐‘›+1 is given by ๐‘ฆ๐‘›+1 = ๐‘ฆ๐‘› + โ„Ž๐‘“ ๐‘ฅ๐‘› , ๐‘ฆ๐‘› ; ๐‘› = 0, 1, 2, 3, โ€ฆ (6) 3.3. Truncation Error for Eulerโ€™s Method Numerical stability and errors are well discussed in depth in [10, 12-14]. There are two types of errors in the numerical solution of ODEs: Round-off errors and truncation errors. Round-off error occurs because computers use a fixed number of bits and hence fixed the number of binary digits to represent numbers. In a numerical computation round-off errors are introduced at every stage of computation. Hence though an individual round-off error due to a given number at a given numerical step may be small but the cumulative effect can be significant. When the number of bits required for representing a number is less than the number is usually rounded to fit the available number of bits. This is done either by chopping or by symmetric rounding. Also, truncation errorarises when you use an approximation in place of an exact expression in a mathematical procedure. To estimate the truncation error for the Euler method, we first recall Taylorโ€™s Series approximation of a function.
  • 4. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 43 | Page Essentially, Taylorโ€™s Theorem State, that, any smooth function can be approximated by a polynomial. The Taylor Series Expansion of ๐‘“(๐‘ฅ) at ๐‘Ž is ๐‘“ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž + ๐‘“โ€ฒโ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž 2 2! + ๐‘“โ€ฒโ€ฒโ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž 3 3! + โ‹ฏ = ๐‘“ ๐‘› ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž ๐‘› ๐‘›! โˆž ๐‘›=0 (7) We note that computers are discrete, finite machine. They canโ€™t perform infinite calculation like these, so we have to cut the calculation somewhere. This result in truncation error (we truncate the expression). When we truncate the Taylorโ€™s Series expression to n terms, thereโ€™s error left over, and we can include a remainder tern ๐‘…๐‘› to keep the = sign exact. ๐‘“ ๐‘ฅ = ๐‘“ ๐‘Ž + ๐‘“โ€ฒ ๐‘Ž ๐‘ฅ โˆ’ ๐‘Ž + ๐‘“โ€ฒโ€ฒ ๐‘Ž ๐‘ฅโˆ’๐‘Ž 2 2! + ๐‘“โ€ฒโ€ฒโ€ฒ ๐‘Ž ๐‘ฅโˆ’๐‘Ž 3 3! + โ‹ฏ + ๐‘“ ๐‘› ๐‘Ž ๐‘ฅโˆ’๐‘Ž ๐‘› ๐‘›! + ๐‘…๐‘› (8) Where ๐‘…๐‘› = ๐‘“(๐‘›+1) ๐œ .โ„Ž๐‘›+1 ๐‘›+1 ! , ๐‘Ž๐‘›๐‘‘๐‘ฅ โ‰ค ๐›ฝ โ‰ค ๐‘Ž. In (3.7), let ๐‘ฅ = ๐‘ฅ๐‘›+1 and ๐‘ฅ = ๐‘Ž, in which ๐‘ฆ ๐‘ฅ๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘› + โ„Ž๐‘ฆโ€ฒ ๐‘ฅ๐‘› + 1 2 โ„Ž2 ๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (9) Since ๐‘ฆ satisfies the ordinary differential equation (3), which can be written as ๐‘ฆโ€ฒ ๐‘ฅ๐‘› = ๐‘“(๐‘ฅ๐‘› , ๐‘ฆ ๐‘ฅ๐‘› ) (10) Hence,โ€™ ๐‘ฆ ๐‘ฅ๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘› + โ„Ž๐‘“ ๐‘ฅ๐‘› , ๐‘ฆ(๐‘ฅ๐‘› ) + 1 2 โ„Ž2 ๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (11) By considering (11) to Eulerโ€™s approximation in (6), it is very clear that Eulerโ€™s method is obtained by omitting the remainder term 1 2 โ„Ž2 ๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) in the Taylorโ€™s expansion of ๐‘ฆ(๐‘ฅ๐‘›+1) at the point ๐‘ฅ๐‘› . Therefore, the truncation ๐‘‡๐‘›+1 error is given by ๐‘‡๐‘›+1 = ๐‘ฆ ๐‘ฅ๐‘›+1 โˆ’ ๐‘ฆ ๐‘ฅ๐‘› = โ„Ž๐‘ฆโ€ฒ(๐‘ฅ๐‘› ) + 1 2 โ„Ž2 ๐‘ฆโ€ฒโ€ฒ(๐›ฝ๐‘› ) (12) Thus, the truncation error is of ๐›ฐ โ„Ž2 : โ„Ž โŸถ 0, i.e. the truncation error is proportional to โ„Ž2 . By diminishing the size h, the error can be minimized. If ๐‘€ is positive constant such as ๐‘ฆโ€ฒโ€ฒ(๐‘ฅ) < ๐‘€ 2 ๐‘‡๐‘›+1 < ๐‘€โ„Ž2 2 (13) Here the right hand size is an upper bound of the truncation error. The absolute value of ๐‘‡๐‘›+1 is taken for the magnitude of the error only. 3.4. Algorithm of the Euler Method (i) Define the function ๐‘“(๐‘ก, ๐‘ฆ), such that f t, y โˆˆ [a, b] (ii) Give the initial value for t0and y0. (iii) Specify the step size h = bโˆ’a n , where n is number of steps (iv) output t0 and y0 (v) for i from 1 to n do (vi) Let ki = f ti, yi , yi+1 = yi + h โˆ— ki, and ti+1 = ti + h (vii)output ti and yi (viii) End IV. NUMERICAL EXAMPLES In this section, we present two numerical examples to verify the accuracy of the proposed method. The numerical results and errors are computed and the findings are represented graphically. The computations were done using MATLAB programing language. The convergence of the IVP is calculated en = |y(xn) โˆ’ yn| < ฮด, where y(xn) represents the exact solution and ฮด depends on the problem which varies from 10โˆ’4 while the absolute error is computed by |y(xn) โˆ’ yn|. Example 1: We consider the initial value problem yโ€ฒ xy = x, y 0 = 5, on the interval,0 โ‰ค x โ‰ค 1. The exact solution of the given problem is given by y x = 1 + 4e โˆ’x2 2 . The results obtained are shown in Tables 1(a) and Table 1(b) and graphically displayed in Figures 1-3. Table 1. (a) Numerical approximations for different step size. n xn Exact Solution yn Approximation h = 0.1 h = 0.05 h = 0.0125 h = 0.003125 0 0.0 5.000000000000000 5.000000000000000 5.0000000000000000 5.0000000000000000 5.0000000000000000 1 0.1 4.980049916770730 5.0000000000000000 4.9900000000000002 4.9825314154214064 4.9818753212959335
  • 5. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 44 | Page 2 0.2 4.920794693227022 4.9600000000000000 4.9402746250000007 4.9256392572578651 4.9244186046076761 3 0.3 4.823989927332399 4.8807999999999998 4.8521109802656257 4.8309640466998092 4.8292824130117262 4 0.4 4.692465385546543 4.7643759999999995 4.7279285525393124 4.7012362998361308 4.6992400289496548 5 0.5 4.529987610338382 4.6138009599999998 4.5711691569050350 4.5401455856907367 4.5325184756621679 6 0.6 4.341080845645088 4.4331109120000001 4.3861379549628925 4.3521659890635460 4.3500896614836799 7 0.7 4.130818152967473 4.2271242572799999 4.1778058172838000 4.1423495142161606 4.1405268578679522 8 0.8 3.904596148294764 4.0012255592703996 3.9515857656659099 3.9161007529283416 3.9147156382819390 9 0.9 3.667907243433898 3.7611275145287677 3.7130976358001044 3.6789468258247888 3.6781574438768523 10 1.0 3.426122638850534 3.5126260382211787 3.4679353506851176 3.4363161765600831 3.4362445949120213 Table 1(b) Observed absolute errors for example 1. n xn Errors h = 0.1 h = 0.05 h = 0.0125 h = 0.003125 0 0.0 0.0000000000000000 0.0000000000000000 0.00000000000000000 0.0000000000000000 1 0.1 0.0199500832292703 0.0099500832292705 0.0024814986506767 0.0006008844316403 2 0.2 0.0392053067729785 0.0194799317729792 0.0048445640308437 0.0011918051852371 3 0.3 0.0568100726676004 0.0281210529332263 0.0069741193674098 0.0017245034260940 4 0.4 0.0719106144534569 0.0354631669927699 0.0087709142895882 0.0021742278534251 5 0.5 0.0838133496616180 0.0411815465666532 0.0101579753523549 0.0025218045068556 6 0.6 0.0920300663549121 0.0450571093178045 0.0110851434184580 0.0027547570356079 7 0.7 0.0963061043125268 0.0469876643163269 0.0115313612486876 0.0028678646368165 8 0.8 0.0966294109756358 0.0469896173711462 0.0115046046335778 0.0028631332492144 9 0.9 0.0932202710948702 0.0451903923662069 0.0110395823908913 0.0027492131886087 10 1.0 0.0865033993706450 0.0418127118345830 0.0101935377095490 0.0025403475141204 Figure 1: Exact Numerical Solution Figure 2: Exact Solution and Numerical Approximation for different step sizes 0.0000 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 Exact Solution 0.0000000 1.0000000 2.0000000 3.0000000 4.0000000 5.0000000 6.0000000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 Exact Solution h=0.1 h=0.05 h=0.0125 0.003125
  • 6. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 45 | Page Figure 3: Error for different step sizes Example 2:We consider the initial value problem yโ€ฒ + 1 2 y = 3 2 , y 0 = 4, on the interval 0 โ‰ค x โ‰ค 1. The exact solution of the given problem is given by y x = 3 + e โˆ’x 2 . The results obtained are shown in Tables 2(a) and Table 2(b) and graphically displayed in Figures 4-6. Table 2. (a) Numerical approximations for different step size. n xn Exact Solution yn Approximation h = 0.1 h = 0.05 h = 0.0125 h = 0.003125 0 0.0 4.000000000000000 4.0000000000000000 4.0000000000000000 4.0000000000000000 4.0000000000000000 1 0.1 3.951229424500714 3.9500000000000002 3.9506250000000001 3.9510801844041317 3.9526807928162908 2 0.2 3.904837418035959 3.9025000000000003 3.9036878906250001 3.9045535171661969 3.9061825669182642 3 0.3 3.860707976425058 3.8573750000000002 3.8590683010253906 3.8603029259098327 3.8619538157781688 4 0.4 3.818730753077982 3.8145062500000000 3.8166518036622619 3.8182170654177376 3.8198837713919072 5 0.5 3.778800783071405 3.7737809374999998 3.7763296208564379 3.7781900374601092 3.7798670720947487 6 0.6 3.740818220681718 3.7350918906249997 3.7379983458266510 3.7401211243290184 3.7418034986899582 7 0.7 3.704688089718713 3.6983372960937495 3.7015596775014599 3.7039145354082361 3.7055977234564015 8 0.8 3.670320046035640 3.6634204312890621 3.6669201684248254 3.6694791661408139 3.6711590714065148 9 0.9 3.637628151621773 3.6302494097246090 3.6339909851088494 3.6367283687879297 3.6384012931967575 10 1.0 3.606530659712633 3.5987369392383783 3.6026876802191001 3.6055797344021654 3.6072423491217931 Table 2(b) Observed absolute errors for example 1. n xn Errors h = 0.1 h = 0.05 h = 0.0125 h = 0.003125 0 0.0 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 1 0.1 0.0012294245007141 0.0006044245007142 0.0001492400965826 0.0000360894339484 2 0.2 0.0023374180359590 0.0011495274109592 0.0002839008697624 0.0000697646967454 3 0.3 0.0033329764250576 0.0016396753996673 0.0004050505152251 0.0001000680764069 4 0.4 0.0042245030779817 0.0020789494157198 0.0005136876602441 0.0001272484356862 5 0.5 0.0050198455714052 0.0024711622149671 0.0006107456112958 0.0001515383800963 6 0.6 0.0057263300567181 0.0028198748550667 0.0006970963526993 0.0001731552518756 7 0.7 0.0063507936249638 0.0031284122172535 0.0007735543104772 0.0001923020656545 8 0.8 0.0068996147465774 0.0033998776108142 0.0008408798948256 0.0002091683891745 9 0.9 0.0073787418971643 0.0036371665129238 0.0008997828338435 0.0002243604456358 10 1.0 0.0077937204742550 0.0038429794935330 0.0009509253104678 0.0007116894091599 0.0000000 0.0200000 0.0400000 0.0600000 0.0800000 0.1000000 0.1200000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 h=0.1 h=0.5 h=0.0125 h=0.003125
  • 7. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 46 | Page Figure 4: Exact Numerical Solution Figure 5: Exact Solution and Numerical Approximation for different step sizes Figure 6: Error for different step sizes 3.4000 3.5000 3.6000 3.7000 3.8000 3.9000 4.0000 4.1000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 Exact Solution 3.3000000 3.4000000 3.5000000 3.6000000 3.7000000 3.8000000 3.9000000 4.0000000 4.1000000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 Exact Solution h=0.1 h=0.05 h=0.0125 0.003125 0.0000000 0.0010000 0.0020000 0.0030000 0.0040000 0.0050000 0.0060000 0.0070000 0.0080000 0.0090000 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 h=0.1 h=0.5 h=0.0125 h=0.003125
  • 8. Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary โ€ฆ www.ijmsi.org 47 | Page V. DISCUSSION AND RESULTS The obtained results are displayed in Table 1(a)-(b) and Table 2(a)-(b) and graphically represented in Figures (1-3) and Figures (4-6) respectively. The approximate solutions and absolute errors are calculated using MATLAB programming language with the step sizes 0.1, 0.05, 0.0125, and 0.003125 and also computed with the exact solution. From the tables, we observed that the proposed method give very good results when compared with the exact solutions. We equally observed that the error get large as the value of n increases. Hence, we may say that a numerical solution converges to the exact solution if reducing the step size leads to decreased errors such that in the limit when the step size reduce to zero the errors go to zero. VI. CONCLUSION In this paper, the Euler method has been presented for solving first order Ordinary Differential Equations (ODE) with initial conditions. To find more accurate results of the numerical solution, we reduced the step size to very, very small. From our tables and figures, we analyzed that the solution for the proposed method converges to the exact solution for decreasing the step size h. In the same vein, the numerical solutions obtained are in good agreement with the exact solutions and the numerical results of the two problems guarantee consistency, convergence, and stability. Thus, the accuracy increase with decrease step size, we may conclude that this method is applied to solve first-order ODEs with initial conditions to find the anticipated accuracy.In our subsequent research; we shall examine the comparison of the existing Euler methods and other methods like the Adomian decomposition. REFERENCES [1]. D. J. Lambert,Computational Methods in Ordinary Differential Equations. New York: Wiley & Sons, 21-205IEA, 2000. [2]. J. C. Butcher,Numerical Methods for Ordinary Differential Equations. West Sussex: John Wiley & Sons Ltd., 2003, 45-95. [3]. K. Atkinson, W. Han, D. Stewart, Numerical Solution of Ordinary Differential Equations. New Jersey, John Wiley & Sons, Hoboken, 70-87. [4]. L. Euler, Institutiones Calculi IntegralisVolumenPrimum, Opera Omnia. Vol. XI, B. G. TeubneriLipsiaeetBerolini MCMXIII, 1768, 21-228. [5]. L. Euler, De integration aequationum di erentialium per approximationem, In Opera Omnia, 1st series, Vol II, Institutiones Calculi Integralis, Teubner, Leipzig and Berlin, 424434, 1913. [6]. K. E. Brenan,S. L. Campbell S, L. R. Petzold L, Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations.New York: Society for Industrial and Applied Mathematics, 1989, 76-127. [7]. J. D. Lambert, Numerical Methods for Ordinary Differential Systems: The Initial value Problem. New York: John Wiley & Sons, 1999, 149-205, [8]. W. E. Boyce, R. DiPrima, Elementary Differential Equations and Boundary Value Problems. New York: John Wiley & Sons, Inc., 2000, 419-471. [9]. B. Carnahan, H. Luther, J.Wikes, ,Applied Numerical Methods, Florida: Krieger Publishing Company, 1990, 341-386. [10]. S. Chapra, R.Canale, Applied Numerical Methods with MATLAB for Engineers and Scientists, 6 Ed,. Boston: McGraw Hill, 2006, 707-742. [11]. R. Esfandiari, Numerical Methods for Engineers and Scientists using MATLAB. New York: CRC Press (CRC), Taylor & Francis Group, 2013, 329-351. [12]. S. Fatunla, Numerical Methods for Initial Value Problems in Ordinary Differential equations. Boston: Academic Press, INC, 1988, 41-62. [13]. S. D. Conte, C. D. Boor,Elementary Numerical Analysis: Algorithmic Approach. New York: McGraw-Hill Book Company, 1980, 356-387. [14]. E. Kreyszig,Advanced Engineering Mathematics, 10 Eds,. Boston: John Wiley &Sons, Inc, 2011, 921-937. [15]. A. Iserles,A First Course in the Numerical Analysis of Differential Equations, Cambridge: Cambridge University Press, 1996, 1-50. [16]. S. Fadugba, B.Ogunrinde, T.Okunlola, Eulerโ€™s Method for Solving Initial Value Problems in Ordinary Differential Equations. The Pacific Journal of Science and Technology, Vol. 13 (2), 2012, 152-158. [17]. M. A. Islam, Accurate Analysis of Numerical Solutions of Initial Value Problems (IVP) for ordinary differential equations (ODE). IOSR Journal of Mathematics (IOSR-JM), Vol. 11 (3), 2015, 18-23. [18]. N. Jamali, Analysis and Comparative Study of Numerical Methods to Solve Ordinary Differential Equation with Initial Value Problem. International Journal of Advanced Research (IJAR). Vol. 7(5), 2019, 117-128: Available from: http://www.journalijar.com/uploads/536_IJAR-27303.pdf. Anthony Anya Okeke" Accuracy Study on Numerical Solutions of Initial Value Problems (IVP) in Ordinary Differential Equations (ODE)"International Journal of Mathematics and Statistics Invention (IJMSI), vol. 07, no. 02, 2019, pp.40-47