# Question:why setting warnlevel makes dsolve give different form of the solution?

## Question:why setting warnlevel makes dsolve give different form of the solution?

Maple 2020

why setting interface(warnlevel=0); makes dsolve change the form of the final solution to an ODE?

Is this to be expected? Help on warnlevel 0 says to just suppress all warnings

In this example, both solutions are equivalent. One is just simpler than the other.

But now I am worried if this setting could affect dsolve in other ways not yet anticipated.

 > restart;
 > interface(version);

 > Physics:-Version();

 > interface(warnlevel=0);

 > ic:=y(0)=3: ode := diff(y(x),x)*y(x)/(1+1/2*sqrt(1+diff(y(x),x)^2))=-x: sol_1:=dsolve([ode,ic],y(x),singsol=all);

 > restart;
 > ic:=y(0)=3: ode := diff(y(x),x)*y(x)/(1+1/2*sqrt(1+diff(y(x),x)^2))=-x: sol_2:=dsolve([ode,ic],y(x),singsol=all);

btw, the same thing happens with warnlevel 2. i.e. answers look different.

But with warnlevel 3 and 4, now dsolve gives the same answer.

SInce it seems default is warnlevel 3, it seems internally, dsolve takes different path depending on warnlevel setting?

Edit

Here is a movie. I am using windows 10.

Edit: Here is another video. Tried now with fresh start of Maple. i.e. closed Maple and started it again.  Using worksheet. No other worksheet was open. This is what I found. Initially it gives the longer solution. After couple of tries, it then changed to the simpler one

﻿