I have this system of coupled pde's:
\begin{equation} \frac{\partial^2\theta}{\partial x^2}=\frac{\partial \theta}{\partial t}+\sqrt{a}\frac{\partial^2 u}{\partial x\, \partial t} \end{equation} \begin{equation} \frac{\partial^2 u}{\partial x^2}=\sqrt{a}\frac{\partial \theta}{\partial x} \end{equation} with $a$ a positive real constant, $x\in[0,1]$, $t\in[0,\infty)$ and $\theta$ and $u$ are real valued functions of $x$ and $t$. This equation arises in one dimensional linear thermo-elasticity. It has been stated in a book that $\theta$ satisfies the following integro-differential equation: \begin{equation} \frac{\partial^2\theta}{\partial x^2}=(1+a)\frac{\partial\theta}{\partial t}-a\,\frac{d}{dt}\int^{1}_{0}\theta(y,t)\,dy. \end{equation} Can somebody explain how do they get the second term? The only condition specified is that $u(0,t)=u(1,t)=0$.
Integrating along $x$ direction for fixed $t$ once, we get: $$\frac{\partial^2 u}{\partial x^2}=\sqrt{a}\frac{\partial \theta}{\partial x} \implies \frac{\partial u}{\partial x}(x,t) = \sqrt{a}\,\theta(x,t) + K(t) $$ where $K(t)$ is some function independent of $x$. Integrating along $x$ again, we have:
$$0 = u(1,t) - u(0,t) = \int_{0}^{1} \frac{\partial u}{\partial x}(x,t) dx = \sqrt{a}\int_{0}^{1}\theta(x,t) dx + K(t)$$
Combine these two, we obtain: $$\frac{\partial u}{\partial x}(x,t) = \sqrt{a}\left(\theta(x,t) - \int_{0}^{1}\theta(y,t) dy\right)$$
Substitute this back into the first equation gives the integro-differential equation.