I want to use the method of characteristics to obtain the solution to this PDE,
$$\frac{\partial F}{\partial t}=\left(z-t\right)\left(\beta z-\gamma\right)\frac{\partial F}{\partial z}$$
which I've seen is of the form
$$F\left(t,z\right)=F\left(\left(\frac{\beta\left(z-1\right)}{\beta z-\gamma}\right)e^{\left(\beta-\gamma\right)t}\right).$$
Attempt:
I was trying by identifying the PDE with one of the form
$$a\left(t,z\right)F_{z}+b\left(t,z\right)F_{t}=g\left(t,z,F\right),$$
deriving the solution $h\left(t,z\right)=c_{1}$ for
$$\frac{dz}{dt}=\frac{a\left(t,z\right)}{b\left(t,z\right)}$$
then the solution $j\left(t,z,F\right)=c_{2}$ for
$$\frac{dF}{dt}=\frac{g\left(t,z,F\right)}{b\left(t,z\right)}$$
and writting $j\left(t,z,F\right)=K\left(h\left(t,z\right)\right)$.
However, I got stuck when I stomped upon the following ODE to solve,
$$z'\left(t\right)=-\beta z^{2}\left(t\right)+\beta tz\left(t\right)+\gamma z\left(t\right)-\gamma t.$$
How can I solve the problem?
$$z'\left(t\right)=-\beta z^{2}\left(t\right)+(\beta t+\gamma)z\left(t\right)-\gamma t.$$ Let $\quad z(t)=\frac{y'(t)}{\beta y(t)} \quad\to\quad z'=\frac{y''}{\beta y}-\frac{y'^2}{\beta y^2} =-\beta \left(\frac{y'}{\beta y} \right)^{2}+(\beta t+\gamma)\frac{y'}{\beta y} -\gamma t$ $$y''-(\beta t+\gamma)y' +\gamma\beta ty=0$$ This is a second order linear ODE easy to solve for $y(t)$ . Then, compute $z(t)=\frac{y'(t)}{\beta y(t)} $.