So I have the following PDE: for z(x,y) $\frac{\partial z}{\partial x}$ + $\frac{\partial z}{\partial x}$ = $-z^2$;
Boundary/Initial conditions: $z(x,0)=1$ & $z(0,y)=0$
Ideally,using the method of characteristics I could see,
$\frac{dx}{dt}=1$ & $\frac{dy}{dt}=1$ so $x=t+\phi_1(s)$ & $y=t+\phi_2(s)$.
Next, $\frac{dz}{dt}=-z^2$, solving gives $\frac{1}{z}=t+\phi_3(s)$ or $z=\frac{1}{t+\phi_3(s)}$.
The problem I have now is satisfying both boundary conditions. I can see $\phi_1(s)=s$,$\phi_2(s)=0$ gives $\phi_3=1$ so we get $z=\frac{1}{y+1}$, as $x=t+s$ and $y=t$. However this satisfies $\frac{\partial z}{\partial x}$ + $\frac{\partial z}{\partial x}$ = $-z^2$, as well as $z(x,0)=1$, but does not satisfy & $z(0,y) = 0$ as $z(0,y)=\frac{1}{y+1}$.
I cannot figure out how to satisfy the second boundary condition at all, yet minding solving both at the same time. Any help is greatly appreciated.