The Student Room Group

Having trouble understanding a question (differential equations)

Hi :smile:, I'm not too sure what to do for the below question.


untitled.JPG


Do I put x=3 and y=0 for the first equation, then x=18 and y=0? I can't seem to understand on how to start as I can't find any examples.
(edited 10 years ago)
Reply 1
Original post by kerrypop
Hi :smile:, I'm not too sure what to do for the below question.


untitled.JPG


Do I put x=3 and y=0 for the first equation, then x=18 and y=0? I can't seem to understand on how to start as I can't find any examples.


Put y=0 and arrange the equation
1x(12x)dx=112dt\displaystyle \frac{1}{x\cdot (12-x)} dx=\frac{1}{12} dt

Integrate and find x=f(t)
Reply 2
Original post by ztibor
Put y=0 and arrange the equation
1x(12x)dx=112dt\displaystyle \frac{1}{x\cdot (12-x)} dx=\frac{1}{12} dt

Integrate and find x=f(t)


Thanks for the reply :smile:

I still don't really understand what is going on. If I integrate it I should get my answer, what does that mean in terms of the question though?
Reply 3
Original post by kerrypop
Thanks for the reply :smile:

I still don't really understand what is going on. If I integrate it I should get my answer, what does that mean in terms of the question though?


For the LHS

With partial fractions

Ax+B12x=12AAx+Bxx(12x)=1x(12x)\displaystyle \frac{A}{x}+\frac{B}{12-x}=\frac{12A-Ax+Bx}{x(12-x)}=\frac{1}{x(12-x)}
So
A=B and 12A=1 -> A=B=1/12

112(1x+112x)dx=112dt\frac{1}{12} \int \left ( \frac{1}{x}+\frac{1}{12-x}\right ) dx=\frac{1}{12}\int dt

lnx12x=t+C\ln \left |\frac{x}{12-x}\right |=t+C

x12x=cet\frac{x}{12-x}=c\cdot e^{t}

You will get the value of c from the initial conditions t=0 -> x_0=3 or 18
Reply 4
Original post by ztibor
For the LHS

With partial fractions

Ax+B12x=12AAx+Bxx(12x)=1x(12x)\displaystyle \frac{A}{x}+\frac{B}{12-x}=\frac{12A-Ax+Bx}{x(12-x)}=\frac{1}{x(12-x)}
So
A=B and 12A=1 -> A=B=1/12

112(1x+112x)dx=112dt\frac{1}{12} \int \left ( \frac{1}{x}+\frac{1}{12-x}\right ) dx=\frac{1}{12}\int dt

lnx12x=t+C\ln \left |\frac{x}{12-x}\right |=t+C

x12x=cet\frac{x}{12-x}=c\cdot e^{t}

You will get the value of c from the initial conditions t=0 -> x_0=3 or 18


Thanks, that has been really helpful :smile:

I can see by using dxdt=x(1x12)\frac{dx}{dt}= x\left(1- \frac{x}{12}\right)

I can get to the same answer as you do.

Could you please explain how you started with 1x(12x)dx=112dt\displaystyle \frac{1}{x\cdot (12-x)} dx=\frac{1}{12} dt as my algebra isn't that great and I can't see how you got it.
(edited 10 years ago)
Original post by kerrypop
Thanks, that has been really helpful :smile:

I can see by using dxdt=x(1x12)\frac{dx}{dt}= x\left(1- \frac{x}{12}\right)

I can get to the same answer as you do.

Could you please explain how you started with 1x(12x)dx=112dt\displaystyle \frac{1}{x\cdot (12-x)} dx=\frac{1}{12} dt as my algebra isn't that great and I can't see how you got it.


Separation of variables.

Quick Reply

Latest