How can I solve the following system of linear partial differential equations or simplify them to solvable form? both Z and Y depend on x and t variables.
\begin{align} \frac{\partial Y}{\partial t}+\frac{\partial Y}{\partial x}&=Z-Y \\ \frac{1}{c}\frac{\partial Z}{\partial t}&=Y-Z \end{align}
Let
We have
\begin{cases} \displaystyle Z(x,t)-Y(x,t)=\frac{\partial Y}{\partial x}+\frac{\partial Y}{\partial t}\\ \displaystyle Z(x,t)-Y(x,t)=-k\frac{\partial Z}{\partial t} \end{cases}
Trivial solutions require $Z(x,t)=Y(x,t)=\operatorname{const}.$
Separating each function for nontrivial solutions gives
We can find $Z_t$ to decouple this system of equations
$$\frac{\partial Z}{\partial t}=\frac{\partial Y}{\partial t}+\frac{\partial^2 Y}{\partial t\partial x}+\frac{\partial^2 Y}{\partial t^2}$$
\begin{cases} \displaystyle Z(x,t)=Y(x,t)+\frac{\partial Y}{\partial x}+\frac{\partial Y}{\partial t}\\ \displaystyle Y(x,t)=Y(x,t)+\frac{\partial Y}{\partial x}+\frac{\partial Y}{\partial t}+k\left(\frac{\partial Y}{\partial t}+\frac{\partial^2 Y}{\partial t\partial x}+\frac{\partial^2 Y}{\partial t^2}\right) \end{cases}
Let
Then
\begin{cases} \tilde{X}\tilde{T}=XT+X'T+XT'\\ X'T+XT'+k\left(XT'+X'T'+XT''\right)=0 \end{cases}
Focus on the second equation and divide by $XT$
$$\frac{X'}{X}+\frac{T'}{T}+k\left(\frac{T'}{T}+\frac{X'T'}{XT}+\frac{T''}{T}\right)=0\implies (1+k)\frac{T'}{T}+k\frac{T''}{T}=-\left(1+k\frac{T'}{T}\right)\frac{X'}{X}$$
Taking partial derivatives on both sides, we have
$$0=-\left(1+k\frac{T'}{T}\right)\frac{\partial}{\partial x}\left(\frac{X'}{X}\right)$$
$$\frac{\partial}{\partial t}\left((1+k)\frac{T'}{T}+k\frac{T''}{T}\right)=-k\frac{X'}{X}\frac{\partial}{\partial t}\left(\frac{T'}{T}\right)$$
It seems possible at first that
$$k\frac{T'}{T}=-1$$
But the first equation is always satisfied since the second implies that
So it is not necessary nor consistent that $\displaystyle k\frac{T'}{T}=-1$.
We can continue with this new information
$$\xi+\frac{T'}{T}+k\frac{T'}{T}+k\xi\frac{T'}{T}+k\frac{T''}{T}=0$$
We have a first order ordinary differential equation for $X$ and a second order ordinary differential equation for $T$. Solving both automatically solves $Z(x,t)=\tilde{X}\tilde{T}$.
Solving for $T$ becomes slightly less tedious if we let
Following the procedures of second order ODEs
$$r^2+\eta r+\frac{\xi}{k}=0$$
$$r=\frac{1}{2}\left(-\eta\pm\sqrt{\mu}\right)$$
So
$$T(t)=C_1e^{\frac{1}{2}\left(-\eta+\sqrt{\mu}\right)t}+C_2e^{-\frac{1}{2}\left(\eta+\sqrt{\mu}\right)t}\\X(x)=C_3e^{\xi x}$$
And we have our solutions