I stacked about an equation $\frac{dp}{dt}=t^2p-p+t^2-1$ I know this equation will be $p=$(something about t) I got $\int\frac{1}{p+1}dp=\int(t^2-1)dt$
After take the integral I got
$\ln|p+1|+c = \frac{1}{3}t^2-t+c$
after this step I stacked. How can I simplify like p = something? Is it possible to write $e^{p+1}=\frac{1}{3}t^2-t+K$ and rewrite like $(p+1)\ln e=\ln(\frac{1}{3}t^2-t+K)$?
If you know how to solve this question could you post your idea on the wall?
Thank you!