Solving First Order Differential Equation with Initial Value x(0)=2

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 2K views
rugapark
Messages
22
Reaction score
0
I'm trying to solve this firrst order diff. equation, where I'm given the initial value, x(0)=2[tex]\frac{dx}{dt}=\frac{3x+4}{\sqrt{t}}[/tex]

[tex]\frac{dx}{3x+4}=\frac{1}{\sqrt{t}}dt[/tex]

[tex]\int\frac{1}{3x+4}dx=\int\frac{1}{\sqrt{t}}dt[/tex]

[tex]ln(3x+4)=ln(t^{\frac{1}{2}})[/tex]

this is as far as I got, do I sub in x(0)=2 into the LHS? if not, could i have some pointers to help carry on?

cheers.
 
Last edited:
Physics news on Phys.org
rugapark said:
I'm trying to solve this firrst order diff. equation, where I'm given the initial value, x(0)=2


[tex]\frac{dx}{dt}=\frac{3x+4}{\sqrt{t}}[/tex]

[tex]\frac{dx}{3x+4}=\frac{1}{\sqrt{t}}[/tex]

[tex]\int\frac{dx}{3x+4}=\int\frac{1}{\sqrt{t}}[/tex]

[tex]ln(3x+4)=ln(t^{\frac{1}{2}}[/tex]
Your solution looks good up until the final line. You may want to re-check your integrals.
 
[edit] - there should be 'dt' s on the RHS in the 2nd and 3rd line of work
 
[tex]\int \frac{dt}{\sqrt{t}}= \int t^{-1/2}dt[/tex]
is NOT [itex]ln(t^{1/2})[/itex]!
 
also don't forget your constant that comes from the integration
 
oh right, my mistake lol

so, the last line should be

[tex]ln(3x+4)=\frac{1}{2}ln(t^{\frac{1}{2}})[/tex]

I have no idea where to go from here with the initial value that I was given x(0)=2! would I sub in x=2 into the equation?
 
rugapark said:
oh right, my mistake lol

so, the last line should be

[tex]ln(3x+4)=\frac{1}{2}ln(t^{\frac{1}{2}})[/tex]

I have no idea where to go from here with the initial value that I was given x(0)=2! would I sub in x=2 into the equation?

As other people have been trying to tell you, the integral of t^(-1/2) DOES NOT involve a log. It's just power law. And I still don't see a constant of integration.