Take the following PDE:
$$u_x-u_y+(x+y)u=0$$
Express it in standard form,
$$u_x-u_y=-(x+y)u$$
From here, form the characteristic system of equations,
$$\frac{dx}{dt}=1$$ $$\frac{dy}{dt}=-1$$ $$\frac{du}{dt}=-(x+y)$$
Where the first two equations are separable, and yield the following solutions: $$x=t+f_1(s)$$ $$y=-t-f_2(s)$$ Here I tried to get an expression for the parameter $s$ equating both expressions for $t$: $$x-f_1(s)=-y-f_2(s)$$ $$x+y=f_1(s)-f_2(s)$$ $$x+y=f_3(s)$$ $$s=f_3^{-1}(x+y)$$ With this at hand, I proceeded to solve the last equation as follows: $$\frac{du}{dt}=-(x+y)$$ $$\frac{du}{dt}=-(t+f_1(s)-(t+f_2(s)))$$ $$\frac{du}{dt}=-(f_1(s)-f_2(s))$$ $$\frac{du}{dt}=-f_3(s)$$ $$\frac{du}{dt}=f_4(s)$$ which yields the following solution: $$u=f_4(s)(t+f_5(s))$$ $$u=f_4(s)t+f_4(s)f_5(s))$$ $$u=f_4(s)t+f_6(s)$$ substitute now one of the relations for $t$: $$u=f_4(s)(x-f_1(s))+f_6(s)$$ $$u=f_4(s)x-f_4(s)f_1(s)+f_6(s)$$ $$u=f_4(s)x-f_7(s)+f_6(s)$$ $$u=f_4(s)x+f_8(s)$$ now substitute the value for $s$ to get the final solution, $$u=f_4(f_3^{-1}(x+y))x+f_8(f_3^{-1}(x+y))$$ $$u=M(x+y)x+N(x+y)$$
This is all well and good but the verification fails, I have traced back my steps but I can't find where I am wrong, and to add insult to injury the teacher told us that the solution should have a term $e^{x+y}$ for which I just can't find a way to get it. What am I missing? Any insight will be greatly appreciated.
Your solution needs two corrections: