# Question:why the way solution is written affects odetest result?

## Question:why the way solution is written affects odetest result?

Maple 2020

I found a new strange thing with odetest that I have not seen before.

Would you say that these two solutions are the same or not?

They look the same to me.  One just have all the terms on one side, that is all.

Why would Maple odetest verify the first one but not the second? I did not know that all terms have to be on one side before. Is this documented somewhere?

 > restart;
 > interface(version);

 > Physics:-Version();

 > ode:=diff(y(x), x) - 2*y(x) = 2*sqrt(y(x)); ic:=[y(0)=1]; maple_sol:=dsolve([ode,op(ic)],implicit); odetest(maple_sol,[ode,op(ic)]) assuming x>0

 > #now move some terms to one side, and odetest no longer verifies it my_sol:=y(x)^(1/2) = -1+2*exp(x); odetest(my_sol,[ode,op(ic)]) assuming x>0

 > #the solution is to put all terms on one side my_sol:=y(x)^(1/2) = -1+2*exp(x); odetest(rhs(my_sol)-lhs(my_sol)=0,[ode,op(ic)]) assuming x>0

 >