Question: odetest and mixed boundary conditions?

Maple 2026

Maple gives correct solution to this ode, but odetest do not give all zero. Because the IC/BC are not elementrary.

Is there a way around this? odetest should be able to see the solution y(x)=0 is valid and satisfies both conditions. 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2026.0, Windows 10, March 05 2026 Build ID 2001916`

ode:=diff(y(x),x$2)+y(x)=0;
IC:=y(0)-y(Pi/6)=0,D(y)(0)-D(y)(Pi/6)=0;
maple_sol:=dsolve([ode,IC]);
odetest(maple_sol,[ode,IC]);

diff(diff(y(x), x), x)+y(x) = 0

y(0)-y((1/6)*Pi) = 0, (D(y))(0)-(D(y))((1/6)*Pi) = 0

y(x) = 0

[0, y(0), (D(y))(0)]

 

 

Download odetest_problem_with_mixed_BC_march_30_2026.mw

Please Wait...