Using an integrating factor to solve an ODE \frac{dc}{dt}=1-c-ac

interdicoxd

interdicoxd

Answered question

2022-01-21

Using an integrating factor to solve an ODE
dcdt=1cac

Answer & Explanation

MoxboasteBots5h

MoxboasteBots5h

Beginner2022-01-21Added 35 answers

dcdt+(1+a)c=1
multiply by integrating factor e(1+a)t:
e(1+a)tdcdt+(1+a)e(1+a)tc=e(1+a)t
ddt(e(1+a)tc)=e(1+a)t
e(1+a)tc=e(1+a)tdt=e(1+a)t1+a+A
c=11+a+Ae(1+a)t
for some constant A. Presumably there is an initial condition (that R.M. has not told us) to let the lecturer determine the constant A
abonirali59

abonirali59

Beginner2022-01-22Added 35 answers

t=dc1(a+1)c
=1a+1log(1(a+1)c)+t0 (1)
Solving (1) yields
c=1a+1(1e(a+1)(tt0))
=1a+1(1a+1c0)e(a+1)t (2)
c=1a+1 is a particular solution of (2) with c0=1a+1(t0=)
RizerMix

RizerMix

Expert2022-01-27Added 656 answers

Because of the nature of this equation it is separable so an integrating factor is not strictly necessary. but because you requested it be done in that method: first consider the form of the equation for an integrating factor:A differential equation of the form y+P(x)y=Q(x) can be solved byy=μQ(x)dxμ+kμ where k is an arbitrary constant and μ is the integrating factor (μ=eP(x)dx)Let's fit your equation into the form needed for the method of integrating factors (In your case, y is c ):c+c(1+a)=1so you should obtain for an integrating factor of μ=e(1+a)dt=et(1+a)so c=1et(1+a)(et(1+a))dt+ket(1+a)if you integrated correctly, you should get (et(1+a))dt=11+aet(1+a) which you will find nicely cancels with the integrating factor, μ which is already in the denominator. So your final answer should bec=11+a+ket(1+a)=11+a+ket(1+a)

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?