When I ask Maxima for the value of
diff(integrate(f(y),y,0,x),x);
then it correctly derives that this expression is f(x). However, if I slightly modify the expression to
diff(integrate(f(y)^(1/2),y,0,x),x);
then Maxima asks be whether x is positive, zero, or negative. Answering positive or negative leads to the correct and same result of f(x)^(1/2). Answering zero gives an error because deriving by a constant is not well-defined.
Is this a limitation of Maxima or is there a way to get Maxima to get the right result without asking for the sign of x?
I have version 5.41.0 of Maxima and am using it via version 18.02.0 of wxMaxima.