First order differential question

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
cupcake
Messages
73
Reaction score
0
question :

As the salt KNO3 dissolves in methanol, the number x(t) of grams of the salt in a solution after t seconds satisfies the differential equation dx/dt = 0.8x - 0.004x^2

if x=50 when t=0, how long will it take for an additional 50g of salt to dissolve.

ok, here I'm encountering the differential part, I don't know how to solve the differential question.. so far, what I have done...

using separable differential equations..

1/(0.8x - 0.004 x^2) dx = dt

and integral both sides...

1/(0.8x - 0.004 x^2) dx = t+c

I don't know to integrate the right side, I use the integral calculator and the answer is

{ 5 ln x - 5 ln (x-200) } / 4 so, the whole equation will be

5 ln x - 5 ln (x-200) = 4 (t+c)

but, I think it doesn't work when I substitute x=50 when t=0. cause the ln (x-200) can't be minus.. :frown:

so, please advise me

thanks
 
Physics news on Phys.org
Split into partial fractions


[tex]\frac{1}{0.8x - 0.004 x^2}=\frac{1}{x(0.8-0.004x)}=\frac{A}{x}+\frac{B}{0.8-0.004x}[/tex]


bring the right side to the same denominator, then take the numerator you get and put that equal to the numerator on the left side (1 in this case)

Now you will get an equality that is valid for all values of x, so you can pick the most convenient values of x to get A and B.

so if you had something like

A(x-1)+B(x+1)=1

to get A, you'd put x=-1 to eliminate B. To get B, you'd put x=1 and A would disappear.

Do the same with your question.