The conservation law for the population is,
$$ \underbrace{\frac{\partial}{\partial t} x(t,a) + \frac{\partial}{\partial a} x(t,a)}_{\text{directional derivative}} = -\mu(a) x(t,a) dt\tag1 $$ where $x(t,a)$ is the density of individuals of age $a$ and time $t$, and $\mu$ is the death function. Now with initial condition, $$x(0,a)=\phi(a)\tag2$$the population at time $t=0$ has a given age distribution $\phi(a)$. The boundary condition come from the birth rate function $\gamma(a)$, $$x(t,0)=\int_0^\infty \gamma(a)x(t,a)da\tag3$$ Now, they directly said the solution as,
$$x(t,a)=\begin{cases} \phi(a-t)\exp\left(-\int_{a-t}^a \mu(s)ds\right), & a>t \\ x(t-a,0)\exp\left(-\int_{0}^a \mu(s)ds\right), & a<t \end{cases} $$
I didn't understand how they solve the PDE? I try to use characteristic method, $$\frac{dt}{ds}=1,\quad\frac{da}{ds}=1,\quad\frac{dx}{ds}=-\mu(a)x$$ And got, $$dt=da\implies t-a=C_1,\quad x=C_2\exp\left( -\int \mu ds \right)$$ And using the initial condition I could reach, $$x=\phi(a-t)\exp\left(- \int \mu ds \right)$$ I don't understand how they get the solution and the piecewise thing. It will be a great help if anyone explain it. Thanks in advance.
Why $x(t,0)=\int_0^\infty \gamma(a)x(t,a)da$ is called boundary condition? Is it mean newborn at time $t$?