Solving 3rd order ODE with B.C. of Numan and Dirichlet Type

  • Thread starter oby7842
  • Start date
  • Tags
    Ode Type
In summary, the conversation discusses a third order ordinary differential equation with specific boundary conditions and the use of the ode45 command to solve it. The participants also mention the need to integrate the equation and the issue of the upper limit being fixed. They also discuss the possibility of using a different boundary condition with an unknown parameter and the challenges encountered in solving the problem.
  • #1
oby7842
11
0
Hiii,

In my research i encountared with following 3rd order ODE:

d^3y/dx^3 = (1-y)/y^3.

my B.C. are:

at x = 50 y=1(dirichlet B.C.) ; dy/dx=0 ( numan B.C.) and d^2y/dx^2=0.

i need to integrate from x=0:50. I tried ode45 but it gives same result as B.C. throughout the range. If anyone have any idea how can i approach to solve this problem please let me know. thanks.

Omar Bin Yusuf
 
Physics news on Phys.org
  • #2


the command is
[x,y]=ode45(@(x,y)[y(2);y(3);(1-y(1))/y(1)^3],[50 0],[1;0;0]);

I've tried, and obtained the same result as you. This is an equilibrium point of the system. if you try y(50)=1+1e-15, it blows up. If you try y(0)=1-1e-15, it blows up too (when reaching y=0).
 
  • #3


Thanks gato. i tried with y(50)=1+1e-15. and it works. I have 3 more question i hope you will be able to help me.

1. In my problem the upper end ( x = 50 ) is not fixed. In original problem it was said that Y( as x goes to infinity) =1. at first I sovled the problem by assuming upper limit as 50. What should be the approach of fixing this upper limit.

2. Again although if I use y(50)=1+1e-15 and use ode45, we can see that y remains equal 1 far below x= 50. Why is this happening?

3. Inliterature i found for this problem authors described another BC by dy/dx(x=0)=alpha. where 'alpha' is unknown. So now can i solve this problem by bvp4c and solve the problem along with that unknown parameter? I tried but my results are heavily influenced by initial guess.

Thank you again for your reply. your ans really help me alot.
 

FAQ: Solving 3rd order ODE with B.C. of Numan and Dirichlet Type

What is a 3rd order ODE?

A 3rd order ODE (Ordinary Differential Equation) is an equation that involves a function and its derivatives up to the third order. It is commonly used in mathematical and scientific fields to model physical phenomena.

What is the difference between Numan and Dirichlet boundary conditions?

Numan and Dirichlet boundary conditions are two different types of boundary conditions used in solving ODEs. Numan boundary conditions specify the values of the function and its first derivative at a given point, while Dirichlet boundary conditions specify the values of the function at two different points.

Why is it important to solve 3rd order ODEs with boundary conditions?

Solving 3rd order ODEs with boundary conditions allows us to determine the behavior of a function at specific points and to find a unique solution to the equation. This is crucial in understanding and predicting real-world phenomena.

What is the process for solving 3rd order ODEs with Numan and Dirichlet boundary conditions?

The process involves first finding the general solution to the ODE, then applying the boundary conditions to determine the specific solution for the given points. This typically involves substitution and algebraic manipulation to solve for the unknown constants in the general solution.

Are there any tips for solving 3rd order ODEs with Numan and Dirichlet boundary conditions?

One tip is to carefully label and keep track of the boundary conditions and their corresponding points. It is also helpful to simplify the general solution as much as possible before applying the boundary conditions. Additionally, checking the solution against the original ODE can help catch any errors in the solving process.

Similar threads

Replies
1
Views
2K
Replies
3
Views
2K
Replies
3
Views
3K
Replies
13
Views
2K
Replies
4
Views
2K
Back
Top