Find the solution to the differential equation dx/dt=2x+2t+tx+4 that satisfies the conditions x>=0 and x(1)=2
i cant even tell if im reading it right
combine all your "x" terms
they will tell you the function associated with "x"
Notice that 2x+2t+tx+4 = (x+2)(t+2)
x' =(2+t)x+(2t+4) x'-(2+t)x =2t+4 might be a way to format it to a usual look
dunno if its best, but at least it gets you to a "pattern" that normal
Look ... because dx/dt = 2x+2t+tx+4 = (x+2)(t+2) this equation is separable: \[ \frac{dx}{x+2} = (t+2) dt \] Now integrate
separable is soooo last chapter tho :)
that was weird
@Lammy, making sense?
let me try
Ln(x+2)+C = 1/2t^2+2t+c
C=2ln2-(5/2) so ln(x+2)=1/2t^2+2t+2ln(2)-(5/2)
only one side needs a +c ; as a shortcut; then solve for x
ln(x+2) = 1/2 t^2 + 2t + c x+2 = exp(1/2 t^2 + 2t + c) x = exp(1/2 t^2 + 2t + c) - 2 x = Cexp(1/2 t^2 + 2t) - 2
i dont have to solve for C first?
You can solve for C now using the initial condition provided to you in the problem: x(1) = 2. So take the general solution \[ x(t) = Ce^{\frac{t^2}{2} + 2t} - 2 \] and now find C.
Join our real-time social learning platform and learn together with your friends!