I want to solve the following integral $$\int_0^{\infty}y^3\theta e^{-\theta y} dy$$ so I chose two approaches, a direct one and one with substitution. The direct one is just a triple integration per parts which leads to $\frac{6}{\theta^3}$. The one with the substitution is solved by using the substitution $y\theta = t$. Now we have $y = \frac{t}{\theta}$ and $dy = \frac{dt}{\theta}$. Substituting and using per parts, we have $$\frac{1}{\theta^3}\int_0^{\infty}t^3e^{-t}dt$$ and we get again $\frac{6}{\theta^3}$.
However this is a result in $t$, not $y$ (the original variable). So I thought I had to find it in terms of $y$, i.e. $y = \frac{t}{\theta} = \frac{6}{\theta^4}$ which is different from the previous result!
So my question is
When I solve an integral using substitution as above, do I have to bring back the result in terms of the original variable? Cause I recall loads of examples (e.g. the sine substitution) where we had to bring the result back. But here obviously I get the same result if I don't bring it back to the original variable. Can you help me clarify this?