Initial Value Problem. I'm really confused just need some help

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
mazz1801
Messages
22
Reaction score
0

Homework Statement



Solve the following Initial Value problem for x(t) and give the value of x(1)

Homework Equations



(dx/dt)-xt=-t , x(0)=2

The Attempt at a Solution



(dx/dt)-xt = -t
(dx/dt) = xt-t
(dx/dt) = t(x-1)
(1/(x-1)) (dx/dt) = t
(1/(x-1)) dx = t dt

Then I integrate both sides.

∫(1/(x-1)) dx = ∫t dt
ln[x-1] + C = (1/2)t^2

I put x=2 and t=0
ln[1] + C = (1/2)(0)^2
0 + C = 0
C = 0

So my problem is the x(1) bit... I don't know where to go with this... would I just make t=1 and solve for x and give a numerical answer by subbing i back in?
Or am I way of the mark and have everything wrong :O
 
Physics news on Phys.org
welcome to pf!

hi mazz1801! welcome to pf! :smile:

(try using the X2 button just above the Reply box :wink:)
mazz1801 said:
ln[x-1] + C = (1/2)t^2

C = 0

So my problem is the x(1) bit... I don't know where to go with this... would I just make t=1 and solve for x and give a numerical answer by subbing i back in?

("subbing i"? :confused:)

yes, that's fine :smile:

you should now get rid of the ln by writing x-1 = et2/2

then put t = 1
 
Thank you very much tiny-tim :)