Keywords

1 Introduction

In this work, we will consider the following inverse problem of simultaneously finding unknown coefficients p(t), one boundary condition q(t) and u(xt) from the following parabolic equation

$$\begin{aligned} \displaystyle u_{t}=u_{xx}+p(t)u+f(x,t),x\in (0,1),t\in (0,T], \end{aligned}$$
(1)

with the initial-boundary conditions

$$\begin{aligned} \displaystyle u(x,0)&=\varphi (x),x\in (0,1),t\in (0,T],\end{aligned}$$
(2)
$$\begin{aligned} \displaystyle u_{x}(0,t)&=q(t),t\in (0,T],\end{aligned}$$
(3)
$$\begin{aligned} \displaystyle u_{x}(1,t)&=\mu _{1}(t),t\in (0,T],\end{aligned}$$
(4)
$$\begin{aligned} \displaystyle u(1,t)&=\mu _{2}(t),t\in (0,T], \end{aligned}$$
(5)

and the additional specification

$$\begin{aligned} \displaystyle u(x^{*},t)=E(t),x^{*}\in (0,1),t\in (0,T], \end{aligned}$$
(6)

where \(f(x,t),\varphi (x),\mu _{1}(t),\mu _{2}(t)\) and \(E(t)\ne 0\) are known functions, p(t) and q(t) are unknown function, \(x^{*}\) is a fixed prescribed interior point in (0, 1).

The determination of unknown coefficients in partial differential equations of parabolic type from additional boundary conditions (i.e., measured data taken on the boundary) is well known in literature as inverse coefficient problems (ICP). Physically, the ICP is the reconstruction of an intra property of a medium in some bounded region by using state measurements taken on the boundary. ICP for semi-linear parabolic equations have been studied by many people, for example, by Cannon and Lin [1], Emine [2], Hasanov and Liu [3], Liu [4,5,6], Odibat [7], Varedi, Hosseini, Rahimi, et al. [8].

The variational iteration method is introduced by He [9,10,11] as a modification of a general Lagrange multiplier method [12], which has been proved by many authors to be a powerful mathematical tool for various types of nonlinear problems. It was successfully applied to burger’s equation and coupled equation [13], a biochemical reaction model [14], singular perturbation initial value problems [15], strongly nonlinear problems [16, 17], nonlinear differential equations of fractional order [18, 26], generalized nonlinear Boussinesq equation [19] and generalized KdV [20], Dehghan, Liu Jinbo, Huang Dejian and Ma Yunjie have studied the inverse problems by use of the variational iteration method [7, 21, 22, 25, 27].

In this paper, we will apply the variational iteration method to find the exact solution of a control parameter p(t), a boundary condition q(t) in parabolic equation.

2 The Variational Iteration Method

In this section the application of variational iteration method is discussed for solving problem (1)–(5) with over specification (6). Applying a pair of transformations [2] as follows:

$$\begin{aligned} \displaystyle r(t)&=\exp (-\int ^{t}_{0}p(s)ds),\end{aligned}$$
(7)
$$\begin{aligned} \displaystyle w(x,t)&=u(x,t)r(t). \end{aligned}$$
(8)

We reduce the original inverse problem (1)–(6) to the following auxiliary problem:

$$\begin{aligned} \displaystyle w_{t}&=w_{xx}+r(t)f(x,t),x\in (0,1),t\in (0,T]. \end{aligned}$$
(9)
$$\begin{aligned} \displaystyle w(x,0)&=\varphi (x),x\in (0,1),t\in (0,T], \end{aligned}$$
(10)
$$\begin{aligned} \displaystyle w_{x}(0,t)&=r(t)q(t),t\in (0,T], \end{aligned}$$
(11)
$$\begin{aligned} \displaystyle w_{x}(1,t)&=r(t)\mu _{1}(t),t\in (0,T], \end{aligned}$$
(12)
$$\begin{aligned} \displaystyle w(1,t)&=r(t)\mu _{2}(t),t\in (0,T], \end{aligned}$$
(13)

subject to

$$\begin{aligned} \displaystyle r(t)=\frac{w(x^{*},t)}{E(t)},t\in (0,T]. \end{aligned}$$
(14)

It is easy to show that the original inverse problem (1)–(6) is equivalent to the auxiliary problem (9)–(14). Obviously, Eq. (9) has only one unknown function w(xt) [23, 24] and has suitable form to apply the variational iteration method.

According to the variational iteration method, we consider the correction functional in \(t-\) direction in the following form

$$\begin{aligned} \displaystyle w_{n+1}(x,t)=w_{n}(x,t)+\int ^{t}_{0}\lambda (s)\{\frac{\partial w_{n}(x,s)}{\partial s}-\frac{\partial ^{2}\tilde{w}_{n}(x,s)}{\partial x^{2}} -\frac{\tilde{w}_{n}(x^{*},s)}{E(s)}f(x,s)\}ds, \end{aligned}$$
(15)

where \(\lambda (t)\) is the general Lagrange multiplier, its optimal value is found by using variational theory, \(w_{0}(x,t)\) is an initial approximation which must be chosen suitably and \(\tilde{w}_{n}\) is the restricted variation i.e. \(\delta \tilde{w}_{n}=0\) [9].

To find the optimal value of \(\lambda (t)\), we have

$$\begin{aligned} \displaystyle \delta w_{n+1}(x,t)=\delta w_{n}(x,t)+\delta \int ^{t}_{0}\lambda (s)\{\frac{\partial w_{n}(x,s)}{\partial s}-\frac{\partial ^{2}\tilde{w}_{n}(x,s)}{\partial x^{2}}-\frac{\tilde{w}_{n}(x^{*},s)}{E(s)}f(x,s)\}ds, \end{aligned}$$
(16)

or

$$\begin{aligned} \displaystyle \delta w_{n+1}(x,t)=\delta w_{n}(x,t)+\delta \int ^{t}_{0}\lambda (s)\{\frac{\partial w_{n}(x,s)}{\partial s}\}ds. \end{aligned}$$
(17)

Using integration by parts, we have

$$\begin{aligned} \displaystyle \delta w_{n+1}(x,t)=\delta w_{n}(x,t)(1+\lambda (t))-\int ^{t}_{0}\delta w_{n}(x,s)\lambda '(s)ds=0, \end{aligned}$$
(18)

which yields

$$\begin{aligned} \displaystyle \lambda '(s)=0|_{s=t},\end{aligned}$$
(19)
$$\begin{aligned} \displaystyle 1+\lambda (s)=0|_{s=t}. \end{aligned}$$
(20)

Thus we have

$$\begin{aligned} \displaystyle \lambda (t)=-1. \end{aligned}$$
(21)

and we obtain the following iteration formula

$$\begin{aligned} \displaystyle w_{n+1}(x,t)=w_{n}(x,t)-\int ^{t}_{0}\{\frac{\partial w_{n}(x,s)}{\partial s}-\frac{\partial ^{2}w_{n}(x,s)}{\partial x^{2}}-\frac{{w}_{n}(x^{*},s)}{E(s)}f(x,s)\}ds. \end{aligned}$$
(22)

Now using (22) we can find the solution of Eq. (9). Then we get the solutions of the original inverse problem from the following

$$\begin{aligned} \displaystyle u(x,t)=\frac{w(x,t)}{E(t)}, \end{aligned}$$
(23)

and

$$\begin{aligned} \displaystyle p(t)=-\frac{r'(t)}{r(t)}, \end{aligned}$$
(24)

then

$$\begin{aligned} \displaystyle q(t)=u_{x}(0,t), \end{aligned}$$
(25)

where r(t) is given in (7).

Also we can consider \(w_{n}\) as an approximation of the exact solution for sufficiently large values of n.

3 The Test Example

To show the efficiency of the present method, we consider the following example, which can be solved iteratively by using the variational iteration method.

Consider Eqs. (1)–(6) with the following conditions:

$$\begin{aligned} \displaystyle u(x,0)&=\cos (\pi x)+x,\end{aligned}$$
(26)
$$\begin{aligned} \displaystyle u_{x}(1,t)&=\exp (t),\end{aligned}$$
(27)
$$\begin{aligned} \displaystyle u(1,t)&=0,\end{aligned}$$
(28)
$$\begin{aligned} \displaystyle f(x,t)&=\pi ^{2}\exp (t)\cos (\pi x)-t^{2}\exp (t)[\cos (\pi x)+x],\end{aligned}$$
(29)
$$\begin{aligned} \displaystyle E(t)&=(\frac{\sqrt{2}}{2}+\frac{1}{4})\exp (t), \end{aligned}$$
(30)

with \(x^{*}=0.25\). The exact solution of this problem is [26]

$$\begin{aligned} \displaystyle u(x,t)=\exp (t)[\cos (\pi x)+x], \end{aligned}$$
(31)

and

$$\begin{aligned} \displaystyle p(t)&=1+t^{2},\end{aligned}$$
(32)
$$\begin{aligned} \displaystyle q(t)&=\exp (t). \end{aligned}$$
(33)

We set from (10)

$$\begin{aligned} \displaystyle w_{0}=\varphi (x)=\cos (\pi x)+x. \end{aligned}$$
(34)

Using Eq. (22), we obtain

$$\begin{aligned} \displaystyle \begin{array}{lll}w_{1}(x,t)&{}=&{}w_{0}(x,t)-\int ^{t}_{0}\{\frac{\partial w_{0}(x,s)}{\partial s}-\frac{\partial ^{2}w_{0}(x,s)}{\partial x^{2}}-\frac{{w}_{0}(x^{*},s)}{E(s)}f(x,s)\}ds \\ &{}=&{}\cos (\pi x)+x-\int ^{t}_{0}\{\pi ^{2}\cos (\pi x)-[\pi ^{2}\cos (\pi x)-s^{2}(\cos (\pi x)+x)]\}ds\\ &{}=&{}[\cos (\pi x)+x](1-\frac{t^{3}}{3})\\ {} &{}=&{}\sum \nolimits _{j=0}^{1}\frac{(-\frac{t^{3}}{3})^{j}}{j!}[\cos (\pi x)+x],\end{array} \end{aligned}$$
(35)
$$\begin{aligned} \displaystyle \begin{array}{lll}w_{2}(x,t)&{}=&{}w_{1}(x,t)-\int ^{t}_{0}\{\frac{\partial w_{1}(x,s)}{\partial s}-\frac{\partial ^{2}w_{1}(x,s)}{\partial x^{2}}-\frac{{w}_{1}(x^{*},s)}{E(s)}f(x,s)\}ds\\ &{}=&{}[\cos (\pi x)+x](1-\frac{t^{3}}{3})-\int ^{t}_{0}\{-[\cos (\pi x)+x]s^{2}+(s^{2}-\frac{s^{5}}{3})[\cos (\pi x)+x]\}ds\\ &{}=&{}[\cos (\pi x)+x](1-\frac{t^{3}}{3}+\frac{t^{6}}{18})\\ {} &{}=&{}\sum \nolimits _{j=0}^{2}\frac{(-\frac{t^{3}}{3})^{j}}{j!}[\cos (\pi x)+x],\end{array} \end{aligned}$$
(36)
$$\begin{aligned} \displaystyle \begin{array}{lll}w_{3}(x,t)&{}=&{}w_{2}(x,t)-\int ^{t}_{0}\{\frac{\partial w_{2}(x,s)}{\partial s}-\frac{\partial ^{2}w_{2}(x,s)}{\partial x^{2}}-\frac{{w}_{2}(x^{*},s)}{E(s)}f(x,s)\}ds\\ &{}=&{}[\cos (\pi x)+x](1-\frac{t^{3}}{3}+\frac{t^{6}}{18})-\int ^{t}_{0}\{[\cos (\pi x)+x]\frac{s^{8}}{18}\}ds\\ &{}=&{}[\cos (\pi x)+x](1-\frac{t^{3}}{3}+\frac{t^{6}}{18}-\frac{t^{9}}{162})\\ {} &{}=&{}\sum \nolimits _{j=0}^{3}\frac{(-\frac{t^{3}}{3})^{j}}{j!}[\cos (\pi x)+x],\end{array} \end{aligned}$$
(37)

and so on.

Generally we obtain

$$\begin{aligned} \displaystyle w_{n}(x,t)=\sum _{j=0}^{n}\frac{(-\frac{t^{3}}{3})^{j}}{j!}[\cos (\pi x)+x]. \end{aligned}$$
(38)

Thus the exact value of w in a closed form is

$$\begin{aligned} \displaystyle w(x,t)=\exp (-\frac{t^{3}}{3})[\cos (\pi x)+x]\ \ \ (n\rightarrow \infty ), \end{aligned}$$
(39)

which results the exact solution of the problem. It can be seen that the same results are obtained using Finite difference method [25], Comparing with Finite difference method, it is easy to know that the approximation obtained by the variational iteration method converges to its exact solution faster than those of Finite difference without calculating implicit difference scheme. The results show the computation efficiency of the variational iteration method for the studied model.

4 Conclusion

In this work, the variational iteration method has been successfully applied to inverse parabolic equation with Neumann boundary conditions. Since this method solves the problem without any need to discretization of the variables, it is not affected by computation round off errors and one is not faced with necessity of large computer memory and time. The example shows that this method provides the solution of the problem in a closed form without calculating implicit difference scheme, which is an advantage of the variational iteration method over Finite difference method. Thus we can say the proposed method is very simple and straightforward.