initial guess for a b.v.p.
7 views (last 30 days)
Show older comments
I am working on the solution of the following 4th order ode:
y'''' -2*(pi^2)*y''-(1/eps)*y'+(pi^4)*y=0
b.c.: y(0)=y(1)=0; y''(1)=0; y'''(1)=0
The solution can be worked using bvp4c. The initial guess for y, y', y'' and y''' for bvpinit can be worked out as different polynomials. However, in the command
solinit = bvpinit(linspace(0,1,100),@mat4init);
when I change the number of mesh-points (in the example: 100) the solution changes drastically its shape. Is there any way to solve this problem?
0 Comments
Answers (1)
Walter Roberson
on 5 Feb 2011
I don't know anything about bvp4c, but it appears the solution is
y(t) = Sum(exp(RootOf(Pi^4*eps-_Z-2*Pi^2*_Z^2*eps+_Z^4*eps, index = _a)*t)*_C[_a], _a = 1 .. 4)
That is, there is a quartic, x^4*eps - 2*pi^2*x^2 + pi^4*eps . There are four solutions to that quartic, some of them imaginary. Find those solutions, take exp() of each one and multiply it by an arbitrary constant, and then add all the results together.
If eps is 2^(-52) then the sum involves quantities as high as 3E71719
I am inexperienced in solving differential equations and it is possible that I got the notation wrong when I pumped it through Maple. The Maple was
dsolve({diff(diff(diff(diff(y(t), t), t), t), t)-2*Pi^2*(diff(diff(y(t), t), t))-(diff(y(t), t))/eps+Pi^4*y(t), y(0) = 0, y(1) = 0, ((D@@2)(y))(1) = 0, ((D@@4)(y))(1) = 0})
It looks like the right command when it is typeset.
0 Comments
See Also
Categories
Find more on Boundary Value Problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!