Integrals involving fractional powers
Maple has trouble with some integrals involving products of half-integer powers of linear terms. In some cases it seems the problem has to do with taking different branches of multivalued functions, and the antiderivative may be correct in some regions but not in others.
> f1:= (2*x-3)^(-3/2)*x^(1/2);
> F1:= int(f1,x);
> N:= simplify(diff(F1,x)-f1);
This complicated function turns out to be zero (as it should be) when .
> assume(x<3/2); simplify(N);
> assume(x>3/2); simplify(N);
Unfortunately we are probably most interested in the case > , as that is when the terms in f1 are both real.
In other cases the result is wrong for all values of .
> simplify(diff(F2,x) - f2);
A work-around is to express the integrand as a single square root. Note that this is not quite equivalent to the original integrand (although it is equivalent when at least one of the linear terms is positive).
In general it is prudent to check the correctness of integrals, either by comparing definite integrals to their floating-point approximations or by comparing the derivative of an indefinite integral to the integrand.
See also: Errors in symbolic integration , int
Maple Advisor Database R. Israel, 1998