Comparative Studies between Picard’s and Taylor’s Methods of Numerical Solutions of First Ordinary Order Differential Equations Arising from Real-Life Problems ()
1. Introduction
Differential equations play a crucial role in advancing various natural and social sciences by finding solutions to many problems humans face. This is achieved through modeling problems, which often involve rates. Due to the difficulty of finding solutions for some types of these equations, mathematicians have turned to alternative methods known as approximate numerical solutions. These solutions take various forms, such as Taylor’s method, Picard’s method, Euler’s method, Runge-Kutta’s method, and others.
These methods have garnered significant interest from researchers by applying them to solve differential equations, especially those of the first order. Researchers have also focused on the idea of comparing these methods in terms of the quality of the approximate solutions. Previous studies [1] [2] [3] [4] addressed the comparison topic and a good agreement with the exact solution in favor of the Runge-Kutta method for accurate results and minimum amount of error, and in [5] using Euler’s method for higher orders. In studies [6] and [7] the authors used Picard and Taylor methods to solve motion and atmospheric pressure problems and observed that Taylor’s method converged faster than Picard’s method and for [8] the authors showed that Euler’s method is less accurate than Runge-Kotta method. In contrast, the current study focused on using Picard and Taylor’s methods to study the phenomena of free-fall motion of bodies and Newton’s law of cooling. The uniqueness of the current study lies in its connection between these two phenomena, which many studies have overlooked. Additionally, the study used the MATLAB program for the comparative analysis.
Through careful and investigative study in this field, the researcher addressed the scarcity of research that dealt with physical and natural issues by finding appropriate solutions to them, especially using the Picard and Taylor methods, and from here the problem of the study emerged, which was represented in the following questions.
1.1. Questions of the Study
1) Is there a difference between the numerical solutions of Picard’s and Taylor’s methods compared to the exact solution of the first-order differential equation?
2) Is there a difference between the numerical solutions of Picard’s and Taylor’s method compared to the exact solution of the first-order differential equation arising from the problem of free-falling objects under the influence of Earth’s gravity?
3) Is there a difference between the numerical solutions of Picard’s and Taylor’s methods compared to the exact solution of the first-order differential equation arising from the problem of Newton’s law of cooling?
1.2. Research Objectives
This research target to:
1) Investigate the difference between the numerical solutions of Picard’s and Taylor’s methods compared to the exact solution of the first-order differential equation.
2) Compare the numerical solutions of Picard’s and Taylor’s series method for finding the solution of the first-order differential equation arising from the problem of free-falling objects under the influence of Earth’s gravity.
3) Investigate the difference between the numerical solutions of Picard’s and Taylor’s methods compared to the exact solution of the first-order differential equation arising from the problem of Newton’s law of cooling.
1.3. Formulation of the Problem
For obtaining the approximate solutions to the initial value problem of an ordinary differential equation, we consider two numerical methods consisting of the form:
(1)
Such that
is the solution of Equation (1).
1.4. Lipschitz Condition
A function
defined on a domain D of xy plane is satisfying Lipschitz condition w.r.t y in D if there exists a constant K such that:
1.5. Theorem
Let D be z region in
, such that
and
be a real function such that:
1)
is continuous on D.
2)
is bounded on D.
3)
satisfy Lipschitz condition.
Then the initial value problem of first-order differential equation has a unique solution
for which
in the interval
, where
.
1.5.1. Picard Iteration Method
It is an important iterative method for generating a sequence of increasingly accurate algebraic approximations of the specific exact solution of the first-order differential equation with initial value (1). So, the integration of Equation (1) yields the following:
To continue this process, we get a sequence of functions of x i.e.
, so, to keep them going, we use the following iterative formula:
(2)
Therefore,
, which is the exact solution.
1.5.2. Maclaurin Series
The general form:
It is not working to:
, since
which is undefined.
1.5.3. Taylor’s Series Method
Taylor’s series is a numerical method used to approximate the value of a function f(x) at a specific point x = a, by using a series of terms that are derived from the function’s derivatives evaluated at that point.
Let
, i.e., replace x with
,
, then
Again, by replacing x with
, we get:
Which it can be written in a sigma notation as follows:
(3)
Note that any function can be represented by Taylor’s Series about the position (a) if it is continuous and differentiable near a.
Let
, then
and so on
The Taylor series for sinx at x = 0, is given by:
1.6. Comparison Criteria
The criteria used to compare the effectiveness and accuracy of numerical solutions of any first-order differential equation with the exact solution are as follows:
1) The type of equation to be solved contributes, highlighting the contrast between the numerical solutions used and the exact solution.
2) The numerical results of the absolute error calculated are one of the most important criteria used to compare the effectiveness and accuracy
3) Computing more terms of the sequence of solution, increasing accuracy.
4) Using small steps provides better approximations that are close to the exact solution.
5) The graphical representation of the numerical solutions compared with the graph representations of the exact solution of the first-order differential equation contributes to determining the most effective and accurate numerical solution by identifying the curve close to the exact solution curve.
6) The limit of the sequence of numerical solutions tends to the exact solution when the independent variable tends to infinity.
1.7. Some Limitations and Assumptions
1) Lip itches condition is satisfied as the basis for the existence of a unique solution of the first-order differential equation.
2) If the R. H. S. of the standard first differential equation is constant, then the numerical solutions of both Picard and Taylor are identical.
3) It is difficult to find the exact solution of a first-order differential equation at which the degree of the right-hand side is greater than four.
4) The distinction of one numerical method over another one in terms of effectiveness and accuracy depends on dividing the specific interval used into small subintervals, more of them increasing efficiency and accuracy.
2. Applications and Comparisons
2.1. Problem
Consider the first-order differential equation:
, with
.
First, we solve it by classical method and then by numerical methods.
2.2. Classical Method
It classified as linear differential equation comparing with
, here
,
, then the integrating factor =
, so its solution is:
Then after using the Tanique of integration by parts three times, we get:
.
Using the initial condition
, then
, so the particular (exact) solution is:
(4)
Now we apply the above two numerical methods to our given differential equation one by one.
2.3. Solution by Picard’s Method
The iteration scheme is:
,
where
, By putting
, then we get the first approximation solution as:
and the second approximation solution is:
So,
Then after the four iterations we have the following approximation:
(5)
2.4. Solution by Taylor’s Series Method
For the equation
, we have: (Figure 1 and Figure 2 and Table 1)
Figure 1. Comparison of exact solution and numerical solution of picard and taylor.
Figure 2. Comparison of the Exact Solution and the Numerical Solution of Picard and Taylor The following table gives the values of y from x = 0 to 2 taking h = 0.2.
Table 1. Numerical comparison between exact and approximate solutions of proposed two methods.
Therefore, Taylor’s series expansion is:
(6)
3. Falling Objects with Air Resistance
Many of the laws of nature are statements or relations involving rates, at which things happen, when such the statement is expressed in mathematical terms, then it becomes an equation describing a physical process. Suppose that an object of mass (m) is under falling motion which was influenced by the gravity of the earth (Fg) and the air resistance (Fr) in an opposite direction of the object, so we have two forces acting on it (Figure 3).
1) Gravity force: It is equal to the multiplication of the mass object times the acceleration due to gravity (g):
(7)
2) Air resistance (drag) (Fr): This force is proportional to the square of the velocity (v) of the object, so
(8)
Modelling: Now by using Newton’s second law of motion, we perform the following substitution: (Figure 4)
(9)
where (a) represents the acceleration of the object.
Then the differential equation of the falling object is given by:
(10)
With initial condition
, therefore:
. Which is a linear differential equation, since
.
Therefore,
has a unique solution
for which
. Therefore
has a unique solution
for which
(see [1.5]).
3.1. Picard Iteration Method
By integrating (10), we get:
(11)
So, the iteration scheme is:
(12)
Therefore, the first approximation to the solution in
by putting
and integrate (12), so
For the second approximation solution, we put
in
, and again integral (12), we get
Continue this process, a sequence of functions of t i.e.
is obtained giving a better approximation of a desired solution in the preceding one.
3.2. Taylor’s Series Method
Consider the first-order differential Equation (10), and by differentiating it we get:
(13)
Differentiate (13) successively we get
,
,
, etc. When we put
and
, the values of
can be obtained. Therefore, Taylor’s series follows:
(14)
and this gives the values of v for every value of t for which (14) converge.
3.3. Numerical Observations
The exact general solution for Equation (10) is
now, we discuss two cases:
Case 1: let
, then Equation (10) becomes:
(15)
Equation (15) was classified as a linear equation with integration factor
, then the solution is:
Then,
Using the initial condition
, we get
, then the exact solution (particular) of (15) is given by:
.
3.4. For Picard Iteration Method
,
After the fifth iteration, we have the approximation:
(16)
3.5. For Taylor’s Series Method
Then the fifth order Taylor’s formula is: see (Figure 5 and Figure 6)
(17)
Figure 5. Comparative analysis of the estimated and ideal solutions for the proposed methods addressing the free-falling body problem (k = m).
Figure 6. Comparative analysis of the estimated and ideal solutions for the proposed methods addressing the free-falling body problem (k = m).
The following Table 2 gives the values of v from t = 0 to 2 taking h = 0.2.
Table 2. Numerical comparison of the approximate and perfect solutions to suggested techniques for the free-falling body problem (k = m).
Case 2: Let
,
,
(18)
Now let:
, then Equation (10) becomes:
(19)
With initial condition
, so, the exact solution of such a problem is:
3.6. For Picard Iteration Method
,
.
(20)
3.7. For Taylor’s Series Method
Therefore, Taylor’s Series expansion is: see (Figure 7 and Figure 8)
(21)
Figure 7. Comparison of Exact solution and numerical solution for (k ≠ m) related to the equation of free-falling body.
Figure 8. Comparative analysis of the estimated and ideal solutions for the proposed methods addressing the free-falling body problem (k = m).
The following Table 3 gives the values of v from t = 0 to 2 taking h = 0.2.
Table 3. Presents a numerical comparison of the exact and approximate solutions of the proposed approaches to the equation of a free-falling body with k ≠ m.
3.8. Corollary
For the standard form of a first-order ordinary differential equation if the left-hand side is a constant then a numerical solution of both Picard and Taylor methods are identical.
3. 9. Example
Find the numerical solutions if:
, with
using Picard and Taylor methods.
Solution
For Picard method: For Taylor’s method
4. Newton’s Law of Cooling
The Newton law of cooling states that: the rate of change of the temperature of an object is proportional to the difference between its temperature and the temperature of a surrounding, so, the rate of loss of heat from any object is directly proportional to the difference in the temperature of the object and its surrounding.
We assume that there is a hot object whose temperature is T and the surrounding temperature is Ts, which is of lower temperature, then
(22)
Since the formula of the heat loss is:
(23)
Then from (22) and (23), we get:
(24)
By putting:
, we get:
,
, where
is the rate of heat lost, and c is the coefficient of heat transfer. Then we get the following linear differential equation:
(25)
With
, here we have the following function:
.
4.1. Picard Iteration Method
By integrating (25), we get
(26)
So,
(27)
for first approximation
to the solution, we put
, and integral (26), we get:
,
For a second approximation
, we put
in
, and integral (26), we obtain:
Continuing this process, a sequence of functions of t, i.e.
is obtained, and each giving a better approximation of the desire solution than the preceding one.
4.2. Taylor’s Series Method
We have:
, then buy differentiating we get:
differentiating this successively, we can get:
,
,
,
, etc.
Put
, then the values of:
,
,
can be obtained, therefore the Taylor’s series:
(28)
Gives the value of T for every value of t for which converges.
4.3. Numerical Observations
Case 1: Substitute
in the Equation (25) we get:
, with the initial value
, then the exact general solution is:
, where
is a constant, and
, then
, so
,
Let
and
, then we get the exact solution:
.
1) Picard Iteration Method
From Equation (26) we have the following approximate solutions:
2) For Taylor’s Series Method (Figure 9 and Figure 10)
Since
, then
.
Figure 9. Compare the exact and approximate solutions of two proposed methods related to Newton’s law of cooling.
Figure 10. Compare the exact and the approximate solutions of two proposed methods related to Newton’s law of cooling.
The following Table 4 gives the values of v from t = 0 to 2 taking h = 0.2.
Table 4. Numerical comparison between exact and approximate solutions of proposed two methods related to the equation of Newton’s law of cooling.
5. Discussion and Results
The results of problem one is displayed in Table 1 and graphically in Figure 1, and Figure 2 and the approximate solutions and the error estimation are calculated using the MATLAB program, we observed that the numerical solutions are more effective and reveal that amount of error is maximum for Picard’s than Taylor’s method, so there is a difference between these two methods compared to the exact solution in Favor of Taylor’s method. The results of the equation that a rising from the problem of free—a falling body are displayed in Table 2 and Figure 5 and Figure 6, also the numerical solutions and the absolute error were calculated using the MATLAB program and we noted that the numerical solutions of Picard and Taylors’s are identical and a powerful mathematical tool and this identity is attributed to all first order differential equations of constant function on the right-hand side in case of standard form.
The comparison between the numerical solutions of Picard and Taylor’s Methods to the third problem a rising from Newton’s law of cooling was displayed in Table 4 with their graph in Figure 8 and Figure 9 respectively, and we noticed that these solutions were closely matched to the exact solution especially in a case of constant function at the right-hand side of the first order ordinary differential equation.
Taylor’s method is simple, more effective, and more accurate for the following reasons:
1) This method relies on calculating the values of the upper-order derivatives of the function, which are easy to find.
2) By looking at the three curves, we found that the curve of the numerical solution according to Taylor’s method is closer to the curve of the exact solution.
3) By calculating the error committed, which represents the absolute value of the difference between the numerical solution and the exact solution, we found that the value of the error committed using the Taylor method is less than the value of the error committed using the Picard method.
For example, consider the following three solutions:
1) For the exact solution:
.
2) For the Taylor solution:
.
3) For the Picard solution:
.
6. Conclusion
In this paper, Picard and Taylor’s method is used for solving the First Order differential equations with initial value problems, especially in some applications arising in science. The numerical solutions obtained by the two proposed methods are in good agreement with the exact solution and the accuracy depends on the equation, and these come from the computational view of point, we can conclude that Taylor’s method is more reliable, efficient and easy to use. So, in our subsequent, we shall examine the comparison of Taylor’s method with Rung Kutta, because of similarity, efficiency and well suited for I.V.P OF O.D.E.