In preparation for ODE, I was just doing some practice problems when I came across this.
$$\frac{dx}{dt} = 3x+3t$$
Although I looked at the solution where it states to do an integration factor, is there anything inherently wrong with simply multiplying dt on both sides and then taking the integral of both sides and then isolating $x$? I would appreciate any clarity on this matter. Thanks so much.
No, you can't isolate them, because if you multiply $dt$ on both sides and integrate, then you get:
$$\int dx=\int 3xdt+\int3tdt$$
How do you deal with the first term on the RHS?
What you can do is either use the integration factor method, or to use substitution, let $u=x+t$, then we have
$$\frac{dx}{dt}=\frac{du}{dt}-1$$ the new differential equation becomes:
$$\frac{du}{dt}-1=3u$$ Now, you can separate them and integrate:
$$\int \frac{du}{3u+1}=\int dt$$
Can you proceed from here?