I've currently started reading 'Lectures on Partial Differential Equations' by Faris.
Page 44 he states the following forward equation: $$J=a(y)p-\frac{1}{2}\frac{\partial \sigma(y)^2p}{\partial y} = 0$$
I understand how to solve this and obtain the following: $$I(y) = \int_{y_0}^{y}\frac{2}{\sigma(z)^2}a(z)dz$$ i.e. integrate once and separate the variables. He then states solving for $p$ produces: $$p(y)=C\frac{2}{\sigma(y)^2}exp(I(y))$$ I don't understand where the $\frac{2}{\sigma(y)^2}$ comes from. Can someone guide me in the right direction please?