I want to solve the following partial differential equation:
$$\frac{\partial h}{\partial t} + (y+t)\frac{\partial h}{\partial y} + h = 0$$
So far, the only methods I am familiar with solving PDEs are separation of variables, Laplace transforms, Fourier transforms, change of variables, method of characteristics, and a little bit of Fourier series, though I would like a closed form for the solution. I tried using the method of change of variables to solve the PDE and got the following general answer:
$$h(t,y)=ce^{-t}g(t-\ln\left | y+t \right |)$$
However, I don't think this is correct since when I plugged this in, it turned out to not be the solution. Wolfram Alpha gives the answer as:
$$h(t,y) = ce^{-2t}(t+y+1)$$
From the PDEs I've solved before, it seems obvious that this isn't the general solution. I am pretty sure that Wolfram Alpha chose a specific function $g(c)$, where $c$ is a variable of $t$ and $y$, in order to get a certain solution. Either that or Wolfram chose an initial value to apply. How would I get the general solution to this PDE? Any method would be acceptable. From there, how do you get the specific solution that Wolfram Alpha got? Preferably, I would like to avoid solving the following ODE:
$$\frac{\mathrm{d} y}{\mathrm{d} t}=y+t$$
in the process, since the PDE comes from solving $\frac{\mathrm{d} y}{\mathrm{d} t}=y+t$ as an inexact differential equation. If more work is needed to be shown, I will do so without hesitation.