Solve 4th order ODE

조회 수: 5 (최근 30일)
user06261999
user06261999 2022년 3월 21일
댓글: Torsten 2022년 3월 22일
I would like to find a solution for the differential equation with boundary conditions (solution for a buckling column on a non-linear elastic foundation):
where E, I, P, k1, and k3 are some constants
I tried to solve thos equation in Wolfram Mathematica. Wolfram Mathematica gives me only a trivial solution.
Could you please kindly help me solve this equation numerically?
function mat4bvp
L=1
xmesh = linspace(0,L,5);
solinit = bvpinit(xmesh, @guess);
sol = bvp4c(@bvpfcn, @bcfcn, solinit);
plot(sol.x, sol.y, '-o')
end
function dydx = bvpfcn(x,y)
dydx = zeros(4,1);
k1=1
k3=1
I=1;
E=1;
P=1
dydx=[y(1)
y(2)
y(3)
-y(2)*P-k1*y(1)+k3*y(1)*y(1)*y(1)]; %4th order equation
end
function res = bcfcn(ya,yb)
res=[ya(1)
ya(2)
yb(1)
yb(2)];
end
function g = guess(x)
g = [sin(x)
cos(x)
-sin(x)
-cos(x)];
end
I am trying to solve it using bvp soft, but matlab gives error: unable to solve the collacation equations -- a singular Jacobian encounered.
  댓글 수: 9
Sam Chak
Sam Chak 2022년 3월 22일
I ran some sampling solutions by fixing & , and a range of non-zero initial conditions for & . But I'm actually unsure whether the trivial solution is the only solution for .
Perhaps the non-trivial solution exists when . That's why I gave the example above. I think @user06261999 can continue searching for the non-trivial solution.
Torsten
Torsten 2022년 3월 22일
Let's stick to the linear case
y + y'' = 0, y(0) = y(L) = 0
The solution is the trivial solution (and is unique) if L is not a multiple of pi.
Otherwise it has an infinite number of solutions, namely y = a*sin(x).
This doesn't generalize to the nonlinear case, but I think that - if nontrivial solutions exist - they will exist only for special values of L.
The problem is somehow connected with eigenvalue problems for boundary value problems, but I don't have experience in this field.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by