\documentclass[reqno]{amsart}
\usepackage{hyperref}

\AtBeginDocument{{\noindent\small
\emph{Electronic Journal of Differential Equations},
Vol. 2013 (2013), No. 270, pp. 1--16.\newline
ISSN: 1072-6691. URL: http://ejde.math.txstate.edu or http://ejde.math.unt.edu
\newline ftp ejde.math.txstate.edu}
\thanks{\copyright 2013 Texas State University - San Marcos.}
\vspace{9mm}}

\begin{document}
\title[\hfilneg EJDE-2013/270\hfil Determination of a source term]
{Determination of a  source term for a time fractional diffusion
equation with an integral type over-determining condition}

\author[T. S. Aleroev, M. Kirane, S. A. Malik \hfil EJDE-2013/270\hfilneg]
{Timurkhan S. Aleroev, Mokhtar Kirane, Salman A. Malik }  % in alphabetical order

\address{Timurkhan S. Aleroev \newline
The State University of the Ministry of Finance of the Russian Federation,
Moscow.\newline
Moscow State Academy of Municipal Services and Construction, Moscow, Russia}
\email{aleroev@mail.ru}

\address{Mokhtar Kirane \newline
Laboratoire de Math\'ematiques, Image et Applications,
Universit\'e de La Rochelle, Avenue M. Cr\'epeau,
17042 La Rochelle Cedex, France}
\email{mokhtar.kirane@univ-lr.fr}

\address{Salman A. Malik \newline
Department of Mathematics, COMSATS Institute of Information
Technology, Islamabad, Pakistan}
\email{salman.amin.malik@gmail.com}

\thanks{Submitted November 1, 2013. Published December 6, 2013.}
\subjclass[2000]{80A23, 65N21, 26A33, 45J05, 34K37, 42A16}
\keywords{Inverse problem; heat equation; fractional derivative; \hfill\break\indent
 integral equations; bi-orthogonal system of functions; Fourier series}

\begin{abstract}
 We consider a linear heat equation involving a fractional derivative
 in time, with a nonlocal boundary condition. We determine a source 
 term independent of the space variable, and the temperature  distribution 
 for a problem with an over-determining condition of integral type. 
 We prove the existence and uniqueness of the solution, and its continuous 
 dependence on the data.
\end{abstract}

\maketitle
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\allowdisplaybreaks


\section{Introduction}\label{intr}

In this article, we are concerned with the linear heat equation
\begin{equation}\label{ProblemEq1}
D^{\alpha}_{0_+}(u(x,t)-u(x,0))-\varrho u_{xx}(x,t)= F(x,t),\quad (x,t)\in Q_T,
\end{equation}
with initial and nonlocal boundary conditions
\begin{gather}
u(x,0)=\varphi (x), \quad  x\in (0,1),\label{ProblemEq2}\\
u(0,t)=u(1,t),\quad u_x(1,t)= 0,\quad t\in (0,T],\label{ProblemEq3}
\end{gather}
where $Q_T=(0,1)\times (0,T]$, $\varrho$ is a positive constant, 
$D^{\alpha}_{0_+}$ stands for the Riemann-Liouville fractional derivative 
of order $0<\alpha<1$ in the time variable  (see formula \eqref{e:RL2}) 
and $\varphi (x)$ is the initial temperature. 

Our choice of the term $D^{\alpha}_{0_+}(u(x,\cdot)-u(x,0))(t)$ 
rather than the usual term  $D^{\alpha}_{0_+}u(x,\cdot)(t)$ is not 
only to avoid the singularity at zero,  but also to include certain 
initial conditions.

For \eqref{ProblemEq1}-\eqref{ProblemEq3} the direct problem
is the  determination of $u(x,t)$  in $\bar{Q}_T$ such that
$u(\cdot,t)\in C^2([0,1],\mathbb{R})$ and
$D^{\alpha}_{0_+}(u(x,.)-u(x,0))\in C((0,T],\mathbb{R})$, when the initial
temperature $\varphi(x)$ and the source term $F(x,t)$ are given and continuous.

Letting  the source term have the form $F(x,t) = a(t)f(x,t)$,
then the inverse problem consists of determining a source
term $a(t)$ and the temperature distribution $u(x,t)$, from the
initial temperature $\varphi(x)$ and boundary conditions \eqref{ProblemEq3}.
This problem is not uniquely solvable. 
The inverse  problem of determining $a(t)$ was already considered 
in the literature for parabolic equations, see for example \cite{lesnic} and 
\cite{cannon-Australia1991}.
To have the inverse problem uniquely solvable,
we propose the over-determination condition 
\begin{equation}\label{ProblemEq4}
\int _0^1u(x,t)dx=g(t), \quad t\in [0,T],
\end{equation}
where $g\in AC([0,T],\mathbb{R})$ (the space of absolutely continuous functions).
The solvability of inverse problems with such type of integral
over-determination  has been considered in the literature
\cite{lesnic,kamynin}.

It is well known (see \cite{matzler-reviewAD} and references therein)
that standard reaction diffusion equations and transport equations,
commonly used to explain physical phenomena, show in some situations
a disagreement with experimental data, due to non Gaussian diffusion.
Among the several descriptions of this anomalous diffusion, one is by using
fractional derivatives in time or space, or both, in reaction diffusion
equations and transport equations. There are several publications 
on this topic, see \cite{matzler-reviewAD,lenzi,Wang}
and  references therein. Nonlocal boundary conditions arise from many
important application in heat conduction and thermo-elasticity,
see \cite{cannon-Australia1991,cannon-siam1987}.

When we want to solve \eqref{ProblemEq1}-\eqref{ProblemEq3} by using
the Fourier method, i.e. by using separation of variables, we have
to consider the spectral problem
\begin{gather}
X''= -\lambda X,\quad x\in (0,1),\label{SProblemEq1}\\
X(0)=X(1),\quad X'(1)=0. \label{SProblemEq3}
\end{gather}
This boundary-value problem is non-self-adjoint, and
the set of eigenvectors of the spectral
problem \eqref{SProblemEq1}-\eqref{SProblemEq3} is not complete
in the space $L^2(0,1)$. Following \cite{ILin}, we supplement
the set of eigenvectors with the associated eigenvectors making
the set complete on $L^2(0,1)$. Another complete set of eigenvectors
and associated eigenvectors of the adjoint problem of problem
\eqref{SProblemEq1}-\eqref{SProblemEq3} is obtained in the Appendix.

A solution of the inverse problem is a pair of
functions $\{u(x,t), a(t)\}$ satisfying $u(.,t)\in C^2[(0,1),\mathbb{R}]$, 
$D^{\alpha}_{0_+}(u(x,.)-u(x,0))\in C([0,T],\mathbb{R})$ such that
$a\in C([0,T],\mathbb{R}^+\cup\{0\})$, and for a given initial data
the over determination condition \eqref{ProblemEq4} is satisfied.

Our approach for the solvability of the inverse problem is based on
the expansion of the solution $u(x,t)$ by using the bi-orthogonal
system of functions obtained from the boundary-value problem
\eqref{SProblemEq1}-\eqref{SProblemEq3} and its adjoint problem.

Let us mention that in \cite{YamamotoFracInvIP}, the authors considered
the inverse problem of determination of the order of the fractional derivative
and the diffusion coefficient for the one dimensional diffusion equation
(they considered the fractional time derivative defined in the sense of Caputo).
They proved the unique determination of the order of the the fractional
derivative and the diffusion coefficient (independent of time);
their proof is based on the eigenfunctions expansion of the weak
solution to the problem along the Gelfand-Levitan theory.

In \cite{malik-inv} the inverse problem of finding the temperature
distribution and a source term independent of the time variable
for the one dimensional fractional diffusion equation with the
nonlocal boundary condition
$$
u(1,t)=0,\quad u_x(0,t)=u_x(1,t),\quad t\in [0,T],
$$
has been considered. The authors used two sets of Riesz basis
(which form a bi-orthogonal system) for the space $L^2(0,1)$
in order to prove the existence and uniqueness for the solution of
the inverse problem. In \cite{ZhangFracInvIP}, the inverse problem
of the determination of the source term (which is independent
of the time variable) for the fractional diffusion equation
\begin{gather}
^CD^{\alpha}_{0_+}u(x,t)-u_{xx}(x,t)= f(x),\quad (x,t)\in Q_T,\\
u(x,0)=\varphi (x), \quad x\in [0,1],\\
u_x(1,t)=0,\quad u_x(0,t)= 0,\quad  t\in [0,T],
\end{gather}
where $^CD^{\alpha}_{0_+}$, for $0<\alpha<1$ stands for the Caputo
fractional derivative in the time variable has been addressed.
They proved the unique determination of the source term by using analytic
continuation along with Duhamel's principle.

Some authors also consider the regularizing techniques for the solution of
the inverse problem of the one dimensional linear time fractional heat equation.
Murio \cite{MurioFracInvCMA} proposed a space marching regularizing
scheme using mollification techniques for the solution of the inverse
time fractional heat equation. The fractional derivative is considered
in the sense of Caputo's definition.
In \cite{LukashchukFracInvNumCMA} the author considers the problem of
identification of the diffusion coefficient and the order of the fractional
derivative for the one dimensional time fractional diffusion equation.
The author presents the results by considering Riemann-Liouville's
and Caputo's definition of the fractional derivative.

Recently, Kirane et al \cite{malik-inv2D} considered two dimensional
inverse source problem for time fractional diffusion equation and prove
the well posedness of the inverse source problem using Fourier method.
Jin and Rundell \cite{JinRundell2012} consider the problem of recovering
a spatially varying potential for a one dimensional time fractional
diffusion equation from the flux measurements at a particular time.
They proved the result of uniqueness of the potential using Green's
function theory and propose a reconstruction method by a quasi Newton
type iterative scheme. Li et al \cite{YamamotoCite2013} propose algorithms
for simultaneous inversion of order of fractional derivative and a space
dependent diffusion coefficient for a one dimensional time fractional
diffusion equation. They use the inverse eigenvalue problem for proving
the uniqueness results of the inverse problem. An optimal perturbation
algorithm for regularization using sigmoid-type function is proposed for
the numerical inversion of order of fractional derivative and diffusion
coefficient.

The rest of the paper is organized as follows: in Section \ref{PRE},
for the sake of the reader we present some basic definitions and results
needed in the sequel. In Section \ref{main-results}, we present our main
results concerning the existence, uniqueness and continuous dependence
of the solution of the inverse problem. Section 4 concludes the paper
by describing the results obtained in this paper.

\section{Preliminaries}\label{PRE}

In this section, we recall basic definitions and notations from fractional
calculus (see \cite{samko-book}). For an integrable function
$f:\mathbb{R^+} \to \mathbb{R}$, the left sided Riemann-Liouville
fractional integral of order $0<\alpha<1$ is defined by
\begin{equation}\label{e:Riemann-Integral}
J^{\alpha}_{0_+}f(t):= \frac{1}{\Gamma(\alpha)}
\int^t_0\frac{f(\tau)}{(t-\tau)^{1-\alpha}}d\tau, \quad t>0,
\end{equation}
where $\Gamma(\alpha)$ is the Euler Gamma function.
The integral \eqref{e:Riemann-Integral} can be written as a convolution
\begin{equation}\label{e:Riemann-conv}
J^{\alpha}_{0_+}f(t)= (\phi _{\alpha} \star f)(t),
\end{equation}
where
\begin{equation}\label{eq:phi}
\phi _{\alpha}:= \begin{cases}
 t^{\alpha -1}/\Gamma(\alpha),&  t > 0,\\
 0 & t\leq0.
\end{cases}
\end{equation}

The left sided Riemann-Liouville fractional derivative of order $0<\alpha<1$
of the continuous function $f$is defined by
\begin{equation}\label{e:RL2}
D^{\alpha}_{0_+}f(t):= \frac{d}{dt}J^{1-\alpha}_{0_+}f(t)
=\frac{1}{\Gamma(1-\alpha)}\frac{d}{dt}
\int^t_0\frac{f(\tau)}{(t-\tau)^{\alpha}}d\tau.
\end{equation}
Notice that the Riemann-Liouville fractional derivative of a constant
is not equal to zero.

The Laplace transform of the Riemann-Liouville integral of order
$0<\alpha<1$ of a function with at most an exponential growth is
$$
\mathcal{L}\{J^{\alpha}_{0_+}f(t):s\}=
\mathcal{L}\{f(t):s\}/s^{\alpha}.
$$
For $0<\alpha<1$, we have
\begin{equation}
J^{\alpha}_{0_+}D^{\alpha}_{0_+}\Bigl(f(t)-f(0)\Bigr)=f(t)-f(0).
\end{equation}

The Mittag-Leffler function plays an important role in the theory
of fractional differential equations; for any $z \in \mathbb{C}$
the Mittag-Leffler function with parameter
$\xi$ is
\begin{equation}\label{e:Mittag-Leffler-1P}
E_{\xi}(z)=\sum  ^{+\infty}_{k=0}\frac{z^{k}}{\Gamma(\xi k+1)}\quad
(\operatorname{Re}(\xi)>0).
\end{equation}
In particular, $E_{1}(z)=e^{z}$.

The Mittag-Leffler function of two parameters $E_{\xi,\beta}(z)$
which is a generalization of \eqref{e:Mittag-Leffler-1P} is defined by
\begin{equation}\label{e:Mittag-Leffler-2P}
E_{\xi,\beta}(z)=\sum  ^{+\infty}_{k=0}\frac{z^{k}}{\Gamma(\xi k+\beta)}
\quad(z, \beta \in \mathbb{C};\;  \operatorname{Re}(\xi)>0).
\end{equation}
Let us set $e_{\xi}(t,\mu):=E_{\xi}(-\mu t^{\xi})$ where $E_{\xi}(t)$
is the Mittag-Leffler function with one parameter $\xi$ as defined
in \eqref{e:Mittag-Leffler-1P} and $\mu$ is a positive real number.

The Mittag-Leffler functions $e_{\alpha}(t;\mu)$,
$e_{\alpha,\beta}(t;\mu):=t^{\beta-1}E_{\alpha,\beta}(-\mu t^\alpha)$
for $0<\alpha\leq 1$, $0<\alpha\leq \beta\leq 1$ respectively, and
$\mu>0$ are \textit{completely monotone} functions; i.e.,
$$
(-1)^n[e_{\alpha}(t;\mu)]^n\geq0,\quad \text{and}\quad (-1)^n
[e_{\alpha,\beta}(t;\mu)]^n\geq0,\quad n\in\mathbb{N}\cup\{0\}.
$$
Furthermore, we have
\begin{equation}\label{MITTAGLEFFLER-B}
E_{\alpha,\beta}(\mu t^{\alpha})\leq M, \quad t\in [b,c],
\end{equation}
where $[b,c]$ is a finite interval with $b \geq 0$, and
$$
\int^t_0 (t-\tau)^{\alpha-1}E_{\alpha,\beta}(\mu t^{\alpha}) d\tau<\infty,
$$
on $[b,c]$ (see \cite{prabhakar} page 9).

Let $\mathcal{H}$ be a Hilbert space with the scalar product $(\cdot,\cdot)$.
Two sets $S_1$ and $S_2$ of functions of  $\mathcal{H}$ form a bi-orthogonal
system of functions if a one-to-one correspondence can be established between
them such that the scalar product of two corresponding functions is equal
to unity and the scalar product of two non-corresponding functions is
equal to zero, i.e.,
$$
(f_i,g_j )\;= \delta_{ij},
$$
where $f_i\in S_1$, $g_i\in S_2$ and $\delta_{ij}$ is the Kronecker symbol.

\begin{lemma}\cite{malik-inv} \label{LEMMA1}
Let $\mathcal{G}:\mathbb{R}^+\to \mathbb{R}$ be a differentiable
function such that $\mathcal{G}\in L^1(\mathbb{R})$. The solution
of the equation
$$
v(t)+ \mu J^{\alpha}_{0_+}v(t)=\mathcal{G}(t)
$$
for $\mu\in\mathbb{R}^+$ satisfies the following integral equation
$$v(t)= \int^t_0 \mathcal{G}'(t-\tau)e_{\alpha}(\tau,\mu) d\tau + \mathcal{G}(0)
e_{\alpha}(t,\mu).
$$
\end{lemma}
For the proof see Lemma 3.1 in \cite{malik-inv}.

\section{Main Results}\label{main-results}

Our approach to the solvability of the inverse problem is based on the
expansion of the solution $u(x,t)$ in a Riesz basis of the space
$L^2(0,1)$ obtained from the eigenfunctions and associated
eigenfunctions of the spectral problem \eqref{SProblemEq1}-\eqref{SProblemEq3}.
The unique expansion of the function in terms of the Riesz basis is
assured by a bi-orthogonal system of functions formed from the spectral
problem \eqref{SProblemEq1}-\eqref{SProblemEq3} and its adjoint problem.

\subsection{A bi-orthogonal system of functions}
The sets of functions
\begin{equation}\label{basisSpectral}
\{2, \; \{4\cos (2\pi n x)\}_{n=1}^\infty,\;
\{4(1-x)\sin (2\pi n x)\}_{n=1}^\infty\}
\end{equation}
and
\begin{equation}\label{basisSpectralConjugate}
\{x, \; \{x\cos (2\pi n x)\}_{n=1}^\infty,\;
\{\sin (2\pi n x)\}_{n=1}^\infty\}
\end{equation}
are obtained from the non-self-adjoint spectral problem
\eqref{SProblemEq1}-\eqref{SProblemEq3} and its adjoint problem
\begin{gather}
Y''= -\lambda Y,\quad x\in (0,1),\label{CSProblemEq1}\\
Y'(0)=Y'(1),\quad Y(0)=0,\label{CSProblemEq3}
\end{gather}
respectively (see Appendix).

The set of functions \eqref{basisSpectral} and \eqref{basisSpectralConjugate}
is complete in $L^2(0,1)$ and forms a Riesz basis in $L^2(0,1)$.
Furthermore, set of functions
\eqref{basisSpectral}-\eqref{basisSpectralConjugate} constitutes
a bi-orthogonal system with the one to one correspondence
\begin{alignat*}{2}
&\{\underbrace{2}_\downarrow, 
& \underbrace{\{4\cos (2\pi n x)\}_{n=1}^\infty}_\downarrow,
&\underbrace{\{4(1-x)\sin(2\pi n x)\}_{n=1}^\infty}_\downarrow\},\\
&\{\quad x,\quad   & \{x\cos (2\pi n x)\}_{n=1}^\infty,
&\quad  \{\sin (2\pi n x)\}_{n=1}^\infty\quad \}.
\end{alignat*}
The set of bi-orthogonal functions formed from \eqref{basisSpectral}
and \eqref{basisSpectralConjugate} plays an important role in proving

existence and uniqueness of the solution of the inverse problem.

\subsection{Existence and uniqueness of the solution of the inverse problem}
For the proof of the main result, i.e., Theorem \ref{ExistenceU-inveseP}
we will use properties of the bi-orthogonal system of functions
and application of the Banach fixed point theorem.
We have the following theorem

\begin{theorem}\label{ExistenceU-inveseP}
Suppose the following conditions hold:
\begin{itemize}
\item [(A1)]  $\varphi \in C^4([0,1])$, $\varphi(1)=\varphi(0)$,
$\varphi'(1)=0$, $\varphi''(0)=\varphi''(1)$,  $\varphi'''(1)=0$;
\item [(A2)]  $f \in C^4([\overline{Q}_T,\mathbb{R}])$,
$f(0,t)=f(1,t)$, $f_x(1,t)=0$, $f_{xx}(0,t)=f_{xx}(1,t)$,
     $f_{xxx}(1,t)=0$, $\int _0^1 f(x,t)\,dx\neq0$ and
      $$
0 < \frac{1}{M_1} \leq \Bigl|\int_0^1f(x,t)dx\Bigr|;
$$
\item [(A3)]  $g\in AC([0,T])$, and $g(t)$ satisfies the consistency
condition $\int _0^1\varphi(x)dx=g(0)$,
\end{itemize}
then the inverse problem has a unique solution.
\end{theorem}

\begin{proof}
We write the solution $u(x,t)$ of the inverse problem for the linear
system \eqref{ProblemEq1}-\eqref{ProblemEq4} in the form
\begin{equation}\label{solution-u}
u(x,t)=2u_0(t)+\sum^{\infty}_{n=1}u_{1n}(t) 4\cos(2\pi n x)
+\sum^{\infty}_{n=1}u_{2n}(t) 4(1-x)\sin(2\pi n x)
\end{equation}
where $u_0(t),u_{1n}(t),u_{2n}(t)$ for $n\in \mathbb{N}$ are to be determined.

Let $\{f_0(t)$, $f_{1n}(t)$, $f_{2n}(t)\}$ be the coefficients
of the series expansion of $f(x,t)$ in the basis \eqref{basisSpectral}
which are given by
\begin{equation}
\begin{gathered}
f_0(t)=\int ^1_0f(x,t) x\,dx,\quad
f_{1n}(t)=\int ^1_0f(x,t) x\cos(2\pi n x)\,dx,\\
f_{2n}(t)=\int ^1_0f(x,t)\;\sin 2\pi nx\,dx.
\end{gathered}\label{F-coefficents}
\end{equation}

Using properties of the bi-orthogonal system we have
\begin{equation}\label{U0-unknown}
u_0(t)=(u(x,t),x),
\end{equation}
where $(f,g):=\int_0^1f(x)g(x)\,dx$ is the scalar product in $L^2(0,1)$.
 By virtue of \eqref{U0-unknown}, we have
$$
D^{\alpha}_{0_+}(u_0(t)-u_0(0)) = (D^{\alpha}_{0_+}(u(x,t)-u(x,0)),x).
$$
Using \eqref{ProblemEq1} we can write
$$
D^{\alpha}_{0_+}(u_0(t)-u_0(0))= ((\varrho u_{xx}+a(t)f(x,t)),x).
$$
On computing we obtain the following linear fractional differential equation
\begin{equation}\label{1DE}
D^{\alpha}_{0_+}(u_0(t)-u_0(0))=a(t)f_0(t).
\end{equation}

Alike, we obtain the linear fractional differential equations
\begin{gather}
D^{\alpha}_{0_+}(u_{2n}(t)-u_{2n}(0))+2\pi n \varrho u_{2n}(t)
=a(t)f_{2n}(t),\label{3DE}\\
D^{\alpha}_{0_+}(u_{1n}(t)-u_{1n}(0))+
4\pi^2n^2 \varrho u_{1n}(t)-4\pi n \varrho u_{2n}(t)
=a(t)f_{1n}(t).\label{2DE}
\end{gather}
The solution of the linear fractional differential equation \eqref{1DE} is
$$
u_0(t)= \varphi_0+\frac{1}{\Gamma(\alpha)}\int^t_0(t-\tau)^{\alpha-1}
a(\tau)f_0(\tau)d\tau.
$$
The solutions of the linear fractional differential equations
\eqref{3DE}-\eqref{2DE} are
\begin{gather*}
u_{2n}(t) = \int^t_0e_{\alpha,\alpha}
(t-\tau,\lambda_n)a(\tau)f_{2n}(\tau)d\tau
+ \varphi_{2n}e_{\alpha}(t,\lambda_n),\\
\begin{aligned}
u_{1n}(t)&= 2\lambda_n \int _0^th(t-\tau)a(\tau)f_{2n}(\tau)d\tau
+\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n^2/\varrho)a(\tau)f_{1n}(\tau)d\tau
\\
&\quad +2\lambda_n \varphi_{2n}\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n)
e_{\alpha}(\tau,\lambda_n^2/\varrho)d\tau+
\varphi_{1n}e_{\alpha}(t,\lambda_n^2/\varrho),
\end{aligned}
\end{gather*}
where we have used Lemma \ref{LEMMA1}, $\lambda_n:=2\pi n \varrho$,
\begin{gather*}
\varphi_0=\int ^1_0\varphi (x)  x\,dx,\quad \varphi_{1n}
=\int ^1_0\varphi (x) x\cos(2\pi n x)\,dx, \quad \varphi_{2n}
=\int ^1_0\varphi (x)\;\sin 2\pi nx \,dx,
\\
h(t)=\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n)
e_{\alpha,\alpha}(\tau,\lambda_n^2/\varrho)d\tau.
\end{gather*}
In the above calculations we have used the following relations
\begin{gather*}
h \star(f\star g)= (h\star f)\star g ,\quad D^{\alpha}_{0_+} (f\star g)
= (D^{\alpha}_{0_+} f\star g),\\
D^{1-\alpha}_{0_+}e_{\alpha}(t,\lambda_{n})
=t^{\alpha-1} E_{\alpha,\alpha}(-\lambda_n t^\alpha)
=:e_{\alpha,\alpha}(t,\lambda_n).
\end{gather*}
Taking fractional derivative $D^{\alpha}_{0_+}$ under the integral
sign of the over-determination condition \eqref{ProblemEq4} and in
view of the consistency relation we have
$$
\int _0^1D^{\alpha}_{0_+}(u(x,t)-u(x,0))\,dx=
D^{\alpha}_{0_+}(g(t)-g(0)),
$$
which by using \eqref{ProblemEq1} and integration by parts leads to
\begin{equation}\label{a(t)}
a(t) = \Bigr(\int _0^1f(x,t)dx\Bigl)^{-1}\Bigl(D^{\alpha}_{0_+}(g(t)
-g(0))+\rho u_x(0,t)\Bigr).
\end{equation}
Recall that $\int _0^1 f(x,t)dx \neq 0$ and we have
$$
f(x,t) = 2f_0(t)+\sum^{\infty}_{n=1}f_{1n}(t) 4\cos(2\pi n x)
+\sum^{\infty}_{n=1}f_{2n}(t) 4(1-x)\sin(2\pi n x),
$$
where $f_0(t)$, $f_{1n}(t)$ and $f_{2n}(t)$ are given by \eqref{F-coefficents},
then
\begin{equation}\label{F(x,t)-series}
\int _0^1 f(x,t)dx = 2f_0(t)+\frac{2}{\pi}
\sum^{\infty}_{n=1}\frac{f_{2n}(t)}{n},
\end{equation}
and
\begin{equation}\label{u-x-series}
u_x(0,t) = \sum^{\infty}_{n=1}
8\pi n \varphi_{2n}e_{\alpha}(t,\lambda_n) + \sum^{\infty}_{n=1}
8\pi n \int _0^t e_{\alpha,\alpha}(t-\tau,\lambda_n)a(\tau)f_{2n}(\tau)d\tau.
\end{equation}

Let $B(a(t)):=a(t)$, where the operator $B$ is defined by
$$
B(a(t))=\;\Bigr(\int _0^1f(x,t)dx\Bigl)^{-1}
\Bigl(D^{\alpha}_{0_+}(g(t)-g(0))+\rho u_x(0,t)\Bigr).
$$
By  \eqref{F(x,t)-series} and \eqref{u-x-series} we have the
 Volterra integral equation
\begin{equation}\label{BOperator}
B(a(t))= \mathcal{F}(t)+\Bigl(2f_0(t)
+\frac{2}{\pi}\sum^{\infty}_{n=1}\frac{f_{2n}(t)}{n}\Bigr)^{-1}
\int _0^tK(t,\tau)a(\tau)d\tau,
\end{equation}
where
\begin{equation}\label{F(x,t)}
\mathcal{F}(t)= \Bigl(\int_0^1 f(x,t)\,dx\Bigr)^{-1}
\Bigl(D^{\alpha}_{0_+}(g(t)-g(0))+\sum^{\infty}_{n=1}
8\pi n\rho \varphi_{2n}e_{\alpha}(t,\lambda_n)\Bigr),
 \end{equation}
and
\begin{equation}\label{K(t)}
K(t,\tau)= \sum^{\infty}_{n=1}
8\pi n\rho f_{2n}(\tau)e_{\alpha,\alpha}(t-\tau,\lambda_n)=\sum^{\infty}_{n=1}
8\pi n \rho f_{2n}(t-\tau)e_{\alpha,\alpha}(\tau,\lambda_n).
\end{equation}

Before we proceed further, notice that under the assumptions (A2),
the series $\sum^{\infty}_{n=1} 8\pi n f_{2n}$ is uniformly convergent
by the Weierstrass M-test because the series is bounded from above by
 the uniformly convergent numerical series
\[
\sum^{\infty}_{n=1} |f_{2n}^{(4)}|/(2\pi^3 n^3),
\]
where $f_{2n}^{(4)}$ is the coefficient of the Fourier sine series of
the function $f^{(4)}(x)$. Furthermore, $f_{2n}^{(4)}$ for
$n\in\mathbb{N}$ are bounded by the Bessel's inequality, indeed we have
$$
\sum_{n=1}^{\infty}[f_{2n}^{(4)}]^2\leq \mathcal{C}\|f^{(4)}\|^2_{L^2(0,1)},
$$
where $\mathcal{C}$ is a constant independent of $t$ and $n$.
Thus, we have $\sum^{\infty}_{n=1} 8\pi n f_{2n} \leq C$, where
($C$ is a constant  independent of $t$ and $n$.

Setting $T<(M_1MC)^{-1}$, where $M_1$ is from assumption (A2) of
Theorem \ref{ExistenceU-inveseP}, $M$ is from the inequality
\eqref{MITTAGLEFFLER-B}.
Consider the space $C([0,T])$, equipped with the Chebyshev norm
$$
\|f\|:=\max _{0\leq t\leq T} |f(t)|.
$$
We shall show that $B:C([0,T])\to C([0,T])$ and the mapping $B$
is a contraction. For $a\in C([0,1])$, using \eqref{MITTAGLEFFLER-B}
and assumptions (A2), we have $u_x(0,t)$ continuous function.
Indeed, the series in the expression of $u_x(0,t)$
(see \ref{u-x-series}) is uniformly convergent on $[0,T]$ and
represents a continuous function. The term $D^{\alpha}_{0_+}(g(t)-g(0))$
being the difference of two continuous functions; i.e., $a$ and $u_x(0,t)$
are continuous.
We have
\begin{equation}
\begin{gathered}
\begin{aligned}
|B(a)-B(c)|&\leq  M_1\int _0^t |a(\tau)-c(\tau)|\;|K(t,\tau)|d\tau\\
&\leq  M T CM_1 \max _{0\leq t\leq T} |a(\tau)-c(\tau)|
\end{aligned}\\
\|B(a)-B(c)\|=\max _{0\leq t\leq T}|B(a)-B(c)| \leq M T CM_1\|a-c\|,
\end{gathered}\label{Uniquness-a(t)}
\end{equation}
Thus the mapping $B$ is a contraction for $t\in[0,T]$.
This assures unique determination of $a\in C([0,T])$ by the Banach
fixed point theorem.

\subsection{Uniqueness of the solution}

Let $\{u(x,t),a(t)\}$ and $\{v(x,t),b(t)\}$ be two solution sets of the
inverse problem then
\begin{equation}
\begin{aligned}
u(x,t)-v(x,t)
&= 2\Bigl(\frac{1}{\Gamma(\alpha)}\int^t_0(t-\tau)^{\alpha-1}
(a(\tau)-b(\tau))f_0(\tau)d\tau \Bigr)\\
&\quad +4(1-x)\sin (2 \pi n x)\Bigl(\int^t_0e_{\alpha,\alpha}
(t-\tau,\lambda_n)f_{2n}(\tau)(a(\tau)-b(\tau))d\tau\Bigr)\\
&\quad +4\cos(2\pi n x)\Bigl(4\pi n \int _0^th(t-\tau)f_{2n}(\tau)(a(\tau)-b(\tau))d\tau \\
&\quad +\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n)f_{1n}(\tau)(a(\tau)-b(\tau))d\tau
\Bigr),
\end{aligned}\label{Uniquness-u(t)}
\end{equation}
and
$$
a(t)-b(t)=\int _0^t K(t,\tau)(a(\tau)-b(\tau))d\tau.
$$
Due to the estimate \eqref{Uniquness-a(t)}, we have $a=b$ and by
substituting $a=b$ in \eqref{Uniquness-u(t)}, we obtain $u=v$.

Let us mention that under assumptions (A1)--(A3) and following
\cite{malik-inv}, we shall show that the series solution for
 $u(x,t)$ given by \eqref{solution-u} and the series corresponding
to $u_{xx}(x,t)$ are uniformly convergent and represent continuous
function on $Q_T$. Also, we shall show that the series corresponding
to $u(x,t)-u(x,0)$ is $\alpha$ differentiable.

Let
$$
M^* =\max \{\mathcal{M}_1,\mathcal{M}_2,\mathcal{M}_3\},
\quad \text{and}\quad
\max_{0<t\leq T} a(t)= N,
$$
where $e_\alpha(t,\lambda_n)\leq \mathcal{M}_1$,
$e_{\alpha,\alpha}(t,\lambda_n)\leq \mathcal{M}_2$,
$e_\alpha(t,\lambda_n^2/\varrho)\leq \mathcal{M}_3$.
Then the series \eqref{solution-u} is bounded above by the uniformly
convergent series
\begin{align*}
&|\varphi_0|+N T^{2-\alpha}|f_0|
+\sum^{\infty}_{n=1}(16 \pi^4n^4)^{-1}\Bigl( M^*|\varphi_{2n}^{(4)}|
+N M^*T|f_{2n}^{(4)}|+ \lambda_n N|f_{2n}^{(4)}|\\
& +N M^* T|f_{1n}^{(4)}|
+\lambda_n T (M^*)^2|\varphi_{1n}^{(4)}|+ M^*|\varphi_{1n}^{(4)}|\Bigr),
\end{align*}
where $\varphi_{1n}^{(4)}$, $\varphi_{2n}^{(4)}$ and
$f_{1n}^{(4)}$, $f_{2n}^{(4)}$ are the coefficients of the Fourier
cosine and the Fourier sine series of the functions
$\varphi^{(4)}(x)$ and $f^{(4)}(x,t)$, respectively.
These functions are bounded by virtue of Bessel's inequality.
By the Weierstrass M-test the series \eqref{solution-u} is uniformly convergent.

Let us show that the series corresponding to $u(x,t)-u(x,0)$, i.e.,
\begin{equation}
\begin{aligned}
u(x,t)-u(x,0)
&=  2(u_0(t)-u_0(0))+\sum^{\infty}_{n=1}(u_{1n}(t)-u_{1n}(0)) 4\cos(2\pi n x)\\
&\quad +\sum^{\infty}_{n=1}(u_{2n}(t)-u_{2n}(0)) 4(1-x)\sin(2\pi n x),
\end{aligned}\label{Alpha-differentiable-series}
\end{equation}
is $\alpha$ differentiable and for this we use the result
from \cite{samko-book}, which states:
\begin{quote}
For a sequence of functions $f_i$, $i\in\mathbb{N}$ defined on the
interval $(a,b]$. Suppose the following conditions are fulfilled:
\begin{enumerate}
\item for a given $\alpha>0$ the fractional derivatives
$D^{\alpha}_{0_+} f_i (t)$, for  $i\in\mathbb{N}$, $t\in(a,b]$ exists,
\item the series $\sum^{\infty}_{i=1}f_i(t)$ and the series
$\sum^{\infty}_{i=1} D^{\alpha}_{0_+} f_i (t)$ are uniformly convergent
on the interval $[a+\epsilon,b]$ for any $\epsilon>0$.
\end{enumerate}
Then the function defined by the series $\sum^{\infty}_{i=1}f_i(t)$ is
$\alpha$ differentiable and satisfies
\begin{equation}\label{Alpha-differentiable-condition}
D^{\alpha}_{0_+}\sum^{\infty}_{i=1}f_i(t)
=\sum^{\infty}_{i=1} D^{\alpha}_{0_+} f_i (t).
\end{equation}
\end{quote}
We need to show that the series
\begin{equation}
\begin{aligned}
&2D^{\alpha}_{0_+}(u_0(t)-u_0(0))+\sum^{\infty}_{n=1}D^{\alpha}_{0_+}
 (u_{1n}(t)-u_{1n}(0)) 4\cos(2\pi n x)\\
&+\sum^{\infty}_{n=1}D^{\alpha}_{0_+}(u_{2n}(t)-u_{2n}(0)) 4(1-x)
\sin(2\pi n x),
\end{aligned}\label{Alpha-differentiable-series1}
\end{equation}
is uniformly convergent.
Since $D^{\alpha}_{0_+} e_{\alpha,\alpha}(t,\lambda_n)
 = -\lambda_n e_{\alpha,\alpha}(t,\lambda_n)$ and
$D^{\alpha}_{0_+}h(t)=-\lambda_n e_{\alpha,\alpha}(t,\lambda_n)
\star e_{\alpha,\alpha}(t,\lambda_n)$,
 we have
\begin{gather}
D^{\alpha}_{0_+}\Bigl(u_0(t)-u_0(0)\Bigr)=a(t)f_0(t),\label{FD1}
\\
\begin{aligned}
&D^{\alpha}_{0_+}\Bigl(u_{2n}(t)-u_{2n}(0)\Bigr)\\
&= -\lambda_n\varphi_{2n}e_{\alpha}(t,\lambda_n)
   -\lambda_n\int^t_0e_{\alpha,\alpha}
(t-\tau,\lambda_n)a(\tau)f_{2n}(\tau)d\tau,
\end{aligned}\label{FD2}
\\
\begin{aligned}
&D^{\alpha}_{0_+}\Bigl(u_{1n}(t)-u_{1n}(0)\Bigr)\\
&= -2\lambda_n^2 \Bigr(\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n)
 e_{\alpha,\alpha}(\tau,\lambda_n^2/\varrho)d\tau\Bigl) \star a(t)f_{2n}(t)\\
&\quad -\lambda_n^2/\varrho\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n^2/\varrho)
a(\tau)f_{1n}(\tau)d\tau\\
&\quad -2\lambda_n^2 \varphi_{2n}\int _0^te_{\alpha,\alpha}(t-\tau,\lambda_n)
e_{\alpha}(\tau,\lambda_n^2/\varrho)d\tau
-\lambda_n^2/\varrho \varphi_{1n}e_{\alpha}(t,\lambda_n^2/\varrho).
\end{aligned} \label{FD3}
\end{gather}
From the expressions of fractional derivative \eqref{FD1}-\eqref{FD3}, we have
\begin{gather*}
\Bigl|D^{\alpha}_{0_+}\Bigl(u_0(t)-u_0(0)\Bigr)\Bigr|\leq 2N|f_0|,\\
\Bigl|D^{\alpha}_{0_+}\Bigl(u_{2n}(t)-u_{2n}(0)\Bigr)\Bigr|
 \leq M^*\lambda_n |\varphi_{2n}|+N\lambda_n M^*T|f_{2n}|,\\
\begin{aligned}
\Bigl|D^{\alpha}_{0_+}\Bigl(u_{1n}(t)-u_{1n}(0)\Bigr)\Bigr|
&\leq 2\lambda_{n}M^*TN |f_{2n}|+NTM^*\rho\lambda_n^2|f_{1n}|
 +2M^*T\lambda_{n}^2|\varphi_{2n}| \\
&\quad +M^*|\varphi_{1n}|\lambda_n^2/\rho.
\end{aligned}
\end{gather*}
Due to the assumptions of the Theorem \ref{ExistenceU-inveseP}, we have
\begin{gather*}
\varphi_{2n} = \frac{1}{16\pi^4n^4}\int_0^1\varphi^{(4)} (x) \sin(2\pi n x)\,dx
=\frac{1}{16\pi^4n^4} \varphi^{(4)}_{2n},\\
\varphi_{1n}=\frac{1}{16\pi^4n^4} \varphi^{(4)}_{1n},\quad
f_{2n} =\frac{1}{16\pi^4n^4} f^{(4)}_{2n}.
\end{gather*}

The series \eqref{Alpha-differentiable-series1} is bounded from above by
the uniformly convergent series
\[
2N |f_0|+ \varrho M^*\sum^{\infty}_{n=1}
\Bigl(\frac{4\pi n T+1}{8\pi^3 n^3}\;(|\varphi_{2n}^{(4)}|
+NT|f_{2n}^{(4)}|)+\frac{NT|f_{1n}^{(4)}|}{4\pi^2n^2}+
\frac{|\varphi_{1n}^{(4)}|}{4\pi^2n^2}\Bigr),
\]
consequently, the series \eqref{Alpha-differentiable-series1} is uniformly
convergent by the Weierstrass M-test. Hence the series
\eqref{Alpha-differentiable-series} is $\alpha$-differentiable with respect
to the time variable and the relation \eqref{Alpha-differentiable-condition}
holds true.

Similarly we can show that the series corresponding to $u_{xx}(x,t)$
is uniformly convergent and represents continuous function.
\end{proof}

\subsection{Continuous dependence of the solution on the data}

Let $\mathcal{T}$ be the set of triples $\{\varphi,f,g\}$ where the
functions $\varphi, f, g $ satisfy the assumptions of
Theorem \ref{ExistenceU-inveseP} and
$$
\|\varphi\|_{C^3([0,1])}\leq M_2,\quad
\|f\|_{C^3([Q_T])}\leq M_3,\quad
\|g\|_{AC([0,1])}\leq M_4.
$$
For $\psi \in \mathcal{T}$, we define the norm
$$
\|\psi\|=\|\varphi\|_{C^3([0,1])}+\|f\|_{C^3([Q_T])}+\|g\|_{AC([0,1])}.
$$
Before presenting the result about the stability of the solution of
the inverse problem let us mention that the series
$$
\sum _{n=1}^{\infty} \frac{1}{2\pi^3n^4}|f_{2n}^{(4)}|\leq M_5,
$$
is uniformly convergent, where $f_{2n}^{(4)}$ are the coefficients of
the sine Fourier expansion of the function $f^{(4)}(.,t)$.
The functions $\{f_{2n}^{(4)}\}_{n=1}^{\infty}$ are bounded by virtue of
the Bessel's inequality.

Setting $T$ such that
\begin{equation}\label{TConstion}
T<(M_1\mathcal{N})^{-1}
\end{equation}
where $M_1$ is from the assumption (A1) and $\mathcal{N}:=MM_5$
($M$ is from \eqref{MITTAGLEFFLER-B}).
Then we have the following theorem.

\begin{theorem}
The solution $\{u(x,t),a(t)\}$ of the inverse problem
\eqref{ProblemEq1}-\eqref{ProblemEq4}, under the assumptions
of Theorem \ref{ExistenceU-inveseP}, depends continuously upon the
data for $T$ satisfying \eqref{TConstion}.
\end{theorem}

\begin{proof}
Let $\{u(x,t),a(t)\}$, $\{\tilde{u}(x,t),\tilde{a}(t)\}$
be solution sets of the inverse problem \eqref{ProblemEq1}-\eqref{ProblemEq4},
corresponding to data $\psi = \{\varphi,f,g\}$,
 $\tilde{\psi} = \{\tilde{\varphi},\tilde{f},\tilde{g}\}$, respectively.
From \eqref{K(t)} we have
$$
\|K\|_{C([0,T])\times C([0,T])}\leq M\sum _{n=1}^{\infty}
\frac{1}{2\pi^3n^4}|f_{2n}^{(4)}|.
$$
Then
$$
\|K\|_{C([0,T])\times C([0,T])}\leq \mathcal{N}.
$$

For $g\in AC[0,T]$ the term $D^{\alpha}_{0_+}(g(t)-g(0))$ is continuous
being the difference of continuous functions (see equation \eqref{a(t)}).
Furthermore, for any $\epsilon>0$ the term $D^{\alpha}_{0_+}(g(t)-g(0))$
is bounded on the interval $(\epsilon,T]$. In the estimates below,
we will use this fact frequently.

From \eqref{F(x,t)} and \eqref{BOperator} we have
$$
\|\mathcal{F}\|_{C([0,T])} \leq M_8, \quad
 \|a\|_{C([0,T])}\leq \frac{M_8}{1-TM_1 \mathcal{N}},
$$
where $M_8 = M_1(M_6+M M_7)$, $M_6$ is a bound of
$D^{\alpha}_{0_+}(g(t)-g(0))$,
$\sum^{\infty}_{n=1}8\pi n\rho \varphi_{2n}\leq M_7$ and,
both $M_6, M_7$ are constants independent of $t$ and $n$.
Before we proceed to the next estimate notice that from the expansion
of $f(x,t)$, the norm of $f_0, f_{2n-1}$ and $f_{2n}$ for
$n\in\mathbb{N}$ can be estimated by the norm of $f(x,t)$.
Similarly, the norm of $\varphi_0, \varphi_{2n-1}$ and $\varphi_{2n}$
can be estimated by the norm of $\varphi(x)$.
From \eqref{F(x,t)}, We have
\begin{align*}
\mathcal{F}(t)-\tilde{\mathcal{F}}(t) &= \Bigl(\int_0^1f(x,t)dx\Bigr)^{-1}
\Bigl[D^{\alpha}_{0_+}(g(t)-g(0))+\sum^{\infty}_{n=1}
8\pi n\rho \varphi_{2n}e_{\alpha}(t,\lambda_n)\Bigr]\\
&\quad -\Bigl(\int_0^1\tilde{f}(x,t)dx\Bigr)^{-1}\Bigl[
D^{\alpha}_{0_+}(\tilde{g}(t)-\tilde{g}(0))+\sum^{\infty}_{n=1}
8\pi n\rho \tilde{\varphi}_{2n}e_{\alpha}(t,\lambda_n)\Bigr]
\\
\mathcal{F}(t)-\tilde{\mathcal{F}}(t)
&= \Bigl(\int_0^1f(x,t)dx \int_0^1\tilde{f}(x,t)dx \Bigr)^{-1}\Bigl[\int_0^1\tilde{f}(x,t)dx\;\Bigl(D^{\alpha}_{0_+}(g(t)-g(0))\\
&\quad +\sum^{\infty}_{n=1}
8\pi n\rho \varphi_{2n}e_{\alpha}(t,\lambda_n)\Bigr)\\
&\quad -\int_0^1f(x,t)dx \Bigl(D^{\alpha}_{0_+}(\tilde{g}(t)-\tilde{g}(0))
+\sum^{\infty}_{n=1}
8\pi n\rho \tilde{\varphi}_{2n}e_{\alpha}(t,\lambda_n)\Bigr)\Bigr]
\\
\mathcal{F}(t)-\tilde{\mathcal{F}}(t)
&= \Bigl(\int_0^1f(x,t)dx \int_0^1\tilde{f}(x,t)dx \Bigr)^{-1}
\Bigl[\int_0^1\tilde{f}(x,t)dx \Bigl(D^{\alpha}_{0_+}(g(t)-g(0))\\
&\quad -D^{\alpha}_{0_+}(\tilde{g}(t)-\tilde{g}(0))
+\sum^{\infty}_{n=1}
8\pi n\rho e_{\alpha}(t,\lambda_n)\;(\varphi_{2n}-\tilde{\varphi}_{2n})\Bigr)\\
&\quad +D^{\alpha}_{0_+}(\tilde{g}(t)-\tilde{g}(0))
 \Bigl(\int_0^1\tilde{f}(x,t)dx-\int_0^1f(x,t)dx\Bigr)\\
&\quad +\sum^{\infty}_{n=1}
8\pi n\rho \tilde{\varphi}_{2n}e_{\alpha}(t,\lambda_n)
\Bigl(\int_0^1\tilde{f}(x,t)\,dx-\int_0^1f(x,t)\,dx\Bigr)\Bigr].
\end{align*}
Notice that we can consider $\varphi_{2n}-\tilde{\varphi}_{2n}$
as the Fourier coefficient of the function $\varphi-\tilde{\varphi}$; i.e.,
$$
\varphi_{2n}-\tilde{\varphi}_{2n}
= \int_0^1(\varphi-\tilde{\varphi})(x)\;\sin(2\pi n x)\,dx.
$$

Recall that $\lambda_n:=2\pi n \rho$, $e_{\alpha} (t,\lambda_n):=E_{\alpha}
(-\lambda_{n}t^\alpha)$ and the following estimate for the Mittag-Leffler
type function
$$
|\lambda_{n}E_{\alpha} (-\lambda_{n}t^\alpha)|
\leq \frac{\lambda_{n}}{1+\lambda_{n}t^\alpha}\leq C^*,
$$
leads to the  estimate
$$
\|\mathcal{F}-\tilde{\mathcal{F}}\|_{C([0,T])}
\leq N_1\|\varphi-\tilde{\varphi}\|_{C([0,1])}+
N_2\|f-\tilde{f}\|_{C^3([Q_T])}+N_3\|g-\tilde{g}\|_{AC([0,T])},
$$
where $0 < 1/M_1 \leq \Bigl|\int_0^1f(x,t)dx\Bigr|$,
$0 < 1/M_1 \leq \Bigl|\int_0^1\tilde{f}(x,t)dx\Bigr|$ and
$N_1=M_1^2M_3C^*$, $N_2 = M_1^2(M_6+M_2C^*)$,
$N_3=M_1^2M_3C^*/\Gamma(1-\alpha)$ are constants independent of $n$.

From \eqref{K(t)}, we have
\[
\|K-\tilde{K}\|_{C([0,T])\times C([0,T])}\leq \sum^{\infty}_{n=1}
4\pi n\rho e_{\alpha,\alpha}(t-\tau,\lambda_n) \|f-\tilde{f}\|_{C^3([Q_T])}\,.
\]
Recall that $e_{\alpha,\alpha} (t-\tau,\lambda_n)
:=(t-\tau)^{\alpha-1}E_{\alpha,\alpha}
(-\lambda_{n}(t-\tau)^\alpha)$. Then due to the estimate
$$
|\lambda_{n}(t-\tau)^{\alpha-1}E_{\alpha,\alpha}
(-\lambda_{n}(t-\tau)^\alpha)|\leq \frac{1}{t}
\frac{(t-\tau)^\alpha \lambda_{n}}{1+\lambda_{n}(t-\tau)^\alpha}
\leq \mathcal{C}^*,$$
we have the estimate
$$
\|K-\tilde{K}\|_{C([0,T])\times C([0,T])}\leq 2C^*\|f-\tilde{f}\|_{C^3([Q_T])},
$$
for $\mathcal{C}^*$ is a positive constant independent of $n$.

From \eqref{BOperator}, we obtain
\begin{align*}
&a(t)-\tilde{a}(t)\\
&=  \mathcal{F}(t)-\tilde{\mathcal{F}}(t)+\Bigl(\int_0^1f(x,t)dx\Bigr)^{-1}
\Bigl[\int _0^tK(t,\tau)a(\tau)d\tau-\int _0^t\tilde{K}(t,\tau)\tilde{a}
 (\tau)d\tau\Bigr]\\
&= \mathcal{F}(t)-\tilde{\mathcal{F}}(t)+\Bigl(\int_0^1f(x,t)dx\Bigr)^{-1}
\Bigl[\int _0^ta(\tau) \Bigl(K(t,\tau)-\tilde{K}(t,\tau)\Bigr)\,d\tau\\
&\quad -\int _0^t\tilde{K}(t,\tau)\Bigl(a(\tau)-\tilde{a}(\tau)\Bigr)\,d\tau\Bigr]
\end{align*}
using the assumption $ 0 < 1/M_1 \leq \bigl|\int_0^1f(x,t)dx\bigr|$
and due to the estimates of $\|\mathcal{F}-\tilde{\mathcal{F}}\|_{C([0,T])}$,
$\|K-\tilde{K}\|_{C([0,T])\times C([0,T])}$, we have
\begin{align*}
\|a-\tilde{a}\|_{C([0,T])}
&\leq  \|\mathcal{F}-\tilde{\mathcal{F}}\|_{C([0,T])}+
TM_1\mathcal{N}\|a-\tilde{a}\|_{C([0,T])}\\
&\quad +\frac{TM_1M_6}{1-TM_1\mathcal{N}}\|K-\tilde{K}\|_{C([0,T])
 \times C([0,T])}
\end{align*}
or
$$
(1-TM_1\mathcal{N})\|a-\tilde{a}\|_{C([0,T])}\leq N_5\|\psi-\tilde{\psi}\|,
$$
where
$$
N_5 = \max\bigl\{N_1,N_2+\frac{ 2C^*TM_1M_6}{1-TM_1\mathcal{N}},N_3\bigr\}.
$$
For $t\in[0,T]$, we have
$$
\|a-\tilde{a}\|_{C([0,T])}\leq \frac{N_5}{1-TM_1\mathcal{N}}\|\psi-\tilde{\psi}\|.
$$
From \eqref{solution-u} a similar estimate can be obtained for $u-\tilde{u}$,
 which completes the proof.
\end{proof}

\section{Appendix}
The spectral problem \eqref{SProblemEq1}-\eqref{SProblemEq3} is a
 non-self-adjoint; it has the following conjugate (adjoint) problem:
\begin{gather}
Y''=  -\lambda_n Y,\quad x\in (0,1),\label{SCAProblemEq1}\\
Y(0)= 0,\quad Y'(0)=Y'(1).\label{SCAProblemEq3}
\end{gather}
In fact
$$
\int _0^1YX''= -X'(0)Y(0)+X(0) (Y'(0)-Y'(1))+\int _0^1Y''X.
$$
It is clear that the right side of this relation vanishes
if $Y'(0)=Y'(1)$ and $Y(0)=0$.

The spectral problem \eqref{SProblemEq1}-\eqref{SProblemEq3} has the eigenvalues
$$
\lambda_n = (2\pi n)^2\quad \text{for } n=0,1,2,\dots $$
and the eigenvectors
$$
X_0 = 1, \text{ for } \lambda_0=0, \quad X_n=\cos(2\pi nx),\text{ for }
 \lambda_n=(2\pi n)^2\; n=1,2,\dots
$$
The set of functions $\{X_0,X_n\}$ does not form a complete system
and is not a basis for the space $L^2(0,1)$.
To complete the basis (see \cite{ILin}), we consider the associated
eigenvectors $\tilde{X}$ for the $\lambda_n$ corresponding to $X_n$
defined as the solution of the problem
\begin{gather}
\tilde{X}''=  -\lambda_n \tilde{X}-X_n,\quad x\in (0,1),\label{CSProblemEq1b}\\
\tilde{X}'(1)= 0,\quad \tilde{X}(0)=\tilde{X}(1).\label{CSProblemEq3b}
\end{gather}
If $\lambda_0=0$, problem \eqref{CSProblemEq1}-\eqref{CSProblemEq3}
has no solution. For $\lambda_n=(2\pi n)^2$  for $ n\in \mathbb{N}$,
 the problem \eqref{CSProblemEq1}-\eqref{CSProblemEq3} has the eigenvectors
$$
\tilde{X}_n = \frac{(1-x)}{4\pi n}\sin(2 \pi nx),\quad n\in \mathbb{N}.
$$
Thus $S=\{X_0,X_n,\tilde{X}_n\}$
forms a complete system but not orthogonal.

We need another complete set of functions which together with the
set $S$ forms a bi-orthogonal system for the space $L^2(0,1)$.
To obtain the other system, we shall consider the conjugate
or adjoint problem \eqref{SCAProblemEq1}-\eqref{SCAProblemEq3}.

Alike, solving \eqref{SCAProblemEq1}-\eqref{SCAProblemEq3},
we obtain the eigenvectors
$\{Y_0= x, Y_n=x\cos(2 \pi n) \}$,
and associated eigenvectors are obtained from the boundary-value problem
\begin{gather}
\tilde{Y}''=  -\lambda_n \tilde{Y}-Y_n,\quad x\in (0,1),\\
\tilde{Y}(0)= 0,\quad \tilde{Y}'(0)=\tilde{Y}'(1).
\end{gather}
The set
$\tilde{S}=\{Y_0,Y_n,\tilde{Y}_n\}$, with
$$
Y_0 = x,\quad Y_n=x\cos(2 \pi n),\quad \tilde{Y}_n=\sin (2 \pi nx)
$$
is a complete system for the space $L^2(0,1)$.

The set of functions $S$ and $\tilde{S}$ forms a bi-orthogonal
system for the space $L^2(0,1)$. We can normalize the bi-orthogonal
system and its final form is
\begin{gather}\label{basis}
\{X_0=2, \; X_n=\{4\cos(2\pi n x)\}_{n=1}^\infty,\;
 \tilde{X}_n=\{4(1-x)\sin(2\pi n x)\}_{n=1}^\infty\}l\\
\label{basis-biorthogonal}
\{Y_0=x, \; Y_n=\{x\cos(2\pi n x)\}_{n=1}^\infty,\;
 \tilde{Y}_n=\{\sin(2\pi n x)\}_{n=1}^\infty\}.
\end{gather}

\section*{Conclusion}
The purpose of this paper is to determine the pair of functions
$\{u(x,t), a(t)\}$, i.e., the temperature distribution and the source
term for the fractional diffusion equation
\eqref{ProblemEq1}-\eqref{ProblemEq4}. The problem in solving the
inverse problem is not only due to the nonlocal boundary conditions
\eqref{ProblemEq3} but also due to the presence of the fractional
derivative in time. The underlying spectral problem for
\eqref{ProblemEq1}-\eqref{ProblemEq3} is non-self-adjoint.

For the solution of the inverse problem we use two basis for
the space $L^2(0,1)$, which form the bi-orthogonal system
(see  Il'in \cite{ILin} and  Keldysh \cite{Keldysh}).
Due to this bi-orthogonal system we are able to expand the solution in
terms of the functions of the bi-orthogonal system. We show the
 existence and uniqueness of the solution of the inverse problem
using properties of the Mittag-Leffler function and using the
over-determination condition of integral type \eqref{ProblemEq4}.
The result about the continuous dependence of the solution of the
inverse problem on the data is proved.

\section*{Acknowledgements}
This research was sponsored by the Distinguished Scientist Fellowship
 Program at King Saud University, Riyadh, Saudi Arabia.

\begin{thebibliography}{10}

\bibitem{cannon-siam1987} J. R. Cannon, S. P. Esteva, J. V. D. Hoek;
\emph{A Galerkin procedure for the diffusion subject to the specification
of mass}, SIAM J. Numer. Anal. 24 No. 3 (1987), 499--515.

\bibitem{cannon-Australia1991} J. R. Cannon, Y. Lin, S. Wang;
\emph{Determination of a control parameter in a parabolic partial
differential equation}, J. Austral. Math. Soc. Ser. B, 33 (1991), 149--163.

\bibitem{YamamotoFracInvIP} J. Cheng, J. Nakagawa, M. Yamamoto, T. Yamazaki;
\emph{Uniqueness in an inverse problem for a
one-dimensional fractional diffusion equation},
Inverse Problems 25 (2009) doi:10.1088/0266-5611/25/11/115002.

\bibitem{ILin} V. A. Il'in;
\emph{How to express basis conditions and conditions for the
equiconvergence with trigonometric series of expansions related
to non-self-adjoint differential operators},
Computers and Mathematics with Applications 34 (1997) 641-647.

\bibitem{lesnic} M. I. Ismailov, F. Kanca, D. Lesnic;
\emph{Determination of a time-dependent heat source under nonlocal boundary
and integral overdetermination conditions},
Appl. Math. Comp. 218 (2011), 4138--4146.

\bibitem{JinRundell2012} B. Jin, W. Rundell;
\emph{An inverse problem for a one-dimensional time-fractional diffusion problem},
Inverse Problems 28 (2012), doi:10.1088/0266-5611/28/7/075010.

\bibitem{kamynin} V. L. Kamynin;
\emph{On the inverse problem of determining the right-hand side of a
parabolic equation under an integral overdetermination condition},
Mathematical Notes, 77 (2005), No. 4, 482--493.

\bibitem{Keldysh} M. V. Keldysh;
\emph{On the completeness of the eigenfunctions of some classes
of non-selfadjoint linear operators},
Russ. Math. Surv. 26 (4) 1971, doi:10.1070/RM1971v026n04ABEH003985.

\bibitem{malik-inv} M. Kirane, Salman A. Malik;
\emph{Determination of an unknown source term and the temperature
distribution for the linear heat equation involving fractional
derivative in time}, Appl. Math. Comp. 218, Issue 1, 163--170.

\bibitem{malik-inv2D} M. Kirane, Salman A. Malik M. A. Al-Gwaiz;
\emph{An inverse source problem for a two dimensional time fractional
diffusion equation with nonlocal boundary conditions},
Math. Meth. Appl. Sci. 2013, 36 1056–1069.

\bibitem{lenzi} E. K. Lenzi, H. V. Ribeiro, J. Martins, M. K. Lenzi,
G. G. Lenzi, S. Specchia;
\emph{Non-Markovian diffusion equation and diffusion in a porous catalyst},
Chemical Engineering Journal. 172 (2011) 1083--1087.

\bibitem{LukashchukFracInvNumCMA} S. Yu. Lukashchuk;
\emph{Estimation of parameters in fractional subdiffusion equations by the
time integral characteristics method},
Computers and Mathematics with Applications 62 (2011) 834-844.

\bibitem{matzler-reviewAD} R. Metzler, J. Klafter;
\emph{The random walk’s guide to anomalous diffusion: a fractional
dynamics approach}, Phys. Rep. 339 (1) (2000) 1--77.

\bibitem{MurioFracInvCMA} D. A. Murio;
\emph{Time fractional IHCP with Caputo fractional derivatives},
 Computers and Mathematics with Applications 56 (2008) 2371-2381.

\bibitem{prabhakar} T. R. Prabhakar;
\emph{A singular intgeral equation with a generalized Mittag-Leffler
 function in the kernel},  Yokohama Math. J 19 , 7–15, (1971).

\bibitem{samko-book} S. G. Samko, A. A. Kilbas, D. I. Marichev;
\emph{Fractional Integrals and Derivatives: Theory and Applications},
Gordon and Breach Science Publishers, 1993.

\bibitem{Wang} S. Wang, M. Zhao, X. Li;
\emph{Radial anomalous diffusion in an annulus}, Physica A 390 (2011) 3397--3403.

\bibitem{YamamotoCite2013} G. Li, D. Zhang, X. Jia, M. Yamamoto;
\emph{Simultaneous inversion for the space-dependent diffusion coefficient
and the fractional order in the time-fractional diffusion equation},
Inverse Problems 29 (2013), doi:10.1088/0266-5611/29/6/065014.

\bibitem{ZhangFracInvIP} Y. Zhang, X. Xu;
\emph{Inverse source problem for a fractional diffusion equation},
Inverse Problems 27 (2011), doi:10.1088/0266-5611/27/3/035010.

\end{thebibliography}

\end{document}
