HOME

PDF (letter size)

Example solving non-linear first order ODE

Nasser M. Abbasi

September 8, 2018   Compiled on January 31, 2024 at 4:15am

dydt+y32(t)=a32y(0)=0

Write as

(y32a32)dt+dy=0(1)M(t,y)dt+N(t,y)dy=0

Where

M=y32a32N=1

Check if exact

M(t,y)y=32y12N(t,y)t=0

Since M(t,y)yN(t,y)t then Not exact. Trying integrating factor A=NtMyM=32y12y32a32, Since it is a function of y alone, then it (1) can be made exact. The integrating factor is

μ=eAdy=e32y12y32a32dy=eln(a32y32)=1a32y32

Multiplying (1) by this integrating factor, now it becomes exact

μM(t,y)dt+μN(t,y)dy=0

Now we follow standard method for solving exact ODE. Let

(2)dUdt=μM=y32a32a32y32=1(3)dUdy=μN=1a32y32

From (2)

U=dt(4)=t+f(y)

Substituting this into (3) to solve for f(y)

f(y)=1a32y32f(y)=233aarctan(1+2ya3)23aln(ay)+13aln(a+ay+y)+C

Hence the solution from (4) is

U=t+233aarctan(1+2ya3)23aln(ay)+13aln(a+ay+y)+C

But dUdt=0, hence U=C1. Therefore, collecting constants into one, the solution is (implicit form)

t+233aarctan(1+2ya3)+23aln(ay)13aln(a+ay+y)=C

From initial conditions

233aarctan(13)+23aln(a)13aln(a)=CC=233aπ6+23aln(a)13aln(a)C=233aπ6C=π39a

Hence final solution for y(t) in implicit form is

t+233aarctan(1+2ya3)+23aln(ay)13aln(a+ay+y)=π39a3ta+23arctan(a+2y3a)+6ln(ay)ln(a+ay+y)=π33