Open Access

The Numerical Study of a Hybrid Method for Solving Telegraph Equation

   | Mar 31, 2020

Cite

Introduction

1D telegraph equation is used for signal investigation at transmission and proliferation of electrical signs. The telegraph equation also shows the mix of dissemination and wave proliferation by the properties of constrained velocity to standard warmth or mass transport condition. 1D telegraph equation is in the following form [1] for x ∈ [a,b],t ≥ 0: utt+2αut+β2u=uxx+f(x,t),{u_{tt}} + 2\alpha {u_t} + {\beta ^2}u = {u_{xx}} + f(x,t), with initial conditions u(x,t)=g1(x),ut(x,y)=g2(x),u(x,t) = {g_1}(x),{u_t}(x,y) = {g_2}(x), and boundary conditions u(a,t)=γ1,u(b,t)=γ2,x[a,b],u(a,t) = {\gamma _1},u(b,t) = {\gamma _2},x \in [a,b], where α,beta,a and b are constant and g1,g2,γ1,γ2 and f are known functions.

Several numerical methods were developed for solving 1D telegraph equation, for example, reduced differential transform method, differential quadrature method, new unconditionally stable difference schemes, Chebyshev tau method, dual reciprocity boundary integral equation, cubic B-spline collocation method, modified B-spline differential quadrature method, semi-discretization method, unconditionally stable ADI method, Rothe-wavelet method, collocation method, He’s variational iteration method, dual reciprocity boundary integral equation method, etc. [1, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]. The preferred hybrid method is used for solving many types of differential equations. These are differential-algebraic equations [21], partial differential equations [4, 6, 7, 8, 22, 23], and fractional differential equations [20]. Also, the other differential equation types can be solved by this hybrid method [25, 26, 27, 28, 29, 30, 31, 32].

The hybrid method is given as a blend of the differential transform and the finite difference methods. The differential transform method was proposed by Zhou for the solution of linear and nonlinear differential equations for electrical circuit analysis [24]. This method was developed by Chen and Ho for partial differential equations [5]. Ayaz applied differential transform method for the system of differential equations [3]. According to these studies, the transformation of the k-th derivative of u(x,t) based on t-time variable is a follows: U(i,k)=1k![dkdtku(x,t)]t=0,k=0,1,2,,i=0,1,2,,U(i,k) = \frac{1}{{k!}}{\left[ {\frac{{{d^k}}}{{d{t^k}}}u(x,t)} \right]_{t = 0}},k = 0,1,2, \ldots ,\;\;i = 0,1,2, \ldots , the inverse transformation of U(i,k) is identified by u(x,t)=k=0U(i,k)tk=U(i,0)+U(i,1)t+U(i,2)t2+,i=0,1,2,3,,u(x,t) = \sum\limits_{k = 0}^\infty U(i,k){t^k} = U(i,0) + U(i,1)t + U(i,2){t^2} + \cdots ,\;\;i = 0,1,2,3, \ldots , where U(i,k) = U(xi,k), xi = ih, i = 0,1,2,3,... and h is the finite difference step interval.

The theorems that can be deduced from Eqs (4) and (5) are as follows.

Let G be the differential transform of g, respectively.

Theorem 1

Ifg(x,t)=2gt2g(x,t) = \frac{{{\partial ^2}g}}{{\partial {t^2}}} , then G(i,k) = (k + 1)(k + 2)G(i,k + 2).

Theorem 2

Ifg(x,t)=gtg(x,t) = \frac{{\partial g}}{{\partial t}} , then G(i,k) = (k + 1)G(i,k + 1).

Theorem 3

If g(x,t) = xe−t, thenG(i,k)=x(1)kk!G(i,k) = x\frac{{{{( - 1)}^k}}}{{k!}} .

Theorem 4

If g(x,t) = sin x, then G(i,k) = sinx.

Theorem 5

If g(x,t) = sin t, thenG(i,k)=1kk!sin(πk2)G(i,k) = \frac{{{1^k}}}{{k!}}\sin \left( {\frac{{\pi k}}{2}} \right) .

The proof of Theorems 1–5 are available in [3].

The central difference derivative is given by the finite difference method, see Amirali and Amirali [2], 2ux2=U(i+1,k)2U(i,k)+U(i1,k)h2\frac{{{\partial ^2}u}}{{\partial {x^2}}} = \frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}}

The truncation error constituted by the finite difference method is bigger than that constituted by the differential transform method. Hence, the aim of this study gives a hybrid method which is a mixture of these methods. Using the hybrid method, the approximate solution of the telegraph equation as different from the other methods is obtained from a very powerful iterative scheme.

Numerical Experiments of the Telegraph Equation with Hybrid Method

Here, we give three experiments of both linear and nonlinear 1D telegraph equations to approve the power and reliability of the hybrid method.

Example 1

We will consider the following linear telegraph equation with initial and boundary conditions [18]: utt+2ut+2u=uxx+xet,x[0,1],{u_{tt}} + 2{u_t} + 2u = {u_{xx}} + x{e^{ - t}},\;\;x \in [0,1],u(x,0)=x,ut(x,0)=x,u(x,0) = x,{u_t}(x,0) = - x,u(0,t)=0,u(1,t)=et,u(0,t) = 0,\;u(1,t) = {e^{ - t}}, where f (x,t) = xe−t.

The exact solution to our test problem (6)(8) is u(x,t) = xe−t.

Applying the hybrid method for Eqs (6)(8), first, we have differential transforms of terms dependent on t-time variable in the telegraph Eq. (6), and then the central difference of derivative terms dependent on the x-position variable is obtained. The x-position variable is replaced with mesh positions in other x-terms in the telegraph equation. 2ut2(k+1)(k+2)U(i,k+2),ut(k+1)U(i,k+1),u(x,t)U(i,k),2ux2U(i+1,k)2U(i,k)+U(i1,k)h2,xetxi(1)kk!,u(x,0)U(i,0)=xi,ut(x,0)U(i,0)=xi,u(0,t)U(0,k)=0,u(1,t)U(1,k)=(1)kk!,xi=ih,h=0.1,i=0,1,2,,k=0,1,2,.\begin{array}{*{20}{c}}{\frac{{{\partial ^2}u}}{{\partial {t^2}}} \to (k + 1)(k + 2)U(i,k + 2),}\\{\frac{{\partial u}}{{\partial t}} \to (k + 1)U(i,k + 1),}\\{u(x,t) \to U(i,k),}\\{\frac{{{\partial ^2}u}}{{\partial {x^2}}} \to \frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}},}\\{x{e^{ - t}} \to {x_i}\frac{{{{( - 1)}^k}}}{{k!}},}\\{u(x,0) \to U(i,0) = {x_i},}\\{{u_t}(x,0) \to U(i,0) = - {x_i},}\\{u(0,t) \to U(0,k) = 0,}\\{u(1,t) \to U(1,k) = \frac{{{{( - 1)}^k}}}{{k!}},}\\{{x_i} = ih,h = 0.1,i = 0,1,2, \ldots ,k = 0,1,2, \ldots .}\end{array}

If these differential transforms and the central difference equivalents are written in Eq. (6), we have recurrence correlation and the approximate solution is reached on mesh points xi as U(i,k+2)=1(k+1)(k+2)[U(i+1,k)2U(i,k)+U(i1,k)h22(k+1)U(i,k+1)2U(i,k)+xi(1)kk!],xi=0,u(0,t)=k=0U(0,k)tk=U(0,0)+U(0,1)t+U(0,2)t2+=0+t+0t2++0t10+xi=0.1,u(0.1,t)=k=0U(0.1,k)tk=U(0.1,0)+U(0.1,1)t+=0.10.1t+0.05t2++0.2755731922107t10xi=1,u(1,t)=k=0U(1,k)tk=U(1,0)+U(1,1)t+U(1,2)t2+=11t+0.5t2++0.2755731922106t10+.\begin{array}{l}U(i,k + 2) = \frac{1}{{(k + 1)(k + 2)}}\left[ {\frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}} - 2(k + 1)U(i,k + 1) - 2U(i,k) + {x_i}\frac{{{{( - 1)}^k}}}{{k!}}} \right],\\\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\begin{array}{*{20}{l}}{{x_i}}&{ = 0,u(0,t) = \sum\limits_{k = 0}^\infty U(0,k){t^k} = U(0,0) + U(0,1)t + U(0,2){t^2} + \cdots }\\{}&{ = 0 + t + 0{t^2} + \cdots + 0{t^{10}} + \cdots }\\{{x_i}}&{ = 0.1,u(0.1,t) = \sum\limits_{k = 0}^\infty U(0.1,k){t^k} = U(0.1,0) + U(0.1,1)t + \cdots }\\{}&{ = 0.1 - 0.1t + 0.05{t^2} + \cdots + 0.2755731922 \cdot {{10}^{ - 7}}{t^{10}}}\\{{x_i}}&{ = 1,u(1,t) = \sum\limits_{k = 0}^\infty U(1,k){t^k} = U(1,0) + U(1,1)t + U(1,2){t^2} + \cdots }\\{}&{ = 1 - 1t + 0.5{t^2} + \cdots + 0.2755731922 \cdot {{10}^{ - 6}}{t^{10}} + \cdots .}\end{array}\end{array}

After we find these approximate solutions for x and t = 0.01, we give Table 1. Furthermore, in Figure 1 as 2D and 3D, we compare the results of exact and numerical solution of Example 1 for t = 0.01 and x = 0.1.

Fig. 1

Comparison of exact and approximate solutions for Example 1.

Exact solution, approximate solution, and error values for t = 0.01

xExact solutionApproximate solutionError
0.00.00000000000.00000000000
0.10.09900498330.09900498330
0.20.19800996680.19800996670.1×10−9
0.30.29701495010.29701495010
0.40.39601993350.39601993350
0.50.49502491690.49502491680.1×10−9
0.60.59402990020.59402990020
0.70.69303488360.69303488360
0.80.79203986700.79203986700
0.90.89104485040.89104485030.1×10−9
1.00.99004983370.99004983370
Example 2

Let us consider the following linear telegraph equation [18]: utt+utu=uxx,x[0,1],{u_{tt}} + {u_t} - u = {u_{xx}},\;\;x \in [0,1],u(x,0)=sinx,ut(x,0)=sinx,t0,u(x,0) = \sin x,{u_t}(x,0) = - \sin x,t \ge 0,u(0,t)=0,u(1,t)=sin(1)et,u(0,t) = 0,u(1,t) = \sin (1){e^{ - t}}, where f (x,t) = 0.

Eqs (9) and (10) have the following exact solution: u(x,t)=etsinx.u(x,t) = {e^{ - t}}\sin x.

If Eq. (9) is separated by hybrid method, we obtain differential transforms of terms dependent on t-time variable. Then, the central difference of derivative terms dependent on the x-position variable is obtained. The other x-position variables in the problem are replaced with x: utU(i,k)=(k+1)U(i,k+1),2ux2U(i+1,k)2U(i,k)+U(i1,k)h2,u(x,t)U(i,k),u(x,0)U(i,0)=sinxi,ut(x,0)U(i,0)=sinxi,u(0,t)U(0,k)=0,u(1,t)U(1,k)=sin(1)(1)kk!,xi=ih,h=0.1,i=0,1,2,,k=0,1,2,.\begin{array}{*{20}{c}}{\frac{{\partial u}}{{\partial t}} \to U(i,k) = (k + 1)U(i,k + 1),}\\{\frac{{{\partial ^2}u}}{{\partial {x^2}}} \to \frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}},}\\{u(x,t) \to U(i,k),}\\{u(x,0) \to U(i,0) = \sin {x_i},}\\{{u_t}(x,0) \to U(i,0) = - \sin {x_i},}\\{u(0,t) \to U(0,k) = 0,}\\{u(1,t) \to U(1,k) = \sin (1)\frac{{{{( - 1)}^k}}}{{k!}},}\\{{x_i} = ih,h = 0.1,i = 0,1,2, \ldots ,k = 0,1,2, \ldots .}\end{array}

If these differential transforms and the central difference equivalents are written in Eq. (9), then the following recurrence relation is obtained: U(i,k+2)=1(k+1)(k+2)[U(i+1,k)2U(i,k)+U(i1,k)h2(k+1)U(i,k+1)+U(i,k)],U(i,k + 2) = \frac{1}{{(k + 1)(k + 2)}}\left[ {\frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}} - (k + 1)U(i,k + 1) + U(i,k)} \right],

Now, we find approximate solutions on xi mesh points for t = 0.01, Numerical values are demonstrated in Table 2. To compare the results of exact and approximate solution of Example 2, Figure 2 is plotted. xi=0,u(0,t)=k=0U(0,k)tk=U(0,0)+U(0,1)t+U(0,2)t2+=0+t+0t2++0t10+xi=0.1,u(0.1,t)=k=0U(0.1,k)tk=U(0.1,0)+U(0.1,1)t+=0.099833416650.09983341665t+0.09933466549t2++0.2751141332107t10+.xi=1,u(1,t)=k=0U(1,k)tk=U(1,0)+U(1,1)t+U(1,2)t2+=0.84147098480.8414709848t+0.4207354924t2++0.2318868455106t10+.\begin{array}{*{20}{l}} {{x_i}}&{ = 0,u(0,t) = \sum\limits_{k = 0}^\infty U(0,k){t^k} = U(0,0) + U(0,1)t + U(0,2){t^2} + \cdots }\\ {}&{ = 0 + t + 0{t^2} + \cdots + 0{t^{10}} + \cdots }\\ {{x_i}}&{ = 0.1,u(0.1,t) = \sum\limits_{k = 0}^\infty U(0.1,k){t^k} = U(0.1,0) + U(0.1,1)t + \cdots }\\ {}&{ = 0.09983341665 - 0.09983341665t + 0.09933466549{t^2} + \cdots + 0.2751141332 \cdot {{10}^{ - 7}}{t^{10}} + \cdots .}\\ {{x_i}}&{ = 1,u(1,t) = \sum\limits_{k = 0}^\infty U(1,k){t^k} = U(1,0) + U(1,1)t + U(1,2){t^2} + \cdots }\\ {}&{ = 0.8414709848 - 0.8414709848t + 0.4207354924{t^2} + \cdots + 0.2318868455 \cdot {{10}^{ - 6}}{t^{10}} + \cdots .} \end{array}

In the form of 2D and 3D, the results of exact and approximate solutions of Example 2 are compared for t = 0.01 and x = 0.1 as in Figure 2.

Fig. 2

Comparison of exact and approximate solutions for Example 2.

Exact solution, approximate solution, and error values for t = 0.01

xExact solutionApproximate solutionError
0.00.00000000000.00000000000
0.10.98840057550.98840057550
0.20.19669253790.19800996670.1×10−9
0.30.29257973150.29257973140.1×10−9
0.40.38554356500.38554356510.1×10−9
0.50.47465517480.47465517480
0.60.55902418690.55902418690
0.70.63780761410.63780761410
0.80.71021827850.71021827850
0.90.77553267660.77553267650.1×10−9
1.00.83309820860.83309820870.1×10−9
Example 3

Considering the following nonlinear telegraph equation [19]: utt+2ut=uxxu2+e2x+4tex2t,x[0,1],{u_{tt}} + 2{u_t} = {u_{xx}} - {u^2} + {e^{2x + 4t}} - {e^{x - 2t}},x \in [0,1], which has the following initial conditions, boundary conditions, and exact solution, respectively: u(x,0)=ex,ut(x,0)=2ex,t0,u(x,0) = {e^x},{u_t}(x,0) = - 2{e^x},t \ge 0,u(0,t)=e2t,u(1,t)=e12t,x[0,1],u(x,t)=ex2t,\begin{array}{*{20}{c}} {\begin{array}{*{20}{c}} {u(0,t) = {e^{ - 2t}},u(1,t) = {e^{1 - 2t}},x \in [0,1],}\\ {u(x,t) = {e^{x - 2t}},} \end{array}} \end{array} where f (x,t) = e2x+4tex−2t.

Using the hybrid method for the solution of the problem (12)(14), we have 2ut2U(i,k+2)=(k+1)(k+2)U(i,k+2),utU(i,k)=(k+1)U(i,k+1),2ux2U(u+1,k)2U(i,k)+U(i1,k)h2e2x+4te2xi(4kk!),ex2texi((2)kk!),(U(x,t))2(U(i,k))2,u(x,0)U(i,0)=exiut(x,0)U(i,1)=2exi,u(0,t)U(0,k)=0,u(0,t)U(0,k)=(2)kk!,u(1,t)U(1,k)=exi((2)kk!),xi=ih,h=0.1,i=0,1,2,,k=0,1,2.\begin{array}{*{20}{c}} {\frac{{{\partial ^2}u}}{{\partial {t^2}}} \to U(i,k + 2) = (k + 1)(k + 2)U(i,k + 2),}\\ {\frac{{\partial u}}{{\partial t}} \to U(i,k) = (k + 1)U(i,k + 1),}\\ {\frac{{{\partial ^2}u}}{{\partial {x^2}}} \to \frac{{U(u + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}}}\\ {{e^{2x + 4t}} \to {e^{2{x_i}}}\left( {\frac{{{4^k}}}{{k!}}} \right),}\\ {{e^{x - 2t}} \to {e^{{x_i}}}\left( {\frac{{{{( - 2)}^k}}}{{k!}}} \right),}\\ {{{(U(x,t))}^2} \to {{(U(i,k))}^2},}\\ {u(x,0) \to U(i,0) = {e^{{x_i}}}}\\ {{u_t}(x,0) \to U(i,1) = - 2{e^{{x_i}}},}\\ {u(0,t) \to U(0,k) = 0,}\\ {u(0,t) \to U(0,k) = \frac{{{{( - 2)}^k}}}{{k!}},}\\ {u(1,t) \to U(1,k) = {e^{{x_i}}}\left( {\frac{{{{( - 2)}^k}}}{{k!}}} \right),}\\ {{x_i} = ih,\;h = 0.1,\;i = 0,1,2, \ldots ,\;k = 0,1,2 \ldots .} \end{array}

If these differential transforms and the central difference equivalents are written in the Eq. (12), then the following recurrence relation is obtained: U(i,k+2)=1(k+1)(k+2)[U(i+1,k)2U(i,k)+U(i1,k)h22(k+1)U(i,k+1)(U(i,k))2+e2xi(4kk!)exi((2)kk!)]\begin{array}{l} U(i,k + 2) = \frac{1}{{(k + 1)(k + 2)}}\\ \,\,\,\,\,\left[ {\frac{{U(i + 1,k) - 2U(i,k) + U(i - 1,k)}}{{{h^2}}} - 2(k + 1)U(i,k + 1) - {{(U(i,k))}^2} + {e^{2{x_i}}}\left( {\frac{{{4^k}}}{{k!}}} \right) - {e^{{x_i}}}\left( {\frac{{{{( - 2)}^k}}}{{k!}}} \right)\,} \right] \end{array} and then we have the approximate solutions on xi mesh points for t = 0.01 as: xi=0,u(0,t)=k=0U(0,k)tk=U(0,0)+U(0,1)t+U(0,2)t2+=12t+2t++0.0002821869489t10+xi=0.1,u(0.1,t)=k=0U(0.1,k)tk=U(0.1,0)+U(0.1,1)t+=1.1051709182.210341836t+2.210341836t2++0.0003118648093t10+xi=1,u(1,t)=k=0U(1,k)tk=U(1,0)+U(1,1)t+U(1,2)t2+=2.7182818285.436563656t+5.436563655t2++0.0007670636553t10+.\begin{array}{*{20}{l}} {{x_i}}&{ = 0,u(0,t) = \sum\limits_{k = 0}^\infty U(0,k){t^k} = U(0,0) + U(0,1)t + U(0,2){t^2} + \cdots }\\ {}&{ = 1 - 2t + 2t + \cdots + 0.0002821869489{t^{10}} + \cdots }\\ {{x_i}}&{ = 0.1,u(0.1,t) = \sum\limits_{k = 0}^\infty U(0.1,k){t^k} = U(0.1,0) + U(0.1,1)t + \cdots }\\ {}&{ = 1.105170918 - 2.210341836t + 2.210341836{t^2} + \cdots + 0.0003118648093{t^{10}} + \cdots }\\ {{x_i}}&{ = 1,u(1,t) = \sum\limits_{k = 0}^\infty U(1,k){t^k} = U(1,0) + U(1,1)t + U(1,2){t^2} + \cdots }\\ {}&{ = 2.718281828 - 5.436563656t + 5.436563655{t^2} + \cdots + 0.0007670636553{t^{10}} + \cdots .} \end{array}

The obtained data of Example 3 are given in Table 3, and the plot of corresponding exact and approximate solutions are demonstrated in Figure 3 for t = 0.01 and x = 0.1.

Briefly, throughout the study, each figure (Figures 13) consists of two images. The first picture is two dimensional and the second picture is three dimensional. They compare exact and approximate solutions for t = 0.01 and x = 0.1.

Fig. 3

Comparison of exact and approximate solutions for Example 3.

Exact solution, approximate solution, and error values for t = 0.01

xExact solutionApproximate solutionError
0.00.9801986730.9801986730
0.11.0832870671.0832870680.1×10−8
0.21.1972173631.1972173630
0.31.3231298121.3231298130.1×10−8
0.41.4622845891.4622845900.1×10−8
0.51.6160744021.6160744030.1×10−8
0.61.7860384311.7860384310
0.71.9738777321.9738777320
0.82.1814722652.1814722650
0.92.4108997062.4108997070.1×10−8
1.02.6644562422.6644562410.1×10−8
Conclusion

A robust hybrid numerical method was presented for the numerical solution of the linear and nonlinear telegraph equations. The hybrid method was introduced. Three test problems were solved by using this method. The exact solution, approximate solution, and error values were computed for t = 0.01 and different x values. The results were demonstrated in Tables 13. 2D and 3D forms of graphics were plotted in Figures 13. It was seen that the curves of the exact and approximate solutions are almost identical. As a result, the numerical results proved that the proposed method was working very well. Therefore, we propose that the hybrid method can be used for the other partial differential equations as an alternative method.

eISSN:
2444-8656
Language:
English
Publication timeframe:
Volume Open
Journal Subjects:
Life Sciences, other, Mathematics, Applied Mathematics, General Mathematics, Physics