Thread Subject: Third order differential equation

Subject: Third order differential equation

From: Sabil Ahmed

Date: 3 Nov, 2009 18:52:02

Message: 1 of 2

Hi,

I need to know how to solve the following equation via matlab:

f.f'''+k.f'.f''=0

where f is a function of x: f(x)
and k is a constant

Can it even be solved at all?

Regards,

Uchiha Sama

Subject: Third order differential equation

From: Torsten Hennig

Date: 6 Nov, 2009 08:08:54

Message: 2 of 2

> Hi,
>
> I need to know how to solve the following equation
> via matlab:
>
> f.f'''+k.f'.f''=0
>
> where f is a function of x: f(x)
> and k is a constant
>
> Can it even be solved at all?
>
> Regards,
>
> Uchiha Sama

Divide your equation by f'*f''' to get
log(f(t)/f(t0)) = -k*log(f''(t)/f''(t0))
or
f(t)/f(t0) = (f''(t)/f''(t0))^(-k)
or
f(t)*f''(t0)^(-k) - f''(t)^(-k)*f(t0) = 0.
Now setting f = y, f'=z gives the system
y' = z
z' = (y*f''(t0)^(-k)/f(t0))^(-1/k)
which can be solved easily using one of the solvers
of the ODE suite.

Best wishes
Torsten.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com