How to solve this equation: $$z_x+z_y+z=e^{x+2y}$$ with boundary condition as $z(x,0)=0$
I tried $$\frac{dx}{1}=\frac{dy}{1}=\frac{dz}{e^{x+2y}-z}$$ I got one condition as $y-x=a$ how to obtain other constant condition.? can you please help ? How to fix that extra z or exponential term rid of dz, I felt we should use some mulitplier tricks ?
Solution of $z_x+z_y+z=0$ is $$z_h=e^{-x}f(y-x)$$
Particular solution of $z_x+z_y+z=e^{x+2y}$ is $$ z_p=\frac{e^{x+2y}}{4}$$ Then general solution is $$z=z_h+z_p=e^{-x}f(y-x)+\frac{e^{x+2y}}{4}$$
Final solution with initial condition $z(x,0)=0$ is $$z=\frac{e^{x+2y}}{4}-\frac{e^{x-2y}}{4}=\frac12e^x\sinh(2y)$$