text:
using Rubin
using Tests
using Elliptic
using HypergeometricFunctions
using Polylogarithms
using SpecialFunctions

@test integrate(x^4*log(c*(a+b*x^2)^p), x) == :(-2//25*p*x^5+1//5*x^5*log(c*(a+b*x^2)^p)+-2//5*p*x*a^2*b^-2+2//5*p*a^5//2*b^-5//2*arctan(x*a^-1//2*b^(1/2))+2//15*a*p*b^-1*x^3)
@test integrate(x^3*log(c*(a+b*x^2)^p), x) == :(-1//8*p*x^4+1//4*x^4*log(c*(a+b*x^2)^p)+-1//4*p*a^2*b^-2*log(a+b*x^2)+1//4*a*p*b^-1*x^2)
@test integrate(x^2*log(c*(a+b*x^2)^p), x) == :(-2//9*p*x^3+1//3*x^3*log(c*(a+b*x^2)^p)+-2//3*p*a^3//2*b^-3//2*arctan(x*a^-1//2*b^(1/2))+2//3*a*p*x*b^-1)
@test integrate(x*log(c*(a+b*x^2)^p), x) == :(-1//2*p*x^2+(1/2)*b^-1*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(log(c*(a+b*x^2)^p), x) == :(x*log(c*(a+b*x^2)^p)+-2*p*x+2*p*a^(1/2)*b^-1//2*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^-1*log(c*(a+b*x^2)^p), x) == :((1/2)*p*Polylogarithms.polylog(2,1+b*a^-1*x^2)+(1/2)*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2))
@test integrate(x^-2*log(c*(a+b*x^2)^p), x) == :(-1*x^-1*log(c*(a+b*x^2)^p)+2*p*a^-1//2*b^(1/2)*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^-4*log(c*(a+b*x^2)^p), x) == :(-1//3*x^-3*log(c*(a+b*x^2)^p)+-2//3*b*p*a^-1*x^-1+-2//3*p*a^-3//2*b^3//2*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^-5*log(c*(a+b*x^2)^p), x) == :(-1//4*x^-4*log(c*(a+b*x^2)^p)+-1//2*p*a^-2*b^2*log(x)+-1//4*b*p*a^-1*x^-2+1//4*p*a^-2*b^2*log(a+b*x^2))
@test integrate(x^-6*log(c*(a+b*x^2)^p), x) == :(-1//5*x^-5*log(c*(a+b*x^2)^p)+-2//15*b*p*a^-1*x^-3+2//5*p*a^-2*b^2*x^-1+2//5*p*a^-5//2*b^5//2*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^-7*log(c*(a+b*x^2)^p), x) == :(-1//6*x^-6*log(c*(a+b*x^2)^p)+-1//6*p*a^-3*b^3*log(a+b*x^2)+-1//12*b*p*a^-1*x^-4+1//3*p*a^-3*b^3*log(x)+1//6*p*a^-2*b^2*x^-2)
@test integrate(x^5*log(c*(a+b*x^3)^p), x) == :(-1//12*p*x^6+1//6*x^6*log(c*(a+b*x^3)^p)+-1//6*p*a^2*b^-2*log(a+b*x^3)+1//6*a*p*b^-1*x^3)
@test integrate(x^4*log(c*(a+b*x^3)^p), x) == :(-3//25*p*x^5+1//5*x^5*log(c*(a+b*x^3)^p)+-1//10*p*a^5//3*b^-5//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+1//5*p*a^5//3*b^-5//3*log(a^1//3+x*b^1//3)+3//10*a*p*b^-1*x^2+1//5*p*3^(1/2)*a^5//3*b^-5//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^3*log(c*(a+b*x^3)^p), x) == :(-3//16*p*x^4+1//4*x^4*log(c*(a+b*x^3)^p)+-1//4*p*a^4//3*b^-4//3*log(a^1//3+x*b^1//3)+1//8*p*a^4//3*b^-4//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+3//4*a*p*x*b^-1+1//4*p*3^(1/2)*a^4//3*b^-4//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^2*log(c*(a+b*x^3)^p), x) == :(-1//3*p*x^3+1//3*b^-1*(a+b*x^3)*log(c*(a+b*x^3)^p))
@test integrate(x*log(c*(a+b*x^3)^p), x) == :((1/2)*x^2*log(c*(a+b*x^3)^p)+-3//4*p*x^2+-1//2*p*a^2//3*b^-2//3*log(a^1//3+x*b^1//3)+1//4*p*a^2//3*b^-2//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//2*p*3^(1/2)*a^2//3*b^-2//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(log(c*(a+b*x^3)^p), x) == :(x*log(c*(a+b*x^3)^p)+-3*p*x+p*a^1//3*b^-1//3*log(a^1//3+x*b^1//3)+-1//2*p*a^1//3*b^-1//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*p*3^(1/2)*a^1//3*b^-1//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-1*log(c*(a+b*x^3)^p), x) == :(1//3*p*Polylogarithms.polylog(2,1+b*a^-1*x^3)+1//3*log(c*(a+b*x^3)^p)*log(-1*b*a^-1*x^3))
@test integrate(x^-2*log(c*(a+b*x^3)^p), x) == :(-1*x^-1*log(c*(a+b*x^3)^p)+(1/2)*p*a^-1//3*b^1//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*p*a^-1//3*b^1//3*log(a^1//3+x*b^1//3)+-1*p*3^(1/2)*a^-1//3*b^1//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-3*log(c*(a+b*x^3)^p), x) == :(-1//2*x^-2*log(c*(a+b*x^3)^p)+(1/2)*p*a^-2//3*b^2//3*log(a^1//3+x*b^1//3)+-1//4*p*a^-2//3*b^2//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//2*p*3^(1/2)*a^-2//3*b^2//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-4*log(c*(a+b*x^3)^p), x) == :(-1//3*x^-3*log(c*(a+b*x^3)^p)+b*p*a^-1*log(x)+-1//3*b*p*a^-1*log(a+b*x^3))
@test integrate(x^-5*log(c*(a+b*x^3)^p), x) == :(-1//4*x^-4*log(c*(a+b*x^3)^p)+-3//4*b*p*a^-1*x^-1+-1//8*p*a^-4//3*b^4//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+1//4*p*a^-4//3*b^4//3*log(a^1//3+x*b^1//3)+1//4*p*3^(1/2)*a^-4//3*b^4//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-6*log(c*(a+b*x^3)^p), x) == :(-1//5*x^-5*log(c*(a+b*x^3)^p)+-3//10*b*p*a^-1*x^-2+-1//5*p*a^-5//3*b^5//3*log(a^1//3+x*b^1//3)+1//10*p*a^-5//3*b^5//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+1//5*p*3^(1/2)*a^-5//3*b^5//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-7*log(c*(a+b*x^3)^p), x) == :(-1//6*x^-6*log(c*(a+b*x^3)^p)+-1//2*p*a^-2*b^2*log(x)+-1//6*b*p*a^-1*x^-3+1//6*p*a^-2*b^2*log(a+b*x^3))
@test integrate(x^4*log(c*(a+b*x^-1)^p), x) == :(1//5*x^5*log(c*(a+b*x^-1)^p)+-1//5*p*x*a^-4*b^4+-1//15*p*a^-2*b^2*x^3+1//5*p*a^-5*b^5*log(b+a*x)+1//10*p*a^-3*b^3*x^2+1//20*b*p*a^-1*x^4)
@test integrate(x^3*log(c*(a+b*x^-1)^p), x) == :(1//4*x^4*log(c*(a+b*x^-1)^p)+-1//4*p*a^-4*b^4*log(b+a*x)+-1//8*p*a^-2*b^2*x^2+1//4*p*x*a^-3*b^3+1//12*b*p*a^-1*x^3)
@test integrate(x^2*log(c*(a+b*x^-1)^p), x) == :(1//3*x^3*log(c*(a+b*x^-1)^p)+-1//3*p*x*a^-2*b^2+1//3*p*a^-3*b^3*log(b+a*x)+1//6*b*p*a^-1*x^2)
@test integrate(x*log(c*(a+b*x^-1)^p), x) == :((1/2)*x^2*log(c*(a+b*x^-1)^p)+(1/2)*b*p*x*a^-1+-1//2*p*a^-2*b^2*log(b+a*x))
@test integrate(log(c*(a+b*x^-1)^p), x) == :(x*log(c*(a+b*x^-1)^p)+b*p*a^-1*log(b+a*x))
@test integrate(x^-1*log(c*(a+b*x^-1)^p), x) == :(-1*p*Polylogarithms.polylog(2,1+b*a^-1*x^-1)+-1*log(c*(a+b*x^-1)^p)*log(-1*b*a^-1*x^-1))
@test integrate(x^-2*log(c*(a+b*x^-1)^p), x) == :(p*x^-1+-1*b^-1*(a+b*x^-1)*log(c*(a+b*x^-1)^p))
@test integrate(x^-3*log(c*(a+b*x^-1)^p), x) == :(-1//2*x^-2*log(c*(a+b*x^-1)^p)+1//4*p*x^-2+(1/2)*p*a^2*b^-2*log(a+b*x^-1)+-1//2*a*p*b^-1*x^-1)
@test integrate(x^-4*log(c*(a+b*x^-1)^p), x) == :(-1//3*x^-3*log(c*(a+b*x^-1)^p)+1//9*p*x^-3+-1//3*p*a^3*b^-3*log(a+b*x^-1)+-1//6*a*p*b^-1*x^-2+1//3*p*a^2*b^-2*x^-1)
@test integrate(x^-5*log(c*(a+b*x^-1)^p), x) == :(-1//4*x^-4*log(c*(a+b*x^-1)^p)+1//16*p*x^-4+-1//4*p*a^3*b^-3*x^-1+-1//12*a*p*b^-1*x^-3+1//4*p*a^4*b^-4*log(a+b*x^-1)+1//8*p*a^2*b^-2*x^-2)
@test integrate(x^4*log(c*(a+b*x^-2)^p), x) == :(1//5*x^5*log(c*(a+b*x^-2)^p)+-2//5*p*x*a^-2*b^2+2//5*p*a^-5//2*b^5//2*arctan(x*a^(1/2)*b^-1//2)+2//15*b*p*a^-1*x^3)
@test integrate(x^3*log(c*(a+b*x^-2)^p), x) == :(1//4*x^4*log(c*(a+b*x^-2)^p)+-1//4*p*a^-2*b^2*log(b+a*x^2)+1//4*b*p*a^-1*x^2)
@test integrate(x^2*log(c*(a+b*x^-2)^p), x) == :(1//3*x^3*log(c*(a+b*x^-2)^p)+-2//3*p*a^-3//2*b^3//2*arctan(x*a^(1/2)*b^-1//2)+2//3*b*p*x*a^-1)
@test integrate(x*log(c*(a+b*x^-2)^p), x) == :((1/2)*x^2*log(c*(a+b*x^-2)^p)+(1/2)*b*p*a^-1*log(b+a*x^2))
@test integrate(log(c*(a+b*x^-2)^p), x) == :(x*log(c*(a+b*x^-2)^p)+2*p*a^-1//2*b^(1/2)*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x^-1*log(c*(a+b*x^-2)^p), x) == :(-1//2*p*Polylogarithms.polylog(2,1+b*a^-1*x^-2)+-1//2*log(c*(a+b*x^-2)^p)*log(-1*b*a^-1*x^-2))
@test integrate(x^-2*log(c*(a+b*x^-2)^p), x) == :(-1*x^-1*log(c*(a+b*x^-2)^p)+2*p*x^-1+2*p*a^(1/2)*b^-1//2*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x^-3*log(c*(a+b*x^-2)^p), x) == :((1/2)*p*x^-2+-1//2*b^-1*(a+b*x^-2)*log(c*(a+b*x^-2)^p))
@test integrate(x^-4*log(c*(a+b*x^-2)^p), x) == :(-1//3*x^-3*log(c*(a+b*x^-2)^p)+2//9*p*x^-3+-2//3*a*p*b^-1*x^-1+-2//3*p*a^3//2*b^-3//2*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x^-1*log(1+b*x^-1), x) == :(Polylogarithms.polylog(2,-1*b*x^-1))
@test integrate(x^3*log(c*(a+b*x^(1/2))^p), x) == :(-1//32*p*x^4+1//4*x^4*log(c*(a+b*x^(1/2))^p)+-1//4*p*a^8*b^-8*log(a+b*x^(1/2))+-1//8*p*x*a^6*b^-6+-1//16*p*a^4*b^-4*x^2+-1//24*p*a^2*b^-2*x^3+1//4*p*a^7*b^-7*x^(1/2)+1//12*p*a^5*b^-5*x^3//2+1//20*p*a^3*b^-3*x^5//2+1//28*a*p*b^-1*x^7//2)
@test integrate(x^2*log(c*(a+b*x^(1/2))^p), x) == :(-1//18*p*x^3+1//3*x^3*log(c*(a+b*x^(1/2))^p)+-1//3*p*a^6*b^-6*log(a+b*x^(1/2))+-1//6*p*x*a^4*b^-4+-1//12*p*a^2*b^-2*x^2+1//3*p*a^5*b^-5*x^(1/2)+1//9*p*a^3*b^-3*x^3//2+1//15*a*p*b^-1*x^5//2)
@test integrate(x*log(c*(a+b*x^(1/2))^p), x) == :((1/2)*x^2*log(c*(a+b*x^(1/2))^p)+-1//8*p*x^2+(1/2)*p*a^3*b^-3*x^(1/2)+-1//2*p*a^4*b^-4*log(a+b*x^(1/2))+-1//4*p*x*a^2*b^-2+1//6*a*p*b^-1*x^3//2)
@test integrate(log(c*(a+b*x^(1/2))^p), x) == :(x*log(c*(a+b*x^(1/2))^p)+-1//2*p*x+a*p*b^-1*x^(1/2)+-1*p*a^2*b^-2*log(a+b*x^(1/2)))
@test integrate(x^-1*log(c*(a+b*x^(1/2))^p), x) == :(2*p*Polylogarithms.polylog(2,1+b*a^-1*x^(1/2))+2*log(c*(a+b*x^(1/2))^p)*log(-1*b*a^-1*x^(1/2)))
@test integrate(x^-2*log(c*(a+b*x^(1/2))^p), x) == :(-1*x^-1*log(c*(a+b*x^(1/2))^p)+p*a^-2*b^2*log(a+b*x^(1/2))+-1*b*p*a^-1*x^-1//2+-1//2*p*a^-2*b^2*log(x))
@test integrate(x^-3*log(c*(a+b*x^(1/2))^p), x) == :(-1//2*x^-2*log(c*(a+b*x^(1/2))^p)+(1/2)*p*a^-4*b^4*log(a+b*x^(1/2))+-1//2*p*a^-3*b^3*x^-1//2+-1//4*p*a^-4*b^4*log(x)+-1//6*b*p*a^-1*x^-3//2+1//4*p*a^-2*b^2*x^-1)
@test integrate(x^-4*log(c*(a+b*x^(1/2))^p), x) == :(-1//3*x^-3*log(c*(a+b*x^(1/2))^p)+-1//3*p*a^-5*b^5*x^-1//2+-1//6*p*a^-6*b^6*log(x)+-1//9*p*a^-3*b^3*x^-3//2+-1//15*b*p*a^-1*x^-5//2+1//3*p*a^-6*b^6*log(a+b*x^(1/2))+1//6*p*a^-4*b^4*x^-1+1//12*p*a^-2*b^2*x^-2)
@test integrate(x^-1//2*log(a+b*x^(1/2)), x) == :(-2*x^(1/2)+b^-1*(2a+2*b*x^(1/2))*log(a+b*x^(1/2)))
@test integrate((f*x)^(-1+3n)*log(c*(d+e*x^n)^p), x) == :(-1//9*p*f^-1*n^-1*(f*x)^(3n)+1//3*f^-1*n^-1*(f*x)^(3n)*log(c*(d+e*x^n)^p)+-1//3*p*d^2*e^-2*f^-1*n^-1*x^(-2n)*(f*x)^(3n)+1//6*d*p*e^-1*f^-1*n^-1*x^(-1n)*(f*x)^(3n)+1//3*p*d^3*e^-3*f^-1*n^-1*x^(-3n)*(f*x)^(3n)*log(d+e*x^n))
@test integrate((f*x)^(-1+2n)*log(c*(d+e*x^n)^p), x) == :((1/2)*f^-1*n^-1*(f*x)^(2n)*log(c*(d+e*x^n)^p)+-1//4*p*f^-1*n^-1*(f*x)^(2n)+(1/2)*d*p*e^-1*f^-1*n^-1*x^(-1n)*(f*x)^(2n)+-1//2*p*d^2*e^-2*f^-1*n^-1*x^(-2n)*(f*x)^(2n)*log(d+e*x^n))
@test integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p), x) == :(f^-1*n^-1*(f*x)^n*log(c*(d+e*x^n)^p)+-1*p*f^-1*n^-1*(f*x)^n+d*p*e^-1*f^-1*n^-1*x^(-1n)*(f*x)^n*log(d+e*x^n))
@test integrate(f^-1*x^-1*log(c*(d+e*x^n)^p), x) == :(p*f^-1*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^-1*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n))
@test integrate((f*x)^(-1+-1n)*log(c*(d+e*x^n)^p), x) == :(-1*f^-1*n^-1*(f*x)^(-1n)*log(c*(d+e*x^n)^p)+e*p*d^-1*f^-1*x^n*(f*x)^(-1n)*log(x)+-1*e*p*d^-1*f^-1*n^-1*x^n*(f*x)^(-1n)*log(d+e*x^n))
@test integrate((f*x)^(-1+-2n)*log(c*(d+e*x^n)^p), x) == :(-1//2*f^-1*n^-1*(f*x)^(-2n)*log(c*(d+e*x^n)^p)+-1//2*e*p*d^-1*f^-1*n^-1*x^n*(f*x)^(-2n)+-1//2*p*d^-2*e^2*f^-1*x^(2n)*(f*x)^(-2n)*log(x)+(1/2)*p*d^-2*e^2*f^-1*n^-1*x^(2n)*(f*x)^(-2n)*log(d+e*x^n))
@test integrate(x^-1*log(c*(d+e*x^n)^p), x) == :(p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n))
@test integrate(x^5*log(c*(a+b*x^2)^p)^2, x) == :(1//6*x^6*log(c*(a+b*x^2)^p)^2+1//27*b^-3*p^2*(a+b*x^2)^3+a^2*b^-2*p^2*x^2+-1//4*a*b^-3*p^2*(a+b*x^2)^2+-1//6*a^3*b^-3*p^2*log(a+b*x^2)^2+-1//9*p*b^-3*(a+b*x^2)^3*log(c*(a+b*x^2)^p)+(1/2)*a*p*b^-3*(a+b*x^2)^2*log(c*(a+b*x^2)^p)+-1*p*a^2*b^-3*(a+b*x^2)*log(c*(a+b*x^2)^p)+1//3*p*a^3*b^-3*log(c*(a+b*x^2)^p)*log(a+b*x^2))
@test integrate(x^3*log(c*(a+b*x^2)^p)^2, x) == :(1//4*b^-2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)^2+1//8*b^-2*p^2*(a+b*x^2)^2+-1*a*b^-1*p^2*x^2+-1//2*a*b^-2*log(c*(a+b*x^2)^p)^2*(a+b*x^2)+-1//4*p*b^-2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)+a*p*b^-2*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x*log(c*(a+b*x^2)^p)^2, x) == :(p^2*x^2+(1/2)*b^-1*log(c*(a+b*x^2)^p)^2*(a+b*x^2)+-1*p*b^-1*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x^-1*log(c*(a+b*x^2)^p)^2, x) == :((1/2)*log(c*(a+b*x^2)^p)^2*log(-1*b*a^-1*x^2)+-1*p^2*Polylogarithms.polylog(3,1+b*a^-1*x^2)+p*Polylogarithms.polylog(2,1+b*a^-1*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x^-3*log(c*(a+b*x^2)^p)^2, x) == :(b*a^-1*p^2*Polylogarithms.polylog(2,1+b*a^-1*x^2)+-1//2*a^-1*x^-2*log(c*(a+b*x^2)^p)^2*(a+b*x^2)+b*p*a^-1*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2))
@test integrate(x^-5*log(c*(a+b*x^2)^p)^2, x) == :(-1//4*x^-4*log(c*(a+b*x^2)^p)^2+a^-2*b^2*p^2*log(x)+(1/2)*a^-2*b^2*p^2*Polylogarithms.polylog(2,a*(a+b*x^2)^-1)+-1//2*p*a^-2*b^2*log(c*(a+b*x^2)^p)*log(1+-1*a*(a+b*x^2)^-1)+-1//2*b*p*a^-2*x^-2*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x^-7*log(c*(a+b*x^2)^p)^2, x) == :(-1//6*x^-6*log(c*(a+b*x^2)^p)^2+-1*a^-3*b^3*p^2*log(x)+-1//3*a^-3*b^3*p^2*Polylogarithms.polylog(2,a*(a+b*x^2)^-1)+-1//6*a^-2*b^2*p^2*x^-2+1//6*a^-3*b^3*p^2*log(a+b*x^2)+-1//6*b*p*a^-1*x^-4*log(c*(a+b*x^2)^p)+1//3*p*a^-3*b^3*log(c*(a+b*x^2)^p)*log(1+-1*a*(a+b*x^2)^-1)+1//3*p*a^-3*b^2*x^-2*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x^4*log(c*(a+b*x^2)^p)^2, x) == :(1//5*x^5*log(c*(a+b*x^2)^p)^2+8//125*p^2*x^5+-4//25*p*x^5*log(c*(a+b*x^2)^p)+-184//75*a^5//2*b^-5//2*p^2*arctan(x*a^-1//2*b^(1/2))+-64//225*a*b^-1*p^2*x^3+184//75*x*a^2*b^-2*p^2+-4//5*p*x*a^2*b^-2*log(c*(a+b*x^2)^p)+4//5*im*a^5//2*b^-5//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+4//5*im*a^5//2*b^-5//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+4//5*p*a^5//2*b^-5//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+4//15*a*p*b^-1*x^3*log(c*(a+b*x^2)^p)+8//5*a^5//2*b^-5//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1))
@test integrate(x^2*log(c*(a+b*x^2)^p)^2, x) == :(1//3*x^3*log(c*(a+b*x^2)^p)^2+8//27*p^2*x^3+-4//9*p*x^3*log(c*(a+b*x^2)^p)+-32//9*a*x*b^-1*p^2+32//9*a^3//2*b^-3//2*p^2*arctan(x*a^-1//2*b^(1/2))+-8//3*a^3//2*b^-3//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//3*im*a^3//2*b^-3//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+-4//3*im*a^3//2*b^-3//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//3*p*a^3//2*b^-3//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+4//3*a*p*x*b^-1*log(c*(a+b*x^2)^p))
@test integrate(log(c*(a+b*x^2)^p)^2, x) == :(x*log(c*(a+b*x^2)^p)^2+8*x*p^2+-4*p*x*log(c*(a+b*x^2)^p)+-8*a^(1/2)*b^-1//2*p^2*arctan(x*a^-1//2*b^(1/2))+4*im*a^(1/2)*b^-1//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+4*im*a^(1/2)*b^-1//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+4*p*a^(1/2)*b^-1//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+8*a^(1/2)*b^-1//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1))
@test integrate(x^-2*log(c*(a+b*x^2)^p)^2, x) == :(-1*x^-1*log(c*(a+b*x^2)^p)^2+4*im*a^-1//2*b^(1/2)*p^2*arctan(x*a^-1//2*b^(1/2))^2+4*im*a^-1//2*b^(1/2)*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+4*p*a^-1//2*b^(1/2)*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+8*a^-1//2*b^(1/2)*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1))
@test integrate(x^-4*log(c*(a+b*x^2)^p)^2, x) == :(-1//3*x^-3*log(c*(a+b*x^2)^p)^2+8//3*a^-3//2*b^3//2*p^2*arctan(x*a^-1//2*b^(1/2))+-8//3*a^-3//2*b^3//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//3*im*a^-3//2*b^3//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+-4//3*im*a^-3//2*b^3//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//3*b*p*a^-1*x^-1*log(c*(a+b*x^2)^p)+-4//3*p*a^-3//2*b^3//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p))
@test integrate(x^-6*log(c*(a+b*x^2)^p)^2, x) == :(-1//5*x^-5*log(c*(a+b*x^2)^p)^2+-32//15*a^-5//2*b^5//2*p^2*arctan(x*a^-1//2*b^(1/2))+-8//15*a^-2*b^2*p^2*x^-1+-4//15*b*p*a^-1*x^-3*log(c*(a+b*x^2)^p)+4//5*im*a^-5//2*b^5//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+4//5*im*a^-5//2*b^5//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+4//5*p*a^-2*b^2*x^-1*log(c*(a+b*x^2)^p)+4//5*p*a^-5//2*b^5//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+8//5*a^-5//2*b^5//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1))
@test integrate(x^-8*log(c*(a+b*x^2)^p)^2, x) == :(-1//7*x^-7*log(c*(a+b*x^2)^p)^2+-8//105*a^-2*b^2*p^2*x^-3+64//105*a^-3*b^3*p^2*x^-1+184//105*a^-7//2*b^7//2*p^2*arctan(x*a^-1//2*b^(1/2))+-8//7*a^-7//2*b^7//2*p^2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//7*im*a^-7//2*b^7//2*p^2*arctan(x*a^-1//2*b^(1/2))^2+-4//7*im*a^-7//2*b^7//2*p^2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+-4//7*p*a^-3*b^3*x^-1*log(c*(a+b*x^2)^p)+-4//7*p*a^-7//2*b^7//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^p)+-4//35*b*p*a^-1*x^-5*log(c*(a+b*x^2)^p)+4//21*p*a^-2*b^2*x^-3*log(c*(a+b*x^2)^p))
@test integrate(x^5*log(c*(a+b*x^2)^p)^3, x) == :(-1//27*b^-3*p^3*(a+b*x^2)^3+1//6*b^-3*(a+b*x^2)^3*log(c*(a+b*x^2)^p)^3+(1/2)*a^2*b^-3*log(c*(a+b*x^2)^p)^3*(a+b*x^2)+-3*a^2*b^-2*p^3*x^2+-1//2*a*b^-3*(a+b*x^2)^2*log(c*(a+b*x^2)^p)^3+-1//6*p*b^-3*(a+b*x^2)^3*log(c*(a+b*x^2)^p)^2+1//9*b^-3*p^2*(a+b*x^2)^3*log(c*(a+b*x^2)^p)+3//8*a*b^-3*p^3*(a+b*x^2)^2+3*a^2*b^-3*p^2*(a+b*x^2)*log(c*(a+b*x^2)^p)+-3//2*p*a^2*b^-3*log(c*(a+b*x^2)^p)^2*(a+b*x^2)+-3//4*a*b^-3*p^2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)+3//4*a*p*b^-3*(a+b*x^2)^2*log(c*(a+b*x^2)^p)^2)
@test integrate(x^3*log(c*(a+b*x^2)^p)^3, x) == :(-3//16*b^-2*p^3*(a+b*x^2)^2+1//4*b^-2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)^3+3*a*b^-1*p^3*x^2+-3//8*p*b^-2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)^2+-1//2*a*b^-2*log(c*(a+b*x^2)^p)^3*(a+b*x^2)+3//8*b^-2*p^2*(a+b*x^2)^2*log(c*(a+b*x^2)^p)+-3*a*b^-2*p^2*(a+b*x^2)*log(c*(a+b*x^2)^p)+3//2*a*p*b^-2*log(c*(a+b*x^2)^p)^2*(a+b*x^2))
@test integrate(x*log(c*(a+b*x^2)^p)^3, x) == :(-3*p^3*x^2+(1/2)*b^-1*log(c*(a+b*x^2)^p)^3*(a+b*x^2)+3*b^-1*p^2*(a+b*x^2)*log(c*(a+b*x^2)^p)+-3//2*p*b^-1*log(c*(a+b*x^2)^p)^2*(a+b*x^2))
@test integrate(x^-1*log(c*(a+b*x^2)^p)^3, x) == :((1/2)*log(c*(a+b*x^2)^p)^3*log(-1*b*a^-1*x^2)+3*p^3*Polylogarithms.polylog(4,1+b*a^-1*x^2)+-3*p^2*Polylogarithms.polylog(3,1+b*a^-1*x^2)*log(c*(a+b*x^2)^p)+3//2*p*log(c*(a+b*x^2)^p)^2*Polylogarithms.polylog(2,1+b*a^-1*x^2))
@test integrate(x^-3*log(c*(a+b*x^2)^p)^3, x) == :(-3*b*a^-1*p^3*Polylogarithms.polylog(3,1+b*a^-1*x^2)+-1//2*a^-1*x^-2*log(c*(a+b*x^2)^p)^3*(a+b*x^2)+3*b*a^-1*p^2*Polylogarithms.polylog(2,1+b*a^-1*x^2)*log(c*(a+b*x^2)^p)+3//2*b*p*a^-1*log(c*(a+b*x^2)^p)^2*log(-1*b*a^-1*x^2))
@test integrate(x^-5*log(c*(a+b*x^2)^p)^3, x) == :(-1//4*x^-4*log(c*(a+b*x^2)^p)^3+3//2*a^-2*b^2*p^3*Polylogarithms.polylog(2,1+b*a^-1*x^2)+3//2*a^-2*b^2*p^3*Polylogarithms.polylog(3,a*(a+b*x^2)^-1)+-3//4*p*a^-2*b^2*log(c*(a+b*x^2)^p)^2*log(1+-1*a*(a+b*x^2)^-1)+3//2*a^-2*b^2*p^2*Polylogarithms.polylog(2,a*(a+b*x^2)^-1)*log(c*(a+b*x^2)^p)+3//2*a^-2*b^2*p^2*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2)+-3//4*b*p*a^-2*x^-2*log(c*(a+b*x^2)^p)^2*(a+b*x^2))
@test integrate(x^-7*log(c*(a+b*x^2)^p)^3, x) == :(-1//6*x^-6*log(c*(a+b*x^2)^p)^3+a^-3*b^3*p^3*log(x)+(1/2)*a^-3*b^3*p^3*Polylogarithms.polylog(2,a*(a+b*x^2)^-1)+-1*a^-3*b^3*p^3*Polylogarithms.polylog(2,1+b*a^-1*x^2)+-1*a^-3*b^3*p^3*Polylogarithms.polylog(3,a*(a+b*x^2)^-1)+(1/2)*p*a^-3*b^3*log(c*(a+b*x^2)^p)^2*log(1+-1*a*(a+b*x^2)^-1)+-1*a^-3*b^3*p^2*Polylogarithms.polylog(2,a*(a+b*x^2)^-1)*log(c*(a+b*x^2)^p)+-1*a^-3*b^3*p^2*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2)+-1//2*a^-3*b^3*p^2*log(c*(a+b*x^2)^p)*log(1+-1*a*(a+b*x^2)^-1)+-1//4*b*p*a^-1*x^-4*log(c*(a+b*x^2)^p)^2+(1/2)*p*a^-3*b^2*x^-2*log(c*(a+b*x^2)^p)^2*(a+b*x^2)+-1//2*a^-3*b^2*p^2*x^-2*(a+b*x^2)*log(c*(a+b*x^2)^p))
@test integrate(x^3*log(c*(a+b*x^2)^p)^-1, x) == :((1/2)*b^-2*p^-1*(c*(a+b*x^2)^p)^(-2*p^-1)*(a+b*x^2)^2*expintegralei(2*p^-1*log(c*(a+b*x^2)^p))+-1//2*a*b^-2*p^-1*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x*log(c*(a+b*x^2)^p)^-1, x) == :((1/2)*b^-1*p^-1*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x^3*log(c*(a+b*x^2)^p)^-2, x) == :(b^-2*p^-2*(c*(a+b*x^2)^p)^(-2*p^-1)*(a+b*x^2)^2*expintegralei(2*p^-1*log(c*(a+b*x^2)^p))+-1//2*b^-1*p^-1*x^2*log(c*(a+b*x^2)^p)^-1*(a+b*x^2)+-1//2*a*b^-2*p^-2*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x*log(c*(a+b*x^2)^p)^-2, x) == :(-1//2*b^-1*p^-1*log(c*(a+b*x^2)^p)^-1*(a+b*x^2)+(1/2)*b^-1*p^-2*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x^3*log(c*(a+b*x^2)^p)^-3, x) == :(b^-2*p^-3*(c*(a+b*x^2)^p)^(-2*p^-1)*(a+b*x^2)^2*expintegralei(2*p^-1*log(c*(a+b*x^2)^p))+-1//2*b^-1*p^-2*x^2*log(c*(a+b*x^2)^p)^-1*(a+b*x^2)+-1//4*a*b^-2*p^-2*log(c*(a+b*x^2)^p)^-1*(a+b*x^2)+-1//4*b^-1*p^-1*x^2*log(c*(a+b*x^2)^p)^-2*(a+b*x^2)+-1//4*a*b^-2*p^-3*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x*log(c*(a+b*x^2)^p)^-3, x) == :(-1//4*b^-1*p^-1*log(c*(a+b*x^2)^p)^-2*(a+b*x^2)+-1//4*b^-1*p^-2*log(c*(a+b*x^2)^p)^-1*(a+b*x^2)+1//4*b^-1*p^-3*(c*(a+b*x^2)^p)^(-1*p^-1)*(a+b*x^2)*expintegralei(p^-1*log(c*(a+b*x^2)^p)))
@test integrate(x^3*log(c*(a+b*x^2))^-1, x) == :((1/2)*b^-2*c^-2*expintegralei(2*log(c*(a+b*x^2)))+-1//2*a*b^-2*c^-1*logintegral(c*(a+b*x^2)))
@test integrate(x*log(c*(a+b*x^2))^-1, x) == :((1/2)*b^-1*c^-1*logintegral(c*(a+b*x^2)))
@test integrate(x^3*log(c*(a+b*x^2))^-2, x) == :(b^-2*c^-2*expintegralei(2*log(c*(a+b*x^2)))+-1//2*a*b^-2*c^-1*logintegral(c*(a+b*x^2))+-1//2*b^-1*x^2*log(c*(a+b*x^2))^-1*(a+b*x^2))
@test integrate(x*log(c*(a+b*x^2))^-2, x) == :((1/2)*b^-1*c^-1*logintegral(c*(a+b*x^2))+-1//2*b^-1*log(c*(a+b*x^2))^-1*(a+b*x^2))
@test integrate(x^3*log(c*(a+b*x^2))^-3, x) == :(b^-2*c^-2*expintegralei(2*log(c*(a+b*x^2)))+-1//2*b^-1*x^2*log(c*(a+b*x^2))^-1*(a+b*x^2)+-1//4*a*b^-2*c^-1*logintegral(c*(a+b*x^2))+-1//4*a*b^-2*log(c*(a+b*x^2))^-1*(a+b*x^2)+-1//4*b^-1*x^2*log(c*(a+b*x^2))^-2*(a+b*x^2))
@test integrate(x*log(c*(a+b*x^2))^-3, x) == :(-1//4*b^-1*log(c*(a+b*x^2))^-1*(a+b*x^2)+-1//4*b^-1*log(c*(a+b*x^2))^-2*(a+b*x^2)+1//4*b^-1*c^-1*logintegral(c*(a+b*x^2)))
@test integrate(x^5*log(c*(d+e*x^3)^p)^2, x) == :(1//6*e^-2*(d+e*x^3)^2*log(c*(d+e*x^3)^p)^2+1//12*e^-2*p^2*(d+e*x^3)^2+-2//3*d*e^-1*p^2*x^3+-1//3*d*e^-2*log(c*(d+e*x^3)^p)^2*(d+e*x^3)+-1//6*p*e^-2*(d+e*x^3)^2*log(c*(d+e*x^3)^p)+2//3*d*p*e^-2*(d+e*x^3)*log(c*(d+e*x^3)^p))
@test integrate(x^2*log(c*(d+e*x^3)^p)^2, x) == :(2//3*p^2*x^3+1//3*e^-1*log(c*(d+e*x^3)^p)^2*(d+e*x^3)+-2//3*p*e^-1*(d+e*x^3)*log(c*(d+e*x^3)^p))
@test integrate(x^-1*log(c*(d+e*x^3)^p)^2, x) == :(-2//3*p^2*Polylogarithms.polylog(3,1+e*d^-1*x^3)+1//3*log(c*(d+e*x^3)^p)^2*log(-1*e*d^-1*x^3)+2//3*p*Polylogarithms.polylog(2,1+e*d^-1*x^3)*log(c*(d+e*x^3)^p))
@test integrate(x^-4*log(c*(d+e*x^3)^p)^2, x) == :(-1//3*d^-1*x^-3*log(c*(d+e*x^3)^p)^2*(d+e*x^3)+2//3*e*d^-1*p^2*Polylogarithms.polylog(2,1+e*d^-1*x^3)+2//3*e*p*d^-1*log(c*(d+e*x^3)^p)*log(-1*e*d^-1*x^3))
@test integrate(x^8*log(c*(d+e*x^3)^p)^-1, x) == :(1//3*e^-3*p^-1*(c*(d+e*x^3)^p)^(-3*p^-1)*(d+e*x^3)^3*expintegralei(3*p^-1*log(c*(d+e*x^3)^p))+-2//3*d*e^-3*p^-1*(c*(d+e*x^3)^p)^(-2*p^-1)*(d+e*x^3)^2*expintegralei(2*p^-1*log(c*(d+e*x^3)^p))+1//3*d^2*e^-3*p^-1*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate(x^5*log(c*(d+e*x^3)^p)^-1, x) == :(1//3*e^-2*p^-1*(c*(d+e*x^3)^p)^(-2*p^-1)*(d+e*x^3)^2*expintegralei(2*p^-1*log(c*(d+e*x^3)^p))+-1//3*d*e^-2*p^-1*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate(x^2*log(c*(d+e*x^3)^p)^-1, x) == :(1//3*e^-1*p^-1*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate(x^8*log(c*(d+e*x^3)^p)^-2, x) == :(e^-3*p^-2*(c*(d+e*x^3)^p)^(-3*p^-1)*(d+e*x^3)^3*expintegralei(3*p^-1*log(c*(d+e*x^3)^p))+-1//3*e^-1*p^-1*x^6*log(c*(d+e*x^3)^p)^-1*(d+e*x^3)+-4//3*d*e^-3*p^-2*(c*(d+e*x^3)^p)^(-2*p^-1)*(d+e*x^3)^2*expintegralei(2*p^-1*log(c*(d+e*x^3)^p))+1//3*d^2*e^-3*p^-2*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate(x^5*log(c*(d+e*x^3)^p)^-2, x) == :(-1//3*e^-1*p^-1*x^3*log(c*(d+e*x^3)^p)^-1*(d+e*x^3)+2//3*e^-2*p^-2*(c*(d+e*x^3)^p)^(-2*p^-1)*(d+e*x^3)^2*expintegralei(2*p^-1*log(c*(d+e*x^3)^p))+-1//3*d*e^-2*p^-2*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate(x^2*log(c*(d+e*x^3)^p)^-2, x) == :(-1//3*e^-1*p^-1*log(c*(d+e*x^3)^p)^-1*(d+e*x^3)+1//3*e^-1*p^-2*(c*(d+e*x^3)^p)^(-1*p^-1)*(d+e*x^3)*expintegralei(p^-1*log(c*(d+e*x^3)^p)))
@test integrate((f*x)^(-1+3n)*log(c*(d+e*x^n)^p)^2, x) == :(1//3*x*n^-1*(f*x)^(-1+3n)*log(c*(d+e*x^n)^p)^2+2*d^2*e^-2*n^-1*p^2*x^(1+-2n)*(f*x)^(-1+3n)+2//27*e^-3*n^-1*p^2*x^(1+-3n)*(f*x)^(-1+3n)*(d+e*x^n)^3+-2//9*p*e^-3*n^-1*x^(1+-3n)*(f*x)^(-1+3n)*(d+e*x^n)^3*log(c*(d+e*x^n)^p)+-1//2*d*e^-3*n^-1*p^2*x^(1+-3n)*(f*x)^(-1+3n)*(d+e*x^n)^2+-1//3*d^3*e^-3*n^-1*p^2*x^(1+-3n)*(f*x)^(-1+3n)*log(d+e*x^n)^2+d*p*e^-3*n^-1*x^(1+-3n)*(f*x)^(-1+3n)*(d+e*x^n)^2*log(c*(d+e*x^n)^p)+-2*p*d^2*e^-3*n^-1*x^(1+-3n)*(f*x)^(-1+3n)*(d+e*x^n)*log(c*(d+e*x^n)^p)+2//3*p*d^3*e^-3*n^-1*x^(1+-3n)*(f*x)^(-1+3n)*log(c*(d+e*x^n)^p)*log(d+e*x^n))
@test integrate((f*x)^(-1+2n)*log(c*(d+e*x^n)^p)^2, x) == :((1/2)*e^-2*n^-1*x^(1+-2n)*(f*x)^(-1+2n)*(d+e*x^n)^2*log(c*(d+e*x^n)^p)^2+-2*d*e^-1*n^-1*p^2*x^(1+-1n)*(f*x)^(-1+2n)+1//4*e^-2*n^-1*p^2*x^(1+-2n)*(f*x)^(-1+2n)*(d+e*x^n)^2+-1*d*e^-2*n^-1*x^(1+-2n)*(f*x)^(-1+2n)*log(c*(d+e*x^n)^p)^2*(d+e*x^n)+-1//2*p*e^-2*n^-1*x^(1+-2n)*(f*x)^(-1+2n)*(d+e*x^n)^2*log(c*(d+e*x^n)^p)+2*d*p*e^-2*n^-1*x^(1+-2n)*(f*x)^(-1+2n)*(d+e*x^n)*log(c*(d+e*x^n)^p))
@test integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p)^2, x) == :(2*x*n^-1*p^2*(f*x)^(-1+n)+e^-1*n^-1*x^(1+-1n)*(f*x)^(-1+n)*log(c*(d+e*x^n)^p)^2*(d+e*x^n)+-2*p*e^-1*n^-1*x^(1+-1n)*(f*x)^(-1+n)*(d+e*x^n)*log(c*(d+e*x^n)^p))
@test integrate(f^-1*x^-1*log(c*(d+e*x^n)^p)^2, x) == :(f^-1*n^-1*log(c*(d+e*x^n)^p)^2*log(-1*e*d^-1*x^n)+-2*f^-1*n^-1*p^2*Polylogarithms.polylog(3,1+e*d^-1*x^n)+2*p*f^-1*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)*log(c*(d+e*x^n)^p))
@test integrate((f*x)^(-1+-1n)*log(c*(d+e*x^n)^p)^2, x) == :(-1*x*d^-1*n^-1*(f*x)^(-1+-1n)*log(c*(d+e*x^n)^p)^2*(d+e*x^n)+2*e*d^-1*n^-1*p^2*x^(1+n)*(f*x)^(-1+-1n)*Polylogarithms.polylog(2,1+e*d^-1*x^n)+2*e*p*d^-1*n^-1*x^(1+n)*(f*x)^(-1+-1n)*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n))
@test integrate((f*x)^(-1+-2n)*log(c*(d+e*x^n)^p)^2, x) == :(-1//2*x*n^-1*(f*x)^(-1+-2n)*log(c*(d+e*x^n)^p)^2+d^-2*e^2*p^2*x^(1+2n)*(f*x)^(-1+-2n)*log(x)+d^-2*e^2*n^-1*p^2*x^(1+2n)*(f*x)^(-1+-2n)*Polylogarithms.polylog(2,d*(d+e*x^n)^-1)+-1*e*p*d^-2*n^-1*x^(1+n)*(f*x)^(-1+-2n)*(d+e*x^n)*log(c*(d+e*x^n)^p)+-1*p*d^-2*e^2*n^-1*x^(1+2n)*(f*x)^(-1+-2n)*log(c*(d+e*x^n)^p)*log(1+-1*d*(d+e*x^n)^-1))
@test integrate(x^-1*log(1+e*x^n), x) == :(-1*n^-1*Polylogarithms.polylog(2,-1*e*x^n))
@test integrate(x^-1*log(2+e*x^n), x) == :(log(2)*log(x)+-1*n^-1*Polylogarithms.polylog(2,-1//2*e*x^n))
@test integrate(x^-1*log(6+2*e*x^n), x) == :(log(6)*log(x)+-1*n^-1*Polylogarithms.polylog(2,-1//3*e*x^n))
@test integrate(x^-1*log(c*(d+e*x^n)), x) == :(n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+n^-1*log(c*(d+e*x^n))*log(-1*e*d^-1*x^n))
@test integrate(x^-1*log(c*(d+e*x^n)^p), x) == :(p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n))
@test integrate(x^-1*log(c*(d+e*x^n)^p)^2, x) == :(n^-1*log(c*(d+e*x^n)^p)^2*log(-1*e*d^-1*x^n)+-2*n^-1*p^2*Polylogarithms.polylog(3,1+e*d^-1*x^n)+2*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)*log(c*(d+e*x^n)^p))
@test integrate(x^-1*log(c*(d+e*x^n)^p)^3, x) == :(n^-1*log(c*(d+e*x^n)^p)^3*log(-1*e*d^-1*x^n)+6*n^-1*p^3*Polylogarithms.polylog(4,1+e*d^-1*x^n)+-6*n^-1*p^2*Polylogarithms.polylog(3,1+e*d^-1*x^n)*log(c*(d+e*x^n)^p)+3*p*n^-1*log(c*(d+e*x^n)^p)^2*Polylogarithms.polylog(2,1+e*d^-1*x^n))
@test integrate((d+e*x)^3*log(c*(a+b*x)^p), x) == :(-1//16*p*e^-1*(d+e*x)^4+1//4*e^-1*(d+e*x)^4*log(c*(a+b*x)^p)+-1//4*p*x*b^-3*(b*d+-1*a*e)^3+-1//4*p*b^-4*e^-1*(b*d+-1*a*e)^4*log(a+b*x)+-1//8*p*b^-2*e^-1*(d+e*x)^2*(b*d+-1*a*e)^2+-1//12*p*b^-1*e^-1*(d+e*x)^3*(b*d+-1*a*e))
@test integrate((d+e*x)^2*log(c*(a+b*x)^p), x) == :(-1//9*p*e^-1*(d+e*x)^3+1//3*e^-1*(d+e*x)^3*log(c*(a+b*x)^p)+-1//3*p*x*b^-2*(b*d+-1*a*e)^2+-1//3*p*b^-3*e^-1*(b*d+-1*a*e)^3*log(a+b*x)+-1//6*p*b^-1*e^-1*(d+e*x)^2*(b*d+-1*a*e))
@test integrate((d+e*x)*log(c*(a+b*x)^p), x) == :((1/2)*e^-1*(d+e*x)^2*log(c*(a+b*x)^p)+-1//4*p*e^-1*(d+e*x)^2+-1//2*p*x*b^-1*(b*d+-1*a*e)+-1//2*p*b^-2*e^-1*(b*d+-1*a*e)^2*log(a+b*x))
@test integrate(log(c*(a+b*x)^p), x) == :(-1*p*x+b^-1*(a+b*x)*log(c*(a+b*x)^p))
@test integrate((d+e*x)^-1*log(c*(a+b*x)^p), x) == :(p*e^-1*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+e^-1*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x)))
@test integrate((d+e*x)^-2*log(c*(a+b*x)^p), x) == :(-1*e^-1*(d+e*x)^-1*log(c*(a+b*x)^p)+b*p*e^-1*(b*d+-1*a*e)^-1*log(a+b*x)+-1*b*p*e^-1*(b*d+-1*a*e)^-1*log(d+e*x))
@test integrate((d+e*x)^-3*log(c*(a+b*x)^p), x) == :(-1//2*e^-1*(d+e*x)^-2*log(c*(a+b*x)^p)+(1/2)*b*p*e^-1*(d+e*x)^-1*(b*d+-1*a*e)^-1+(1/2)*p*b^2*e^-1*(b*d+-1*a*e)^-2*log(a+b*x)+-1//2*p*b^2*e^-1*(b*d+-1*a*e)^-2*log(d+e*x))
@test integrate((d+e*x)^-4*log(c*(a+b*x)^p), x) == :(-1//3*e^-1*(d+e*x)^-3*log(c*(a+b*x)^p)+-1//3*p*b^3*e^-1*(b*d+-1*a*e)^-3*log(d+e*x)+1//3*p*b^2*e^-1*(d+e*x)^-1*(b*d+-1*a*e)^-2+1//3*p*b^3*e^-1*(b*d+-1*a*e)^-3*log(a+b*x)+1//6*b*p*e^-1*(d+e*x)^-2*(b*d+-1*a*e)^-1)
@test integrate((d+e*x)^3*log(c*(a+b*x^2)^p), x) == :(-1//8*p*e^3*x^4+1//4*e^-1*(d+e*x)^4*log(c*(a+b*x^2)^p)+-2//3*d*p*e^2*x^3+-2*d*p*x*b^-1*(b*d^2+-1*a*e^2)+-1//4*e*p*b^-1*x^2*(-1*a*e^2+6*b*d^2)+-1//4*p*b^-2*e^-1*(a^2*e^4+b^2*d^4+-6*a*b*d^2*e^2)*log(a+b*x^2)+2*d*p*a^(1/2)*b^-3//2*(b*d^2+-1*a*e^2)*arctan(x*a^-1//2*b^(1/2)))
@test integrate((d+e*x)^2*log(c*(a+b*x^2)^p), x) == :(-2//9*p*e^2*x^3+1//3*e^-1*(d+e*x)^3*log(c*(a+b*x^2)^p)+-1*d*e*p*x^2+-1//3*p*x*b^-1*(-2*a*e^2+6*b*d^2)+2//3*p*a^(1/2)*b^-3//2*(-1*a*e^2+3*b*d^2)*arctan(x*a^-1//2*b^(1/2))+-1//3*d*p*b^-1*e^-1*(b*d^2+-3*a*e^2)*log(a+b*x^2))
@test integrate((d+e*x)*log(c*(a+b*x^2)^p), x) == :((1/2)*e^-1*(d+e*x)^2*log(c*(a+b*x^2)^p)+-2*d*p*x+-1//2*e*p*x^2+2*d*p*a^(1/2)*b^-1//2*arctan(x*a^-1//2*b^(1/2))+-1//2*p*b^-1*e^-1*(b*d^2+-1*a*e^2)*log(a+b*x^2))
@test integrate(log(c*(a+b*x^2)^p), x) == :(x*log(c*(a+b*x^2)^p)+-2*p*x+2*p*a^(1/2)*b^-1//2*arctan(x*a^-1//2*b^(1/2)))
@test integrate((d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(e^-1*log(c*(a+b*x^2)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+-1*p*e^-1*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x))
@test integrate((d+e*x)^-2*log(c*(a+b*x^2)^p), x) == :(-1*e^-1*(d+e*x)^-1*log(c*(a+b*x^2)^p)+2*p*a^(1/2)*b^(1/2)*(a*e^2+b*d^2)^-1*arctan(x*a^-1//2*b^(1/2))+b*d*p*e^-1*(a*e^2+b*d^2)^-1*log(a+b*x^2)+-2*b*d*p*e^-1*(a*e^2+b*d^2)^-1*log(d+e*x))
@test integrate((d+e*x)^-3*log(c*(a+b*x^2)^p), x) == :(-1//2*e^-1*(d+e*x)^-2*log(c*(a+b*x^2)^p)+b*d*p*e^-1*(d+e*x)^-1*(a*e^2+b*d^2)^-1+(1/2)*b*p*e^-1*(a*e^2+b*d^2)^-2*(b*d^2+-1*a*e^2)*log(a+b*x^2)+-1*b*p*e^-1*(a*e^2+b*d^2)^-2*(b*d^2+-1*a*e^2)*log(d+e*x)+2*d*p*a^(1/2)*b^3//2*(a*e^2+b*d^2)^-2*arctan(x*a^-1//2*b^(1/2)))
@test integrate((d+e*x)^3*log(c*(a+b*x^3)^p), x) == :(-3//16*p*e^3*x^4+1//4*e^-1*(d+e*x)^4*log(c*(a+b*x^3)^p)+-1*d*p*e^2*x^3+-9//4*e*p*d^2*x^2+-1//4*p*x*b^-1*(-3*a*e^3+12*b*d^3)+-1//8*p*a^1//3*b^-4//3*(-1*a*e^3+4*b*d^3+-6*e*a^1//3*b^2//3*d^2)*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+1//4*p*a^1//3*b^-4//3*(-1*a*e^3+4*b*d^3+-6*e*a^1//3*b^2//3*d^2)*log(a^1//3+x*b^1//3)+-1//4*d*p*b^-1*e^-1*(b*d^3+-4*a*e^3)*log(a+b*x^3)+-1//4*p*3^(1/2)*a^1//3*b^-4//3*(-1*a*e^3+4*b*d^3+6*e*a^1//3*b^2//3*d^2)*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate((d+e*x)^2*log(c*(a+b*x^3)^p), x) == :(-3*p*x*d^2+-1//3*p*e^2*x^3+1//3*e^-1*(d+e*x)^3*log(c*(a+b*x^3)^p)+-3//2*d*e*p*x^2+-1//3*p*b^-1*e^-1*(b*d^3+-1*a*e^3)*log(a+b*x^3)+d*p*a^1//3*b^-2//3*(d*b^1//3+-1*e*a^1//3)*log(a^1//3+x*b^1//3)+-1//2*d*p*a^1//3*b^-2//3*(d*b^1//3+-1*e*a^1//3)*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*d*p*3^(1/2)*a^1//3*b^-2//3*(d*b^1//3+e*a^1//3)*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate((d+e*x)*log(c*(a+b*x^3)^p), x) == :((1/2)*e^-1*(d+e*x)^2*log(c*(a+b*x^3)^p)+-3*d*p*x+-3//4*e*p*x^2+-1//2*p*d^2*e^-1*log(a+b*x^3)+(1/2)*p*a^1//3*b^-2//3*(-1*e*a^1//3+2*d*b^1//3)*log(a^1//3+x*b^1//3)+-1//4*p*a^1//3*b^-2//3*(-1*e*a^1//3+2*d*b^1//3)*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//2*p*3^(1/2)*a^1//3*b^-2//3*(e*a^1//3+2*d*b^1//3)*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(log(c*(a+b*x^3)^p), x) == :(x*log(c*(a+b*x^3)^p)+-3*p*x+p*a^1//3*b^-1//3*log(a^1//3+x*b^1//3)+-1//2*p*a^1//3*b^-1//3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*p*3^(1/2)*a^1//3*b^-1//3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate((d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(e^-1*log(c*(a+b*x^3)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1*p*e^-1*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+-1*p*e^-1*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x))
@test integrate((d+e*x)^-2*log(c*(a+b*x^3)^p), x) == :(-1*e^-1*(d+e*x)^-1*log(c*(a+b*x^3)^p)+b*p*d^2*e^-1*(b*d^3+-1*a*e^3)^-1*log(a+b*x^3)+p*a^1//3*b^1//3*(b*d^3+-1*a*e^3)^-1*(d*b^1//3+e*a^1//3)*log(a^1//3+x*b^1//3)+-1*p*3^(1/2)*a^1//3*b^1//3*(a^2//3*e^2+b^2//3*d^2+d*e*a^1//3*b^1//3)^-1*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3))+-1*p*a^1//3*b^1//3*(-2*a*e^3+2*b*d^3)^-1*(d*b^1//3+e*a^1//3)*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-3*b*p*d^2*e^-1*(b*d^3+-1*a*e^3)^-1*log(d+e*x))
@test integrate((d+e*x)^-3*log(c*(a+b*x^3)^p), x) == :(-1//2*e^-1*(d+e*x)^-2*log(c*(a+b*x^3)^p)+(1/2)*p*a^1//3*b^2//3*(b*d^3+-1*a*e^3)^-2*(a*e^3+2*b*d^3+3*e*a^1//3*b^2//3*d^2)*log(a^1//3+x*b^1//3)+-1//4*p*a^1//3*b^2//3*(b*d^3+-1*a*e^3)^-2*(a*e^3+2*b*d^3+3*e*a^1//3*b^2//3*d^2)*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+3//2*b*p*d^2*e^-1*(d+e*x)^-1*(b*d^3+-1*a*e^3)^-1+(1/2)*b*d*p*e^-1*(b*d^3+-1*a*e^3)^-2*(b*d^3+2*a*e^3)*log(a+b*x^3)+-3//2*b*d*p*e^-1*(b*d^3+-1*a*e^3)^-2*(b*d^3+2*a*e^3)*log(d+e*x)+-1//2*p*3^(1/2)*a^1//3*b^2//3*(b*d^3+-1*a*e^3)^-2*(a*e^3+2*b*d^3+-3*e*a^1//3*b^2//3*d^2)*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate((d+e*x)^3*log(c*(a+b*x^-1)^p), x) == :(1//4*e^-1*(d+e*x)^4*log(c*(a+b*x^-1)^p)+1//4*p*d^4*e^-1*log(x)+-1//4*p*a^-4*e^-1*(a*d+-1*b*e)^4*log(b+a*x)+1//12*b*p*a^-1*e^3*x^3+1//4*b*e*p*x*a^-3*(b^2*e^2+6*a^2*d^2+-4*a*b*d*e)+1//8*b*p*a^-2*e^2*x^2*(-1*b*e+4*a*d))
@test integrate((d+e*x)^2*log(c*(a+b*x^-1)^p), x) == :(1//3*e^-1*(d+e*x)^3*log(c*(a+b*x^-1)^p)+1//3*p*d^3*e^-1*log(x)+-1//3*p*a^-3*e^-1*(a*d+-1*b*e)^3*log(b+a*x)+1//6*b*p*a^-1*e^2*x^2+1//3*b*e*p*x*a^-2*(-1*b*e+3*a*d))
@test integrate((d+e*x)*log(c*(a+b*x^-1)^p), x) == :((1/2)*e^-1*(d+e*x)^2*log(c*(a+b*x^-1)^p)+(1/2)*p*d^2*e^-1*log(x)+(1/2)*b*e*p*x*a^-1+-1//2*p*a^-2*e^-1*(a*d+-1*b*e)^2*log(b+a*x))
@test integrate((d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(p*e^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+e^-1*log(c*(a+b*x^-1)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+p*e^-1*log(-1*e*x*d^-1)*log(d+e*x)+-1*p*e^-1*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x))
@test integrate((d+e*x)^-2*log(c*(a+b*x^-1)^p), x) == :(-1*e^-1*(d+e*x)^-1*log(c*(a+b*x^-1)^p)+-1*p*d^-1*e^-1*log(x)+a*p*e^-1*(a*d+-1*b*e)^-1*log(b+a*x)+-1*b*p*d^-1*(a*d+-1*b*e)^-1*log(d+e*x))
@test integrate((d+e*x)^-3*log(c*(a+b*x^-1)^p), x) == :(-1//2*e^-1*(d+e*x)^-2*log(c*(a+b*x^-1)^p)+-1//2*p*d^-2*e^-1*log(x)+(1/2)*b*p*d^-1*(d+e*x)^-1*(a*d+-1*b*e)^-1+(1/2)*p*a^2*e^-1*(a*d+-1*b*e)^-2*log(b+a*x)+-1//2*b*p*d^-2*(a*d+-1*b*e)^-2*(-1*b*e+2*a*d)*log(d+e*x))
@test integrate((d+e*x)^-4*log(c*(a+b*x^-1)^p), x) == :(-1//3*e^-1*(d+e*x)^-3*log(c*(a+b*x^-1)^p)+-1//3*p*d^-3*e^-1*log(x)+1//3*p*a^3*e^-1*(a*d+-1*b*e)^-3*log(b+a*x)+1//6*b*p*d^-1*(d+e*x)^-2*(a*d+-1*b*e)^-1+-1//3*b*p*d^-3*(a*d+-1*b*e)^-3*(b^2*e^2+3*a^2*d^2+-3*a*b*d*e)*log(d+e*x)+1//3*b*p*d^-2*(d+e*x)^-1*(a*d+-1*b*e)^-2*(-1*b*e+2*a*d))
@test integrate((c+d*x)^-1*log(a+b*x^-1), x) == :(d^-1*Polylogarithms.polylog(2,1+d*x*c^-1)+-1*d^-1*Polylogarithms.polylog(2,a*(a*c+-1*b*d)^-1*(c+d*x))+d^-1*log(-1*d*x*c^-1)*log(c+d*x)+d^-1*log(a+b*x^-1)*log(c+d*x)+-1*d^-1*log(-1*d*(a*c+-1*b*d)^-1*(b+a*x))*log(c+d*x))
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :(-1//9*p*e^-1*x^3+1//3*e^-1*x^3*log(c*(a+b*x)^p)+-1*p*x*d^2*e^-3+-1*p*d^3*e^-4*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+-1*d^3*e^-4*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x))+-1//2*d*e^-2*x^2*log(c*(a+b*x)^p)+1//4*d*p*e^-2*x^2+b^-1*d^2*e^-3*(a+b*x)*log(c*(a+b*x)^p)+-1//3*p*x*a^2*b^-2*e^-1+1//3*p*a^3*b^-3*e^-1*log(a+b*x)+1//6*a*p*b^-1*e^-1*x^2+(1/2)*d*p*a^2*b^-2*e^-2*log(a+b*x)+-1//2*a*d*p*x*b^-1*e^-2)
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :((1/2)*e^-1*x^2*log(c*(a+b*x)^p)+-1//4*p*e^-1*x^2+d*p*x*e^-2+p*d^2*e^-3*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+d^2*e^-3*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x))+(1/2)*a*p*x*b^-1*e^-1+-1*d*b^-1*e^-2*(a+b*x)*log(c*(a+b*x)^p)+-1//2*p*a^2*b^-2*e^-1*log(a+b*x))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :(-1*p*x*e^-1+b^-1*e^-1*(a+b*x)*log(c*(a+b*x)^p)+-1*d*p*e^-2*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+-1*d*e^-2*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x)))
@test integrate((d+e*x)^-1*log(c*(a+b*x)^p), x) == :(p*e^-1*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+e^-1*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x)))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,1+b*x*a^-1)+d^-1*log(c*(a+b*x)^p)*log(-1*b*x*a^-1)+-1*p*d^-1*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+-1*d^-1*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x)))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :(-1*d^-1*x^-1*log(c*(a+b*x)^p)+e*p*d^-2*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+e*d^-2*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,1+b*x*a^-1)+-1*e*d^-2*log(c*(a+b*x)^p)*log(-1*b*x*a^-1)+b*p*a^-1*d^-1*log(x)+-1*b*p*a^-1*d^-1*log(a+b*x))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x)^p), x) == :(-1//2*d^-1*x^-2*log(c*(a+b*x)^p)+e*d^-2*x^-1*log(c*(a+b*x)^p)+p*d^-3*e^2*Polylogarithms.polylog(2,1+b*x*a^-1)+d^-3*e^2*log(c*(a+b*x)^p)*log(-1*b*x*a^-1)+-1*p*d^-3*e^2*Polylogarithms.polylog(2,-1*e*(b*d+-1*a*e)^-1*(a+b*x))+-1*d^-3*e^2*log(c*(a+b*x)^p)*log(b*(b*d+-1*a*e)^-1*(d+e*x))+(1/2)*p*a^-2*b^2*d^-1*log(a+b*x)+-1//2*b*p*a^-1*d^-1*x^-1+-1//2*p*a^-2*b^2*d^-1*log(x)+b*e*p*a^-1*d^-2*log(a+b*x)+-1*b*e*p*a^-1*d^-2*log(x))
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(-2//9*p*e^-1*x^3+1//3*e^-1*x^3*log(c*(a+b*x^2)^p)+p*d^3*e^-4*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+x*d^2*e^-3*log(c*(a+b*x^2)^p)+(1/2)*d*p*e^-2*x^2+-1*d^3*e^-4*log(c*(a+b*x^2)^p)*log(d+e*x)+-2*p*x*d^2*e^-3+p*d^3*e^-4*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+p*d^3*e^-4*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x)+-2//3*p*a^3//2*b^-3//2*e^-1*arctan(x*a^-1//2*b^(1/2))+-1//2*d*b^-1*e^-2*(a+b*x^2)*log(c*(a+b*x^2)^p)+2//3*a*p*x*b^-1*e^-1+2*p*a^(1/2)*b^-1//2*d^2*e^-3*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(-1//2*p*e^-1*x^2+d^2*e^-3*log(c*(a+b*x^2)^p)*log(d+e*x)+(1/2)*b^-1*e^-1*(a+b*x^2)*log(c*(a+b*x^2)^p)+-1*d*x*e^-2*log(c*(a+b*x^2)^p)+-1*p*d^2*e^-3*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+2*d*p*x*e^-2+-1*p*d^2*e^-3*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+-1*p*d^2*e^-3*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x)+-2*d*p*a^(1/2)*b^-1//2*e^-2*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(x*e^-1*log(c*(a+b*x^2)^p)+-2*p*x*e^-1+d*p*e^-2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+-1*d*e^-2*log(c*(a+b*x^2)^p)*log(d+e*x)+d*p*e^-2*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+d*p*e^-2*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x)+2*p*a^(1/2)*b^-1//2*e^-1*arctan(x*a^-1//2*b^(1/2)))
@test integrate((d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(e^-1*log(c*(a+b*x^2)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+-1*p*e^-1*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+(1/2)*p*d^-1*Polylogarithms.polylog(2,1+b*a^-1*x^2)+(1/2)*d^-1*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2)+-1*d^-1*log(c*(a+b*x^2)^p)*log(d+e*x)+p*d^-1*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+p*d^-1*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(-1*d^-1*x^-1*log(c*(a+b*x^2)^p)+e*d^-2*log(c*(a+b*x^2)^p)*log(d+e*x)+-1*e*p*d^-2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+-1//2*e*p*d^-2*Polylogarithms.polylog(2,1+b*a^-1*x^2)+-1//2*e*d^-2*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2)+-1*e*p*d^-2*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+-1*e*p*d^-2*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x)+2*p*a^-1//2*b^(1/2)*d^-1*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x^2)^p), x) == :(-1//2*d^-1*x^-2*log(c*(a+b*x^2)^p)+e*d^-2*x^-1*log(c*(a+b*x^2)^p)+p*d^-3*e^2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+e*(-1a)^(1/2))^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,b^(1/2)*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*(d+e*x))+(1/2)*p*d^-3*e^2*Polylogarithms.polylog(2,1+b*a^-1*x^2)+(1/2)*d^-3*e^2*log(c*(a+b*x^2)^p)*log(-1*b*a^-1*x^2)+-1*d^-3*e^2*log(c*(a+b*x^2)^p)*log(d+e*x)+b*p*a^-1*d^-1*log(x)+p*d^-3*e^2*log(e*(d*b^(1/2)+e*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(d+e*x)+p*d^-3*e^2*log(-1*e*(d*b^(1/2)+-1*e*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(d+e*x)+-1//2*b*p*a^-1*d^-1*log(a+b*x^2)+-2*e*p*a^-1//2*b^(1/2)*d^-2*arctan(x*a^-1//2*b^(1/2)))
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(-1//3*p*e^-1*x^3+p*d^3*e^-4*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+x*d^2*e^-3*log(c*(a+b*x^3)^p)+-1*d^3*e^-4*log(c*(a+b*x^3)^p)*log(d+e*x)+-3*p*x*d^2*e^-3+-1//2*d*e^-2*x^2*log(c*(a+b*x^3)^p)+1//3*b^-1*e^-1*(a+b*x^3)*log(c*(a+b*x^3)^p)+3//4*d*p*e^-2*x^2+p*d^3*e^-4*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+p*d^3*e^-4*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+p*d^3*e^-4*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x)+p*a^1//3*b^-1//3*d^2*e^-3*log(a^1//3+x*b^1//3)+(1/2)*d*p*a^2//3*b^-2//3*e^-2*log(a^1//3+x*b^1//3)+-1//2*p*a^1//3*b^-1//3*d^2*e^-3*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//4*d*p*a^2//3*b^-2//3*e^-2*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+(1/2)*d*p*3^(1/2)*a^2//3*b^-2//3*e^-2*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3))+-1*p*3^(1/2)*a^1//3*b^-1//3*d^2*e^-3*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :((1/2)*e^-1*x^2*log(c*(a+b*x^3)^p)+-3//4*p*e^-1*x^2+d^2*e^-3*log(c*(a+b*x^3)^p)*log(d+e*x)+-1*d*x*e^-2*log(c*(a+b*x^3)^p)+-1*p*d^2*e^-3*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+3*d*p*x*e^-2+-1*p*d^2*e^-3*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+-1*p*d^2*e^-3*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+-1*p*d^2*e^-3*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x)+-1//2*p*a^2//3*b^-2//3*e^-1*log(a^1//3+x*b^1//3)+1//4*p*a^2//3*b^-2//3*e^-1*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+(1/2)*d*p*a^1//3*b^-1//3*e^-2*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*d*p*a^1//3*b^-1//3*e^-2*log(a^1//3+x*b^1//3)+-1//2*p*3^(1/2)*a^2//3*b^-2//3*e^-1*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3))+d*p*3^(1/2)*a^1//3*b^-1//3*e^-2*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(x*e^-1*log(c*(a+b*x^3)^p)+-3*p*x*e^-1+d*p*e^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1*d*e^-2*log(c*(a+b*x^3)^p)*log(d+e*x)+d*p*e^-2*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+d*p*e^-2*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+d*p*e^-2*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x)+p*a^1//3*b^-1//3*e^-1*log(a^1//3+x*b^1//3)+-1//2*p*a^1//3*b^-1//3*e^-1*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*p*3^(1/2)*a^1//3*b^-1//3*e^-1*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate((d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(e^-1*log(c*(a+b*x^3)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1*p*e^-1*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+-1*p*e^-1*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1*d^-1*log(c*(a+b*x^3)^p)*log(d+e*x)+1//3*p*d^-1*Polylogarithms.polylog(2,1+b*a^-1*x^3)+1//3*d^-1*log(c*(a+b*x^3)^p)*log(-1*b*a^-1*x^3)+p*d^-1*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+p*d^-1*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+p*d^-1*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(-1*d^-1*x^-1*log(c*(a+b*x^3)^p)+e*d^-2*log(c*(a+b*x^3)^p)*log(d+e*x)+-1*e*p*d^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1//3*e*p*d^-2*Polylogarithms.polylog(2,1+b*a^-1*x^3)+-1//3*e*d^-2*log(c*(a+b*x^3)^p)*log(-1*b*a^-1*x^3)+(1/2)*p*a^-1//3*b^1//3*d^-1*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*e*p*d^-2*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+-1*e*p*d^-2*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+-1*e*p*d^-2*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x)+-1*p*a^-1//3*b^1//3*d^-1*log(a^1//3+x*b^1//3)+-1*p*3^(1/2)*a^-1//3*b^1//3*d^-1*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x^3)^p), x) == :(-1//2*d^-1*x^-2*log(c*(a+b*x^3)^p)+e*d^-2*x^-1*log(c*(a+b*x^3)^p)+p*d^-3*e^2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*a^1//3)^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,b^1//3*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(d+e*x))+-1*d^-3*e^2*log(c*(a+b*x^3)^p)*log(d+e*x)+1//3*p*d^-3*e^2*Polylogarithms.polylog(2,1+b*a^-1*x^3)+1//3*d^-3*e^2*log(c*(a+b*x^3)^p)*log(-1*b*a^-1*x^3)+p*d^-3*e^2*log(-1*e*(d*b^1//3+-1*e*a^1//3)^-1*(a^1//3+x*b^1//3))*log(d+e*x)+p*d^-3*e^2*log(-1*e*(d*b^1//3+-1*e*(-1)^2//3*a^1//3)^-1*(x*b^1//3+(-1)^2//3*a^1//3))*log(d+e*x)+p*d^-3*e^2*log(e*(-1)^1//3*(d*b^1//3+e*(-1)^1//3*a^1//3)^-1*(a^1//3+x*(-1)^2//3*b^1//3))*log(d+e*x)+(1/2)*p*a^-2//3*b^2//3*d^-1*log(a^1//3+x*b^1//3)+-1//4*p*a^-2//3*b^2//3*d^-1*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+e*p*a^-1//3*b^1//3*d^-2*log(a^1//3+x*b^1//3)+-1//2*e*p*a^-1//3*b^1//3*d^-2*log(a^2//3+b^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//2*p*3^(1/2)*a^-2//3*b^2//3*d^-1*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3))+e*p*3^(1/2)*a^-1//3*b^1//3*d^-2*arctan(1//3*3^(1/2)*a^-1//3*(a^1//3+-2*x*b^1//3)))
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(1//3*e^-1*x^3*log(c*(a+b*x^-1)^p)+p*d^3*e^-4*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+x*d^2*e^-3*log(c*(a+b*x^-1)^p)+-1*p*d^3*e^-4*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*d^3*e^-4*log(c*(a+b*x^-1)^p)*log(d+e*x)+-1//2*d*e^-2*x^2*log(c*(a+b*x^-1)^p)+p*d^3*e^-4*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x)+-1*p*d^3*e^-4*log(-1*e*x*d^-1)*log(d+e*x)+-1//3*p*x*a^-2*b^2*e^-1+1//3*p*a^-3*b^3*e^-1*log(b+a*x)+1//6*b*p*a^-1*e^-1*x^2+b*p*a^-1*d^2*e^-3*log(b+a*x)+(1/2)*d*p*a^-2*b^2*e^-2*log(b+a*x)+-1//2*b*d*p*x*a^-1*e^-2)
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :((1/2)*e^-1*x^2*log(c*(a+b*x^-1)^p)+p*d^2*e^-3*Polylogarithms.polylog(2,1+e*x*d^-1)+d^2*e^-3*log(c*(a+b*x^-1)^p)*log(d+e*x)+-1*d*x*e^-2*log(c*(a+b*x^-1)^p)+-1*p*d^2*e^-3*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+p*d^2*e^-3*log(-1*e*x*d^-1)*log(d+e*x)+(1/2)*b*p*x*a^-1*e^-1+-1*p*d^2*e^-3*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x)+-1//2*p*a^-2*b^2*e^-1*log(b+a*x)+-1*b*d*p*a^-1*e^-2*log(b+a*x))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(x*e^-1*log(c*(a+b*x^-1)^p)+d*p*e^-2*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+-1*d*p*e^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*d*e^-2*log(c*(a+b*x^-1)^p)*log(d+e*x)+b*p*a^-1*e^-1*log(b+a*x)+d*p*e^-2*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x)+-1*d*p*e^-2*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate((d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(p*e^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+e^-1*log(c*(a+b*x^-1)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+p*e^-1*log(-1*e*x*d^-1)*log(d+e*x)+-1*p*e^-1*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+-1*p*d^-1*Polylogarithms.polylog(2,1+b*a^-1*x^-1)+-1*p*d^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*d^-1*log(c*(a+b*x^-1)^p)*log(-1*b*a^-1*x^-1)+-1*d^-1*log(c*(a+b*x^-1)^p)*log(d+e*x)+p*d^-1*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x)+-1*p*d^-1*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(p*d^-1*x^-1+e*p*d^-2*Polylogarithms.polylog(2,1+b*a^-1*x^-1)+e*p*d^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+e*d^-2*log(c*(a+b*x^-1)^p)*log(-1*b*a^-1*x^-1)+e*d^-2*log(c*(a+b*x^-1)^p)*log(d+e*x)+-1*e*p*d^-2*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+-1*b^-1*d^-1*(a+b*x^-1)*log(c*(a+b*x^-1)^p)+e*p*d^-2*log(-1*e*x*d^-1)*log(d+e*x)+-1*e*p*d^-2*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x^-1)^p), x) == :(-1//2*d^-1*x^-2*log(c*(a+b*x^-1)^p)+1//4*p*d^-1*x^-2+p*d^-3*e^2*Polylogarithms.polylog(2,a*(a*d+-1*b*e)^-1*(d+e*x))+-1*e*p*d^-2*x^-1+-1*p*d^-3*e^2*Polylogarithms.polylog(2,1+b*a^-1*x^-1)+-1*p*d^-3*e^2*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*d^-3*e^2*log(c*(a+b*x^-1)^p)*log(-1*b*a^-1*x^-1)+-1*d^-3*e^2*log(c*(a+b*x^-1)^p)*log(d+e*x)+e*b^-1*d^-2*(a+b*x^-1)*log(c*(a+b*x^-1)^p)+p*d^-3*e^2*log(-1*e*(a*d+-1*b*e)^-1*(b+a*x))*log(d+e*x)+(1/2)*p*a^2*b^-2*d^-1*log(a+b*x^-1)+-1*p*d^-3*e^2*log(-1*e*x*d^-1)*log(d+e*x)+-1//2*a*p*b^-1*d^-1*x^-1)
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :(1//3*e^-1*x^3*log(c*(a+b*x^-2)^p)+p*d^3*e^-4*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+x*d^2*e^-3*log(c*(a+b*x^-2)^p)+-1*d^3*e^-4*log(c*(a+b*x^-2)^p)*log(d+e*x)+-2*p*d^3*e^-4*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//2*d*e^-2*x^2*log(c*(a+b*x^-2)^p)+p*d^3*e^-4*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+p*d^3*e^-4*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+-2*p*d^3*e^-4*log(-1*e*x*d^-1)*log(d+e*x)+-2//3*p*a^-3//2*b^3//2*e^-1*arctan(x*a^(1/2)*b^-1//2)+2//3*b*p*x*a^-1*e^-1+2*p*a^-1//2*b^(1/2)*d^2*e^-3*arctan(x*a^(1/2)*b^-1//2)+-1//2*b*d*p*a^-1*e^-2*log(b+a*x^2))
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :((1/2)*e^-1*x^2*log(c*(a+b*x^-2)^p)+d^2*e^-3*log(c*(a+b*x^-2)^p)*log(d+e*x)+-1*d*x*e^-2*log(c*(a+b*x^-2)^p)+-1*p*d^2*e^-3*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+2*p*d^2*e^-3*Polylogarithms.polylog(2,1+e*x*d^-1)+(1/2)*b*p*a^-1*e^-1*log(b+a*x^2)+-1*p*d^2*e^-3*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+-1*p*d^2*e^-3*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+2*p*d^2*e^-3*log(-1*e*x*d^-1)*log(d+e*x)+-2*d*p*a^-1//2*b^(1/2)*e^-2*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :(x*e^-1*log(c*(a+b*x^-2)^p)+d*p*e^-2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+-1*d*e^-2*log(c*(a+b*x^-2)^p)*log(d+e*x)+-2*d*p*e^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+d*p*e^-2*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+d*p*e^-2*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+-2*d*p*e^-2*log(-1*e*x*d^-1)*log(d+e*x)+2*p*a^-1//2*b^(1/2)*e^-1*arctan(x*a^(1/2)*b^-1//2))
@test integrate((d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :(e^-1*log(c*(a+b*x^-2)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+2*p*e^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*p*e^-1*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+2*p*e^-1*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+-1*d^-1*log(c*(a+b*x^-2)^p)*log(d+e*x)+-2*p*d^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//2*p*d^-1*Polylogarithms.polylog(2,1+b*a^-1*x^-2)+-1//2*d^-1*log(c*(a+b*x^-2)^p)*log(-1*b*a^-1*x^-2)+p*d^-1*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+p*d^-1*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+-2*p*d^-1*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :(-1*d^-1*x^-1*log(c*(a+b*x^-2)^p)+2*p*d^-1*x^-1+e*d^-2*log(c*(a+b*x^-2)^p)*log(d+e*x)+(1/2)*e*p*d^-2*Polylogarithms.polylog(2,1+b*a^-1*x^-2)+(1/2)*e*d^-2*log(c*(a+b*x^-2)^p)*log(-1*b*a^-1*x^-2)+-1*e*p*d^-2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+2*e*p*d^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*e*p*d^-2*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+-1*e*p*d^-2*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+2*e*p*d^-2*log(-1*e*x*d^-1)*log(d+e*x)+2*p*a^(1/2)*b^-1//2*d^-1*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x^-2)^p), x) == :((1/2)*p*d^-1*x^-2+e*d^-2*x^-1*log(c*(a+b*x^-2)^p)+p*d^-3*e^2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,(-1a)^(1/2)*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(d+e*x))+-1*d^-3*e^2*log(c*(a+b*x^-2)^p)*log(d+e*x)+-2*e*p*d^-2*x^-1+-2*p*d^-3*e^2*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//2*p*d^-3*e^2*Polylogarithms.polylog(2,1+b*a^-1*x^-2)+-1//2*b^-1*d^-1*(a+b*x^-2)*log(c*(a+b*x^-2)^p)+-1//2*d^-3*e^2*log(c*(a+b*x^-2)^p)*log(-1*b*a^-1*x^-2)+p*d^-3*e^2*log(e*(d*(-1a)^(1/2)+e*b^(1/2))^-1*(b^(1/2)+-1*x*(-1a)^(1/2)))*log(d+e*x)+p*d^-3*e^2*log(-1*e*(d*(-1a)^(1/2)+-1*e*b^(1/2))^-1*(b^(1/2)+x*(-1a)^(1/2)))*log(d+e*x)+-2*p*d^-3*e^2*log(-1*e*x*d^-1)*log(d+e*x)+-2*e*p*a^(1/2)*b^-1//2*d^-2*arctan(x*a^(1/2)*b^-1//2))
@test integrate(x^3*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(1//3*e^-1*x^3*log(c*(a+b*x^-3)^p)+p*d^3*e^-4*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+p*d^3*e^-4*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+x*d^2*e^-3*log(c*(a+b*x^-3)^p)+-1*d^3*e^-4*log(c*(a+b*x^-3)^p)*log(d+e*x)+-3*p*d^3*e^-4*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//2*d*e^-2*x^2*log(c*(a+b*x^-3)^p)+p*d^3*e^-4*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+p*d^3*e^-4*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+p*d^3*e^-4*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+-3*p*d^3*e^-4*log(-1*e*x*d^-1)*log(d+e*x)+1//3*b*p*a^-1*e^-1*log(b+a*x^3)+p*a^-1//3*b^1//3*d^2*e^-3*log(b^1//3+x*a^1//3)+(1/2)*d*p*a^-2//3*b^2//3*e^-2*log(b^1//3+x*a^1//3)+-1//2*p*a^-1//3*b^1//3*d^2*e^-3*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//4*d*p*a^-2//3*b^2//3*e^-2*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+(1/2)*d*p*3^(1/2)*a^-2//3*b^2//3*e^-2*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3))+-1*p*3^(1/2)*a^-1//3*b^1//3*d^2*e^-3*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3)))
@test integrate(x^2*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :((1/2)*e^-1*x^2*log(c*(a+b*x^-3)^p)+d^2*e^-3*log(c*(a+b*x^-3)^p)*log(d+e*x)+-1*d*x*e^-2*log(c*(a+b*x^-3)^p)+-1*p*d^2*e^-3*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+-1*p*d^2*e^-3*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+3*p*d^2*e^-3*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*p*d^2*e^-3*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+-1*p*d^2*e^-3*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+-1*p*d^2*e^-3*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+3*p*d^2*e^-3*log(-1*e*x*d^-1)*log(d+e*x)+-1//2*p*a^-2//3*b^2//3*e^-1*log(b^1//3+x*a^1//3)+1//4*p*a^-2//3*b^2//3*e^-1*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+(1/2)*d*p*a^-1//3*b^1//3*e^-2*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*d*p*a^-1//3*b^1//3*e^-2*log(b^1//3+x*a^1//3)+-1//2*p*3^(1/2)*a^-2//3*b^2//3*e^-1*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3))+d*p*3^(1/2)*a^-1//3*b^1//3*e^-2*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3)))
@test integrate(x*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(x*e^-1*log(c*(a+b*x^-3)^p)+d*p*e^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+d*p*e^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+-1*d*e^-2*log(c*(a+b*x^-3)^p)*log(d+e*x)+-3*d*p*e^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+d*p*e^-2*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+d*p*e^-2*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+d*p*e^-2*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+p*a^-1//3*b^1//3*e^-1*log(b^1//3+x*a^1//3)+-3*d*p*e^-2*log(-1*e*x*d^-1)*log(d+e*x)+-1//2*p*a^-1//3*b^1//3*e^-1*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*p*3^(1/2)*a^-1//3*b^1//3*e^-1*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3)))
@test integrate((d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(e^-1*log(c*(a+b*x^-3)^p)*log(d+e*x)+-1*p*e^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+-1*p*e^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+3*p*e^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+-1*p*e^-1*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+-1*p*e^-1*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+-1*p*e^-1*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+3*p*e^-1*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate(x^-1*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(p*d^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+p*d^-1*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+-1*d^-1*log(c*(a+b*x^-3)^p)*log(d+e*x)+-3*p*d^-1*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//3*p*d^-1*Polylogarithms.polylog(2,1+b*a^-1*x^-3)+-1//3*d^-1*log(c*(a+b*x^-3)^p)*log(-1*b*a^-1*x^-3)+p*d^-1*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+p*d^-1*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+p*d^-1*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+-3*p*d^-1*log(-1*e*x*d^-1)*log(d+e*x))
@test integrate(x^-2*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(-1*d^-1*x^-1*log(c*(a+b*x^-3)^p)+3*p*d^-1*x^-1+e*d^-2*log(c*(a+b*x^-3)^p)*log(d+e*x)+-1*e*p*d^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+-1*e*p*d^-2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+3*e*p*d^-2*Polylogarithms.polylog(2,1+e*x*d^-1)+1//3*e*p*d^-2*Polylogarithms.polylog(2,1+b*a^-1*x^-3)+1//3*e*d^-2*log(c*(a+b*x^-3)^p)*log(-1*b*a^-1*x^-3)+(1/2)*p*a^1//3*b^-1//3*d^-1*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+-1*e*p*d^-2*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+-1*e*p*d^-2*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+-1*e*p*d^-2*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+-1*p*a^1//3*b^-1//3*d^-1*log(b^1//3+x*a^1//3)+3*e*p*d^-2*log(-1*e*x*d^-1)*log(d+e*x)+-1*p*3^(1/2)*a^1//3*b^-1//3*d^-1*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3)))
@test integrate(x^-3*(d+e*x)^-1*log(c*(a+b*x^-3)^p), x) == :(-1//2*d^-1*x^-2*log(c*(a+b*x^-3)^p)+3//4*p*d^-1*x^-2+e*d^-2*x^-1*log(c*(a+b*x^-3)^p)+p*d^-3*e^2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*b^1//3)^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(d+e*x))+p*d^-3*e^2*Polylogarithms.polylog(2,a^1//3*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(d+e*x))+-1*d^-3*e^2*log(c*(a+b*x^-3)^p)*log(d+e*x)+-3*e*p*d^-2*x^-1+-3*p*d^-3*e^2*Polylogarithms.polylog(2,1+e*x*d^-1)+-1//3*p*d^-3*e^2*Polylogarithms.polylog(2,1+b*a^-1*x^-3)+-1//3*d^-3*e^2*log(c*(a+b*x^-3)^p)*log(-1*b*a^-1*x^-3)+p*d^-3*e^2*log(-1*e*(d*a^1//3+-1*e*b^1//3)^-1*(b^1//3+x*a^1//3))*log(d+e*x)+p*d^-3*e^2*log(-1*e*(d*a^1//3+-1*e*(-1)^2//3*b^1//3)^-1*(x*a^1//3+(-1)^2//3*b^1//3))*log(d+e*x)+p*d^-3*e^2*log(e*(-1)^1//3*(d*a^1//3+e*(-1)^1//3*b^1//3)^-1*(b^1//3+x*(-1)^2//3*a^1//3))*log(d+e*x)+(1/2)*p*a^2//3*b^-2//3*d^-1*log(b^1//3+x*a^1//3)+-3*p*d^-3*e^2*log(-1*e*x*d^-1)*log(d+e*x)+-1//4*p*a^2//3*b^-2//3*d^-1*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+e*p*a^1//3*b^-1//3*d^-2*log(b^1//3+x*a^1//3)+-1//2*e*p*a^1//3*b^-1//3*d^-2*log(b^2//3+a^2//3*x^2+-1*x*a^1//3*b^1//3)+-1//2*p*3^(1/2)*a^2//3*b^-2//3*d^-1*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3))+e*p*3^(1/2)*a^1//3*b^-1//3*d^-2*arctan(1//3*3^(1/2)*b^-1//3*(b^1//3+-2*x*a^1//3)))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^3)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^3)^p)+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(d^1//3*g^(1/2)+im*e^1//3*f^(1/2))^-1*(d^1//3+x*e^1//3))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*(-1)^5//6*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^1//3*f^(1/2)+(-1)^5//6*d^1//3*g^(1/2))^-1*(d^1//3+x*(-1)^2//3*e^1//3))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+2*im*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^1//3*f^(1/2)+(-1)^1//6*d^1//3*g^(1/2))^-1*(x*e^1//3+(-1)^2//3*d^1//3))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(d^1//3*g^(1/2)+im*e^1//3*f^(1/2))^-1*(d^1//3+x*e^1//3))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*im*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^1//3*f^(1/2)+(-1)^1//6*d^1//3*g^(1/2))^-1*(x*e^1//3+(-1)^2//3*d^1//3))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*(-1)^5//6*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^1//3*f^(1/2)+(-1)^5//6*d^1//3*g^(1/2))^-1*(d^1//3+x*(-1)^2//3*e^1//3))+3*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-3//2*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+2*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x)^p), x) == :((1/2)*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,g^(1/2)*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*(d+e*x))+(1/2)*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x)^p)*log(e*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*((-1*f)^(1/2)+-1*x*g^(1/2)))+-1//2*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,-1*g^(1/2)*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*(d+e*x))+-1//2*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x)^p)*log(e*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*((-1*f)^(1/2)+x*g^(1/2))))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^-1)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^-1)^p)+p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,-1*im*x*f^-1//2*g^(1/2))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e*g^(1/2)+im*d*f^(1/2))^-1*(e+d*x))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e*g^(1/2)+im*d*f^(1/2))^-1*(e+d*x))+-1//2*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,im*x*f^-1//2*g^(1/2))+-1//2*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^-2)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^-2)^p)+im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,-1*im*x*f^-1//2*g^(1/2))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^(1/2)*g^(1/2)+im*f^(1/2)*(-1d)^(1/2))^-1*(e^(1/2)+x*(-1d)^(1/2)))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*e^(1/2)*g^(1/2)+im*f^(1/2)*(-1d)^(1/2))^-1*(e^(1/2)+-1*x*(-1d)^(1/2)))+-1*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,im*x*f^-1//2*g^(1/2))+-1*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*e^(1/2)*g^(1/2)+im*f^(1/2)*(-1d)^(1/2))^-1*(e^(1/2)+-1*x*(-1d)^(1/2)))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(e^(1/2)*g^(1/2)+im*f^(1/2)*(-1d)^(1/2))^-1*(e^(1/2)+x*(-1d)^(1/2)))+2*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^(1/2))^p), x) == :((1/2)*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,g^1//4*(d*g^1//4+e*(-1*f)^1//4)^-1*(d+e*x^(1/2)))+(1/2)*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,-1*g^1//4*(e*(-1*f)^1//4+-1*d*g^1//4)^-1*(d+e*x^(1/2)))+(1/2)*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^(1/2))^p)*log(e*(d*g^1//4+e*(-1*f)^1//4)^-1*((-1*f)^1//4+-1*g^1//4*x^(1/2)))+(1/2)*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^(1/2))^p)*log(e*(e*(-1*f)^1//4+-1*d*g^1//4)^-1*((-1*f)^1//4+g^1//4*x^(1/2)))+-1//2*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,g^1//4*(d*g^1//4+e*(-1*(-1*f)^(1/2))^(1/2))^-1*(d+e*x^(1/2)))+-1//2*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,-1*g^1//4*(e*(-1*(-1*f)^(1/2))^(1/2)+-1*d*g^1//4)^-1*(d+e*x^(1/2)))+-1//2*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^(1/2))^p)*log(e*(d*g^1//4+e*(-1*(-1*f)^(1/2))^(1/2))^-1*((-1*(-1*f)^(1/2))^(1/2)+-1*g^1//4*x^(1/2)))+-1//2*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^(1/2))^p)*log(e*(e*(-1*(-1*f)^(1/2))^(1/2)+-1*d*g^1//4)^-1*((-1*(-1*f)^(1/2))^(1/2)+g^1//4*x^(1/2))))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^-1//2)^p), x) == :((1/2)*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,(-1*f)^1//4*(d*(-1*f)^1//4+e*g^1//4)^-1*(d+e*x^-1//2))+(1/2)*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,(-1*f)^1//4*(d*(-1*f)^1//4+-1*e*g^1//4)^-1*(d+e*x^-1//2))+(1/2)*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^-1//2)^p)*log(e*(d*(-1*f)^1//4+e*g^1//4)^-1*(g^1//4+-1*x^-1//2*(-1*f)^1//4))+(1/2)*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^-1//2)^p)*log(-1*e*(d*(-1*f)^1//4+-1*e*g^1//4)^-1*(g^1//4+x^-1//2*(-1*f)^1//4))+-1//2*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,(-1*(-1*f)^(1/2))^(1/2)*(d*(-1*(-1*f)^(1/2))^(1/2)+e*g^1//4)^-1*(d+e*x^-1//2))+-1//2*p*g^-1//2*(-1*f)^-1//2*Polylogarithms.polylog(2,(-1*(-1*f)^(1/2))^(1/2)*(d*(-1*(-1*f)^(1/2))^(1/2)+-1*e*g^1//4)^-1*(d+e*x^-1//2))+-1//2*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^-1//2)^p)*log(e*(d*(-1*(-1*f)^(1/2))^(1/2)+e*g^1//4)^-1*(g^1//4+-1*x^-1//2*(-1*(-1*f)^(1/2))^(1/2)))+-1//2*g^-1//2*(-1*f)^-1//2*log(c*(d+e*x^-1//2)^p)*log(-1*e*(d*(-1*(-1*f)^(1/2))^(1/2)+-1*e*g^1//4)^-1*(g^1//4+x^-1//2*(-1*(-1*f)^(1/2))^(1/2))))
@test integrate((f+g*x^2)^3*log(c*(d+e*x^2)^p), x) == :(x*f^3*log(c*(d+e*x^2)^p)+-2*p*x*f^3+-2//49*p*g^3*x^7+1//7*g^3*x^7*log(c*(d+e*x^2)^p)+g*f^2*x^3*log(c*(d+e*x^2)^p)+-6//25*f*p*g^2*x^5+-2//3*g*p*f^2*x^3+3//5*f*g^2*x^5*log(c*(d+e*x^2)^p)+2*p*d^(1/2)*e^-1//2*f^3*arctan(x*d^-1//2*e^(1/2))+-2//7*p*d^7//2*e^-7//2*g^3*arctan(x*d^-1//2*e^(1/2))+-2//21*p*d^2*e^-2*g^3*x^3+2//7*p*x*d^3*e^-3*g^3+2//35*d*p*e^-1*g^3*x^5+-2*g*p*d^3//2*e^-3//2*f^2*arctan(x*d^-1//2*e^(1/2))+2*d*g*p*x*e^-1*f^2+-6//5*f*p*x*d^2*e^-2*g^2+2//5*d*f*p*e^-1*g^2*x^3+6//5*f*p*d^5//2*e^-5//2*g^2*arctan(x*d^-1//2*e^(1/2)))
@test integrate((f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(x*f^2*log(c*(d+e*x^2)^p)+-2*p*x*f^2+-2//25*p*g^2*x^5+1//5*g^2*x^5*log(c*(d+e*x^2)^p)+-4//9*f*g*p*x^3+2//3*f*g*x^3*log(c*(d+e*x^2)^p)+2*p*d^(1/2)*e^-1//2*f^2*arctan(x*d^-1//2*e^(1/2))+-2//5*p*x*d^2*e^-2*g^2+2//5*p*d^5//2*e^-5//2*g^2*arctan(x*d^-1//2*e^(1/2))+2//15*d*p*e^-1*g^2*x^3+-4//3*f*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))+4//3*d*f*g*p*x*e^-1)
@test integrate((f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(f*x*log(c*(d+e*x^2)^p)+-2*f*p*x+-2//9*g*p*x^3+1//3*g*x^3*log(c*(d+e*x^2)^p)+2*f*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2))+-2//3*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))+2//3*d*g*p*x*e^-1)
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+2*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate((f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :((1/2)*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+-1//4*f^-1*g^-1//2*((-1*f)^(1/2)+-1*x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+1//4*f^-1*g^-1//2*((-1*f)^(1/2)+x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1//2*p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+p*d^(1/2)*e^(1/2)*f^-1*(e*f+-1*d*g)^-1*arctan(x*d^-1//2*e^(1/2))+(1/2)*e*p*g^-1//2*(-1*f)^-1//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+x*g^(1/2))+-1//2*e*p*g^-1//2*(-1*f)^-1//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+-1*x*g^(1/2)))
@test integrate((f+g*x^2)^2*log(c*(d+e*x^2)^p)^2, x) == :(x*f^2*log(c*(d+e*x^2)^p)^2+8*x*f^2*p^2+1//5*g^2*x^5*log(c*(d+e*x^2)^p)^2+8//125*g^2*p^2*x^5+-4*p*x*f^2*log(c*(d+e*x^2)^p)+-4//25*p*g^2*x^5*log(c*(d+e*x^2)^p)+2//3*f*g*x^3*log(c*(d+e*x^2)^p)^2+16//27*f*g*p^2*x^3+-8*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))+-184//75*d^5//2*e^-5//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))+-64//225*d*e^-1*g^2*p^2*x^3+-8//9*f*g*p*x^3*log(c*(d+e*x^2)^p)+184//75*x*d^2*e^-2*g^2*p^2+4*im*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))^2+4*im*d^(1/2)*e^-1//2*f^2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4*p*d^(1/2)*e^-1//2*f^2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-64//9*d*f*g*x*e^-1*p^2+-4//5*p*x*d^2*e^-2*g^2*log(c*(d+e*x^2)^p)+4//5*im*d^5//2*e^-5//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))^2+4//5*im*d^5//2*e^-5//2*g^2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4//5*p*d^5//2*e^-5//2*g^2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+4//15*d*p*e^-1*g^2*x^3*log(c*(d+e*x^2)^p)+8//5*d^5//2*e^-5//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+64//9*f*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))+-16//3*f*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-8//3*im*f*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))^2+-8//3*im*f*g*d^3//2*e^-3//2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-8//3*f*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8//3*d*f*g*p*x*e^-1*log(c*(d+e*x^2)^p))
@test integrate(log(c*(d+e*x^2)^p)^2*(f+g*x^2), x) == :(f*x*log(c*(d+e*x^2)^p)^2+8*f*x*p^2+1//3*g*x^3*log(c*(d+e*x^2)^p)^2+8//27*g*p^2*x^3+-4*f*p*x*log(c*(d+e*x^2)^p)+-4//9*g*p*x^3*log(c*(d+e*x^2)^p)+-8*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))+-32//9*d*g*x*e^-1*p^2+32//9*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))+4*im*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))^2+4*im*f*d^(1/2)*e^-1//2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4*f*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-8//3*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-4//3*im*g*d^3//2*e^-3//2*p^2*arctan(x*d^-1//2*e^(1/2))^2+-4//3*im*g*d^3//2*e^-3//2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-4//3*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+4//3*d*g*p*x*e^-1*log(c*(d+e*x^2)^p))
@test integrate((f+g*x^3)^3*log(c*(d+e*x^2)^p), x) == :(x*f^3*log(c*(d+e*x^2)^p)+-2*p*x*f^3+-1//50*p*g^3*x^10+1//10*g^3*x^10*log(c*(d+e*x^2)^p)+-6//49*f*p*g^2*x^7+-3//8*g*p*f^2*x^4+3//4*g*f^2*x^4*log(c*(d+e*x^2)^p)+3//7*f*g^2*x^7*log(c*(d+e*x^2)^p)+2*p*d^(1/2)*e^-1//2*f^3*arctan(x*d^-1//2*e^(1/2))+-1//10*p*d^4*e^-4*g^3*x^2+-1//30*p*d^2*e^-2*g^3*x^6+1//10*p*d^5*e^-5*g^3*log(d+e*x^2)+1//20*p*d^3*e^-3*g^3*x^4+1//40*d*p*e^-1*g^3*x^8+-6//7*f*p*d^7//2*e^-7//2*g^2*arctan(x*d^-1//2*e^(1/2))+-3//4*g*p*d^2*e^-2*f^2*log(d+e*x^2)+-2//7*f*p*d^2*e^-2*g^2*x^3+3//4*d*g*p*e^-1*f^2*x^2+6//7*f*p*x*d^3*e^-3*g^2+6//35*d*f*p*e^-1*g^2*x^5)
@test integrate((f+g*x^3)^2*log(c*(d+e*x^2)^p), x) == :(x*f^2*log(c*(d+e*x^2)^p)+-2*p*x*f^2+-2//49*p*g^2*x^7+1//7*g^2*x^7*log(c*(d+e*x^2)^p)+(1/2)*f*g*x^4*log(c*(d+e*x^2)^p)+-1//4*f*g*p*x^4+2*p*d^(1/2)*e^-1//2*f^2*arctan(x*d^-1//2*e^(1/2))+-2//7*p*d^7//2*e^-7//2*g^2*arctan(x*d^-1//2*e^(1/2))+-2//21*p*d^2*e^-2*g^2*x^3+2//7*p*x*d^3*e^-3*g^2+2//35*d*p*e^-1*g^2*x^5+(1/2)*d*f*g*p*e^-1*x^2+-1//2*f*g*p*d^2*e^-2*log(d+e*x^2))
@test integrate((f+g*x^3)*log(c*(d+e*x^2)^p), x) == :(f*x*log(c*(d+e*x^2)^p)+-2*f*p*x+-1//8*g*p*x^4+1//4*g*x^4*log(c*(d+e*x^2)^p)+2*f*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2))+-1//4*g*p*d^2*e^-2*log(d+e*x^2)+1//4*d*g*p*e^-1*x^2)
@test integrate((f+g*x^3)^-1*log(c*(d+e*x^2)^p), x) == :(-1//3*p*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+g^1//3*(-1d)^(1/2))^-1*(f^1//3+x*g^1//3))+-1//3*p*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+-1*g^1//3*(-1d)^(1/2))^-1*(f^1//3+x*g^1//3))+1//3*f^-2//3*g^-1//3*log(c*(d+e*x^2)^p)*log(-1*f^1//3+-1*x*g^1//3)+-1//3*p*(-1)^2//3*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+(-1)^1//3*g^1//3*(-1d)^(1/2))^-1*(f^1//3+-1*x*(-1)^1//3*g^1//3))+-1//3*p*(-1)^2//3*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+-1*(-1)^1//3*g^1//3*(-1d)^(1/2))^-1*(f^1//3+-1*x*(-1)^1//3*g^1//3))+-1//3*p*f^-2//3*g^-1//3*log(g^1//3*(e^(1/2)*f^1//3+g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))*log(-1*f^1//3+-1*x*g^1//3)+-1//3*p*f^-2//3*g^-1//3*log(-1*g^1//3*(e^(1/2)*f^1//3+-1*g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))*log(-1*f^1//3+-1*x*g^1//3)+-1//3*(-1)^1//3*f^-2//3*g^-1//3*log(c*(d+e*x^2)^p)*log(-1*f^1//3+-1*x*(-1)^2//3*g^1//3)+1//3*p*(-1)^1//3*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+(-1)^2//3*g^1//3*(-1d)^(1/2))^-1*(f^1//3+x*(-1)^2//3*g^1//3))+1//3*p*(-1)^1//3*f^-2//3*g^-1//3*Polylogarithms.polylog(2,e^(1/2)*(e^(1/2)*f^1//3+-1*(-1)^2//3*g^1//3*(-1d)^(1/2))^-1*(f^1//3+x*(-1)^2//3*g^1//3))+1//3*(-1)^2//3*f^-2//3*g^-1//3*log(c*(d+e*x^2)^p)*log(-1*f^1//3+x*(-1)^1//3*g^1//3)+-1//3*p*(-1)^2//3*f^-2//3*g^-1//3*log((-1)^1//3*g^1//3*(e^(1/2)*f^1//3+(-1)^1//3*g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))*log(-1*f^1//3+x*(-1)^1//3*g^1//3)+-1//3*p*(-1)^2//3*f^-2//3*g^-1//3*log(-1*(-1)^1//3*g^1//3*(e^(1/2)*f^1//3+-1*(-1)^1//3*g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))*log(-1*f^1//3+x*(-1)^1//3*g^1//3)+1//3*p*(-1)^1//3*f^-2//3*g^-1//3*log((-1)^2//3*g^1//3*(e^(1/2)*f^1//3+(-1)^2//3*g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))*log(-1*f^1//3+-1*x*(-1)^2//3*g^1//3)+1//3*p*(-1)^1//3*f^-2//3*g^-1//3*log(-1*(-1)^2//3*g^1//3*(e^(1/2)*f^1//3+-1*(-1)^2//3*g^1//3*(-1d)^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))*log(-1*f^1//3+-1*x*(-1)^2//3*g^1//3))
@test integrate((f+g*x^3)^3*log(c*(d+e*x^2)^p)^2, x) == :(x*f^3*log(c*(d+e*x^2)^p)^2+8*x*f^3*p^2+1//10*g^3*x^10*log(c*(d+e*x^2)^p)^2+-4*p*x*f^3*log(c*(d+e*x^2)^p)+1//125*e^-5*g^3*p^2*(d+e*x^2)^5+3//7*f*g^2*x^7*log(c*(d+e*x^2)^p)^2+24//343*f*g^2*p^2*x^7+d^4*e^-4*g^3*p^2*x^2+-8*d^(1/2)*e^-1//2*f^3*p^2*arctan(x*d^-1//2*e^(1/2))+-12//49*f*p*g^2*x^7*log(c*(d+e*x^2)^p)+-1//2*d^3*e^-5*g^3*p^2*(d+e*x^2)^2+-1//10*d^5*e^-5*g^3*p^2*log(d+e*x^2)^2+-1//16*d*e^-5*g^3*p^2*(d+e*x^2)^4+-1//25*p*e^-5*g^3*(d+e*x^2)^5*log(c*(d+e*x^2)^p)+2//9*d^2*e^-5*g^3*p^2*(d+e*x^2)^3+3//4*g*e^-2*f^2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)^2+3//8*g*e^-2*f^2*p^2*(d+e*x^2)^2+p*d^3*e^-5*g^3*(d+e*x^2)^2*log(c*(d+e*x^2)^p)+-1*p*d^4*e^-5*g^3*(d+e*x^2)*log(c*(d+e*x^2)^p)+-3*d*g*e^-1*f^2*p^2*x^2+4*im*d^(1/2)*e^-1//2*f^3*p^2*arctan(x*d^-1//2*e^(1/2))^2+4*im*d^(1/2)*e^-1//2*f^3*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4*p*d^(1/2)*e^-1//2*f^3*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8*d^(1/2)*e^-1//2*f^3*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-1408//245*f*x*d^3*e^-3*g^2*p^2+-288//1225*d*f*e^-1*g^2*p^2*x^5+-3//2*d*g*e^-2*f^2*log(c*(d+e*x^2)^p)^2*(d+e*x^2)+-3//4*g*p*e^-2*f^2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)+-2//3*p*d^2*e^-5*g^3*(d+e*x^2)^3*log(c*(d+e*x^2)^p)+1//4*d*p*e^-5*g^3*(d+e*x^2)^4*log(c*(d+e*x^2)^p)+1//5*p*d^5*e^-5*g^3*log(c*(d+e*x^2)^p)*log(d+e*x^2)+568//735*f*d^2*e^-2*g^2*p^2*x^3+1408//245*f*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))+3*d*g*p*e^-2*f^2*(d+e*x^2)*log(c*(d+e*x^2)^p)+-24//7*f*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-12//7*im*f*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))^2+-12//7*im*f*d^7//2*e^-7//2*g^2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-12//7*f*p*d^7//2*e^-7//2*g^2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+-4//7*f*p*d^2*e^-2*g^2*x^3*log(c*(d+e*x^2)^p)+12//7*f*p*x*d^3*e^-3*g^2*log(c*(d+e*x^2)^p)+12//35*d*f*p*e^-1*g^2*x^5*log(c*(d+e*x^2)^p))
@test integrate((f+g*x^3)^2*log(c*(d+e*x^2)^p)^2, x) == :(x*f^2*log(c*(d+e*x^2)^p)^2+8*x*f^2*p^2+1//7*g^2*x^7*log(c*(d+e*x^2)^p)^2+8//343*g^2*p^2*x^7+-4*p*x*f^2*log(c*(d+e*x^2)^p)+-4//49*p*g^2*x^7*log(c*(d+e*x^2)^p)+(1/2)*f*g*e^-2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)^2+-8*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))+-1408//735*x*d^3*e^-3*g^2*p^2+-96//1225*d*e^-1*g^2*p^2*x^5+1//4*f*g*e^-2*p^2*(d+e*x^2)^2+568//2205*d^2*e^-2*g^2*p^2*x^3+1408//735*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))+-1*d*f*g*e^-2*log(c*(d+e*x^2)^p)^2*(d+e*x^2)+-2*d*f*g*e^-1*p^2*x^2+4*im*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))^2+4*im*d^(1/2)*e^-1//2*f^2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4*p*d^(1/2)*e^-1//2*f^2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8*d^(1/2)*e^-1//2*f^2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-8//7*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-4//7*im*d^7//2*e^-7//2*g^2*p^2*arctan(x*d^-1//2*e^(1/2))^2+-4//7*im*d^7//2*e^-7//2*g^2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+-4//7*p*d^7//2*e^-7//2*g^2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+-4//21*p*d^2*e^-2*g^2*x^3*log(c*(d+e*x^2)^p)+-1//2*f*g*p*e^-2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)+4//7*p*x*d^3*e^-3*g^2*log(c*(d+e*x^2)^p)+4//35*d*p*e^-1*g^2*x^5*log(c*(d+e*x^2)^p)+2*d*f*g*p*e^-2*(d+e*x^2)*log(c*(d+e*x^2)^p))
@test integrate(log(c*(d+e*x^2)^p)^2*(f+g*x^3), x) == :(f*x*log(c*(d+e*x^2)^p)^2+8*f*x*p^2+-4*f*p*x*log(c*(d+e*x^2)^p)+1//4*g*e^-2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)^2+1//8*g*e^-2*p^2*(d+e*x^2)^2+-1*d*g*e^-1*p^2*x^2+-8*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))+-1//2*d*g*e^-2*log(c*(d+e*x^2)^p)^2*(d+e*x^2)+-1//4*g*p*e^-2*(d+e*x^2)^2*log(c*(d+e*x^2)^p)+d*g*p*e^-2*(d+e*x^2)*log(c*(d+e*x^2)^p)+4*im*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))^2+4*im*f*d^(1/2)*e^-1//2*p^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1)+4*f*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2))*log(c*(d+e*x^2)^p)+8*f*d^(1/2)*e^-1//2*p^2*arctan(x*d^-1//2*e^(1/2))*log(2*d^(1/2)*(d^(1/2)+im*x*e^(1/2))^-1))
@test integrate(x^5*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//32*g*p*x^8+1//6*f*x^6*log(c*(d+e*x^2)^p)+1//8*g*x^8*log(c*(d+e*x^2)^p)+-1//72*p*e^-1*x^6*(-3*d*g+4*e*f)+-1//24*p*d^2*e^-3*x^2*(-3*d*g+4*e*f)+1//24*p*d^3*e^-4*(-3*d*g+4*e*f)*log(d+e*x^2)+1//48*d*p*e^-2*x^4*(-3*d*g+4*e*f))
@test integrate(x^3*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//18*g*p*x^6+1//4*f*x^4*log(c*(d+e*x^2)^p)+1//6*g*x^6*log(c*(d+e*x^2)^p)+-1//24*p*e^-1*x^4*(-2*d*g+3*e*f)+-1//12*p*d^2*e^-3*(-2*d*g+3*e*f)*log(d+e*x^2)+1//12*d*p*e^-2*x^2*(-2*d*g+3*e*f))
@test integrate(x*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//8*p*g^-1*(f+g*x^2)^2+1//4*g^-1*(f+g*x^2)^2*log(c*(d+e*x^2)^p)+-1//4*p*e^-1*x^2*(e*f+-1*d*g)+-1//4*p*e^-2*g^-1*(e*f+-1*d*g)^2*log(d+e*x^2))
@test integrate(x^-1*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :((1/2)*f*p*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*f*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//2*g*p*x^2+(1/2)*g*e^-1*(d+e*x^2)*log(c*(d+e*x^2)^p))
@test integrate(x^-3*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :((1/2)*g*p*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*g*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//2*f*x^-2*log(c*(d+e*x^2)^p)+e*f*p*d^-1*log(x)+-1//2*e*f*p*d^-1*log(d+e*x^2))
@test integrate(x^-5*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//4*f^-1*x^-4*(f+g*x^2)^2*log(c*(d+e*x^2)^p)+-1//2*e*p*d^-2*(e*f+-2*d*g)*log(x)+-1//4*e*f*p*d^-1*x^-2+1//4*p*d^-2*f^-1*(e*f+-1*d*g)^2*log(d+e*x^2))
@test integrate(x^-7*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//4*g*x^-4*log(c*(d+e*x^2)^p)+-1//6*f*x^-6*log(c*(d+e*x^2)^p)+-1//12*e*f*p*d^-1*x^-4+-1//12*p*d^-3*e^2*(-3*d*g+2*e*f)*log(d+e*x^2)+1//6*p*d^-3*e^2*(-3*d*g+2*e*f)*log(x)+1//12*e*p*d^-2*x^-2*(-3*d*g+2*e*f))
@test integrate(x^-9*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//6*g*x^-6*log(c*(d+e*x^2)^p)+-1//8*f*x^-8*log(c*(d+e*x^2)^p)+-1//12*p*d^-4*e^3*(-4*d*g+3*e*f)*log(x)+-1//24*e*f*p*d^-1*x^-6+-1//24*p*d^-3*e^2*x^-2*(-4*d*g+3*e*f)+1//24*p*d^-4*e^3*(-4*d*g+3*e*f)*log(d+e*x^2)+1//48*e*p*d^-2*x^-4*(-4*d*g+3*e*f))
@test integrate(x^2*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-2//9*f*p*x^3+-2//25*g*p*x^5+1//3*f*x^3*log(c*(d+e*x^2)^p)+1//5*g*x^5*log(c*(d+e*x^2)^p)+-2//3*f*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))+-2//5*g*p*x*d^2*e^-2+2//3*d*f*p*x*e^-1+2//5*g*p*d^5//2*e^-5//2*arctan(x*d^-1//2*e^(1/2))+2//15*d*g*p*e^-1*x^3)
@test integrate((f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(f*x*log(c*(d+e*x^2)^p)+-2*f*p*x+-2//9*g*p*x^3+1//3*g*x^3*log(c*(d+e*x^2)^p)+2*f*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2))+-2//3*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))+2//3*d*g*p*x*e^-1)
@test integrate(x^-4*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1*g*x^-1*log(c*(d+e*x^2)^p)+-1//3*f*x^-3*log(c*(d+e*x^2)^p)+2*g*p*d^-1//2*e^(1/2)*arctan(x*d^-1//2*e^(1/2))+-2//3*e*f*p*d^-1*x^-1+-2//3*f*p*d^-3//2*e^3//2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^-6*(f+g*x^2)*log(c*(d+e*x^2)^p), x) == :(-1//3*g*x^-3*log(c*(d+e*x^2)^p)+-1//5*f*x^-5*log(c*(d+e*x^2)^p)+-2//3*e*g*p*d^-1*x^-1+-2//3*g*p*d^-3//2*e^3//2*arctan(x*d^-1//2*e^(1/2))+-2//15*e*f*p*d^-1*x^-3+2//5*f*p*d^-2*e^2*x^-1+2//5*f*p*d^-5//2*e^5//2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^5*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(1//6*f^2*x^6*log(c*(d+e*x^2)^p)+1//10*g^2*x^10*log(c*(d+e*x^2)^p)+-1//18*p*e^-5*(d+e*x^2)^3*(e^2*f^2+6*d^2*g^2+-6*d*e*f*g)+-1//50*p*e^-5*g^2*(d+e*x^2)^5+1//4*f*g*x^8*log(c*(d+e*x^2)^p)+-1//2*p*d^2*e^-4*x^2*(e*f+-1*d*g)^2+-1//16*g*p*e^-5*(d+e*x^2)^4*(e*f+-2*d*g)+1//60*p*d^3*e^-5*(6*d^2*g^2+10*e^2*f^2+-15*d*e*f*g)*log(d+e*x^2)+1//4*d*p*e^-5*(d+e*x^2)^2*(e*f+-1*d*g)*(e*f+-2*d*g))
@test integrate(x^3*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(1//4*f^2*x^4*log(c*(d+e*x^2)^p)+1//8*g^2*x^8*log(c*(d+e*x^2)^p)+-1//32*p*e^-4*g^2*(d+e*x^2)^4+1//3*f*g*x^6*log(c*(d+e*x^2)^p)+(1/2)*d*p*e^-3*x^2*(e*f+-1*d*g)^2+-1//8*p*e^-4*(d+e*x^2)^2*(e*f+-1*d*g)*(e*f+-3*d*g)+-1//18*g*p*e^-4*(d+e*x^2)^3*(-3*d*g+2*e*f)+-1//24*p*d^2*e^-4*(3*d^2*g^2+6*e^2*f^2+-8*d*e*f*g)*log(d+e*x^2))
@test integrate(x*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//18*p*g^-1*(f+g*x^2)^3+1//6*g^-1*(f+g*x^2)^3*log(c*(d+e*x^2)^p)+-1//6*p*e^-2*x^2*(e*f+-1*d*g)^2+-1//6*p*e^-3*g^-1*(e*f+-1*d*g)^3*log(d+e*x^2)+-1//12*p*e^-1*g^-1*(f+g*x^2)^2*(e*f+-1*d*g))
@test integrate(x^-1*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :((1/2)*p*f^2*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*f^2*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//8*p*g^2*x^4+1//4*g^2*x^4*log(c*(d+e*x^2)^p)+-1*f*g*p*x^2+f*g*e^-1*(d+e*x^2)*log(c*(d+e*x^2)^p)+-1//4*p*d^2*e^-2*g^2*log(d+e*x^2)+1//4*d*p*e^-1*g^2*x^2)
@test integrate(x^-3*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//2*p*g^2*x^2+-1//2*f^2*x^-2*log(c*(d+e*x^2)^p)+f*g*p*Polylogarithms.polylog(2,1+e*d^-1*x^2)+f*g*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+(1/2)*e^-1*g^2*(d+e*x^2)*log(c*(d+e*x^2)^p)+e*p*d^-1*f^2*log(x)+-1//2*e*p*d^-1*f^2*log(d+e*x^2))
@test integrate(x^-5*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :((1/2)*p*g^2*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*g^2*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//4*f^2*x^-4*log(c*(d+e*x^2)^p)+-1*f*g*x^-2*log(c*(d+e*x^2)^p)+-1//2*p*d^-2*e^2*f^2*log(x)+-1//4*e*p*d^-1*f^2*x^-2+1//4*p*d^-2*e^2*f^2*log(d+e*x^2)+-1*e*f*g*p*d^-1*log(d+e*x^2)+2*e*f*g*p*d^-1*log(x))
@test integrate(x^-7*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//6*f^-1*x^-6*(f+g*x^2)^3*log(c*(d+e*x^2)^p)+-1//6*p*d^-3*f^-1*(e*f+-1*d*g)^3*log(d+e*x^2)+-1//12*e*p*d^-1*f^2*x^-4+1//3*e*p*d^-3*(e^2*f^2+3*d^2*g^2+-3*d*e*f*g)*log(x)+1//6*e*f*p*d^-2*x^-2*(e*f+-3*d*g))
@test integrate(x^-9*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//4*g^2*x^-4*log(c*(d+e*x^2)^p)+-1//8*f^2*x^-8*log(c*(d+e*x^2)^p)+-1//3*f*g*x^-6*log(c*(d+e*x^2)^p)+-1//12*p*d^-4*e^2*(3*e^2*f^2+6*d^2*g^2+-8*d*e*f*g)*log(x)+-1//24*e*p*d^-1*f^2*x^-6+-1//24*e*p*d^-3*x^-2*(3*e^2*f^2+6*d^2*g^2+-8*d*e*f*g)+1//24*p*d^-4*e^2*(3*e^2*f^2+6*d^2*g^2+-8*d*e*f*g)*log(d+e*x^2)+1//48*e*f*p*d^-2*x^-4*(-8*d*g+3*e*f))
@test integrate(x^-11*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//6*g^2*x^-6*log(c*(d+e*x^2)^p)+-1//10*f^2*x^-10*log(c*(d+e*x^2)^p)+-1//4*f*g*x^-8*log(c*(d+e*x^2)^p)+-1//40*e*p*d^-1*f^2*x^-8+-1//60*p*d^-5*e^3*(6*e^2*f^2+10*d^2*g^2+-15*d*e*f*g)*log(d+e*x^2)+-1//120*e*p*d^-3*x^-4*(6*e^2*f^2+10*d^2*g^2+-15*d*e*f*g)+1//30*p*d^-5*e^3*(6*e^2*f^2+10*d^2*g^2+-15*d*e*f*g)*log(x)+1//60*p*d^-4*e^2*x^-2*(6*e^2*f^2+10*d^2*g^2+-15*d*e*f*g)+1//60*e*f*p*d^-2*x^-6*(-5*d*g+2*e*f))
@test integrate(x^2*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-2//9*p*f^2*x^3+-2//49*p*g^2*x^7+1//3*f^2*x^3*log(c*(d+e*x^2)^p)+1//7*g^2*x^7*log(c*(d+e*x^2)^p)+-4//25*f*g*p*x^5+2//5*f*g*x^5*log(c*(d+e*x^2)^p)+-2//3*p*d^3//2*e^-3//2*f^2*arctan(x*d^-1//2*e^(1/2))+-2//7*p*d^7//2*e^-7//2*g^2*arctan(x*d^-1//2*e^(1/2))+-2//21*p*d^2*e^-2*g^2*x^3+2//3*d*p*x*e^-1*f^2+2//7*p*x*d^3*e^-3*g^2+2//35*d*p*e^-1*g^2*x^5+-4//5*f*g*p*x*d^2*e^-2+4//5*f*g*p*d^5//2*e^-5//2*arctan(x*d^-1//2*e^(1/2))+4//15*d*f*g*p*e^-1*x^3)
@test integrate((f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(x*f^2*log(c*(d+e*x^2)^p)+-2*p*x*f^2+-2//25*p*g^2*x^5+1//5*g^2*x^5*log(c*(d+e*x^2)^p)+-4//9*f*g*p*x^3+2//3*f*g*x^3*log(c*(d+e*x^2)^p)+2*p*d^(1/2)*e^-1//2*f^2*arctan(x*d^-1//2*e^(1/2))+-2//5*p*x*d^2*e^-2*g^2+2//5*p*d^5//2*e^-5//2*g^2*arctan(x*d^-1//2*e^(1/2))+2//15*d*p*e^-1*g^2*x^3+-4//3*f*g*p*d^3//2*e^-3//2*arctan(x*d^-1//2*e^(1/2))+4//3*d*f*g*p*x*e^-1)
@test integrate(x^-2*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1*f^2*x^-1*log(c*(d+e*x^2)^p)+-2//9*p*g^2*x^3+1//3*g^2*x^3*log(c*(d+e*x^2)^p)+-4*f*g*p*x+2*f*g*x*log(c*(d+e*x^2)^p)+2*p*d^-1//2*e^(1/2)*f^2*arctan(x*d^-1//2*e^(1/2))+-2//3*p*d^3//2*e^-3//2*g^2*arctan(x*d^-1//2*e^(1/2))+2//3*d*p*x*e^-1*g^2+4*f*g*p*d^(1/2)*e^-1//2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^-4*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(x*g^2*log(c*(d+e*x^2)^p)+-2*p*x*g^2+-1//3*f^2*x^-3*log(c*(d+e*x^2)^p)+-2*f*g*x^-1*log(c*(d+e*x^2)^p)+2*p*d^(1/2)*e^-1//2*g^2*arctan(x*d^-1//2*e^(1/2))+-2//3*e*p*d^-1*f^2*x^-1+-2//3*p*d^-3//2*e^3//2*f^2*arctan(x*d^-1//2*e^(1/2))+4*f*g*p*d^-1//2*e^(1/2)*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^-6*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1*g^2*x^-1*log(c*(d+e*x^2)^p)+-1//5*f^2*x^-5*log(c*(d+e*x^2)^p)+-2//3*f*g*x^-3*log(c*(d+e*x^2)^p)+2*p*d^-1//2*e^(1/2)*g^2*arctan(x*d^-1//2*e^(1/2))+-2//15*e*p*d^-1*f^2*x^-3+2//5*p*d^-2*e^2*f^2*x^-1+2//5*p*d^-5//2*e^5//2*f^2*arctan(x*d^-1//2*e^(1/2))+-4//3*e*f*g*p*d^-1*x^-1+-4//3*f*g*p*d^-3//2*e^3//2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^-8*(f+g*x^2)^2*log(c*(d+e*x^2)^p), x) == :(-1//3*g^2*x^-3*log(c*(d+e*x^2)^p)+-1//7*f^2*x^-7*log(c*(d+e*x^2)^p)+-2//5*f*g*x^-5*log(c*(d+e*x^2)^p)+-2//3*e*p*d^-1*g^2*x^-1+-2//3*p*d^-3//2*e^3//2*g^2*arctan(x*d^-1//2*e^(1/2))+-2//7*p*d^-3*e^3*f^2*x^-1+-2//7*p*d^-7//2*e^7//2*f^2*arctan(x*d^-1//2*e^(1/2))+-2//35*e*p*d^-1*f^2*x^-5+2//21*p*d^-2*e^2*f^2*x^-3+-4//15*e*f*g*p*d^-1*x^-3+4//5*f*g*p*d^-2*e^2*x^-1+4//5*f*g*p*d^-5//2*e^5//2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^5*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-1//8*p*g^-1*x^4+1//4*g^-1*x^4*log(c*(d+e*x^2)^p)+(1/2)*f*p*g^-2*x^2+(1/2)*p*f^2*g^-3*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+(1/2)*f^2*g^-3*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+-1//2*f*e^-1*g^-2*(d+e*x^2)*log(c*(d+e*x^2)^p)+-1//4*p*d^2*e^-2*g^-1*log(d+e*x^2)+1//4*d*p*e^-1*g^-1*x^2)
@test integrate(x^3*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-1//2*p*g^-1*x^2+(1/2)*e^-1*g^-1*(d+e*x^2)*log(c*(d+e*x^2)^p)+-1//2*f*p*g^-2*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+-1//2*f*g^-2*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2)))
@test integrate(x*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :((1/2)*p*g^-1*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+(1/2)*g^-1*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2)))
@test integrate(x^-1*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :((1/2)*p*f^-1*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*f^-1*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//2*p*f^-1*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+-1//2*f^-1*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2)))
@test integrate(x^-3*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-1//2*f^-1*x^-2*log(c*(d+e*x^2)^p)+(1/2)*g*p*f^-2*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+(1/2)*g*f^-2*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+-1//2*g*p*f^-2*Polylogarithms.polylog(2,1+e*d^-1*x^2)+-1//2*g*f^-2*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+e*p*d^-1*f^-1*log(x)+-1//2*e*p*d^-1*f^-1*log(d+e*x^2))
@test integrate(x^4*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-2//9*p*g^-1*x^3+1//3*g^-1*x^3*log(c*(d+e*x^2)^p)+f^3//2*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+-1*f*x*g^-2*log(c*(d+e*x^2)^p)+2*f*p*x*g^-2+(1/2)*im*p*f^3//2*g^-5//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*im*p*f^3//2*g^-5//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*im*p*f^3//2*g^-5//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^3//2*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*p*f^3//2*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+2*p*f^3//2*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-2//3*p*d^3//2*e^-3//2*g^-1*arctan(x*d^-1//2*e^(1/2))+2//3*d*p*x*e^-1*g^-1+-2*f*p*d^(1/2)*e^-1//2*g^-2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^2*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(x*g^-1*log(c*(d+e*x^2)^p)+-2*p*x*g^-1+-1*f^(1/2)*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+im*p*f^(1/2)*g^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+p*f^(1/2)*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+p*f^(1/2)*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-2*p*f^(1/2)*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+2*p*d^(1/2)*e^-1//2*g^-1*arctan(x*d^-1//2*e^(1/2))+-1//2*im*p*f^(1/2)*g^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-1//2*im*p*f^(1/2)*g^-3//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2))))
@test integrate((f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*im*p*f^-1//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+2*p*f^-1//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1))
@test integrate(x^-2*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-1*f^-1*x^-1*log(c*(d+e*x^2)^p)+-1*f^-3//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+im*p*f^-3//2*g^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+p*f^-3//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+p*f^-3//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-2*p*f^-3//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+2*p*d^-1//2*e^(1/2)*f^-1*arctan(x*d^-1//2*e^(1/2))+-1//2*im*p*f^-3//2*g^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-1//2*im*p*f^-3//2*g^(1/2)*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2))))
@test integrate(x^-4*(f+g*x^2)^-1*log(c*(d+e*x^2)^p), x) == :(-1//3*f^-1*x^-3*log(c*(d+e*x^2)^p)+g*f^-2*x^-1*log(c*(d+e*x^2)^p)+f^-5//2*g^3//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+(1/2)*im*p*f^-5//2*g^3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*im*p*f^-5//2*g^3//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*im*p*f^-5//2*g^3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1*p*f^-5//2*g^3//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1*p*f^-5//2*g^3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+2*p*f^-5//2*g^3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-2//3*e*p*d^-1*f^-1*x^-1+-2//3*p*d^-3//2*e^3//2*f^-1*arctan(x*d^-1//2*e^(1/2))+-2*g*p*d^-1//2*e^(1/2)*f^-2*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^5*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(-1//2*p*g^-2*x^2+(1/2)*e^-1*g^-2*(d+e*x^2)*log(c*(d+e*x^2)^p)+-1*f*p*g^-3*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+-1*f*g^-3*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+-1//2*f^2*g^-3*(f+g*x^2)^-1*log(c*(d+e*x^2)^p)+(1/2)*e*p*f^2*g^-3*(e*f+-1*d*g)^-1*log(d+e*x^2)+-1//2*e*p*f^2*g^-3*(e*f+-1*d*g)^-1*log(f+g*x^2))
@test integrate(x^3*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :((1/2)*p*g^-2*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+(1/2)*g^-2*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+(1/2)*f*g^-2*(f+g*x^2)^-1*log(c*(d+e*x^2)^p)+(1/2)*e*f*p*g^-2*(e*f+-1*d*g)^-1*log(f+g*x^2)+-1//2*e*f*p*g^-2*(e*f+-1*d*g)^-1*log(d+e*x^2))
@test integrate(x*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(-1//2*g^-1*(f+g*x^2)^-1*log(c*(d+e*x^2)^p)+(1/2)*e*p*g^-1*(e*f+-1*d*g)^-1*log(d+e*x^2)+-1//2*e*p*g^-1*(e*f+-1*d*g)^-1*log(f+g*x^2))
@test integrate(x^-1*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :((1/2)*p*f^-2*Polylogarithms.polylog(2,1+e*d^-1*x^2)+(1/2)*f^-1*(f+g*x^2)^-1*log(c*(d+e*x^2)^p)+(1/2)*f^-2*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//2*p*f^-2*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+-1//2*f^-2*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+(1/2)*e*p*f^-1*(e*f+-1*d*g)^-1*log(f+g*x^2)+-1//2*e*p*f^-1*(e*f+-1*d*g)^-1*log(d+e*x^2))
@test integrate(x^-3*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(-1//2*f^-2*x^-2*log(c*(d+e*x^2)^p)+g*p*f^-3*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^2))+g*f^-3*log(c*(d+e*x^2)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^2))+-1*g*p*f^-3*Polylogarithms.polylog(2,1+e*d^-1*x^2)+-1*g*f^-3*log(c*(d+e*x^2)^p)*log(-1*e*d^-1*x^2)+-1//2*g*f^-2*(f+g*x^2)^-1*log(c*(d+e*x^2)^p)+e*p*d^-1*f^-2*log(x)+-1//2*e*p*d^-1*f^-2*log(d+e*x^2)+(1/2)*e*g*p*f^-2*(e*f+-1*d*g)^-1*log(d+e*x^2)+-1//2*e*g*p*f^-2*(e*f+-1*d*g)^-1*log(f+g*x^2))
@test integrate(x^4*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(x*g^-2*log(c*(d+e*x^2)^p)+-2*p*x*g^-2+-3//2*f^(1/2)*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+-1//4*f*g^-5//2*((-1*f)^(1/2)+-1*x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+1//4*f*g^-5//2*((-1*f)^(1/2)+x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+-3*p*f^(1/2)*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+2*p*d^(1/2)*e^-1//2*g^-2*arctan(x*d^-1//2*e^(1/2))+-3//4*im*p*f^(1/2)*g^-5//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-3//4*im*p*f^(1/2)*g^-5//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+3//2*im*p*f^(1/2)*g^-5//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+3//2*p*f^(1/2)*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+3//2*p*f^(1/2)*g^-5//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*e*p*g^-5//2*(-1*f)^3//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+x*g^(1/2))+-1//2*e*p*g^-5//2*(-1*f)^3//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+-1*x*g^(1/2))+f*p*d^(1/2)*e^(1/2)*g^-2*(e*f+-1*d*g)^-1*arctan(x*d^-1//2*e^(1/2)))
@test integrate(x^2*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(-1//4*g^-3//2*((-1*f)^(1/2)+x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+1//4*g^-3//2*((-1*f)^(1/2)+-1*x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+(1/2)*f^-1//2*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+p*f^-1//2*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*im*p*f^-1//2*g^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*p*f^-1//2*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1//2*p*f^-1//2*g^-3//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-1//2*g^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-1//2*g^-3//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+(1/2)*e*p*g^-3//2*(-1*f)^(1/2)*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+x*g^(1/2))+-1*p*d^(1/2)*e^(1/2)*g^-1*(e*f+-1*d*g)^-1*arctan(x*d^-1//2*e^(1/2))+-1//2*e*p*g^-3//2*(-1*f)^(1/2)*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+-1*x*g^(1/2)))
@test integrate((f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :((1/2)*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+-1//4*f^-1*g^-1//2*((-1*f)^(1/2)+-1*x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+1//4*f^-1*g^-1//2*((-1*f)^(1/2)+x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+-1//2*p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+-1//2*p*f^-3//2*g^-1//2*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+1//4*im*p*f^-3//2*g^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+p*d^(1/2)*e^(1/2)*f^-1*(e*f+-1*d*g)^-1*arctan(x*d^-1//2*e^(1/2))+(1/2)*e*p*g^-1//2*(-1*f)^-1//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+x*g^(1/2))+-1//2*e*p*g^-1//2*(-1*f)^-1//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+-1*x*g^(1/2)))
@test integrate(x^-2*(f+g*x^2)^-2*log(c*(d+e*x^2)^p), x) == :(-1*f^-2*x^-1*log(c*(d+e*x^2)^p)+-3//2*f^-5//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(c*(d+e*x^2)^p)+-1//4*f^-2*g^(1/2)*((-1*f)^(1/2)+x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+1//4*f^-2*g^(1/2)*((-1*f)^(1/2)+-1*x*g^(1/2))^-1*log(c*(d+e*x^2)^p)+-3*p*f^-5//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+2*p*d^-1//2*e^(1/2)*f^-2*arctan(x*d^-1//2*e^(1/2))+-3//4*im*p*f^-5//2*g^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+-3//4*im*p*f^-5//2*g^(1/2)*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+3//2*im*p*f^-5//2*g^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1)+3//2*p*f^-5//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(-1*g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+-1*x*e^(1/2)))+3//2*p*f^-5//2*g^(1/2)*arctan(x*f^-1//2*g^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)+-1*im*x*g^(1/2))^-1*(g^(1/2)*(-1d)^(1/2)+im*e^(1/2)*f^(1/2))^-1*((-1d)^(1/2)+x*e^(1/2)))+(1/2)*e*p*g^(1/2)*(-1*f)^-3//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+x*g^(1/2))+-1//2*e*p*g^(1/2)*(-1*f)^-3//2*(e*f+-1*d*g)^-1*log((-1*f)^(1/2)+-1*x*g^(1/2))+-1*g*p*d^(1/2)*e^(1/2)*f^-2*(e*f+-1*d*g)^-1*arctan(x*d^-1//2*e^(1/2)))
@test integrate((a+b*x^2)^-1*log(c*(a+b*x^2)^n), x) == :(a^-1//2*b^-1//2*arctan(x*a^-1//2*b^(1/2))*log(c*(a+b*x^2)^n)+im*n*a^-1//2*b^-1//2*arctan(x*a^-1//2*b^(1/2))^2+im*n*a^-1//2*b^-1//2*Polylogarithms.polylog(2,1+-2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1)+2*n*a^-1//2*b^-1//2*arctan(x*a^-1//2*b^(1/2))*log(2*a^(1/2)*(a^(1/2)+im*x*b^(1/2))^-1))
@test integrate((2+-1*x^2)^-1*log(1+-1*x^2), x) == :(-1//2*2^(1/2)*Polylogarithms.polylog(2,1+-2*2^(1/2)*(x+2^(1/2))^-1)+1//4*2^(1/2)*Polylogarithms.polylog(2,1+(2+-1*2^(1/2))^-1*(x+2^(1/2))^-1*(4+-4x))+1//4*2^(1/2)*Polylogarithms.polylog(2,1+-1*(2+2^(1/2))^-1*(x+2^(1/2))^-1*(4+4x))+2^(1/2)*arctanh((1/2)*x*2^(1/2))*log(2*2^(1/2)*(x+2^(1/2))^-1)+(1/2)*2^(1/2)*arctanh((1/2)*x*2^(1/2))*log(1+-1*x^2)+-1//2*2^(1/2)*arctanh((1/2)*x*2^(1/2))*log((2+2^(1/2))^-1*(x+2^(1/2))^-1*(4+4x))+-1//2*2^(1/2)*arctanh((1/2)*x*2^(1/2))*log(-1*(2+-1*2^(1/2))^-1*(x+2^(1/2))^-1*(4+-4x)))
@test integrate((1+-1*x^2)^-1*log(d+e*x^2), x) == :((1/2)*Polylogarithms.polylog(2,1+-1*(1+x)^-1*(e^(1/2)+(-1d)^(1/2))^-1*(2*(-1d)^(1/2)+2*x*e^(1/2)))+(1/2)*Polylogarithms.polylog(2,1+-1*(1+x)^-1*((-1d)^(1/2)+-1*e^(1/2))^-1*(2*(-1d)^(1/2)+-2*x*e^(1/2)))+-1*Polylogarithms.polylog(2,1+-2*(1+x)^-1)+arctanh(x)*log(d+e*x^2)+-1*arctanh(x)*log((1+x)^-1*(e^(1/2)+(-1d)^(1/2))^-1*(2*(-1d)^(1/2)+2*x*e^(1/2)))+-1*arctanh(x)*log((1+x)^-1*((-1d)^(1/2)+-1*e^(1/2))^-1*(2*(-1d)^(1/2)+-2*x*e^(1/2)))+2*arctanh(x)*log(2*(1+x)^-1))
@test integrate(x^-1*(f+g*x^(3n))*log(c*(d+e*x^n)^p), x) == :(f*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//9*g*p*n^-1*x^(3n)+1//3*g*n^-1*x^(3n)*log(c*(d+e*x^n)^p)+-1//3*g*p*d^2*e^-2*n^-1*x^n+1//3*g*p*d^3*e^-3*n^-1*log(d+e*x^n)+1//6*d*g*p*e^-1*n^-1*x^(2n))
@test integrate(x^-1*(f+g*x^(2n))*log(c*(d+e*x^n)^p), x) == :(f*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+(1/2)*g*n^-1*x^(2n)*log(c*(d+e*x^n)^p)+-1//4*g*p*n^-1*x^(2n)+(1/2)*d*g*p*e^-1*n^-1*x^n+-1//2*g*p*d^2*e^-2*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^n)*log(c*(d+e*x^n)^p), x) == :(f*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1*g*p*n^-1*x^n+g*e^-1*n^-1*(d+e*x^n)*log(c*(d+e*x^n)^p))
@test integrate(x^-1*(f+g*x^(-1n))*log(c*(d+e*x^n)^p), x) == :(f*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1*g*n^-1*x^(-1n)*log(c*(d+e*x^n)^p)+e*g*p*d^-1*log(x)+-1*e*g*p*d^-1*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^(-2n))*log(c*(d+e*x^n)^p), x) == :(f*p*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//2*g*n^-1*x^(-2n)*log(c*(d+e*x^n)^p)+-1//2*g*p*d^-2*e^2*log(x)+(1/2)*g*p*d^-2*e^2*n^-1*log(d+e*x^n)+-1//2*e*g*p*d^-1*n^-1*x^(-1n))
@test integrate(x^-1*(f+g*x^(3n))^2*log(c*(d+e*x^n)^p), x) == :(p*f^2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//36*p*g^2*n^-1*x^(6n)+1//6*g^2*n^-1*x^(6n)*log(c*(d+e*x^n)^p)+-2//9*f*g*p*n^-1*x^(3n)+2//3*f*g*n^-1*x^(3n)*log(c*(d+e*x^n)^p)+-1//6*p*d^6*e^-6*g^2*n^-1*log(d+e*x^n)+-1//12*p*d^4*e^-4*g^2*n^-1*x^(2n)+-1//24*p*d^2*e^-2*g^2*n^-1*x^(4n)+1//6*p*d^5*e^-5*g^2*n^-1*x^n+1//18*p*d^3*e^-3*g^2*n^-1*x^(3n)+1//30*d*p*e^-1*g^2*n^-1*x^(5n)+-2//3*f*g*p*d^2*e^-2*n^-1*x^n+1//3*d*f*g*p*e^-1*n^-1*x^(2n)+2//3*f*g*p*d^3*e^-3*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^(2n))^2*log(c*(d+e*x^n)^p), x) == :(p*f^2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//16*p*g^2*n^-1*x^(4n)+1//4*g^2*n^-1*x^(4n)*log(c*(d+e*x^n)^p)+f*g*n^-1*x^(2n)*log(c*(d+e*x^n)^p)+-1//2*f*g*p*n^-1*x^(2n)+-1//4*p*d^4*e^-4*g^2*n^-1*log(d+e*x^n)+-1//8*p*d^2*e^-2*g^2*n^-1*x^(2n)+1//4*p*d^3*e^-3*g^2*n^-1*x^n+1//12*d*p*e^-1*g^2*n^-1*x^(3n)+d*f*g*p*e^-1*n^-1*x^n+-1*f*g*p*d^2*e^-2*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^n)^2*log(c*(d+e*x^n)^p), x) == :(p*f^2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+(1/2)*g^2*n^-1*x^(2n)*log(c*(d+e*x^n)^p)+-1//4*p*g^2*n^-1*x^(2n)+-2*f*g*p*n^-1*x^n+(1/2)*d*p*e^-1*g^2*n^-1*x^n+2*f*g*e^-1*n^-1*(d+e*x^n)*log(c*(d+e*x^n)^p)+-1//2*p*d^2*e^-2*g^2*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^(-1n))^2*log(c*(d+e*x^n)^p), x) == :(p*f^2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//2*g^2*n^-1*x^(-2n)*log(c*(d+e*x^n)^p)+-2*f*g*n^-1*x^(-1n)*log(c*(d+e*x^n)^p)+-1//2*p*d^-2*e^2*g^2*log(x)+(1/2)*p*d^-2*e^2*g^2*n^-1*log(d+e*x^n)+2*e*f*g*p*d^-1*log(x)+-1//2*e*p*d^-1*g^2*n^-1*x^(-1n)+-2*e*f*g*p*d^-1*n^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^(-2n))^2*log(c*(d+e*x^n)^p), x) == :(p*f^2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//4*g^2*n^-1*x^(-4n)*log(c*(d+e*x^n)^p)+-1*f*g*n^-1*x^(-2n)*log(c*(d+e*x^n)^p)+-1//4*p*d^-4*e^4*g^2*log(x)+-1*f*g*p*d^-2*e^2*log(x)+-1//4*p*d^-3*e^3*g^2*n^-1*x^(-1n)+-1//12*e*p*d^-1*g^2*n^-1*x^(-3n)+1//4*p*d^-4*e^4*g^2*n^-1*log(d+e*x^n)+1//8*p*d^-2*e^2*g^2*n^-1*x^(-2n)+f*g*p*d^-2*e^2*n^-1*log(d+e*x^n)+-1*e*f*g*p*d^-1*n^-1*x^(-1n))
@test integrate(x^-1*(f+g*x^(2n))^-1*log(c*(d+e*x^n)^p), x) == :(p*f^-1*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^-1*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1//2*p*f^-1*n^-1*Polylogarithms.polylog(2,g^(1/2)*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*(d+e*x^n))+-1//2*p*f^-1*n^-1*Polylogarithms.polylog(2,-1*g^(1/2)*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*(d+e*x^n))+-1//2*f^-1*n^-1*log(c*(d+e*x^n)^p)*log(e*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*((-1*f)^(1/2)+-1*g^(1/2)*x^n))+-1//2*f^-1*n^-1*log(c*(d+e*x^n)^p)*log(e*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*((-1*f)^(1/2)+g^(1/2)*x^n)))
@test integrate(x^-1*(f+g*x^n)^-1*log(c*(d+e*x^n)^p), x) == :(p*f^-1*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^-1*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1*p*f^-1*n^-1*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^n))+-1*f^-1*n^-1*log(c*(d+e*x^n)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^n)))
@test integrate(x^-1*(f+g*x^(-1n))^-1*log(c*(d+e*x^n)^p), x) == :(p*f^-1*n^-1*Polylogarithms.polylog(2,f*(d*f+-1*e*g)^-1*(d+e*x^n))+f^-1*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*(d*f+-1*e*g)^-1*(g+f*x^n)))
@test integrate(x^-1*(f+g*x^(-2n))^-1*log(c*(d+e*x^n)^p), x) == :((1/2)*p*f^-1*n^-1*Polylogarithms.polylog(2,(-1*f)^(1/2)*(d*(-1*f)^(1/2)+e*g^(1/2))^-1*(d+e*x^n))+(1/2)*p*f^-1*n^-1*Polylogarithms.polylog(2,(-1*f)^(1/2)*(d*(-1*f)^(1/2)+-1*e*g^(1/2))^-1*(d+e*x^n))+(1/2)*f^-1*n^-1*log(c*(d+e*x^n)^p)*log(e*(d*(-1*f)^(1/2)+e*g^(1/2))^-1*(g^(1/2)+-1*x^n*(-1*f)^(1/2)))+(1/2)*f^-1*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*(d*(-1*f)^(1/2)+-1*e*g^(1/2))^-1*(g^(1/2)+x^n*(-1*f)^(1/2))))
@test integrate(x^-1*(f+g*x^(2n))^-2*log(c*(d+e*x^n)^p), x) == :(p*f^-2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^-2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+(1/2)*f^-1*n^-1*(f+g*x^(2n))^-1*log(c*(d+e*x^n)^p)+-1//2*p*f^-2*n^-1*Polylogarithms.polylog(2,g^(1/2)*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*(d+e*x^n))+-1//2*p*f^-2*n^-1*Polylogarithms.polylog(2,-1*g^(1/2)*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*(d+e*x^n))+-1//2*f^-2*n^-1*log(c*(d+e*x^n)^p)*log(e*(d*g^(1/2)+e*(-1*f)^(1/2))^-1*((-1*f)^(1/2)+-1*g^(1/2)*x^n))+-1//2*f^-2*n^-1*log(c*(d+e*x^n)^p)*log(e*(e*(-1*f)^(1/2)+-1*d*g^(1/2))^-1*((-1*f)^(1/2)+g^(1/2)*x^n))+-1//2*p*e^2*f^-1*n^-1*(f*e^2+g*d^2)^-1*log(d+e*x^n)+1//4*p*e^2*f^-1*n^-1*(f*e^2+g*d^2)^-1*log(f+g*x^(2n))+-1//2*d*e*p*f^-3//2*g^(1/2)*n^-1*(f*e^2+g*d^2)^-1*arctan(f^-1//2*g^(1/2)*x^n))
@test integrate(x^-1*(f+g*x^n)^-2*log(c*(d+e*x^n)^p), x) == :(p*f^-2*n^-1*Polylogarithms.polylog(2,1+e*d^-1*x^n)+f^-1*n^-1*(f+g*x^n)^-1*log(c*(d+e*x^n)^p)+f^-2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*d^-1*x^n)+-1*p*f^-2*n^-1*Polylogarithms.polylog(2,-1*g*(e*f+-1*d*g)^-1*(d+e*x^n))+-1*f^-2*n^-1*log(c*(d+e*x^n)^p)*log(e*(e*f+-1*d*g)^-1*(f+g*x^n))+e*p*f^-1*n^-1*(e*f+-1*d*g)^-1*log(f+g*x^n)+-1*e*p*f^-1*n^-1*(e*f+-1*d*g)^-1*log(d+e*x^n))
@test integrate(x^-1*(f+g*x^(-1n))^-2*log(c*(d+e*x^n)^p), x) == :(p*f^-2*n^-1*Polylogarithms.polylog(2,f*(d*f+-1*e*g)^-1*(d+e*x^n))+f^-2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*(d*f+-1*e*g)^-1*(g+f*x^n))+g*f^-2*n^-1*(g+f*x^n)^-1*log(c*(d+e*x^n)^p)+e*g*p*f^-2*n^-1*(d*f+-1*e*g)^-1*log(d+e*x^n)+-1*e*g*p*f^-2*n^-1*(d*f+-1*e*g)^-1*log(g+f*x^n))
@test integrate(x^-1*(f+g*x^(-2n))^-2*log(c*(d+e*x^n)^p), x) == :((1/2)*p*f^-2*n^-1*Polylogarithms.polylog(2,(-1*f)^(1/2)*(d*(-1*f)^(1/2)+e*g^(1/2))^-1*(d+e*x^n))+(1/2)*p*f^-2*n^-1*Polylogarithms.polylog(2,(-1*f)^(1/2)*(d*(-1*f)^(1/2)+-1*e*g^(1/2))^-1*(d+e*x^n))+(1/2)*f^-2*n^-1*log(c*(d+e*x^n)^p)*log(e*(d*(-1*f)^(1/2)+e*g^(1/2))^-1*(g^(1/2)+-1*x^n*(-1*f)^(1/2)))+(1/2)*f^-2*n^-1*log(c*(d+e*x^n)^p)*log(-1*e*(d*(-1*f)^(1/2)+-1*e*g^(1/2))^-1*(g^(1/2)+x^n*(-1*f)^(1/2)))+(1/2)*g*f^-2*n^-1*(g+f*x^(2n))^-1*log(c*(d+e*x^n)^p)+-1//2*g*p*e^2*f^-2*n^-1*(f*d^2+g*e^2)^-1*log(d+e*x^n)+1//4*g*p*e^2*f^-2*n^-1*(f*d^2+g*e^2)^-1*log(g+f*x^(2n))+-1//2*d*e*p*f^-3//2*g^(1/2)*n^-1*(f*d^2+g*e^2)^-1*arctan(f^(1/2)*g^-1//2*x^n))
@test integrate(x^-1*(c*e+-1*x^(-1n)*(1+-1*c*d))^-1*log(c*(d+e*x^n)), x) == :(-1*c^-1*e^-1*n^-1*Polylogarithms.polylog(2,1+-1*c*(d+e*x^n)))
@test integrate(x^(-1+n)*(-1+c*d+c*e*x^n)^-1*log(c*(d+e*x^n)), x) == :(-1*c^-1*e^-1*n^-1*Polylogarithms.polylog(2,1+-1*c*(d+e*x^n)))
@test integrate(x^-1*(c*e+-1*x^n*(1+-1*c*d))^-1*log(c*(d+e*x^(-1n))), x) == :(c^-1*e^-1*n^-1*Polylogarithms.polylog(2,1+-1*c*(d+e*x^(-1n))))
@test integrate(x^-1*log(x)*log(d+e*x^m), x) == :(m^-2*Polylogarithms.polylog(3,-1*e*d^-1*x^m)+(1/2)*log(x)^2*log(d+e*x^m)+-1//2*log(x)^2*log(1+e*d^-1*x^m)+-1*m^-1*Polylogarithms.polylog(2,-1*e*d^-1*x^m)*log(x))
@test integrate(x^-1*log(x^-2*(a+x^2)), x) == :((1/2)*Polylogarithms.polylog(2,-1*a*x^-2))
@test integrate(x^-1*log(x^(-1n)*(a+x^n)), x) == :(n^-1*Polylogarithms.polylog(2,-1*a*x^(-1n)))
@test integrate(x^-1*log(x^-1*(a+b*x)), x) == :(-1*Polylogarithms.polylog(2,1+a*b^-1*x^-1)+-1*log(-1*a*b^-1*x^-1)*log(b+a*x^-1))
@test integrate(x^-1*log(x^-2*(a+b*x^2)), x) == :(-1//2*Polylogarithms.polylog(2,1+a*b^-1*x^-2)+-1//2*log(-1*a*b^-1*x^-2)*log(b+a*x^-2))
@test integrate(x^-1*log(x^(-1n)*(a+b*x^n)), x) == :(-1*n^-1*Polylogarithms.polylog(2,1+a*b^-1*x^(-1n))+-1*n^-1*log(-1*a*b^-1*x^(-1n))*log(b+a*x^(-1n)))
@test integrate((c+d*x)^-1*log(x^-1*(a+b*x)), x) == :(d^-1*Polylogarithms.polylog(2,1+d*x*c^-1)+-1*d^-1*Polylogarithms.polylog(2,b*(b*c+-1*a*d)^-1*(c+d*x))+d^-1*log(-1*d*x*c^-1)*log(c+d*x)+d^-1*log(b+a*x^-1)*log(c+d*x)+-1*d^-1*log(-1*d*(b*c+-1*a*d)^-1*(a+b*x))*log(c+d*x))
@test integrate((c+d*x)^-1*log(x^-2*(a+b*x^2)), x) == :(-1*d^-1*Polylogarithms.polylog(2,b^(1/2)*(c*b^(1/2)+d*(-1a)^(1/2))^-1*(c+d*x))+-1*d^-1*Polylogarithms.polylog(2,b^(1/2)*(c*b^(1/2)+-1*d*(-1a)^(1/2))^-1*(c+d*x))+2*d^-1*Polylogarithms.polylog(2,1+d*x*c^-1)+d^-1*log(b+a*x^-2)*log(c+d*x)+-1*d^-1*log(d*(c*b^(1/2)+d*(-1a)^(1/2))^-1*((-1a)^(1/2)+-1*x*b^(1/2)))*log(c+d*x)+-1*d^-1*log(-1*d*(c*b^(1/2)+-1*d*(-1a)^(1/2))^-1*((-1a)^(1/2)+x*b^(1/2)))*log(c+d*x)+2*d^-1*log(-1*d*x*c^-1)*log(c+d*x))
@test integrate(x^3*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^(1/2))^n))+-1//32*b*n*x^4+-1//4*b*n*d^8*e^-8*log(d+e*x^(1/2))+-1//8*b*n*x*d^6*e^-6+-1//16*b*n*d^4*e^-4*x^2+-1//24*b*n*d^2*e^-2*x^3+1//4*b*n*d^7*e^-7*x^(1/2)+1//12*b*n*d^5*e^-5*x^3//2+1//20*b*n*d^3*e^-3*x^5//2+1//28*b*d*n*e^-1*x^7//2)
@test integrate(x^2*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^(1/2))^n))+-1//18*b*n*x^3+-1//3*b*n*d^6*e^-6*log(d+e*x^(1/2))+-1//6*b*n*x*d^4*e^-4+-1//12*b*n*d^2*e^-2*x^2+1//3*b*n*d^5*e^-5*x^(1/2)+1//9*b*n*d^3*e^-3*x^3//2+1//15*b*d*n*e^-1*x^5//2)
@test integrate(x*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^(1/2))^n))+-1//8*b*n*x^2+(1/2)*b*n*d^3*e^-3*x^(1/2)+-1//2*b*n*d^4*e^-4*log(d+e*x^(1/2))+-1//4*b*n*x*d^2*e^-2+1//6*b*d*n*e^-1*x^3//2)
@test integrate(a+b*log(c*(d+e*x^(1/2))^n), x) == :(a*x+b*x*log(c*(d+e*x^(1/2))^n)+-1//2*b*n*x+b*d*n*e^-1*x^(1/2)+-1*b*n*d^2*e^-2*log(d+e*x^(1/2)))
@test integrate(x^-1*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :((2a+2*b*log(c*(d+e*x^(1/2))^n))*log(-1*e*d^-1*x^(1/2))+2*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^(1/2)))
@test integrate(x^-2*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))+b*n*d^-2*e^2*log(d+e*x^(1/2))+-1*b*e*n*d^-1*x^-1//2+-1//2*b*n*d^-2*e^2*log(x))
@test integrate(x^-3*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^(1/2))^n))+(1/2)*b*n*d^-4*e^4*log(d+e*x^(1/2))+-1//2*b*n*d^-3*e^3*x^-1//2+-1//4*b*n*d^-4*e^4*log(x)+-1//6*b*e*n*d^-1*x^-3//2+1//4*b*n*d^-2*e^2*x^-1)
@test integrate(x^-4*(a+b*log(c*(d+e*x^(1/2))^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^(1/2))^n))+-1//3*b*n*d^-5*e^5*x^-1//2+-1//6*b*n*d^-6*e^6*log(x)+-1//9*b*n*d^-3*e^3*x^-3//2+-1//15*b*e*n*d^-1*x^-5//2+1//3*b*n*d^-6*e^6*log(d+e*x^(1/2))+1//6*b*n*d^-4*e^4*x^-1+1//12*b*n*d^-2*e^2*x^-2)
@test integrate(x^2*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^(1/2))^n))^2+1//54*b^2*e^-6*n^2*(d+e*x^(1/2))^6+-4*b^2*d^5*e^-5*n^2*x^(1/2)+-40//27*b^2*d^3*e^-6*n^2*(d+e*x^(1/2))^3+-4//25*d*b^2*e^-6*n^2*(d+e*x^(1/2))^5+-1//9*b*n*e^-6*(d+e*x^(1/2))^6*(a+b*log(c*(d+e*x^(1/2))^n))+1//3*b^2*d^6*e^-6*n^2*log(d+e*x^(1/2))^2+5//2*b^2*d^4*e^-6*n^2*(d+e*x^(1/2))^2+5//8*b^2*d^2*e^-6*n^2*(d+e*x^(1/2))^4+-5*b*n*d^4*e^-6*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n))+4*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2))+-5//2*b*n*d^2*e^-6*(d+e*x^(1/2))^4*(a+b*log(c*(d+e*x^(1/2))^n))+-2//3*b*n*d^6*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))*log(d+e*x^(1/2))+4//5*b*d*n*e^-6*(d+e*x^(1/2))^5*(a+b*log(c*(d+e*x^(1/2))^n))+40//9*b*n*d^3*e^-6*(d+e*x^(1/2))^3*(a+b*log(c*(d+e*x^(1/2))^n)))
@test integrate(x*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^(1/2))^n))^2+1//16*b^2*e^-4*n^2*(d+e*x^(1/2))^4+(1/2)*b^2*d^4*e^-4*n^2*log(d+e*x^(1/2))^2+-4*b^2*d^3*e^-3*n^2*x^(1/2)+-4//9*d*b^2*e^-4*n^2*(d+e*x^(1/2))^3+-1//4*b*n*e^-4*(d+e*x^(1/2))^4*(a+b*log(c*(d+e*x^(1/2))^n))+3//2*b^2*d^2*e^-4*n^2*(d+e*x^(1/2))^2+-1*b*n*d^4*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))*log(d+e*x^(1/2))+-3*b*n*d^2*e^-4*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n))+4*b*n*d^3*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2))+4//3*b*d*n*e^-4*(d+e*x^(1/2))^3*(a+b*log(c*(d+e*x^(1/2))^n)))
@test integrate((a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^2+(1/2)*b^2*e^-2*n^2*(d+e*x^(1/2))^2+-2*d*e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))+-1*b*n*e^-2*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n))+-4*d*b^2*e^-1*n^2*x^(1/2)+4*a*b*d*n*e^-1*x^(1/2)+4*d*n*b^2*e^-2*(d+e*x^(1/2))*log(c*(d+e*x^(1/2))^n))
@test integrate(x^-1*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(2*(a+b*log(c*(d+e*x^(1/2))^n))^2*log(-1*e*d^-1*x^(1/2))+-4*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^(1/2))+4*b*n*(a+b*log(c*(d+e*x^(1/2))^n))*Polylogarithms.polylog(2,1+e*d^-1*x^(1/2)))
@test integrate(x^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))^2+b^2*d^-2*e^2*n^2*log(x)+2*b^2*d^-2*e^2*n^2*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+-2*b*n*d^-2*e^2*(a+b*log(c*(d+e*x^(1/2))^n))*log(1+-1*d*(d+e*x^(1/2))^-1)+-2*b*e*n*d^-2*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2)))
@test integrate(x^-3*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2+b^2*d^-4*e^4*n^2*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+-5//6*b^2*d^-4*e^4*n^2*log(d+e*x^(1/2))+-1//6*b^2*d^-2*e^2*n^2*x^-1+5//6*b^2*d^-3*e^3*n^2*x^-1//2+11//12*b^2*d^-4*e^4*n^2*log(x)+(1/2)*b*n*d^-2*e^2*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))+-1*b*n*d^-4*e^4*(a+b*log(c*(d+e*x^(1/2))^n))*log(1+-1*d*(d+e*x^(1/2))^-1)+-1//3*b*e*n*d^-1*x^-3//2*(a+b*log(c*(d+e*x^(1/2))^n))+-1*b*n*d^-4*e^3*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2)))
@test integrate(x^-4*(a+b*log(c*(d+e*x^(1/2))^n))^2, x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^(1/2))^n))^2+-77//90*b^2*d^-6*e^6*n^2*log(d+e*x^(1/2))+-47//180*b^2*d^-4*e^4*n^2*x^-1+-1//30*b^2*d^-2*e^2*n^2*x^-2+1//10*b^2*d^-3*e^3*n^2*x^-3//2+2//3*b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+77//90*b^2*d^-5*e^5*n^2*x^-1//2+137//180*b^2*d^-6*e^6*n^2*log(x)+-2//3*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^(1/2))^n))*log(1+-1*d*(d+e*x^(1/2))^-1)+-2//9*b*n*d^-3*e^3*x^-3//2*(a+b*log(c*(d+e*x^(1/2))^n))+-2//15*b*e*n*d^-1*x^-5//2*(a+b*log(c*(d+e*x^(1/2))^n))+1//3*b*n*d^-4*e^4*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))+1//6*b*n*d^-2*e^2*x^-2*(a+b*log(c*(d+e*x^(1/2))^n))+-2//3*b*n*d^-6*e^5*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2)))
@test integrate(x^2*(a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :(1//3*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^6+-2*d*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^5+-2*d^5*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))+5*d^2*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^4+5*d^4*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^2+-20//3*d^3*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^3+-1//108*b^3*e^-6*n^3*(d+e*x^(1/2))^6+12*b^3*d^5*e^-5*n^3*x^(1/2)+-15//4*b^3*d^4*e^-6*n^3*(d+e*x^(1/2))^2+-15//32*b^3*d^2*e^-6*n^3*(d+e*x^(1/2))^4+-1//6*b*n*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^6+1//18*b^2*e^-6*n^2*(d+e*x^(1/2))^6*(a+b*log(c*(d+e*x^(1/2))^n))+12//125*d*b^3*e^-6*n^3*(d+e*x^(1/2))^5+40//27*b^3*d^3*e^-6*n^3*(d+e*x^(1/2))^3+-12*a*b^2*d^5*e^-5*n^2*x^(1/2)+-12*b^3*d^5*e^-6*n^2*(d+e*x^(1/2))*log(c*(d+e*x^(1/2))^n)+6*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))+-40//9*b^2*d^3*e^-6*n^2*(d+e*x^(1/2))^3*(a+b*log(c*(d+e*x^(1/2))^n))+-15//2*b*n*d^4*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^2+-15//4*b*n*d^2*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^4+-12//25*d*b^2*e^-6*n^2*(d+e*x^(1/2))^5*(a+b*log(c*(d+e*x^(1/2))^n))+6//5*b*d*n*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^5+15//2*b^2*d^4*e^-6*n^2*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n))+15//8*b^2*d^2*e^-6*n^2*(d+e*x^(1/2))^4*(a+b*log(c*(d+e*x^(1/2))^n))+20//3*b*n*d^3*e^-6*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^3)
@test integrate(x*(a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :((1/2)*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^4+-2*d*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^3+-2*d^3*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))+3*d^2*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^2+-3//64*b^3*e^-4*n^3*(d+e*x^(1/2))^4+12*b^3*d^3*e^-3*n^3*x^(1/2)+-9//4*b^3*d^2*e^-4*n^3*(d+e*x^(1/2))^2+-3//8*b*n*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^4+3//16*b^2*e^-4*n^2*(d+e*x^(1/2))^4*(a+b*log(c*(d+e*x^(1/2))^n))+4//9*d*b^3*e^-4*n^3*(d+e*x^(1/2))^3+-12*a*b^2*d^3*e^-3*n^2*x^(1/2)+-12*b^3*d^3*e^-4*n^2*(d+e*x^(1/2))*log(c*(d+e*x^(1/2))^n)+2*b*d*n*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^3+6*b*n*d^3*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))+-9//2*b*n*d^2*e^-4*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^2+-4//3*d*b^2*e^-4*n^2*(d+e*x^(1/2))^3*(a+b*log(c*(d+e*x^(1/2))^n))+9//2*b^2*d^2*e^-4*n^2*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n)))
@test integrate((a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :(e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))^2+-2*d*e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^3*(d+e*x^(1/2))+-3//4*b^3*e^-2*n^3*(d+e*x^(1/2))^2+12*d*b^3*e^-1*n^3*x^(1/2)+-3//2*b*n*e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))^2+3//2*b^2*e^-2*n^2*(d+e*x^(1/2))^2*(a+b*log(c*(d+e*x^(1/2))^n))+-12*a*d*b^2*e^-1*n^2*x^(1/2)+-12*d*b^3*e^-2*n^2*(d+e*x^(1/2))*log(c*(d+e*x^(1/2))^n)+6*b*d*n*e^-2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2)))
@test integrate(x^-1*(a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :(2*(a+b*log(c*(d+e*x^(1/2))^n))^3*log(-1*e*d^-1*x^(1/2))+12*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^(1/2))+-12*b^2*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*Polylogarithms.polylog(3,1+e*d^-1*x^(1/2))+6*b*n*(a+b*log(c*(d+e*x^(1/2))^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^(1/2)))
@test integrate(x^-2*(a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))^3+6*b^3*d^-2*e^2*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^(1/2))+6*b^3*d^-2*e^2*n^3*Polylogarithms.polylog(3,d*(d+e*x^(1/2))^-1)+-3*b*n*d^-2*e^2*(a+b*log(c*(d+e*x^(1/2))^n))^2*log(1+-1*d*(d+e*x^(1/2))^-1)+6*b^2*d^-2*e^2*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+6*b^2*d^-2*e^2*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*log(-1*e*d^-1*x^(1/2))+-3*b*e*n*d^-2*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2)))
@test integrate(x^-3*(a+b*log(c*(d+e*x^(1/2))^n))^3, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^(1/2))^n))^3+(1/2)*b^3*d^-4*e^4*n^3*log(d+e*x^(1/2))+3*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^(1/2))+3*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(3,d*(d+e*x^(1/2))^-1)+-5//2*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+-3//2*b^3*d^-4*e^4*n^3*log(x)+-1//2*b^3*d^-3*e^3*n^3*x^-1//2+3*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*Polylogarithms.polylog(2,d*(d+e*x^(1/2))^-1)+3*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*log(-1*e*d^-1*x^(1/2))+-3//2*b*n*d^-4*e^4*(a+b*log(c*(d+e*x^(1/2))^n))^2*log(1+-1*d*(d+e*x^(1/2))^-1)+-1//2*b*e*n*d^-1*x^-3//2*(a+b*log(c*(d+e*x^(1/2))^n))^2+-1//2*b^2*d^-2*e^2*n^2*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))+3//4*b*n*d^-2*e^2*x^-1*(a+b*log(c*(d+e*x^(1/2))^n))^2+5//2*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^(1/2))^n))*log(1+-1*d*(d+e*x^(1/2))^-1)+-3//2*b*n*d^-4*e^3*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))^2*(d+e*x^(1/2))+5//2*b^2*d^-4*e^3*n^2*x^-1//2*(a+b*log(c*(d+e*x^(1/2))^n))*(d+e*x^(1/2)))
@test integrate(x^3*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^-1//2)^n))+-1//4*b*n*d^-8*e^8*log(d+e*x^-1//2)+-1//8*b*n*x*d^-6*e^6+-1//8*b*n*d^-8*e^8*log(x)+-1//16*b*n*d^-4*e^4*x^2+-1//24*b*n*d^-2*e^2*x^3+1//4*b*n*d^-7*e^7*x^(1/2)+1//12*b*n*d^-5*e^5*x^3//2+1//20*b*n*d^-3*e^3*x^5//2+1//28*b*e*n*d^-1*x^7//2)
@test integrate(x^2*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-1//2)^n))+-1//3*b*n*d^-6*e^6*log(d+e*x^-1//2)+-1//6*b*n*x*d^-4*e^4+-1//6*b*n*d^-6*e^6*log(x)+-1//12*b*n*d^-2*e^2*x^2+1//3*b*n*d^-5*e^5*x^(1/2)+1//9*b*n*d^-3*e^3*x^3//2+1//15*b*e*n*d^-1*x^5//2)
@test integrate(x*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//2)^n))+(1/2)*b*n*d^-3*e^3*x^(1/2)+-1//2*b*n*d^-4*e^4*log(d+e*x^-1//2)+-1//4*b*n*x*d^-2*e^2+-1//4*b*n*d^-4*e^4*log(x)+1//6*b*e*n*d^-1*x^3//2)
@test integrate(a+b*log(c*(d+e*x^-1//2)^n), x) == :(a*x+b*x*log(c*(d+e*x^-1//2)^n)+b*e*n*d^-1*x^(1/2)+-1*b*n*d^-2*e^2*log(e+d*x^(1/2)))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :((-2a+-2*b*log(c*(d+e*x^-1//2)^n))*log(-1*e*d^-1*x^-1//2)+-2*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^-1//2))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^-1//2)^n))+(1/2)*b*n*x^-1+b*n*d^2*e^-2*log(d+e*x^-1//2)+-1*b*d*n*e^-1*x^-1//2)
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-1//2)^n))+1//8*b*n*x^-2+(1/2)*b*n*d^4*e^-4*log(d+e*x^-1//2)+-1//2*b*n*d^3*e^-3*x^-1//2+-1//6*b*d*n*e^-1*x^-3//2+1//4*b*n*d^2*e^-2*x^-1)
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//2)^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^-1//2)^n))+1//18*b*n*x^-3+-1//3*b*n*d^5*e^-5*x^-1//2+-1//9*b*n*d^3*e^-3*x^-3//2+-1//15*b*d*n*e^-1*x^-5//2+1//3*b*n*d^6*e^-6*log(d+e*x^-1//2)+1//6*b*n*d^4*e^-4*x^-1+1//12*b*n*d^2*e^-2*x^-2)
@test integrate(x^2*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-1//2)^n))^2+-77//90*b^2*d^-5*e^5*n^2*x^(1/2)+-2//3*b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+-1//10*b^2*d^-3*e^3*n^2*x^3//2+1//30*b^2*d^-2*e^2*n^2*x^2+47//180*x*b^2*d^-4*e^4*n^2+77//90*b^2*d^-6*e^6*n^2*log(d+e*x^-1//2)+137//180*b^2*d^-6*e^6*n^2*log(x)+-1//3*b*n*x*d^-4*e^4*(a+b*log(c*(d+e*x^-1//2)^n))+-1//6*b*n*d^-2*e^2*x^2*(a+b*log(c*(d+e*x^-1//2)^n))+2//3*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^-1//2)^n))*log(1+-1*d*(d+e*x^-1//2)^-1)+2//9*b*n*d^-3*e^3*x^3//2*(a+b*log(c*(d+e*x^-1//2)^n))+2//15*b*e*n*d^-1*x^5//2*(a+b*log(c*(d+e*x^-1//2)^n))+2//3*b*n*d^-6*e^5*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2))
@test integrate(x*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//2)^n))^2+-1*b^2*d^-4*e^4*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+-5//6*b^2*d^-3*e^3*n^2*x^(1/2)+1//6*x*b^2*d^-2*e^2*n^2+5//6*b^2*d^-4*e^4*n^2*log(d+e*x^-1//2)+11//12*b^2*d^-4*e^4*n^2*log(x)+b*n*d^-4*e^4*(a+b*log(c*(d+e*x^-1//2)^n))*log(1+-1*d*(d+e*x^-1//2)^-1)+-1//2*b*n*x*d^-2*e^2*(a+b*log(c*(d+e*x^-1//2)^n))+1//3*b*e*n*d^-1*x^3//2*(a+b*log(c*(d+e*x^-1//2)^n))+b*n*d^-4*e^3*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2))
@test integrate((a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(x*(a+b*log(c*(d+e*x^-1//2)^n))^2+b^2*d^-2*e^2*n^2*log(x)+-2*b^2*d^-2*e^2*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+2*b*n*d^-2*e^2*(a+b*log(c*(d+e*x^-1//2)^n))*log(1+-1*d*(d+e*x^-1//2)^-1)+2*b*e*n*d^-2*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(-2*(a+b*log(c*(d+e*x^-1//2)^n))^2*log(-1*e*d^-1*x^-1//2)+4*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^-1//2)+-4*b*n*(a+b*log(c*(d+e*x^-1//2)^n))*Polylogarithms.polylog(2,1+e*d^-1*x^-1//2))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(-1*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^2+2*d*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)+-1//2*b^2*e^-2*n^2*(d+e*x^-1//2)^2+b*n*e^-2*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+4*d*b^2*e^-1*n^2*x^-1//2+-4*a*b*d*n*e^-1*x^-1//2+-4*d*n*b^2*e^-2*(d+e*x^-1//2)*log(c*(d+e*x^-1//2)^n))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2+-1//16*b^2*e^-4*n^2*(d+e*x^-1//2)^4+4*b^2*d^3*e^-3*n^2*x^-1//2+-3//2*b^2*d^2*e^-4*n^2*(d+e*x^-1//2)^2+-1//2*b^2*d^4*e^-4*n^2*log(d+e*x^-1//2)^2+1//4*b*n*e^-4*(d+e*x^-1//2)^4*(a+b*log(c*(d+e*x^-1//2)^n))+4//9*d*b^2*e^-4*n^2*(d+e*x^-1//2)^3+b*n*d^4*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))*log(d+e*x^-1//2)+-4*b*n*d^3*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2)+3*b*n*d^2*e^-4*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+-4//3*b*d*n*e^-4*(d+e*x^-1//2)^3*(a+b*log(c*(d+e*x^-1//2)^n)))
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//2)^n))^2, x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^-1//2)^n))^2+-1//54*b^2*e^-6*n^2*(d+e*x^-1//2)^6+4*b^2*d^5*e^-5*n^2*x^-1//2+-5//2*b^2*d^4*e^-6*n^2*(d+e*x^-1//2)^2+-5//8*b^2*d^2*e^-6*n^2*(d+e*x^-1//2)^4+-1//3*b^2*d^6*e^-6*n^2*log(d+e*x^-1//2)^2+1//9*b*n*e^-6*(d+e*x^-1//2)^6*(a+b*log(c*(d+e*x^-1//2)^n))+4//25*d*b^2*e^-6*n^2*(d+e*x^-1//2)^5+40//27*b^2*d^3*e^-6*n^2*(d+e*x^-1//2)^3+-4*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2)+5*b*n*d^4*e^-6*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+-40//9*b*n*d^3*e^-6*(d+e*x^-1//2)^3*(a+b*log(c*(d+e*x^-1//2)^n))+-4//5*b*d*n*e^-6*(d+e*x^-1//2)^5*(a+b*log(c*(d+e*x^-1//2)^n))+2//3*b*n*d^6*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))*log(d+e*x^-1//2)+5//2*b*n*d^2*e^-6*(d+e*x^-1//2)^4*(a+b*log(c*(d+e*x^-1//2)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//2)^n))^3+(1/2)*b^3*d^-3*e^3*n^3*x^(1/2)+-3*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-1//2)+-3*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(3,d*(d+e*x^-1//2)^-1)+-3//2*b^3*d^-4*e^4*n^3*log(x)+-1//2*b^3*d^-4*e^4*n^3*log(d+e*x^-1//2)+5//2*b^3*d^-4*e^4*n^3*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+(1/2)*b*e*n*d^-1*x^3//2*(a+b*log(c*(d+e*x^-1//2)^n))^2+(1/2)*x*b^2*d^-2*e^2*n^2*(a+b*log(c*(d+e*x^-1//2)^n))+-3*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+-3*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*log(-1*e*d^-1*x^-1//2)+-5//2*b^2*d^-4*e^4*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*log(1+-1*d*(d+e*x^-1//2)^-1)+-3//4*b*n*x*d^-2*e^2*(a+b*log(c*(d+e*x^-1//2)^n))^2+3//2*b*n*d^-4*e^4*(a+b*log(c*(d+e*x^-1//2)^n))^2*log(1+-1*d*(d+e*x^-1//2)^-1)+-5//2*b^2*d^-4*e^3*n^2*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))*(d+e*x^-1//2)+3//2*b*n*d^-4*e^3*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2))
@test integrate((a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :(x*(a+b*log(c*(d+e*x^-1//2)^n))^3+-6*b^3*d^-2*e^2*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-1//2)+-6*b^3*d^-2*e^2*n^3*Polylogarithms.polylog(3,d*(d+e*x^-1//2)^-1)+-6*b^2*d^-2*e^2*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*Polylogarithms.polylog(2,d*(d+e*x^-1//2)^-1)+-6*b^2*d^-2*e^2*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*log(-1*e*d^-1*x^-1//2)+3*b*n*d^-2*e^2*(a+b*log(c*(d+e*x^-1//2)^n))^2*log(1+-1*d*(d+e*x^-1//2)^-1)+3*b*e*n*d^-2*x^(1/2)*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :(-2*(a+b*log(c*(d+e*x^-1//2)^n))^3*log(-1*e*d^-1*x^-1//2)+-12*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^-1//2)+-6*b*n*(a+b*log(c*(d+e*x^-1//2)^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^-1//2)+12*b^2*n^2*(a+b*log(c*(d+e*x^-1//2)^n))*Polylogarithms.polylog(3,1+e*d^-1*x^-1//2))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :(-1*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^2+2*d*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)+3//4*b^3*e^-2*n^3*(d+e*x^-1//2)^2+-12*d*b^3*e^-1*n^3*x^-1//2+-3//2*b^2*e^-2*n^2*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+3//2*b*n*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^2+-6*b*d*n*e^-2*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)+12*a*d*b^2*e^-1*n^2*x^-1//2+12*d*b^3*e^-2*n^2*(d+e*x^-1//2)*log(c*(d+e*x^-1//2)^n))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :(-1//2*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^4+-3*d^2*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^2+2*d*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^3+2*d^3*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)+3//64*b^3*e^-4*n^3*(d+e*x^-1//2)^4+-12*b^3*d^3*e^-3*n^3*x^-1//2+-4//9*d*b^3*e^-4*n^3*(d+e*x^-1//2)^3+-3//16*b^2*e^-4*n^2*(d+e*x^-1//2)^4*(a+b*log(c*(d+e*x^-1//2)^n))+3//8*b*n*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^4+9//4*b^3*d^2*e^-4*n^3*(d+e*x^-1//2)^2+-6*b*n*d^3*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)+-2*b*d*n*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^3+12*a*b^2*d^3*e^-3*n^2*x^-1//2+12*b^3*d^3*e^-4*n^2*(d+e*x^-1//2)*log(c*(d+e*x^-1//2)^n)+-9//2*b^2*d^2*e^-4*n^2*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+4//3*d*b^2*e^-4*n^2*(d+e*x^-1//2)^3*(a+b*log(c*(d+e*x^-1//2)^n))+9//2*b*n*d^2*e^-4*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^2)
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//2)^n))^3, x) == :(-1//3*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^6+-5*d^2*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^4+-5*d^4*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^2+2*d*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^5+2*d^5*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)+1//108*b^3*e^-6*n^3*(d+e*x^-1//2)^6+20//3*d^3*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^3*(d+e*x^-1//2)^3+-12*b^3*d^5*e^-5*n^3*x^-1//2+-40//27*b^3*d^3*e^-6*n^3*(d+e*x^-1//2)^3+-12//125*d*b^3*e^-6*n^3*(d+e*x^-1//2)^5+-1//18*b^2*e^-6*n^2*(d+e*x^-1//2)^6*(a+b*log(c*(d+e*x^-1//2)^n))+1//6*b*n*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^6+15//4*b^3*d^4*e^-6*n^3*(d+e*x^-1//2)^2+15//32*b^3*d^2*e^-6*n^3*(d+e*x^-1//2)^4+-6*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)+12*a*b^2*d^5*e^-5*n^2*x^-1//2+12*b^3*d^5*e^-6*n^2*(d+e*x^-1//2)*log(c*(d+e*x^-1//2)^n)+-20//3*b*n*d^3*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^3+-15//2*b^2*d^4*e^-6*n^2*(d+e*x^-1//2)^2*(a+b*log(c*(d+e*x^-1//2)^n))+-15//8*b^2*d^2*e^-6*n^2*(d+e*x^-1//2)^4*(a+b*log(c*(d+e*x^-1//2)^n))+-6//5*b*d*n*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^5+12//25*d*b^2*e^-6*n^2*(d+e*x^-1//2)^5*(a+b*log(c*(d+e*x^-1//2)^n))+15//2*b*n*d^4*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^2+15//4*b*n*d^2*e^-6*(a+b*log(c*(d+e*x^-1//2)^n))^2*(d+e*x^-1//2)^4+40//9*b^2*d^3*e^-6*n^2*(d+e*x^-1//2)^3*(a+b*log(c*(d+e*x^-1//2)^n)))
@test integrate(x^3*(a+b*log(c*(d+e*x^1//3)^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^1//3)^n))+-1//48*b*n*x^4+-1//4*b*n*d^12*e^-12*log(d+e*x^1//3)+-1//8*b*n*d^10*e^-10*x^2//3+-1//16*b*n*d^8*e^-8*x^4//3+-1//24*b*n*d^6*e^-6*x^2+-1//32*b*n*d^4*e^-4*x^8//3+-1//40*b*n*d^2*e^-2*x^10//3+1//4*b*n*d^11*e^-11*x^1//3+1//12*b*n*x*d^9*e^-9+1//20*b*n*d^7*e^-7*x^5//3+1//28*b*n*d^5*e^-5*x^7//3+1//36*b*n*d^3*e^-3*x^3+1//44*b*d*n*e^-1*x^11//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^1//3)^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^1//3)^n))+-1//27*b*n*x^3+-1//3*b*n*d^8*e^-8*x^1//3+-1//9*b*n*x*d^6*e^-6+-1//15*b*n*d^4*e^-4*x^5//3+-1//21*b*n*d^2*e^-2*x^7//3+1//3*b*n*d^9*e^-9*log(d+e*x^1//3)+1//6*b*n*d^7*e^-7*x^2//3+1//12*b*n*d^5*e^-5*x^4//3+1//18*b*n*d^3*e^-3*x^2+1//24*b*d*n*e^-1*x^8//3)
@test integrate(x*(a+b*log(c*(d+e*x^1//3)^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^1//3)^n))+-1//12*b*n*x^2+(1/2)*b*n*d^5*e^-5*x^1//3+-1//2*b*n*d^6*e^-6*log(d+e*x^1//3)+-1//4*b*n*d^4*e^-4*x^2//3+-1//8*b*n*d^2*e^-2*x^4//3+1//6*b*n*x*d^3*e^-3+1//10*b*d*n*e^-1*x^5//3)
@test integrate(a+b*log(c*(d+e*x^1//3)^n), x) == :(a*x+b*x*log(c*(d+e*x^1//3)^n)+-1//3*b*n*x+b*n*d^3*e^-3*log(d+e*x^1//3)+(1/2)*b*d*n*e^-1*x^2//3+-1*b*n*d^2*e^-2*x^1//3)
@test integrate(x^-1*(a+b*log(c*(d+e*x^1//3)^n)), x) == :((3a+3*b*log(c*(d+e*x^1//3)^n))*log(-1*e*d^-1*x^1//3)+3*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^1//3)^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^1//3)^n))+b*n*d^-2*e^2*x^-1//3+-1*b*n*d^-3*e^3*log(d+e*x^1//3)+-1//2*b*e*n*d^-1*x^-2//3+1//3*b*n*d^-3*e^3*log(x))
@test integrate(x^-3*(a+b*log(c*(d+e*x^1//3)^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^1//3)^n))+(1/2)*b*n*d^-6*e^6*log(d+e*x^1//3)+-1//2*b*n*d^-5*e^5*x^-1//3+-1//6*b*n*d^-6*e^6*log(x)+-1//6*b*n*d^-3*e^3*x^-1+-1//10*b*e*n*d^-1*x^-5//3+1//4*b*n*d^-4*e^4*x^-2//3+1//8*b*n*d^-2*e^2*x^-4//3)
@test integrate(x^-4*(a+b*log(c*(d+e*x^1//3)^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^1//3)^n))+-1//3*b*n*d^-9*e^9*log(d+e*x^1//3)+-1//6*b*n*d^-7*e^7*x^-2//3+-1//12*b*n*d^-5*e^5*x^-4//3+-1//18*b*n*d^-3*e^3*x^-2+-1//24*b*e*n*d^-1*x^-8//3+1//3*b*n*d^-8*e^8*x^-1//3+1//9*b*n*d^-9*e^9*log(x)+1//9*b*n*d^-6*e^6*x^-1+1//15*b*n*d^-4*e^4*x^-5//3+1//21*b*n*d^-2*e^2*x^-7//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^1//3)^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^1//3)^n))^2+2//243*b^2*e^-9*n^2*(d+e*x^1//3)^9+-6*b^2*d^7*e^-9*n^2*(d+e*x^1//3)^2+6*b^2*d^8*e^-8*n^2*x^1//3+-21//4*b^2*d^5*e^-9*n^2*(d+e*x^1//3)^4+-14//9*b^2*d^3*e^-9*n^2*(d+e*x^1//3)^6+-3//32*d*b^2*e^-9*n^2*(d+e*x^1//3)^8+-2//27*b*n*e^-9*(d+e*x^1//3)^9*(a+b*log(c*(d+e*x^1//3)^n))+-1//3*b^2*d^9*e^-9*n^2*log(d+e*x^1//3)^2+24//49*b^2*d^2*e^-9*n^2*(d+e*x^1//3)^7+56//9*b^2*d^6*e^-9*n^2*(d+e*x^1//3)^3+84//25*b^2*d^4*e^-9*n^2*(d+e*x^1//3)^5+-6*b*n*d^8*e^-9*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3)+12*b*n*d^7*e^-9*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+21*b*n*d^5*e^-9*(d+e*x^1//3)^4*(a+b*log(c*(d+e*x^1//3)^n))+-84//5*b*n*d^4*e^-9*(d+e*x^1//3)^5*(a+b*log(c*(d+e*x^1//3)^n))+-56//3*b*n*d^6*e^-9*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+-24//7*b*n*d^2*e^-9*(d+e*x^1//3)^7*(a+b*log(c*(d+e*x^1//3)^n))+2//3*b*n*d^9*e^-9*(a+b*log(c*(d+e*x^1//3)^n))*log(d+e*x^1//3)+3//4*b*d*n*e^-9*(d+e*x^1//3)^8*(a+b*log(c*(d+e*x^1//3)^n))+28//3*b*n*d^3*e^-9*(d+e*x^1//3)^6*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^1//3)^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^1//3)^n))^2+1//36*b^2*e^-6*n^2*(d+e*x^1//3)^6+(1/2)*b^2*d^6*e^-6*n^2*log(d+e*x^1//3)^2+-6*b^2*d^5*e^-5*n^2*x^1//3+-20//9*b^2*d^3*e^-6*n^2*(d+e*x^1//3)^3+-6//25*d*b^2*e^-6*n^2*(d+e*x^1//3)^5+-1//6*b*n*e^-6*(d+e*x^1//3)^6*(a+b*log(c*(d+e*x^1//3)^n))+15//4*b^2*d^4*e^-6*n^2*(d+e*x^1//3)^2+15//16*b^2*d^2*e^-6*n^2*(d+e*x^1//3)^4+-1*b*n*d^6*e^-6*(a+b*log(c*(d+e*x^1//3)^n))*log(d+e*x^1//3)+6*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3)+-15//2*b*n*d^4*e^-6*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+-15//4*b*n*d^2*e^-6*(d+e*x^1//3)^4*(a+b*log(c*(d+e*x^1//3)^n))+6//5*b*d*n*e^-6*(d+e*x^1//3)^5*(a+b*log(c*(d+e*x^1//3)^n))+20//3*b*n*d^3*e^-6*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate((a+b*log(c*(d+e*x^1//3)^n))^2, x) == :(x*(a+b*log(c*(d+e*x^1//3)^n))^2+2//9*b^2*e^-3*n^2*(d+e*x^1//3)^3+-1*b^2*d^3*e^-3*n^2*log(d+e*x^1//3)^2+6*b^2*d^2*e^-2*n^2*x^1//3+-3//2*d*b^2*e^-3*n^2*(d+e*x^1//3)^2+-2//3*b*n*e^-3*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+-6*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3)+2*b*n*d^3*e^-3*(a+b*log(c*(d+e*x^1//3)^n))*log(d+e*x^1//3)+3*b*d*n*e^-3*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate(x^-1*(a+b*log(c*(d+e*x^1//3)^n))^2, x) == :(3*(a+b*log(c*(d+e*x^1//3)^n))^2*log(-1*e*d^-1*x^1//3)+-6*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^1//3)+6*b*n*(a+b*log(c*(d+e*x^1//3)^n))*Polylogarithms.polylog(2,1+e*d^-1*x^1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^1//3)^n))^2, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^1//3)^n))^2+b^2*d^-3*e^3*n^2*log(d+e*x^1//3)+-1*b^2*d^-3*e^3*n^2*log(x)+-1*b^2*d^-2*e^2*n^2*x^-1//3+-2*b^2*d^-3*e^3*n^2*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+-1*b*e*n*d^-1*x^-2//3*(a+b*log(c*(d+e*x^1//3)^n))+2*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^1//3)^n))*log(1+-1*d*(d+e*x^1//3)^-1)+2*b*n*d^-3*e^2*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^1//3)^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^1//3)^n))^2+b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+-77//60*b^2*d^-6*e^6*n^2*log(d+e*x^1//3)+-47//120*b^2*d^-4*e^4*n^2*x^-2//3+-1//20*b^2*d^-2*e^2*n^2*x^-4//3+3//20*b^2*d^-3*e^3*n^2*x^-1+77//60*b^2*d^-5*e^5*n^2*x^-1//3+137//180*b^2*d^-6*e^6*n^2*log(x)+(1/2)*b*n*d^-4*e^4*x^-2//3*(a+b*log(c*(d+e*x^1//3)^n))+-1*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^1//3)^n))*log(1+-1*d*(d+e*x^1//3)^-1)+-1//3*b*n*d^-3*e^3*x^-1*(a+b*log(c*(d+e*x^1//3)^n))+-1//5*b*e*n*d^-1*x^-5//3*(a+b*log(c*(d+e*x^1//3)^n))+1//4*b*n*d^-2*e^2*x^-4//3*(a+b*log(c*(d+e*x^1//3)^n))+-1*b*n*d^-6*e^5*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3))
@test integrate(x^3*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(1//4*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^12+-198*d^5*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^7+-198*d^7*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^5+-55*d^3*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^9+-55*d^9*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^3+-3*d*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^11+-3*d^11*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)+231*d^6*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^6+-1//1152*b^3*e^-12*n^3*(d+e*x^1//3)^12+33//2*d^2*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^10+33//2*d^10*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^2+495//4*d^4*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^8+495//4*d^8*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^4+18*b^3*d^11*e^-11*n^3*x^1//3+-1485//128*b^3*d^8*e^-12*n^3*(d+e*x^1//3)^4+-1485//1024*b^3*d^4*e^-12*n^3*(d+e*x^1//3)^8+-99//8*b^3*d^10*e^-12*n^3*(d+e*x^1//3)^2+-99//1000*b^3*d^2*e^-12*n^3*(d+e*x^1//3)^10+-77//12*b^3*d^6*e^-12*n^3*(d+e*x^1//3)^6+-1//16*b*n*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^12+1//96*b^2*e^-12*n^2*(d+e*x^1//3)^12*(a+b*log(c*(d+e*x^1//3)^n))+18//1331*d*b^3*e^-12*n^3*(d+e*x^1//3)^11+110//9*b^3*d^9*e^-12*n^3*(d+e*x^1//3)^3+110//243*b^3*d^3*e^-12*n^3*(d+e*x^1//3)^9+1188//125*b^3*d^7*e^-12*n^3*(d+e*x^1//3)^5+1188//343*b^3*d^5*e^-12*n^3*(d+e*x^1//3)^7+-18*a*b^2*d^11*e^-11*n^2*x^1//3+-18*b^3*d^11*e^-12*n^2*(d+e*x^1//3)*log(c*(d+e*x^1//3)^n)+9*b*n*d^11*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)+55*b*n*d^9*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^3+-1485//16*b*n*d^8*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^4+-1485//32*b*n*d^4*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^8+-1188//25*b^2*d^7*e^-12*n^2*(d+e*x^1//3)^5*(a+b*log(c*(d+e*x^1//3)^n))+-1188//49*b^2*d^5*e^-12*n^2*(d+e*x^1//3)^7*(a+b*log(c*(d+e*x^1//3)^n))+-231//2*b*n*d^6*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^6+-110//3*b^2*d^9*e^-12*n^2*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+-110//27*b^2*d^3*e^-12*n^2*(d+e*x^1//3)^9*(a+b*log(c*(d+e*x^1//3)^n))+-99//4*b*n*d^10*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^2+-99//20*b*n*d^2*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^10+-18//121*d*b^2*e^-12*n^2*(d+e*x^1//3)^11*(a+b*log(c*(d+e*x^1//3)^n))+9//11*b*d*n*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^11+55//3*b*n*d^3*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^9+77//2*b^2*d^6*e^-12*n^2*(d+e*x^1//3)^6*(a+b*log(c*(d+e*x^1//3)^n))+99//4*b^2*d^10*e^-12*n^2*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+99//100*b^2*d^2*e^-12*n^2*(d+e*x^1//3)^10*(a+b*log(c*(d+e*x^1//3)^n))+594//5*b*n*d^7*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^5+594//7*b*n*d^5*e^-12*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^7+1485//32*b^2*d^8*e^-12*n^2*(d+e*x^1//3)^4*(a+b*log(c*(d+e*x^1//3)^n))+1485//128*b^2*d^4*e^-12*n^2*(d+e*x^1//3)^8*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate(x^2*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(1//3*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^9+-42*d^5*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^4+-28*d^3*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^6+-12*d^7*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^2+-3*d*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^8+3*d^8*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)+12*d^2*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^7+28*d^6*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^3+42*d^4*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^5+-2//729*b^3*e^-9*n^3*(d+e*x^1//3)^9+-18*b^3*d^8*e^-8*n^3*x^1//3+9*b^3*d^7*e^-9*n^3*(d+e*x^1//3)^2+-252//125*b^3*d^4*e^-9*n^3*(d+e*x^1//3)^5+-72//343*b^3*d^2*e^-9*n^3*(d+e*x^1//3)^7+-56//9*b^3*d^6*e^-9*n^3*(d+e*x^1//3)^3+-1//9*b*n*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^9+2//81*b^2*e^-9*n^2*(d+e*x^1//3)^9*(a+b*log(c*(d+e*x^1//3)^n))+7//9*b^3*d^3*e^-9*n^3*(d+e*x^1//3)^6+9//256*d*b^3*e^-9*n^3*(d+e*x^1//3)^8+63//16*b^3*d^5*e^-9*n^3*(d+e*x^1//3)^4+-28*b*n*d^6*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^3+-18*b^2*d^7*e^-9*n^2*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+-9*b*n*d^8*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)+14*b*n*d^3*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^6+18*a*b^2*d^8*e^-8*n^2*x^1//3+18*b*n*d^7*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^2+18*b^3*d^8*e^-9*n^2*(d+e*x^1//3)*log(c*(d+e*x^1//3)^n)+-126//5*b*n*d^4*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^5+-63//4*b^2*d^5*e^-9*n^2*(d+e*x^1//3)^4*(a+b*log(c*(d+e*x^1//3)^n))+-36//7*b*n*d^2*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^7+-14//3*b^2*d^3*e^-9*n^2*(d+e*x^1//3)^6*(a+b*log(c*(d+e*x^1//3)^n))+-9//32*d*b^2*e^-9*n^2*(d+e*x^1//3)^8*(a+b*log(c*(d+e*x^1//3)^n))+9//8*b*d*n*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^8+56//3*b^2*d^6*e^-9*n^2*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+63//2*b*n*d^5*e^-9*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^4+72//49*b^2*d^2*e^-9*n^2*(d+e*x^1//3)^7*(a+b*log(c*(d+e*x^1//3)^n))+252//25*b^2*d^4*e^-9*n^2*(d+e*x^1//3)^5*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :((1/2)*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^6+-10*d^3*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^3+-3*d*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^5+-3*d^5*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)+-1//72*b^3*e^-6*n^3*(d+e*x^1//3)^6+15//2*d^2*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^4+15//2*d^4*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^2+18*b^3*d^5*e^-5*n^3*x^1//3+-45//8*b^3*d^4*e^-6*n^3*(d+e*x^1//3)^2+-45//64*b^3*d^2*e^-6*n^3*(d+e*x^1//3)^4+-1//4*b*n*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^6+1//12*b^2*e^-6*n^2*(d+e*x^1//3)^6*(a+b*log(c*(d+e*x^1//3)^n))+18//125*d*b^3*e^-6*n^3*(d+e*x^1//3)^5+20//9*b^3*d^3*e^-6*n^3*(d+e*x^1//3)^3+-18*a*b^2*d^5*e^-5*n^2*x^1//3+-18*b^3*d^5*e^-6*n^2*(d+e*x^1//3)*log(c*(d+e*x^1//3)^n)+9*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)+10*b*n*d^3*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^3+-45//4*b*n*d^4*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^2+-45//8*b*n*d^2*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^4+-20//3*b^2*d^3*e^-6*n^2*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+-18//25*d*b^2*e^-6*n^2*(d+e*x^1//3)^5*(a+b*log(c*(d+e*x^1//3)^n))+9//5*b*d*n*e^-6*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^5+45//4*b^2*d^4*e^-6*n^2*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+45//16*b^2*d^2*e^-6*n^2*(d+e*x^1//3)^4*(a+b*log(c*(d+e*x^1//3)^n)))
@test integrate((a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(e^-3*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^3+-3*d*e^-3*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)^2+3*d^2*e^-3*(a+b*log(c*(d+e*x^1//3)^n))^3*(d+e*x^1//3)+-2//9*b^3*e^-3*n^3*(d+e*x^1//3)^3+-1*b*n*e^-3*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^3+-18*b^3*d^2*e^-2*n^3*x^1//3+2//3*b^2*e^-3*n^2*(d+e*x^1//3)^3*(a+b*log(c*(d+e*x^1//3)^n))+9//4*d*b^3*e^-3*n^3*(d+e*x^1//3)^2+-9*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)+18*a*b^2*d^2*e^-2*n^2*x^1//3+18*b^3*d^2*e^-3*n^2*(d+e*x^1//3)*log(c*(d+e*x^1//3)^n)+-9//2*d*b^2*e^-3*n^2*(d+e*x^1//3)^2*(a+b*log(c*(d+e*x^1//3)^n))+9//2*b*d*n*e^-3*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)^2)
@test integrate(x^-1*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(3*(a+b*log(c*(d+e*x^1//3)^n))^3*log(-1*e*d^-1*x^1//3)+18*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^1//3)+-18*b^2*n^2*(a+b*log(c*(d+e*x^1//3)^n))*Polylogarithms.polylog(3,1+e*d^-1*x^1//3)+9*b*n*(a+b*log(c*(d+e*x^1//3)^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^1//3)^n))^3+b^3*d^-3*e^3*n^3*log(x)+-6*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^1//3)+-6*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(3,d*(d+e*x^1//3)^-1)+3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+-6*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^1//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+-6*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^1//3)^n))*log(-1*e*d^-1*x^1//3)+-3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^1//3)^n))*log(1+-1*d*(d+e*x^1//3)^-1)+3*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^1//3)^n))^2*log(1+-1*d*(d+e*x^1//3)^-1)+-3//2*b*e*n*d^-1*x^-2//3*(a+b*log(c*(d+e*x^1//3)^n))^2+-3*b^2*d^-3*e^2*n^2*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3)+3*b*n*d^-3*e^2*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^1//3)^n))^3, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^1//3)^n))^3+3*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^1//3)+3*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(3,d*(d+e*x^1//3)^-1)+-77//20*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+-71//40*b^3*d^-5*e^5*n^3*x^-1//3+-15//8*b^3*d^-6*e^6*n^3*log(x)+-1//20*b^3*d^-3*e^3*n^3*x^-1+3//10*b^3*d^-4*e^4*n^3*x^-2//3+71//40*b^3*d^-6*e^6*n^3*log(d+e*x^1//3)+3*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^1//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^1//3)^-1)+3*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^1//3)^n))*log(-1*e*d^-1*x^1//3)+-47//40*b^2*d^-4*e^4*n^2*x^-2//3*(a+b*log(c*(d+e*x^1//3)^n))+-3//2*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^1//3)^n))^2*log(1+-1*d*(d+e*x^1//3)^-1)+-3//10*b*e*n*d^-1*x^-5//3*(a+b*log(c*(d+e*x^1//3)^n))^2+-3//20*b^2*d^-2*e^2*n^2*x^-4//3*(a+b*log(c*(d+e*x^1//3)^n))+-1//2*b*n*d^-3*e^3*x^-1*(a+b*log(c*(d+e*x^1//3)^n))^2+3//4*b*n*d^-4*e^4*x^-2//3*(a+b*log(c*(d+e*x^1//3)^n))^2+3//8*b*n*d^-2*e^2*x^-4//3*(a+b*log(c*(d+e*x^1//3)^n))^2+9//20*b^2*d^-3*e^3*n^2*x^-1*(a+b*log(c*(d+e*x^1//3)^n))+77//20*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^1//3)^n))*log(1+-1*d*(d+e*x^1//3)^-1)+-3//2*b*n*d^-6*e^5*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))^2*(d+e*x^1//3)+77//20*b^2*d^-6*e^5*n^2*x^-1//3*(a+b*log(c*(d+e*x^1//3)^n))*(d+e*x^1//3))
@test integrate(x^3*(a+b*log(c*(d+e*x^2//3)^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^2//3)^n))+-1//24*b*n*x^4+-1//4*b*n*d^6*e^-6*log(d+e*x^2//3)+-1//8*b*n*d^4*e^-4*x^4//3+-1//16*b*n*d^2*e^-2*x^8//3+1//4*b*n*d^5*e^-5*x^2//3+1//12*b*n*d^3*e^-3*x^2+1//20*b*d*n*e^-1*x^10//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^2//3)^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^2//3)^n))+-2//27*b*n*x^3+-2//3*b*n*d^4*e^-4*x^1//3+-2//15*b*n*d^2*e^-2*x^5//3+2//3*b*n*d^9//2*e^-9//2*arctan(d^-1//2*e^(1/2)*x^1//3)+2//9*b*n*x*d^3*e^-3+2//21*b*d*n*e^-1*x^7//3)
@test integrate(x*(a+b*log(c*(d+e*x^2//3)^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^2//3)^n))+-1//6*b*n*x^2+(1/2)*b*n*d^3*e^-3*log(d+e*x^2//3)+-1//2*b*n*d^2*e^-2*x^2//3+1//4*b*d*n*e^-1*x^4//3)
@test integrate(a+b*log(c*(d+e*x^2//3)^n), x) == :(a*x+b*x*log(c*(d+e*x^2//3)^n)+-2//3*b*n*x+-2*b*n*d^3//2*e^-3//2*arctan(d^-1//2*e^(1/2)*x^1//3)+2*b*d*n*e^-1*x^1//3)
@test integrate(x^-1*(a+b*log(c*(d+e*x^2//3)^n)), x) == :((3//2*a+3//2*b*log(c*(d+e*x^2//3)^n))*log(-1*e*d^-1*x^2//3)+3//2*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^2//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^2//3)^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^2//3)^n))+-2*b*e*n*d^-1*x^-1//3+-2*b*n*d^-3//2*e^3//2*arctan(d^-1//2*e^(1/2)*x^1//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^2//3)^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^2//3)^n))+(1/2)*b*n*d^-2*e^2*x^-2//3+-1//2*b*n*d^-3*e^3*log(d+e*x^2//3)+-1//4*b*e*n*d^-1*x^-4//3+1//3*b*n*d^-3*e^3*log(x))
@test integrate(x^-4*(a+b*log(c*(d+e*x^2//3)^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^2//3)^n))+-2//9*b*n*d^-3*e^3*x^-1+-2//21*b*e*n*d^-1*x^-7//3+2//3*b*n*d^-4*e^4*x^-1//3+2//3*b*n*d^-9//2*e^9//2*arctan(d^-1//2*e^(1/2)*x^1//3)+2//15*b*n*d^-2*e^2*x^-5//3)
@test integrate(x^3*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(1//4*x^4*(a+b*log(c*(d+e*x^2//3)^n))^2+1//72*b^2*e^-6*n^2*(d+e*x^2//3)^6+-3*b^2*d^5*e^-5*n^2*x^2//3+-10//9*b^2*d^3*e^-6*n^2*(d+e*x^2//3)^3+-3//25*d*b^2*e^-6*n^2*(d+e*x^2//3)^5+-1//12*b*n*e^-6*(d+e*x^2//3)^6*(a+b*log(c*(d+e*x^2//3)^n))+1//4*b^2*d^6*e^-6*n^2*log(d+e*x^2//3)^2+15//8*b^2*d^4*e^-6*n^2*(d+e*x^2//3)^2+15//32*b^2*d^2*e^-6*n^2*(d+e*x^2//3)^4+3*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^2//3)^n))*(d+e*x^2//3)+-15//4*b*n*d^4*e^-6*(d+e*x^2//3)^2*(a+b*log(c*(d+e*x^2//3)^n))+-15//8*b*n*d^2*e^-6*(d+e*x^2//3)^4*(a+b*log(c*(d+e*x^2//3)^n))+-1//2*b*n*d^6*e^-6*(a+b*log(c*(d+e*x^2//3)^n))*log(d+e*x^2//3)+3//5*b*d*n*e^-6*(d+e*x^2//3)^5*(a+b*log(c*(d+e*x^2//3)^n))+10//3*b*n*d^3*e^-6*(d+e*x^2//3)^3*(a+b*log(c*(d+e*x^2//3)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^2//3)^n))^2+1//9*b^2*e^-3*n^2*(d+e*x^2//3)^3+3*b^2*d^2*e^-2*n^2*x^2//3+-3//4*d*b^2*e^-3*n^2*(d+e*x^2//3)^2+-1//2*b^2*d^3*e^-3*n^2*log(d+e*x^2//3)^2+-1//3*b*n*e^-3*(d+e*x^2//3)^3*(a+b*log(c*(d+e*x^2//3)^n))+b*n*d^3*e^-3*(a+b*log(c*(d+e*x^2//3)^n))*log(d+e*x^2//3)+-3*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^2//3)^n))*(d+e*x^2//3)+3//2*b*d*n*e^-3*(d+e*x^2//3)^2*(a+b*log(c*(d+e*x^2//3)^n)))
@test integrate(x^-1*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(3//2*(a+b*log(c*(d+e*x^2//3)^n))^2*log(-1*e*d^-1*x^2//3)+-3*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^2//3)+3*b*n*(a+b*log(c*(d+e*x^2//3)^n))*Polylogarithms.polylog(2,1+e*d^-1*x^2//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^2//3)^n))^2+(1/2)*b^2*d^-3*e^3*n^2*log(d+e*x^2//3)+-1*b^2*d^-3*e^3*n^2*Polylogarithms.polylog(2,d*(d+e*x^2//3)^-1)+-1*b^2*d^-3*e^3*n^2*log(x)+-1//2*b^2*d^-2*e^2*n^2*x^-2//3+b*n*d^-3*e^3*(a+b*log(c*(d+e*x^2//3)^n))*log(1+-1*d*(d+e*x^2//3)^-1)+-1//2*b*e*n*d^-1*x^-4//3*(a+b*log(c*(d+e*x^2//3)^n))+b*n*d^-3*e^2*x^-2//3*(a+b*log(c*(d+e*x^2//3)^n))*(d+e*x^2//3))
@test integrate(x^-5*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(-1//4*x^-4*(a+b*log(c*(d+e*x^2//3)^n))^2+(1/2)*b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^2//3)^-1)+-77//120*b^2*d^-6*e^6*n^2*log(d+e*x^2//3)+-47//240*b^2*d^-4*e^4*n^2*x^-4//3+-1//40*b^2*d^-2*e^2*n^2*x^-8//3+3//40*b^2*d^-3*e^3*n^2*x^-2+77//120*b^2*d^-5*e^5*n^2*x^-2//3+137//180*b^2*d^-6*e^6*n^2*log(x)+-1//2*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^2//3)^n))*log(1+-1*d*(d+e*x^2//3)^-1)+-1//6*b*n*d^-3*e^3*x^-2*(a+b*log(c*(d+e*x^2//3)^n))+-1//10*b*e*n*d^-1*x^-10//3*(a+b*log(c*(d+e*x^2//3)^n))+1//4*b*n*d^-4*e^4*x^-4//3*(a+b*log(c*(d+e*x^2//3)^n))+1//8*b*n*d^-2*e^2*x^-8//3*(a+b*log(c*(d+e*x^2//3)^n))+-1//2*b*n*d^-6*e^5*x^-2//3*(a+b*log(c*(d+e*x^2//3)^n))*(d+e*x^2//3))
@test integrate(x^2*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^2//3)^n))^2+8//243*b^2*n^2*x^3+-4//27*b*n*x^3*(a+b*log(c*(d+e*x^2//3)^n))+-4504//945*b^2*d^9//2*e^-9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)+-1984//2835*x*b^2*d^3*e^-3*n^2+-128//1323*d*b^2*e^-1*n^2*x^7//3+1144//4725*b^2*d^2*e^-2*n^2*x^5//3+4504//945*b^2*d^4*e^-4*n^2*x^1//3+-4//3*a*b*n*d^4*e^-4*x^1//3+-4//3*n*b^2*d^4*e^-4*x^1//3*log(c*(d+e*x^2//3)^n)+-4//15*b*n*d^2*e^-2*x^5//3*(a+b*log(c*(d+e*x^2//3)^n))+4//3*im*b^2*d^9//2*e^-9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)^2+4//3*im*b^2*d^9//2*e^-9//2*n^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+4//3*b*n*d^9//2*e^-9//2*(a+b*log(c*(d+e*x^2//3)^n))*arctan(d^-1//2*e^(1/2)*x^1//3)+4//9*b*n*x*d^3*e^-3*(a+b*log(c*(d+e*x^2//3)^n))+4//21*b*d*n*e^-1*x^7//3*(a+b*log(c*(d+e*x^2//3)^n))+8//3*b^2*d^9//2*e^-9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)*log(2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1))
@test integrate((a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(x*(a+b*log(c*(d+e*x^2//3)^n))^2+8//9*x*b^2*n^2+-4//3*b*n*x*(a+b*log(c*(d+e*x^2//3)^n))+-32//3*d*b^2*e^-1*n^2*x^1//3+32//3*b^2*d^3//2*e^-3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)+-8*b^2*d^3//2*e^-3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)*log(2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4*im*b^2*d^3//2*e^-3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)^2+-4*im*b^2*d^3//2*e^-3//2*n^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4*b*n*d^3//2*e^-3//2*(a+b*log(c*(d+e*x^2//3)^n))*arctan(d^-1//2*e^(1/2)*x^1//3)+4*a*b*d*n*e^-1*x^1//3+4*d*n*b^2*e^-1*x^1//3*log(c*(d+e*x^2//3)^n))
@test integrate(x^-2*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^2//3)^n))^2+8*b^2*d^-3//2*e^3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)+-8*b^2*d^-3//2*e^3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)*log(2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4*im*b^2*d^-3//2*e^3//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)^2+-4*im*b^2*d^-3//2*e^3//2*n^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4*b*e*n*d^-1*x^-1//3*(a+b*log(c*(d+e*x^2//3)^n))+-4*b*n*d^-3//2*e^3//2*(a+b*log(c*(d+e*x^2//3)^n))*arctan(d^-1//2*e^(1/2)*x^1//3))
@test integrate(x^-4*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^2//3)^n))^2+-1408//315*b^2*d^-9//2*e^9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)+-568//315*b^2*d^-4*e^4*n^2*x^-1//3+-8//105*b^2*d^-2*e^2*n^2*x^-5//3+32//105*b^2*d^-3*e^3*n^2*x^-1+-4//9*b*n*d^-3*e^3*x^-1*(a+b*log(c*(d+e*x^2//3)^n))+-4//21*b*e*n*d^-1*x^-7//3*(a+b*log(c*(d+e*x^2//3)^n))+4//3*im*b^2*d^-9//2*e^9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)^2+4//3*im*b^2*d^-9//2*e^9//2*n^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+4//3*b*n*d^-4*e^4*x^-1//3*(a+b*log(c*(d+e*x^2//3)^n))+4//3*b*n*d^-9//2*e^9//2*(a+b*log(c*(d+e*x^2//3)^n))*arctan(d^-1//2*e^(1/2)*x^1//3)+4//15*b*n*d^-2*e^2*x^-5//3*(a+b*log(c*(d+e*x^2//3)^n))+8//3*b^2*d^-9//2*e^9//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)*log(2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1))
@test integrate(x^-6*(a+b*log(c*(d+e*x^2//3)^n))^2, x) == :(-1//5*x^-5*(a+b*log(c*(d+e*x^2//3)^n))^2+-224072//675675*b^2*d^-6*e^6*n^2*x^-1+-2872//45045*b^2*d^-4*e^4*n^2*x^-7//3+-8//715*b^2*d^-2*e^2*n^2*x^-11//3+64//2145*b^2*d^-3*e^3*n^2*x^-3+1216//9009*b^2*d^-5*e^5*n^2*x^-5//3+344192//225225*b^2*d^-7*e^7*n^2*x^-1//3+704552//225225*b^2*d^-15//2*e^15//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)+-8//5*b^2*d^-15//2*e^15//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)*log(2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4//5*im*b^2*d^-15//2*e^15//2*n^2*arctan(d^-1//2*e^(1/2)*x^1//3)^2+-4//5*im*b^2*d^-15//2*e^15//2*n^2*Polylogarithms.polylog(2,1+-2*d^(1/2)*(d^(1/2)+im*e^(1/2)*x^1//3)^-1)+-4//5*b*n*d^-7*e^7*x^-1//3*(a+b*log(c*(d+e*x^2//3)^n))+-4//5*b*n*d^-15//2*e^15//2*(a+b*log(c*(d+e*x^2//3)^n))*arctan(d^-1//2*e^(1/2)*x^1//3)+-4//25*b*n*d^-5*e^5*x^-5//3*(a+b*log(c*(d+e*x^2//3)^n))+-4//45*b*n*d^-3*e^3*x^-3*(a+b*log(c*(d+e*x^2//3)^n))+-4//65*b*e*n*d^-1*x^-13//3*(a+b*log(c*(d+e*x^2//3)^n))+4//15*b*n*d^-6*e^6*x^-1*(a+b*log(c*(d+e*x^2//3)^n))+4//35*b*n*d^-4*e^4*x^-7//3*(a+b*log(c*(d+e*x^2//3)^n))+4//55*b*n*d^-2*e^2*x^-11//3*(a+b*log(c*(d+e*x^2//3)^n)))
@test integrate(x^3*(a+b*log(c*(d+e*x^2//3)^n))^3, x) == :(1//4*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^6+-5*d^3*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^3+-3//2*d*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^5+-3//2*d^5*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)+-1//144*b^3*e^-6*n^3*(d+e*x^2//3)^6+15//4*d^2*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^4+15//4*d^4*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^2+9*b^3*d^5*e^-5*n^3*x^2//3+-45//16*b^3*d^4*e^-6*n^3*(d+e*x^2//3)^2+-45//128*b^3*d^2*e^-6*n^3*(d+e*x^2//3)^4+-1//8*b*n*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^6+1//24*b^2*e^-6*n^2*(d+e*x^2//3)^6*(a+b*log(c*(d+e*x^2//3)^n))+9//125*d*b^3*e^-6*n^3*(d+e*x^2//3)^5+10//9*b^3*d^3*e^-6*n^3*(d+e*x^2//3)^3+-9*a*b^2*d^5*e^-5*n^2*x^2//3+-9*b^3*d^5*e^-6*n^2*(d+e*x^2//3)*log(c*(d+e*x^2//3)^n)+5*b*n*d^3*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^3+-45//8*b*n*d^4*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^2+-45//16*b*n*d^2*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^4+-10//3*b^2*d^3*e^-6*n^2*(d+e*x^2//3)^3*(a+b*log(c*(d+e*x^2//3)^n))+-9//25*d*b^2*e^-6*n^2*(d+e*x^2//3)^5*(a+b*log(c*(d+e*x^2//3)^n))+9//2*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)+9//10*b*d*n*e^-6*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^5+45//8*b^2*d^4*e^-6*n^2*(d+e*x^2//3)^2*(a+b*log(c*(d+e*x^2//3)^n))+45//32*b^2*d^2*e^-6*n^2*(d+e*x^2//3)^4*(a+b*log(c*(d+e*x^2//3)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^2//3)^n))^3, x) == :((1/2)*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^3+-3//2*d*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)^2+-1//9*b^3*e^-3*n^3*(d+e*x^2//3)^3+3//2*d^2*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^3*(d+e*x^2//3)+-9*b^3*d^2*e^-2*n^3*x^2//3+-1//2*b*n*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^3+1//3*b^2*e^-3*n^2*(d+e*x^2//3)^3*(a+b*log(c*(d+e*x^2//3)^n))+9//8*d*b^3*e^-3*n^3*(d+e*x^2//3)^2+9*a*b^2*d^2*e^-2*n^2*x^2//3+9*b^3*d^2*e^-3*n^2*(d+e*x^2//3)*log(c*(d+e*x^2//3)^n)+-9//2*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)+-9//4*d*b^2*e^-3*n^2*(d+e*x^2//3)^2*(a+b*log(c*(d+e*x^2//3)^n))+9//4*b*d*n*e^-3*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3)^2)
@test integrate(x^-1*(a+b*log(c*(d+e*x^2//3)^n))^3, x) == :(3//2*(a+b*log(c*(d+e*x^2//3)^n))^3*log(-1*e*d^-1*x^2//3)+9*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^2//3)+-9*b^2*n^2*(a+b*log(c*(d+e*x^2//3)^n))*Polylogarithms.polylog(3,1+e*d^-1*x^2//3)+9//2*b*n*(a+b*log(c*(d+e*x^2//3)^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^2//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^2//3)^n))^3, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^2//3)^n))^3+b^3*d^-3*e^3*n^3*log(x)+-3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^2//3)+-3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(3,d*(d+e*x^2//3)^-1)+3//2*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,d*(d+e*x^2//3)^-1)+-3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^2//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^2//3)^-1)+-3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^2//3)^n))*log(-1*e*d^-1*x^2//3)+-3//2*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^2//3)^n))*log(1+-1*d*(d+e*x^2//3)^-1)+-3//4*b*e*n*d^-1*x^-4//3*(a+b*log(c*(d+e*x^2//3)^n))^2+3//2*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^2//3)^n))^2*log(1+-1*d*(d+e*x^2//3)^-1)+-3//2*b^2*d^-3*e^2*n^2*x^-2//3*(a+b*log(c*(d+e*x^2//3)^n))*(d+e*x^2//3)+3//2*b*n*d^-3*e^2*x^-2//3*(a+b*log(c*(d+e*x^2//3)^n))^2*(d+e*x^2//3))
@test integrate(x^3*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^-1//3)^n))+-1//4*b*n*d^-12*e^12*log(d+e*x^-1//3)+-1//8*b*n*d^-10*e^10*x^2//3+-1//12*b*n*d^-12*e^12*log(x)+-1//16*b*n*d^-8*e^8*x^4//3+-1//24*b*n*d^-6*e^6*x^2+-1//32*b*n*d^-4*e^4*x^8//3+-1//40*b*n*d^-2*e^2*x^10//3+1//4*b*n*d^-11*e^11*x^1//3+1//12*b*n*x*d^-9*e^9+1//20*b*n*d^-7*e^7*x^5//3+1//28*b*n*d^-5*e^5*x^7//3+1//36*b*n*d^-3*e^3*x^3+1//44*b*e*n*d^-1*x^11//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-1//3)^n))+-1//3*b*n*d^-8*e^8*x^1//3+-1//9*b*n*x*d^-6*e^6+-1//15*b*n*d^-4*e^4*x^5//3+-1//21*b*n*d^-2*e^2*x^7//3+1//3*b*n*d^-9*e^9*log(d+e*x^-1//3)+1//6*b*n*d^-7*e^7*x^2//3+1//9*b*n*d^-9*e^9*log(x)+1//12*b*n*d^-5*e^5*x^4//3+1//18*b*n*d^-3*e^3*x^2+1//24*b*e*n*d^-1*x^8//3)
@test integrate(x*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//3)^n))+(1/2)*b*n*d^-5*e^5*x^1//3+-1//2*b*n*d^-6*e^6*log(d+e*x^-1//3)+-1//4*b*n*d^-4*e^4*x^2//3+-1//6*b*n*d^-6*e^6*log(x)+-1//8*b*n*d^-2*e^2*x^4//3+1//6*b*n*x*d^-3*e^3+1//10*b*e*n*d^-1*x^5//3)
@test integrate(a+b*log(c*(d+e*x^-1//3)^n), x) == :(a*x+b*x*log(c*(d+e*x^-1//3)^n)+b*n*d^-3*e^3*log(e+d*x^1//3)+(1/2)*b*e*n*d^-1*x^2//3+-1*b*n*d^-2*e^2*x^1//3)
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :((-3a+-3*b*log(c*(d+e*x^-1//3)^n))*log(-1*e*d^-1*x^-1//3)+-3*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^-1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^-1//3)^n))+1//3*b*n*x^-1+b*n*d^2*e^-2*x^-1//3+-1*b*n*d^3*e^-3*log(d+e*x^-1//3)+-1//2*b*d*n*e^-1*x^-2//3)
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-1//3)^n))+1//12*b*n*x^-2+(1/2)*b*n*d^6*e^-6*log(d+e*x^-1//3)+-1//2*b*n*d^5*e^-5*x^-1//3+-1//6*b*n*d^3*e^-3*x^-1+-1//10*b*d*n*e^-1*x^-5//3+1//4*b*n*d^4*e^-4*x^-2//3+1//8*b*n*d^2*e^-2*x^-4//3)
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//3)^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^-1//3)^n))+1//27*b*n*x^-3+-1//3*b*n*d^9*e^-9*log(d+e*x^-1//3)+-1//6*b*n*d^7*e^-7*x^-2//3+-1//12*b*n*d^5*e^-5*x^-4//3+-1//18*b*n*d^3*e^-3*x^-2+-1//24*b*d*n*e^-1*x^-8//3+1//3*b*n*d^8*e^-8*x^-1//3+1//9*b*n*d^6*e^-6*x^-1+1//15*b*n*d^4*e^-4*x^-5//3+1//21*b*n*d^2*e^-2*x^-7//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-1//3)^n))^2+-761//1260*b^2*d^-9*e^9*n^2*log(x)+-533//5040*b^2*d^-5*e^5*n^2*x^4//3+-481//420*b^2*d^-9*e^9*n^2*log(d+e*x^-1//3)+-341//840*b^2*d^-7*e^7*n^2*x^2//3+-5//168*b^2*d^-3*e^3*n^2*x^2+1//84*b^2*d^-2*e^2*n^2*x^7//3+2//3*b^2*d^-9*e^9*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+73//1260*b^2*d^-4*e^4*n^2*x^5//3+481//420*b^2*d^-8*e^8*n^2*x^1//3+743//3780*x*b^2*d^-6*e^6*n^2+-2//3*b*n*d^-9*e^9*(a+b*log(c*(d+e*x^-1//3)^n))*log(1+-1*d*(d+e*x^-1//3)^-1)+-2//9*b*n*x*d^-6*e^6*(a+b*log(c*(d+e*x^-1//3)^n))+-2//15*b*n*d^-4*e^4*x^5//3*(a+b*log(c*(d+e*x^-1//3)^n))+-2//21*b*n*d^-2*e^2*x^7//3*(a+b*log(c*(d+e*x^-1//3)^n))+1//3*b*n*d^-7*e^7*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))+1//6*b*n*d^-5*e^5*x^4//3*(a+b*log(c*(d+e*x^-1//3)^n))+1//9*b*n*d^-3*e^3*x^2*(a+b*log(c*(d+e*x^-1//3)^n))+1//12*b*e*n*d^-1*x^8//3*(a+b*log(c*(d+e*x^-1//3)^n))+-2//3*b*n*d^-9*e^8*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3))
@test integrate(x*(a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//3)^n))^2+-1*b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+-77//60*b^2*d^-5*e^5*n^2*x^1//3+-3//20*x*b^2*d^-3*e^3*n^2+1//20*b^2*d^-2*e^2*n^2*x^4//3+47//120*b^2*d^-4*e^4*n^2*x^2//3+77//60*b^2*d^-6*e^6*n^2*log(d+e*x^-1//3)+137//180*b^2*d^-6*e^6*n^2*log(x)+b*n*d^-6*e^6*(a+b*log(c*(d+e*x^-1//3)^n))*log(1+-1*d*(d+e*x^-1//3)^-1)+-1//2*b*n*d^-4*e^4*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))+-1//4*b*n*d^-2*e^2*x^4//3*(a+b*log(c*(d+e*x^-1//3)^n))+1//3*b*n*x*d^-3*e^3*(a+b*log(c*(d+e*x^-1//3)^n))+1//5*b*e*n*d^-1*x^5//3*(a+b*log(c*(d+e*x^-1//3)^n))+b*n*d^-6*e^5*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3))
@test integrate((a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :(x*(a+b*log(c*(d+e*x^-1//3)^n))^2+b^2*d^-2*e^2*n^2*x^1//3+-1*b^2*d^-3*e^3*n^2*log(x)+-1*b^2*d^-3*e^3*n^2*log(d+e*x^-1//3)+2*b^2*d^-3*e^3*n^2*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+b*e*n*d^-1*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))+-2*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^-1//3)^n))*log(1+-1*d*(d+e*x^-1//3)^-1)+-2*b*n*d^-3*e^2*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :(-3*(a+b*log(c*(d+e*x^-1//3)^n))^2*log(-1*e*d^-1*x^-1//3)+6*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^-1//3)+-6*b*n*(a+b*log(c*(d+e*x^-1//3)^n))*Polylogarithms.polylog(2,1+e*d^-1*x^-1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^-1//3)^n))^2+-2//9*b^2*e^-3*n^2*(d+e*x^-1//3)^3+b^2*d^3*e^-3*n^2*log(d+e*x^-1//3)^2+-6*b^2*d^2*e^-2*n^2*x^-1//3+2//3*b*n*e^-3*(d+e*x^-1//3)^3*(a+b*log(c*(d+e*x^-1//3)^n))+3//2*d*b^2*e^-3*n^2*(d+e*x^-1//3)^2+-3*b*d*n*e^-3*(d+e*x^-1//3)^2*(a+b*log(c*(d+e*x^-1//3)^n))+-2*b*n*d^3*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))*log(d+e*x^-1//3)+6*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//3)^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-1//3)^n))^2+-1//36*b^2*e^-6*n^2*(d+e*x^-1//3)^6+6*b^2*d^5*e^-5*n^2*x^-1//3+-15//4*b^2*d^4*e^-6*n^2*(d+e*x^-1//3)^2+-15//16*b^2*d^2*e^-6*n^2*(d+e*x^-1//3)^4+-1//2*b^2*d^6*e^-6*n^2*log(d+e*x^-1//3)^2+1//6*b*n*e^-6*(d+e*x^-1//3)^6*(a+b*log(c*(d+e*x^-1//3)^n))+6//25*d*b^2*e^-6*n^2*(d+e*x^-1//3)^5+20//9*b^2*d^3*e^-6*n^2*(d+e*x^-1//3)^3+b*n*d^6*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))*log(d+e*x^-1//3)+-6*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3)+-20//3*b*n*d^3*e^-6*(d+e*x^-1//3)^3*(a+b*log(c*(d+e*x^-1//3)^n))+-6//5*b*d*n*e^-6*(d+e*x^-1//3)^5*(a+b*log(c*(d+e*x^-1//3)^n))+15//2*b*n*d^4*e^-6*(d+e*x^-1//3)^2*(a+b*log(c*(d+e*x^-1//3)^n))+15//4*b*n*d^2*e^-6*(d+e*x^-1//3)^4*(a+b*log(c*(d+e*x^-1//3)^n)))
@test integrate(x*(a+b*log(c*(d+e*x^-1//3)^n))^3, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-1//3)^n))^3+-3*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-1//3)+-3*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(3,d*(d+e*x^-1//3)^-1)+-71//40*b^3*d^-6*e^6*n^3*log(d+e*x^-1//3)+-15//8*b^3*d^-6*e^6*n^3*log(x)+-3//10*b^3*d^-4*e^4*n^3*x^2//3+1//20*x*b^3*d^-3*e^3*n^3+71//40*b^3*d^-5*e^5*n^3*x^1//3+77//20*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+(1/2)*b*n*x*d^-3*e^3*(a+b*log(c*(d+e*x^-1//3)^n))^2+-3*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+-3*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*log(-1*e*d^-1*x^-1//3)+-77//20*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*log(1+-1*d*(d+e*x^-1//3)^-1)+-9//20*x*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-1//3)^n))+-3//4*b*n*d^-4*e^4*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))^2+-3//8*b*n*d^-2*e^2*x^4//3*(a+b*log(c*(d+e*x^-1//3)^n))^2+3//2*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^-1//3)^n))^2*log(1+-1*d*(d+e*x^-1//3)^-1)+3//10*b*e*n*d^-1*x^5//3*(a+b*log(c*(d+e*x^-1//3)^n))^2+3//20*b^2*d^-2*e^2*n^2*x^4//3*(a+b*log(c*(d+e*x^-1//3)^n))+47//40*b^2*d^-4*e^4*n^2*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))+-77//20*b^2*d^-6*e^5*n^2*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3)+3//2*b*n*d^-6*e^5*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3))
@test integrate((a+b*log(c*(d+e*x^-1//3)^n))^3, x) == :(x*(a+b*log(c*(d+e*x^-1//3)^n))^3+b^3*d^-3*e^3*n^3*log(x)+-3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+6*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-1//3)+6*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(3,d*(d+e*x^-1//3)^-1)+-3*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^-1//3)^n))^2*log(1+-1*d*(d+e*x^-1//3)^-1)+3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*log(1+-1*d*(d+e*x^-1//3)^-1)+6*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^-1//3)^-1)+6*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*log(-1*e*d^-1*x^-1//3)+3//2*b*e*n*d^-1*x^2//3*(a+b*log(c*(d+e*x^-1//3)^n))^2+-3*b*n*d^-3*e^2*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)+3*b^2*d^-3*e^2*n^2*x^1//3*(a+b*log(c*(d+e*x^-1//3)^n))*(d+e*x^-1//3))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-1//3)^n))^3, x) == :(-3*(a+b*log(c*(d+e*x^-1//3)^n))^3*log(-1*e*d^-1*x^-1//3)+-18*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^-1//3)+-9*b*n*(a+b*log(c*(d+e*x^-1//3)^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^-1//3)+18*b^2*n^2*(a+b*log(c*(d+e*x^-1//3)^n))*Polylogarithms.polylog(3,1+e*d^-1*x^-1//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//3)^n))^3, x) == :(-1*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^3+-3*d^2*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)+3*d*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^2+2//9*b^3*e^-3*n^3*(d+e*x^-1//3)^3+b*n*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^3+18*b^3*d^2*e^-2*n^3*x^-1//3+-9//4*d*b^3*e^-3*n^3*(d+e*x^-1//3)^2+-2//3*b^2*e^-3*n^2*(d+e*x^-1//3)^3*(a+b*log(c*(d+e*x^-1//3)^n))+-18*a*b^2*d^2*e^-2*n^2*x^-1//3+-18*b^3*d^2*e^-3*n^2*(d+e*x^-1//3)*log(c*(d+e*x^-1//3)^n)+9*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)+-9//2*b*d*n*e^-3*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^2+9//2*d*b^2*e^-3*n^2*(d+e*x^-1//3)^2*(a+b*log(c*(d+e*x^-1//3)^n)))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//3)^n))^3, x) == :(-1//2*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^6+3*d*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^5+3*d^5*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)+10*d^3*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^3+-15//2*d^2*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^4+-15//2*d^4*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^3*(d+e*x^-1//3)^2+1//72*b^3*e^-6*n^3*(d+e*x^-1//3)^6+-18*b^3*d^5*e^-5*n^3*x^-1//3+-20//9*b^3*d^3*e^-6*n^3*(d+e*x^-1//3)^3+-18//125*d*b^3*e^-6*n^3*(d+e*x^-1//3)^5+-1//12*b^2*e^-6*n^2*(d+e*x^-1//3)^6*(a+b*log(c*(d+e*x^-1//3)^n))+1//4*b*n*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^6+45//8*b^3*d^4*e^-6*n^3*(d+e*x^-1//3)^2+45//64*b^3*d^2*e^-6*n^3*(d+e*x^-1//3)^4+-10*b*n*d^3*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^3+-9*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)+18*a*b^2*d^5*e^-5*n^2*x^-1//3+18*b^3*d^5*e^-6*n^2*(d+e*x^-1//3)*log(c*(d+e*x^-1//3)^n)+-45//4*b^2*d^4*e^-6*n^2*(d+e*x^-1//3)^2*(a+b*log(c*(d+e*x^-1//3)^n))+-45//16*b^2*d^2*e^-6*n^2*(d+e*x^-1//3)^4*(a+b*log(c*(d+e*x^-1//3)^n))+-9//5*b*d*n*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^5+18//25*d*b^2*e^-6*n^2*(d+e*x^-1//3)^5*(a+b*log(c*(d+e*x^-1//3)^n))+20//3*b^2*d^3*e^-6*n^2*(d+e*x^-1//3)^3*(a+b*log(c*(d+e*x^-1//3)^n))+45//4*b*n*d^4*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^2+45//8*b*n*d^2*e^-6*(a+b*log(c*(d+e*x^-1//3)^n))^2*(d+e*x^-1//3)^4)
@test integrate(x^3*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :(1//4*x^4*(a+b*log(c*(d+e*x^-2//3)^n))+-1//4*b*n*d^-6*e^6*log(d+e*x^-2//3)+-1//6*b*n*d^-6*e^6*log(x)+-1//8*b*n*d^-4*e^4*x^4//3+-1//16*b*n*d^-2*e^2*x^8//3+1//4*b*n*d^-5*e^5*x^2//3+1//12*b*n*d^-3*e^3*x^2+1//20*b*e*n*d^-1*x^10//3)
@test integrate(x^2*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-2//3)^n))+-2//3*b*n*d^-4*e^4*x^1//3+-2//15*b*n*d^-2*e^2*x^5//3+2//3*b*n*d^-9//2*e^9//2*arctan(d^(1/2)*e^-1//2*x^1//3)+2//9*b*n*x*d^-3*e^3+2//21*b*e*n*d^-1*x^7//3)
@test integrate(x*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-2//3)^n))+(1/2)*b*n*d^-3*e^3*log(d+e*x^-2//3)+-1//2*b*n*d^-2*e^2*x^2//3+1//3*b*n*d^-3*e^3*log(x)+1//4*b*e*n*d^-1*x^4//3)
@test integrate(a+b*log(c*(d+e*x^-2//3)^n), x) == :(a*x+b*x*log(c*(d+e*x^-2//3)^n)+-2*b*n*d^-3//2*e^3//2*arctan(d^(1/2)*e^-1//2*x^1//3)+2*b*e*n*d^-1*x^1//3)
@test integrate(x^-1*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :((1/2)*(-3a+-3*b*log(c*(d+e*x^-2//3)^n))*log(-1*e*d^-1*x^-2//3)+-3//2*b*n*Polylogarithms.polylog(2,1+e*d^-1*x^-2//3))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :(-1*x^-1*(a+b*log(c*(d+e*x^-2//3)^n))+2//3*b*n*x^-1+-2*b*d*n*e^-1*x^-1//3+-2*b*n*d^3//2*e^-3//2*arctan(d^(1/2)*e^-1//2*x^1//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-2//3)^n))+1//6*b*n*x^-2+(1/2)*b*n*d^2*e^-2*x^-2//3+-1//2*b*n*d^3*e^-3*log(d+e*x^-2//3)+-1//4*b*d*n*e^-1*x^-4//3)
@test integrate(x^-4*(a+b*log(c*(d+e*x^-2//3)^n)), x) == :(-1//3*x^-3*(a+b*log(c*(d+e*x^-2//3)^n))+2//27*b*n*x^-3+-2//9*b*n*d^3*e^-3*x^-1+-2//21*b*d*n*e^-1*x^-7//3+2//3*b*n*d^4*e^-4*x^-1//3+2//3*b*n*d^9//2*e^-9//2*arctan(d^(1/2)*e^-1//2*x^1//3)+2//15*b*n*d^2*e^-2*x^-5//3)
@test integrate(x^3*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(1//4*x^4*(a+b*log(c*(d+e*x^-2//3)^n))^2+-77//120*b^2*d^-5*e^5*n^2*x^2//3+-3//40*b^2*d^-3*e^3*n^2*x^2+-1//2*b^2*d^-6*e^6*n^2*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+1//40*b^2*d^-2*e^2*n^2*x^8//3+47//240*b^2*d^-4*e^4*n^2*x^4//3+77//120*b^2*d^-6*e^6*n^2*log(d+e*x^-2//3)+137//180*b^2*d^-6*e^6*n^2*log(x)+(1/2)*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^-2//3)^n))*log(1+-1*d*(d+e*x^-2//3)^-1)+-1//4*b*n*d^-4*e^4*x^4//3*(a+b*log(c*(d+e*x^-2//3)^n))+-1//8*b*n*d^-2*e^2*x^8//3*(a+b*log(c*(d+e*x^-2//3)^n))+1//6*b*n*d^-3*e^3*x^2*(a+b*log(c*(d+e*x^-2//3)^n))+1//10*b*e*n*d^-1*x^10//3*(a+b*log(c*(d+e*x^-2//3)^n))+(1/2)*b*n*d^-6*e^5*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3))
@test integrate(x*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-2//3)^n))^2+b^2*d^-3*e^3*n^2*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+(1/2)*b^2*d^-2*e^2*n^2*x^2//3+-1*b^2*d^-3*e^3*n^2*log(x)+-1//2*b^2*d^-3*e^3*n^2*log(d+e*x^-2//3)+(1/2)*b*e*n*d^-1*x^4//3*(a+b*log(c*(d+e*x^-2//3)^n))+-1*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^-2//3)^n))*log(1+-1*d*(d+e*x^-2//3)^-1)+-1*b*n*d^-3*e^2*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(-3//2*(a+b*log(c*(d+e*x^-2//3)^n))^2*log(-1*e*d^-1*x^-2//3)+3*b^2*n^2*Polylogarithms.polylog(3,1+e*d^-1*x^-2//3)+-3*b*n*(a+b*log(c*(d+e*x^-2//3)^n))*Polylogarithms.polylog(2,1+e*d^-1*x^-2//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(-1//2*x^-2*(a+b*log(c*(d+e*x^-2//3)^n))^2+-1//9*b^2*e^-3*n^2*(d+e*x^-2//3)^3+(1/2)*b^2*d^3*e^-3*n^2*log(d+e*x^-2//3)^2+-3*b^2*d^2*e^-2*n^2*x^-2//3+1//3*b*n*e^-3*(d+e*x^-2//3)^3*(a+b*log(c*(d+e*x^-2//3)^n))+3//4*d*b^2*e^-3*n^2*(d+e*x^-2//3)^2+-1*b*n*d^3*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))*log(d+e*x^-2//3)+3*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3)+-3//2*b*d*n*e^-3*(d+e*x^-2//3)^2*(a+b*log(c*(d+e*x^-2//3)^n)))
@test integrate(x^-5*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(-1//4*x^-4*(a+b*log(c*(d+e*x^-2//3)^n))^2+-1//72*b^2*e^-6*n^2*(d+e*x^-2//3)^6+3*b^2*d^5*e^-5*n^2*x^-2//3+-15//8*b^2*d^4*e^-6*n^2*(d+e*x^-2//3)^2+-15//32*b^2*d^2*e^-6*n^2*(d+e*x^-2//3)^4+-1//4*b^2*d^6*e^-6*n^2*log(d+e*x^-2//3)^2+1//12*b*n*e^-6*(d+e*x^-2//3)^6*(a+b*log(c*(d+e*x^-2//3)^n))+3//25*d*b^2*e^-6*n^2*(d+e*x^-2//3)^5+10//9*b^2*d^3*e^-6*n^2*(d+e*x^-2//3)^3+(1/2)*b*n*d^6*e^-6*(a+b*log(c*(d+e*x^-2//3)^n))*log(d+e*x^-2//3)+-3*b*n*d^5*e^-6*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3)+-10//3*b*n*d^3*e^-6*(d+e*x^-2//3)^3*(a+b*log(c*(d+e*x^-2//3)^n))+-3//5*b*d*n*e^-6*(d+e*x^-2//3)^5*(a+b*log(c*(d+e*x^-2//3)^n))+15//4*b*n*d^4*e^-6*(d+e*x^-2//3)^2*(a+b*log(c*(d+e*x^-2//3)^n))+15//8*b*n*d^2*e^-6*(d+e*x^-2//3)^4*(a+b*log(c*(d+e*x^-2//3)^n)))
@test integrate(x^2*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(1//3*x^3*(a+b*log(c*(d+e*x^-2//3)^n))^2+-1408//315*b^2*d^-9//2*e^9//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)+-32//105*x*b^2*d^-3*e^3*n^2+8//105*b^2*d^-2*e^2*n^2*x^5//3+568//315*b^2*d^-4*e^4*n^2*x^1//3+-4//3*im*b^2*d^-9//2*e^9//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)^2+-4//3*im*b^2*d^-9//2*e^9//2*n^2*Polylogarithms.polylog(2,-1+2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1)+-4//3*a*b*n*d^-4*e^4*x^1//3+-4//3*n*b^2*d^-4*e^4*x^1//3*log(c*(d+e*x^-2//3)^n)+-4//15*b*n*d^-2*e^2*x^5//3*(a+b*log(c*(d+e*x^-2//3)^n))+4//3*b*n*d^-9//2*e^9//2*(a+b*log(c*(d+e*x^-2//3)^n))*arctan(d^(1/2)*e^-1//2*x^1//3)+4//9*b*n*x*d^-3*e^3*(a+b*log(c*(d+e*x^-2//3)^n))+4//21*b*e*n*d^-1*x^7//3*(a+b*log(c*(d+e*x^-2//3)^n))+8//3*b^2*d^-9//2*e^9//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)*log(2+-2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1))
@test integrate((a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(x*(a+b*log(c*(d+e*x^-2//3)^n))^2+8*b^2*d^-3//2*e^3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)+-8*b^2*d^-3//2*e^3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)*log(2+-2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1)+-4*b*n*d^-3//2*e^3//2*(a+b*log(c*(d+e*x^-2//3)^n))*arctan(d^(1/2)*e^-1//2*x^1//3)+4*im*b^2*d^-3//2*e^3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)^2+4*im*b^2*d^-3//2*e^3//2*n^2*Polylogarithms.polylog(2,-1+2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1)+4*a*b*e*n*d^-1*x^1//3+4*e*n*b^2*d^-1*x^1//3*log(c*(d+e*x^-2//3)^n))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-2//3)^n))^2, x) == :(-1*x^-1*(a+b*log(c*(d+e*x^-2//3)^n))^2+-8//9*b^2*n^2*x^-1+4//3*b*n*x^-1*(a+b*log(c*(d+e*x^-2//3)^n))+32//3*d*b^2*e^-1*n^2*x^-1//3+32//3*b^2*d^3//2*e^-3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)+-8*b^2*d^3//2*e^-3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)*log(2+-2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1)+-4*b*d*n*e^-1*x^-1//3*(a+b*log(c*(d+e*x^-2//3)^n))+-4*b*n*d^3//2*e^-3//2*(a+b*log(c*(d+e*x^-2//3)^n))*arctan(d^(1/2)*e^-1//2*x^1//3)+4*im*b^2*d^3//2*e^-3//2*n^2*arctan(d^(1/2)*e^-1//2*x^1//3)^2+4*im*b^2*d^3//2*e^-3//2*n^2*Polylogarithms.polylog(2,-1+2*e^(1/2)*(e^(1/2)+-1*im*d^(1/2)*x^1//3)^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^-2//3)^n))^3, x) == :(1//4*x^4*(a+b*log(c*(d+e*x^-2//3)^n))^3+-71//80*b^3*d^-6*e^6*n^3*log(d+e*x^-2//3)+-15//8*b^3*d^-6*e^6*n^3*log(x)+-3//2*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-2//3)+-3//2*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(3,d*(d+e*x^-2//3)^-1)+-3//20*b^3*d^-4*e^4*n^3*x^4//3+1//40*b^3*d^-3*e^3*n^3*x^2+71//80*b^3*d^-5*e^5*n^3*x^2//3+77//40*b^3*d^-6*e^6*n^3*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+-77//40*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*log(1+-1*d*(d+e*x^-2//3)^-1)+-9//40*b^2*d^-3*e^3*n^2*x^2*(a+b*log(c*(d+e*x^-2//3)^n))+-3//2*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+-3//2*b^2*d^-6*e^6*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*log(-1*e*d^-1*x^-2//3)+-3//8*b*n*d^-4*e^4*x^4//3*(a+b*log(c*(d+e*x^-2//3)^n))^2+-3//16*b*n*d^-2*e^2*x^8//3*(a+b*log(c*(d+e*x^-2//3)^n))^2+1//4*b*n*d^-3*e^3*x^2*(a+b*log(c*(d+e*x^-2//3)^n))^2+3//4*b*n*d^-6*e^6*(a+b*log(c*(d+e*x^-2//3)^n))^2*log(1+-1*d*(d+e*x^-2//3)^-1)+3//20*b*e*n*d^-1*x^10//3*(a+b*log(c*(d+e*x^-2//3)^n))^2+3//40*b^2*d^-2*e^2*n^2*x^8//3*(a+b*log(c*(d+e*x^-2//3)^n))+47//80*b^2*d^-4*e^4*n^2*x^4//3*(a+b*log(c*(d+e*x^-2//3)^n))+-77//40*b^2*d^-6*e^5*n^2*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3)+3//4*b*n*d^-6*e^5*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))^2*(d+e*x^-2//3))
@test integrate(x*(a+b*log(c*(d+e*x^-2//3)^n))^3, x) == :((1/2)*x^2*(a+b*log(c*(d+e*x^-2//3)^n))^3+b^3*d^-3*e^3*n^3*log(x)+3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,1+e*d^-1*x^-2//3)+3*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(3,d*(d+e*x^-2//3)^-1)+-3//2*b^3*d^-3*e^3*n^3*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*Polylogarithms.polylog(2,d*(d+e*x^-2//3)^-1)+3*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*log(-1*e*d^-1*x^-2//3)+-3//2*b*n*d^-3*e^3*(a+b*log(c*(d+e*x^-2//3)^n))^2*log(1+-1*d*(d+e*x^-2//3)^-1)+3//2*b^2*d^-3*e^3*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*log(1+-1*d*(d+e*x^-2//3)^-1)+3//4*b*e*n*d^-1*x^4//3*(a+b*log(c*(d+e*x^-2//3)^n))^2+-3//2*b*n*d^-3*e^2*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))^2*(d+e*x^-2//3)+3//2*b^2*d^-3*e^2*n^2*x^2//3*(a+b*log(c*(d+e*x^-2//3)^n))*(d+e*x^-2//3))
@test integrate(x^-1*(a+b*log(c*(d+e*x^-2//3)^n))^3, x) == :(-3//2*(a+b*log(c*(d+e*x^-2//3)^n))^3*log(-1*e*d^-1*x^-2//3)+-9*b^3*n^3*Polylogarithms.polylog(4,1+e*d^-1*x^-2//3)+9*b^2*n^2*(a+b*log(c*(d+e*x^-2//3)^n))*Polylogarithms.polylog(3,1+e*d^-1*x^-2//3)+-9//2*b*n*(a+b*log(c*(d+e*x^-2//3)^n))^2*Polylogarithms.polylog(2,1+e*d^-1*x^-2//3))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-2//3)^n))^3, x) == :(-1//2*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^3*(d+e*x^-2//3)^3+-3//2*d^2*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^3*(d+e*x^-2//3)+1//9*b^3*e^-3*n^3*(d+e*x^-2//3)^3+3//2*d*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^3*(d+e*x^-2//3)^2+(1/2)*b*n*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^2*(d+e*x^-2//3)^3+9*b^3*d^2*e^-2*n^3*x^-2//3+-9//8*d*b^3*e^-3*n^3*(d+e*x^-2//3)^2+-1//3*b^2*e^-3*n^2*(d+e*x^-2//3)^3*(a+b*log(c*(d+e*x^-2//3)^n))+-9*a*b^2*d^2*e^-2*n^2*x^-2//3+-9*b^3*d^2*e^-3*n^2*(d+e*x^-2//3)*log(c*(d+e*x^-2//3)^n)+-9//4*b*d*n*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^2*(d+e*x^-2//3)^2+9//2*b*n*d^2*e^-3*(a+b*log(c*(d+e*x^-2//3)^n))^2*(d+e*x^-2//3)+9//4*d*b^2*e^-3*n^2*(d+e*x^-2//3)^2*(a+b*log(c*(d+e*x^-2//3)^n)))
@test integrate(x^3*(a+b*log(c*(d+e*x^(1/2))))^p, x) == :(2^(-2+-3p)*c^-8*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(8a+8*b*log(c*(d+e*x^(1/2)))))*exp(-8*a*b^-1)+-2*c^-1*d^7*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))*exp(-1*a*b^-1)+-14*3^(-1p)*c^-3*d^5*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^(1/2)))))*exp(-3*a*b^-1)+-14*5^(-1p)*c^-5*d^3*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^(1/2)))))*exp(-5*a*b^-1)+-2*d*7^(-1p)*c^-7*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(7a+7*b*log(c*(d+e*x^(1/2)))))*exp(-7*a*b^-1)+7*2^(-1p)*c^-2*d^6*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2)))))*exp(-2*a*b^-1)+7*6^(-1p)*c^-6*d^2*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^(1/2)))))*exp(-6*a*b^-1)+35*2^(-1+-2p)*c^-4*d^4*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^(1/2)))))*exp(-4*a*b^-1))
@test integrate(x^2*(a+b*log(c*(d+e*x^(1/2))))^p, x) == :(-2*c^-1*d^5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))*exp(-1*a*b^-1)+2^(-1p)*3^(-1+-1p)*c^-6*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^(1/2)))))*exp(-6*a*b^-1)+-20*3^(-1+-1p)*c^-3*d^3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^(1/2)))))*exp(-3*a*b^-1)+-2*d*5^(-1p)*c^-5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^(1/2)))))*exp(-5*a*b^-1)+5*2^(-1p)*c^-2*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2)))))*exp(-2*a*b^-1)+5*4^(-1p)*c^-4*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^(1/2)))))*exp(-4*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^(1/2))))^p, x) == :(2^(-1+-2p)*c^-4*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^(1/2)))))*exp(-4*a*b^-1)+-2*c^-1*d^3*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))*exp(-1*a*b^-1)+-2*d*3^(-1p)*c^-3*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^(1/2)))))*exp(-3*a*b^-1)+3*2^(-1p)*c^-2*d^2*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2)))))*exp(-2*a*b^-1))
@test integrate((a+b*log(c*(d+e*x^(1/2))))^p, x) == :(2^(-1p)*c^-2*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2)))))*exp(-2*a*b^-1)+-2*d*c^-1*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))^(-1p)*(a+b*log(c*(d+e*x^(1/2))))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2)))))*exp(-1*a*b^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^(1/2))^2))^p, x) == :(2^(-2+-2p)*c^-4*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^(1/2))^2)))*exp(-4*a*b^-1)+7*c^-1*d^6*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1*a*b^-1)+7*3^(-1p)*c^-3*d^2*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^(1/2))^2)))*exp(-3*a*b^-1)+35*2^(-1+-1p)*c^-2*d^4*e^-8*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2))^2)))*exp(-2*a*b^-1)+-1*2^(1+p)*d^7*e^-8*(c*(d+e*x^(1/2))^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1//2*a*b^-1)+-1*d*2^(1+p)*7^(-1p)*e^-8*(c*(d+e*x^(1/2))^2)^-7//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^7*SpecialFunctions.gamma(1+p,-1//2*b^-1*(7a+7*b*log(c*(d+e*x^(1/2))^2)))*exp(-7//2*a*b^-1)+-7*2^(1+p)*3^(-1p)*d^5*e^-8*(c*(d+e*x^(1/2))^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^(1/2))^2)))*exp(-3//2*a*b^-1)+-7*2^(1+p)*5^(-1p)*d^3*e^-8*(c*(d+e*x^(1/2))^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^(1/2))^2)))*exp(-5//2*a*b^-1))
@test integrate(x^2*(a+b*log(c*(d+e*x^(1/2))^2))^p, x) == :(3^(-1+-1p)*c^-3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^(1/2))^2)))*exp(-3*a*b^-1)+5*c^-1*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1*a*b^-1)+5*2^(-1p)*c^-2*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2))^2)))*exp(-2*a*b^-1)+-1*2^(1+p)*d^5*e^-6*(c*(d+e*x^(1/2))^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1//2*a*b^-1)+-1*d*2^(1+p)*5^(-1p)*e^-6*(c*(d+e*x^(1/2))^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^(1/2))^2)))*exp(-5//2*a*b^-1)+-5*2^(2+p)*3^(-1+-1p)*d^3*e^-6*(c*(d+e*x^(1/2))^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^(1/2))^2)))*exp(-3//2*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^(1/2))^2))^p, x) == :(2^(-1+-1p)*c^-2*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^(1/2))^2)))*exp(-2*a*b^-1)+3*c^-1*d^2*e^-4*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1*a*b^-1)+-1*2^(1+p)*d^3*e^-4*(c*(d+e*x^(1/2))^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1//2*a*b^-1)+-1*d*2^(1+p)*3^(-1p)*e^-4*(c*(d+e*x^(1/2))^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^(1/2))^2)))*exp(-3//2*a*b^-1))
@test integrate((a+b*log(c*(d+e*x^(1/2))^2))^p, x) == :(c^-1*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1*a*b^-1)+-1*d*2^(1+p)*e^-2*(c*(d+e*x^(1/2))^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))^(-1p)*(a+b*log(c*(d+e*x^(1/2))^2))^p*(d+e*x^(1/2))*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^(1/2))^2)))*exp(-1//2*a*b^-1))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//2)))^p, x) == :(-1*2^(-1p)*c^-2*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,b^-1*(-2a+-2*b*log(c*(d+e*x^-1//2))))*exp(-2*a*b^-1)+2*d*c^-1*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))*exp(-1*a*b^-1))
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//2)))^p, x) == :(2*c^-1*d^5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))*exp(-1*a*b^-1)+-1*2^(-1p)*3^(-1+-1p)*c^-6*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^-1//2))))*exp(-6*a*b^-1)+-5*2^(-1p)*c^-2*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//2))))*exp(-2*a*b^-1)+-5*4^(-1p)*c^-4*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//2))))*exp(-4*a*b^-1)+2*d*5^(-1p)*c^-5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^-1//2))))*exp(-5*a*b^-1)+20*3^(-1+-1p)*c^-3*d^3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//2))))*exp(-3*a*b^-1))
@test integrate(x^-6*(a+b*log(c*(d+e*x^-1//2)))^p, x) == :(2*c^-1*d^9*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))*exp(-1*a*b^-1)+-1*2^(-1p)*5^(-1+-1p)*c^-10*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(10a+10*b*log(c*(d+e*x^-1//2))))*exp(-10*a*b^-1)+-21*2^(1+-2p)*c^-4*d^6*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//2))))*exp(-4*a*b^-1)+-9*2^(-1p)*c^-2*d^8*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//2))))*exp(-2*a*b^-1)+-9*8^(-1p)*c^-8*d^2*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(8a+8*b*log(c*(d+e*x^-1//2))))*exp(-8*a*b^-1)+-7*6^(1+-1p)*c^-6*d^4*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^-1//2))))*exp(-6*a*b^-1)+2*d*9^(-1p)*c^-9*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(9a+9*b*log(c*(d+e*x^-1//2))))*exp(-9*a*b^-1)+8*3^(1+-1p)*c^-3*d^7*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//2))))*exp(-3*a*b^-1)+24*7^(-1p)*c^-7*d^3*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(7a+7*b*log(c*(d+e*x^-1//2))))*exp(-7*a*b^-1)+252*5^(-1+-1p)*c^-5*d^5*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2))))^(-1p)*(a+b*log(c*(d+e*x^-1//2)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^-1//2))))*exp(-5*a*b^-1))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//2)^2))^p, x) == :(-1*c^-1*e^-2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))*exp(-1*a*b^-1)+d*2^(1+p)*e^-2*(c*(d+e*x^-1//2)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-1a+-1*b*log(c*(d+e*x^-1//2)^2)))*exp(-1//2*a*b^-1))
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//2)^2))^p, x) == :(-1*3^(-1+-1p)*c^-3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//2)^2)))*exp(-3*a*b^-1)+-5*c^-1*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))*exp(-1*a*b^-1)+-5*2^(-1p)*c^-2*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//2)^2)))*exp(-2*a*b^-1)+2^(1+p)*d^5*e^-6*(c*(d+e*x^-1//2)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))*exp(-1//2*a*b^-1)+d*2^(1+p)*5^(-1p)*e^-6*(c*(d+e*x^-1//2)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^-1//2)^2)))*exp(-5//2*a*b^-1)+5*2^(2+p)*3^(-1+-1p)*d^3*e^-6*(c*(d+e*x^-1//2)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^-1//2)^2)))*exp(-3//2*a*b^-1))
@test integrate(x^-6*(a+b*log(c*(d+e*x^-1//2)^2))^p, x) == :(-1*5^(-1+-1p)*c^-5*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^-1//2)^2)))*exp(-5*a*b^-1)+-9*c^-1*d^8*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))*exp(-1*a*b^-1)+-21*2^(1+-1p)*c^-2*d^6*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//2)^2)))*exp(-2*a*b^-1)+-14*3^(1+-1p)*c^-3*d^4*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//2)^2)))*exp(-3*a*b^-1)+-9*4^(-1p)*c^-4*d^2*e^-10*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//2)^2)))*exp(-4*a*b^-1)+2^(1+p)*d^9*e^-10*(c*(d+e*x^-1//2)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))*exp(-1//2*a*b^-1)+d*2^(1+p)*9^(-1p)*e^-10*(c*(d+e*x^-1//2)^2)^-9//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^9*SpecialFunctions.gamma(1+p,-1//2*b^-1*(9a+9*b*log(c*(d+e*x^-1//2)^2)))*exp(-9//2*a*b^-1)+2^(3+p)*3^(1+-1p)*d^7*e^-10*(c*(d+e*x^-1//2)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^-1//2)^2)))*exp(-3//2*a*b^-1)+3*2^(3+p)*7^(-1p)*d^3*e^-10*(c*(d+e*x^-1//2)^2)^-7//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^7*SpecialFunctions.gamma(1+p,-1//2*b^-1*(7a+7*b*log(c*(d+e*x^-1//2)^2)))*exp(-7//2*a*b^-1)+63*2^(2+p)*5^(-1+-1p)*d^5*e^-10*(c*(d+e*x^-1//2)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//2)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//2)^2))^p*(d+e*x^-1//2)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^-1//2)^2)))*exp(-5//2*a*b^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^1//3)))^p, x) == :(-3*c^-1*d^11*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3))))*exp(-1*a*b^-1)+3^(-1p)*4^(-1+-1p)*c^-12*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(12a+12*b*log(c*(d+e*x^1//3))))*exp(-12*a*b^-1)+-198*5^(-1p)*c^-5*d^7*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^1//3))))*exp(-5*a*b^-1)+-198*7^(-1p)*c^-7*d^5*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(7a+7*b*log(c*(d+e*x^1//3))))*exp(-7*a*b^-1)+-55*3^(-1p)*c^-3*d^9*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3))))*exp(-3*a*b^-1)+-55*9^(-1p)*c^-9*d^3*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(9a+9*b*log(c*(d+e*x^1//3))))*exp(-9*a*b^-1)+-3*d*11^(-1p)*c^-11*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(11a+11*b*log(c*(d+e*x^1//3))))*exp(-11*a*b^-1)+33*2^(-1+-1p)*c^-2*d^10*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3))))*exp(-2*a*b^-1)+495*2^(-2+-3p)*c^-8*d^4*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(8a+8*b*log(c*(d+e*x^1//3))))*exp(-8*a*b^-1)+495*4^(-1+-1p)*c^-4*d^8*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^1//3))))*exp(-4*a*b^-1)+33*2^(-1+-1p)*5^(-1p)*c^-10*d^2*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(10a+10*b*log(c*(d+e*x^1//3))))*exp(-10*a*b^-1)+77*2^(-1p)*3^(1+-1p)*c^-6*d^6*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^1//3))))*exp(-6*a*b^-1))
@test integrate(x^2*(a+b*log(c*(d+e*x^1//3)))^p, x) == :(3^(-1+-2p)*c^-9*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(9a+9*b*log(c*(d+e*x^1//3))))*exp(-9*a*b^-1)+3*c^-1*d^8*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3))))*exp(-1*a*b^-1)+-21*2^(1+-2p)*c^-4*d^5*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^1//3))))*exp(-4*a*b^-1)+-3*d*8^(-1p)*c^-8*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(8a+8*b*log(c*(d+e*x^1//3))))*exp(-8*a*b^-1)+-3*2^(2+-1p)*c^-2*d^7*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3))))*exp(-2*a*b^-1)+12*7^(-1p)*c^-7*d^2*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(7a+7*b*log(c*(d+e*x^1//3))))*exp(-7*a*b^-1)+28*3^(-1p)*c^-3*d^6*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3))))*exp(-3*a*b^-1)+42*5^(-1p)*c^-5*d^4*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^1//3))))*exp(-5*a*b^-1)+-7*2^(2+-1p)*3^(-1p)*c^-6*d^3*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^1//3))))*exp(-6*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^1//3)))^p, x) == :(-3*c^-1*d^5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3))))*exp(-1*a*b^-1)+2^(-1+-1p)*3^(-1p)*c^-6*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^1//3))))*exp(-6*a*b^-1)+-10*3^(-1p)*c^-3*d^3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3))))*exp(-3*a*b^-1)+-3*d*5^(-1p)*c^-5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^1//3))))*exp(-5*a*b^-1)+15*2^(-1+-1p)*c^-2*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3))))*exp(-2*a*b^-1)+15*2^(-1+-2p)*c^-4*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^1//3))))*exp(-4*a*b^-1))
@test integrate((a+b*log(c*(d+e*x^1//3)))^p, x) == :(3^(-1p)*c^-3*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3))))*exp(-3*a*b^-1)+3*c^-1*d^2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3))))*exp(-1*a*b^-1)+-3*d*2^(-1p)*c^-2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^1//3))))^(-1p)*(a+b*log(c*(d+e*x^1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3))))*exp(-2*a*b^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^1//3)^2))^p, x) == :(33//2*c^-1*d^10*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1*a*b^-1)+2^(-2+-1p)*3^(-1p)*c^-6*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^1//3)^2)))*exp(-6*a*b^-1)+77*3^(1+-1p)*c^-3*d^6*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3*a*b^-1)+495*2^(-2+-1p)*c^-2*d^8*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3)^2)))*exp(-2*a*b^-1)+495*2^(-2+-2p)*c^-4*d^4*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^1//3)^2)))*exp(-4*a*b^-1)+33//2*5^(-1p)*c^-5*d^2*e^-12*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^1//3)^2)))*exp(-5*a*b^-1)+-55*2//3^p*d^9*e^-12*(c*(d+e*x^1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3//2*a*b^-1)+-55*2//9^p*d^3*e^-12*(c*(d+e*x^1//3)^2)^-9//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^9*SpecialFunctions.gamma(1+p,-1//2*b^-1*(9a+9*b*log(c*(d+e*x^1//3)^2)))*exp(-9//2*a*b^-1)+-3*d*2//11^p*e^-12*(c*(d+e*x^1//3)^2)^-11//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^11*SpecialFunctions.gamma(1+p,-1//2*b^-1*(11a+11*b*log(c*(d+e*x^1//3)^2)))*exp(-11//2*a*b^-1)+-3*2^p*d^11*e^-12*(c*(d+e*x^1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1//2*a*b^-1)+-99*2^(1+p)*5^(-1p)*d^7*e^-12*(c*(d+e*x^1//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^1//3)^2)))*exp(-5//2*a*b^-1)+-99*2^(1+p)*7^(-1p)*d^5*e^-12*(c*(d+e*x^1//3)^2)^-7//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^7*SpecialFunctions.gamma(1+p,-1//2*b^-1*(7a+7*b*log(c*(d+e*x^1//3)^2)))*exp(-7//2*a*b^-1))
@test integrate(x^2*(a+b*log(c*(d+e*x^1//3)^2))^p, x) == :(-12*c^-1*d^7*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1*a*b^-1)+-28*3^(-1p)*c^-3*d^3*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3*a*b^-1)+-21*2^(1+-1p)*c^-2*d^5*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3)^2)))*exp(-2*a*b^-1)+-3*d*4^(-1p)*c^-4*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^1//3)^2)))*exp(-4*a*b^-1)+2^p*3^(-1+-2p)*e^-9*(c*(d+e*x^1//3)^2)^-9//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^9*SpecialFunctions.gamma(1+p,-1//2*b^-1*(9a+9*b*log(c*(d+e*x^1//3)^2)))*exp(-9//2*a*b^-1)+3*2^p*d^8*e^-9*(c*(d+e*x^1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1//2*a*b^-1)+3*2^(2+p)*7^(-1p)*d^2*e^-9*(c*(d+e*x^1//3)^2)^-7//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^7*SpecialFunctions.gamma(1+p,-1//2*b^-1*(7a+7*b*log(c*(d+e*x^1//3)^2)))*exp(-7//2*a*b^-1)+7*2^(2+p)*3^(-1p)*d^6*e^-9*(c*(d+e*x^1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3//2*a*b^-1)+21*2^(1+p)*5^(-1p)*d^4*e^-9*(c*(d+e*x^1//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^1//3)^2)))*exp(-5//2*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^1//3)^2))^p, x) == :((1/2)*3^(-1p)*c^-3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3*a*b^-1)+15//2*c^-1*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1*a*b^-1)+15*2^(-1+-1p)*c^-2*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^1//3)^2)))*exp(-2*a*b^-1)+-3*d*2//5^p*e^-6*(c*(d+e*x^1//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^1//3)^2)))*exp(-5//2*a*b^-1)+-3*2^p*d^5*e^-6*(c*(d+e*x^1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1//2*a*b^-1)+-5*2^(1+p)*3^(-1p)*d^3*e^-6*(c*(d+e*x^1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3//2*a*b^-1))
@test integrate((a+b*log(c*(d+e*x^1//3)^2))^p, x) == :(-3*d*c^-1*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1*a*b^-1)+2//3^p*e^-3*(c*(d+e*x^1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^1//3)^2)))*exp(-3//2*a*b^-1)+3*2^p*d^2*e^-3*(c*(d+e*x^1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^1//3)^2))^p*(d+e*x^1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^1//3)^2)))*exp(-1//2*a*b^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^2//3)))^p, x) == :(-3//2*c^-1*d^5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^2//3))))*exp(-1*a*b^-1)+2^(-2+-1p)*3^(-1p)*c^-6*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-6a+-6*b*log(c*(d+e*x^2//3))))*exp(-6*a*b^-1)+-5*3^(-1p)*c^-3*d^3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-3a+-3*b*log(c*(d+e*x^2//3))))*exp(-3*a*b^-1)+15*2^(-2+-1p)*c^-2*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-2a+-2*b*log(c*(d+e*x^2//3))))*exp(-2*a*b^-1)+15*2^(-2+-2p)*c^-4*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-4a+-4*b*log(c*(d+e*x^2//3))))*exp(-4*a*b^-1)+-3//2*d*5^(-1p)*c^-5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-5a+-5*b*log(c*(d+e*x^2//3))))*exp(-5*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^2//3)))^p, x) == :((1/2)*3^(-1p)*c^-3*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-3a+-3*b*log(c*(d+e*x^2//3))))*exp(-3*a*b^-1)+3//2*c^-1*d^2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^2//3))))*exp(-1*a*b^-1)+-3*d*2^(-1+-1p)*c^-2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^2//3))))^(-1p)*(a+b*log(c*(d+e*x^2//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-2a+-2*b*log(c*(d+e*x^2//3))))*exp(-2*a*b^-1))
@test integrate(x^3*(a+b*log(c*(d+e*x^2//3)^2))^p, x) == :(1//4*3^(-1p)*c^-3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*SpecialFunctions.gamma(1+p,b^-1*(-3a+-3*b*log(c*(d+e*x^2//3)^2)))*exp(-3*a*b^-1)+15//4*c^-1*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))*exp(-1*a*b^-1)+15*2^(-2+-1p)*c^-2*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*SpecialFunctions.gamma(1+p,b^-1*(-2a+-2*b*log(c*(d+e*x^2//3)^2)))*exp(-2*a*b^-1)+-5*2//3^p*d^3*e^-6*(c*(d+e*x^2//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*(d+e*x^2//3)^3*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-3a+-3*b*log(c*(d+e*x^2//3)^2)))*exp(-3//2*a*b^-1)+-3*2^(-1+p)*d^5*e^-6*(c*(d+e*x^2//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*(d+e*x^2//3)*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-1a+-1*b*log(c*(d+e*x^2//3)^2)))*exp(-1//2*a*b^-1)+-3*d*2^(-1+p)*5^(-1p)*e^-6*(c*(d+e*x^2//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*(d+e*x^2//3)^5*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-5a+-5*b*log(c*(d+e*x^2//3)^2)))*exp(-5//2*a*b^-1))
@test integrate(x*(a+b*log(c*(d+e*x^2//3)^2))^p, x) == :(-3//2*d*c^-1*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))*exp(-1*a*b^-1)+2^(-1+p)*3^(-1p)*e^-3*(c*(d+e*x^2//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*(d+e*x^2//3)^3*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-3a+-3*b*log(c*(d+e*x^2//3)^2)))*exp(-3//2*a*b^-1)+3*2^(-1+p)*d^2*e^-3*(c*(d+e*x^2//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^2//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^2//3)^2))^p*(d+e*x^2//3)*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-1a+-1*b*log(c*(d+e*x^2//3)^2)))*exp(-1//2*a*b^-1))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//3)))^p, x) == :(-1*3^(-1p)*c^-3*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-3a+-3*b*log(c*(d+e*x^-1//3))))*exp(-3*a*b^-1)+-3*c^-1*d^2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))*exp(-1*a*b^-1)+3*d*2^(-1p)*c^-2*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,b^-1*(-2a+-2*b*log(c*(d+e*x^-1//3))))*exp(-2*a*b^-1))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//3)))^p, x) == :(3*c^-1*d^5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))*exp(-1*a*b^-1)+-1*2^(-1+-1p)*3^(-1p)*c^-6*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^-1//3))))*exp(-6*a*b^-1)+-15*2^(-1+-1p)*c^-2*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//3))))*exp(-2*a*b^-1)+-15*2^(-1+-2p)*c^-4*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//3))))*exp(-4*a*b^-1)+3*d*5^(-1p)*c^-5*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^-1//3))))*exp(-5*a*b^-1)+10*3^(-1p)*c^-3*d^3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//3))))*exp(-3*a*b^-1))
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//3)))^p, x) == :(-1*3^(-1+-2p)*c^-9*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(9a+9*b*log(c*(d+e*x^-1//3))))*exp(-9*a*b^-1)+-3*c^-1*d^8*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))*exp(-1*a*b^-1)+-42*5^(-1p)*c^-5*d^4*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(5a+5*b*log(c*(d+e*x^-1//3))))*exp(-5*a*b^-1)+-28*3^(-1p)*c^-3*d^6*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//3))))*exp(-3*a*b^-1)+-12*7^(-1p)*c^-7*d^2*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(7a+7*b*log(c*(d+e*x^-1//3))))*exp(-7*a*b^-1)+3*d*8^(-1p)*c^-8*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(8a+8*b*log(c*(d+e*x^-1//3))))*exp(-8*a*b^-1)+3*2^(2+-1p)*c^-2*d^7*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//3))))*exp(-2*a*b^-1)+21*2^(1+-2p)*c^-4*d^5*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//3))))*exp(-4*a*b^-1)+7*2^(2+-1p)*3^(-1p)*c^-6*d^3*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3))))^(-1p)*(a+b*log(c*(d+e*x^-1//3)))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(6a+6*b*log(c*(d+e*x^-1//3))))*exp(-6*a*b^-1))
@test integrate(x^-2*(a+b*log(c*(d+e*x^-1//3)^2))^p, x) == :(3*d*c^-1*e^-3*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))*exp(-1*a*b^-1)+-1*2//3^p*e^-3*(c*(d+e*x^-1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^3*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-3a+-3*b*log(c*(d+e*x^-1//3)^2)))*exp(-3//2*a*b^-1)+-3*2^p*d^2*e^-3*(c*(d+e*x^-1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)*SpecialFunctions.gamma(1+p,(1/2)*b^-1*(-1a+-1*b*log(c*(d+e*x^-1//3)^2)))*exp(-1//2*a*b^-1))
@test integrate(x^-3*(a+b*log(c*(d+e*x^-1//3)^2))^p, x) == :(-15//2*c^-1*d^4*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))*exp(-1*a*b^-1)+-1//2*3^(-1p)*c^-3*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//3)^2)))*exp(-3*a*b^-1)+-15*2^(-1+-1p)*c^-2*d^2*e^-6*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//3)^2)))*exp(-2*a*b^-1)+3*d*2//5^p*e^-6*(c*(d+e*x^-1//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^-1//3)^2)))*exp(-5//2*a*b^-1)+3*2^p*d^5*e^-6*(c*(d+e*x^-1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))*exp(-1//2*a*b^-1)+5*2^(1+p)*3^(-1p)*d^3*e^-6*(c*(d+e*x^-1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^-1//3)^2)))*exp(-3//2*a*b^-1))
@test integrate(x^-4*(a+b*log(c*(d+e*x^-1//3)^2))^p, x) == :(12*c^-1*d^7*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))*exp(-1*a*b^-1)+3*d*4^(-1p)*c^-4*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(4a+4*b*log(c*(d+e*x^-1//3)^2)))*exp(-4*a*b^-1)+21*2^(1+-1p)*c^-2*d^5*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(2a+2*b*log(c*(d+e*x^-1//3)^2)))*exp(-2*a*b^-1)+28*3^(-1p)*c^-3*d^3*e^-9*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*SpecialFunctions.gamma(1+p,-1*b^-1*(3a+3*b*log(c*(d+e*x^-1//3)^2)))*exp(-3*a*b^-1)+-1*2^p*3^(-1+-2p)*e^-9*(c*(d+e*x^-1//3)^2)^-9//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^9*SpecialFunctions.gamma(1+p,-1//2*b^-1*(9a+9*b*log(c*(d+e*x^-1//3)^2)))*exp(-9//2*a*b^-1)+-3*2^p*d^8*e^-9*(c*(d+e*x^-1//3)^2)^-1//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)*SpecialFunctions.gamma(1+p,-1//2*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))*exp(-1//2*a*b^-1)+-21*2^(1+p)*5^(-1p)*d^4*e^-9*(c*(d+e*x^-1//3)^2)^-5//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^5*SpecialFunctions.gamma(1+p,-1//2*b^-1*(5a+5*b*log(c*(d+e*x^-1//3)^2)))*exp(-5//2*a*b^-1)+-7*2^(2+p)*3^(-1p)*d^6*e^-9*(c*(d+e*x^-1//3)^2)^-3//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^3*SpecialFunctions.gamma(1+p,-1//2*b^-1*(3a+3*b*log(c*(d+e*x^-1//3)^2)))*exp(-3//2*a*b^-1)+-3*2^(2+p)*7^(-1p)*d^2*e^-9*(c*(d+e*x^-1//3)^2)^-7//2*(-1*b^-1*(a+b*log(c*(d+e*x^-1//3)^2)))^(-1p)*(a+b*log(c*(d+e*x^-1//3)^2))^p*(d+e*x^-1//3)^7*SpecialFunctions.gamma(1+p,-1//2*b^-1*(7a+7*b*log(c*(d+e*x^-1//3)^2)))*exp(-7//2*a*b^-1))
@test integrate((h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))*(f+g*x), x) == :(2*a*f*h^-1*(h*x)^(1/2)+2//3*g*h^-2*(h*x)^3//2*(a+b*log(c*(d+e*x^2)^p))+-8*b*f*p*h^-1*(h*x)^(1/2)+2*b*f*h^-1*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+-8//9*b*g*p*h^-2*(h*x)^3//2+b*f*p*2^(1/2)*d^1//4*e^-1//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*f*p*2^(1/2)*d^1//4*e^-1//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*f*p*2^(1/2)*d^1//4*e^-1//4*h^-1//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*f*p*2^(1/2)*d^1//4*e^-1//4*h^-1//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))*(f+g*x), x) == :(-2*f*h^-1*(h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))+2*a*g*h^-2*(h*x)^(1/2)+-8*b*g*p*h^-2*(h*x)^(1/2)+2*b*g*h^-2*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+b*f*p*2^(1/2)*d^-1//4*e^1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+b*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*f*p*2^(1/2)*d^-1//4*e^1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*f*p*2^(1/2)*d^-1//4*e^1//4*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2*b*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*f*p*2^(1/2)*d^-1//4*e^1//4*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-5//2*(a+b*log(c*(d+e*x^2)^p))*(f+g*x), x) == :(-2*g*h^-2*(h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))+-2//3*f*h^-1*(h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))+b*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*f*p*2^(1/2)*d^-3//4*e^3//4*h^-5//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*f*p*2^(1/2)*d^-3//4*e^3//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*f*p*2^(1/2)*d^-3//4*e^3//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*f*p*2^(1/2)*d^-3//4*e^3//4*h^-5//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-7//2*(a+b*log(c*(d+e*x^2)^p))*(f+g*x), x) == :(-2//3*g*h^-2*(h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))+-2//5*f*h^-1*(h*x)^-5//2*(a+b*log(c*(d+e*x^2)^p))+-8//5*b*e*f*p*d^-1*h^-3*(h*x)^-1//2+-2//3*b*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//5*b*f*p*2^(1/2)*d^-5//4*e^5//4*h^-7//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1//5*b*f*p*2^(1/2)*d^-5//4*e^5//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//5*b*f*p*2^(1/2)*d^-5//4*e^5//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2//5*b*f*p*2^(1/2)*d^-5//4*e^5//4*h^-7//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-9//2*(a+b*log(c*(d+e*x^2)^p))*(f+g*x), x) == :(-2//5*g*h^-2*(h*x)^-5//2*(a+b*log(c*(d+e*x^2)^p))+-2//7*f*h^-1*(h*x)^-7//2*(a+b*log(c*(d+e*x^2)^p))+-8//5*b*e*g*p*d^-1*h^-4*(h*x)^-1//2+-8//21*b*e*f*p*d^-1*h^-3*(h*x)^-3//2+-2//5*b*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//7*b*f*p*2^(1/2)*d^-7//4*e^7//4*h^-9//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//5*b*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1//7*b*f*p*2^(1/2)*d^-7//4*e^7//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//5*b*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//7*b*f*p*2^(1/2)*d^-7//4*e^7//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//5*b*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2//7*b*f*p*2^(1/2)*d^-7//4*e^7//4*h^-9//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-1//2*(f+g*x)^2*(a+b*log(c*(d+e*x^2)^p)), x) == :(2*a*f^2*h^-1*(h*x)^(1/2)+2//5*g^2*h^-3*(h*x)^5//2*(a+b*log(c*(d+e*x^2)^p))+-8*b*p*f^2*h^-1*(h*x)^(1/2)+2*b*f^2*h^-1*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+-8//25*b*p*g^2*h^-3*(h*x)^5//2+4//3*f*g*h^-2*(h*x)^3//2*(a+b*log(c*(d+e*x^2)^p))+-16//9*b*f*g*p*h^-2*(h*x)^3//2+8//5*b*d*p*e^-1*g^2*h^-1*(h*x)^(1/2)+b*p*2^(1/2)*d^1//4*e^-1//4*f^2*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^1//4*e^-1//4*f^2*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^1//4*e^-1//4*f^2*h^-1//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^1//4*e^-1//4*f^2*h^-1//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//5*b*p*2^(1/2)*d^5//4*e^-5//4*g^2*h^-1//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//5*b*p*2^(1/2)*d^5//4*e^-5//4*g^2*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//5*b*p*2^(1/2)*d^5//4*e^-5//4*g^2*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//5*b*p*2^(1/2)*d^5//4*e^-5//4*g^2*h^-1//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-4//3*b*f*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*f*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*f*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+4//3*b*f*g*p*2^(1/2)*d^3//4*e^-3//4*h^-1//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-3//2*(f+g*x)^2*(a+b*log(c*(d+e*x^2)^p)), x) == :(-2*f^2*h^-1*(h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))+2//3*g^2*h^-3*(h*x)^3//2*(a+b*log(c*(d+e*x^2)^p))+4*a*f*g*h^-2*(h*x)^(1/2)+-8//9*b*p*g^2*h^-3*(h*x)^3//2+-16*b*f*g*p*h^-2*(h*x)^(1/2)+4*b*f*g*h^-2*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+b*p*2^(1/2)*d^-1//4*e^1//4*f^2*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^-1//4*e^1//4*f^2*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^-1//4*e^1//4*f^2*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^-1//4*e^1//4*f^2*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*p*2^(1/2)*d^3//4*e^-3//4*g^2*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*p*2^(1/2)*d^3//4*e^-3//4*g^2*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*p*2^(1/2)*d^3//4*e^-3//4*g^2*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*p*2^(1/2)*d^3//4*e^-3//4*g^2*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-4*b*f*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2*b*f*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2*b*f*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+4*b*f*g*p*2^(1/2)*d^1//4*e^-1//4*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-5//2*(f+g*x)^2*(a+b*log(c*(d+e*x^2)^p)), x) == :(2*a*g^2*h^-3*(h*x)^(1/2)+-2//3*f^2*h^-1*(h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))+-8*b*p*g^2*h^-3*(h*x)^(1/2)+-4*f*g*h^-2*(h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))+2*b*g^2*h^-3*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+b*p*2^(1/2)*d^1//4*e^-1//4*g^2*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^1//4*e^-1//4*g^2*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^1//4*e^-1//4*g^2*h^-5//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^1//4*e^-1//4*g^2*h^-5//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*p*2^(1/2)*d^-3//4*e^3//4*f^2*h^-5//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*p*2^(1/2)*d^-3//4*e^3//4*f^2*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*p*2^(1/2)*d^-3//4*e^3//4*f^2*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*p*2^(1/2)*d^-3//4*e^3//4*f^2*h^-5//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-4*b*f*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2*b*f*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2*b*f*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+4*b*f*g*p*2^(1/2)*d^-1//4*e^1//4*h^-5//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-7//2*(f+g*x)^2*(a+b*log(c*(d+e*x^2)^p)), x) == :(-2*g^2*h^-3*(h*x)^-1//2*(a+b*log(c*(d+e*x^2)^p))+-2//5*f^2*h^-1*(h*x)^-5//2*(a+b*log(c*(d+e*x^2)^p))+-4//3*f*g*h^-2*(h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))+-8//5*b*e*p*d^-1*f^2*h^-3*(h*x)^-1//2+b*p*2^(1/2)*d^-1//4*e^1//4*g^2*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^-1//4*e^1//4*g^2*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^-1//4*e^1//4*g^2*h^-7//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^-1//4*e^1//4*g^2*h^-7//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//5*b*p*2^(1/2)*d^-5//4*e^5//4*f^2*h^-7//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//5*b*p*2^(1/2)*d^-5//4*e^5//4*f^2*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//5*b*p*2^(1/2)*d^-5//4*e^5//4*f^2*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//5*b*p*2^(1/2)*d^-5//4*e^5//4*f^2*h^-7//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-4//3*b*f*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//3*b*f*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*f*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+4//3*b*f*g*p*2^(1/2)*d^-3//4*e^3//4*h^-7//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-9//2*(f+g*x)^2*(a+b*log(c*(d+e*x^2)^p)), x) == :(-2//3*g^2*h^-3*(h*x)^-3//2*(a+b*log(c*(d+e*x^2)^p))+-2//7*f^2*h^-1*(h*x)^-7//2*(a+b*log(c*(d+e*x^2)^p))+-4//5*f*g*h^-2*(h*x)^-5//2*(a+b*log(c*(d+e*x^2)^p))+-8//21*b*e*p*d^-1*f^2*h^-3*(h*x)^-3//2+-16//5*b*e*f*g*p*d^-1*h^-4*(h*x)^-1//2+-2//3*b*p*2^(1/2)*d^-3//4*e^3//4*g^2*h^-9//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//7*b*p*2^(1/2)*d^-7//4*e^7//4*f^2*h^-9//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-1//3*b*p*2^(1/2)*d^-3//4*e^3//4*g^2*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1//7*b*p*2^(1/2)*d^-7//4*e^7//4*f^2*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//3*b*p*2^(1/2)*d^-3//4*e^3//4*g^2*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+1//7*b*p*2^(1/2)*d^-7//4*e^7//4*f^2*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//3*b*p*2^(1/2)*d^-3//4*e^3//4*g^2*h^-9//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2//7*b*p*2^(1/2)*d^-7//4*e^7//4*f^2*h^-9//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-4//5*b*f*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+-2//5*b*f*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+2//5*b*f*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+4//5*b*f*g*p*2^(1/2)*d^-5//4*e^5//4*h^-9//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^(1/2)*(f+g*x)^-1*(a+b*log(c*(d+e*x^2)^p)), x) == :(2*a*g^-1*(h*x)^(1/2)+-8*b*p*g^-1*(h*x)^(1/2)+2*b*g^-1*(h*x)^(1/2)*log(c*(d+e*x^2)^p)+-2*f^(1/2)*g^-3//2*h^(1/2)*(a+b*log(c*(d+e*x^2)^p))*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))+-1*im*b*p*f^(1/2)*g^-3//2*h^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+-1*im*b*p*f^(1/2)*g^-3//2*h^(1/2)*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+-1*im*b*p*f^(1/2)*g^-3//2*h^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+-1*im*b*p*f^(1/2)*g^-3//2*h^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+-8*b*p*f^(1/2)*g^-3//2*h^(1/2)*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1)+2*b*p*f^(1/2)*g^-3//2*h^(1/2)*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+2*b*p*f^(1/2)*g^-3//2*h^(1/2)*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+2*b*p*f^(1/2)*g^-3//2*h^(1/2)*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+2*b*p*f^(1/2)*g^-3//2*h^(1/2)*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+4*im*b*p*f^(1/2)*g^-3//2*h^(1/2)*Polylogarithms.polylog(2,1+-2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1)+b*p*2^(1/2)*d^1//4*e^-1//4*g^-1*h^(1/2)*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^1//4*e^-1//4*g^-1*h^(1/2)*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^1//4*e^-1//4*g^-1*h^(1/2)*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^1//4*e^-1//4*g^-1*h^(1/2)*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate((h*x)^-1//2*(f+g*x)^-1*(a+b*log(c*(d+e*x^2)^p)), x) == :(2*f^-1//2*g^-1//2*h^-1//2*(a+b*log(c*(d+e*x^2)^p))*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))+im*b*p*f^-1//2*g^-1//2*h^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+im*b*p*f^-1//2*g^-1//2*h^-1//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+im*b*p*f^-1//2*g^-1//2*h^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+im*b*p*f^-1//2*g^-1//2*h^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+-4*im*b*p*f^-1//2*g^-1//2*h^-1//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1)+-2*b*p*f^-1//2*g^-1//2*h^-1//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+-2*b*p*f^-1//2*g^-1//2*h^-1//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+-2*b*p*f^-1//2*g^-1//2*h^-1//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+-2*b*p*f^-1//2*g^-1//2*h^-1//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+8*b*p*f^-1//2*g^-1//2*h^-1//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1))
@test integrate((h*x)^-3//2*(f+g*x)^-1*(a+b*log(c*(d+e*x^2)^p)), x) == :(-1*f^-1*h^-1*(h*x)^-1//2*(2a+2*b*log(c*(d+e*x^2)^p))+-2*f^-3//2*g^(1/2)*h^-3//2*(a+b*log(c*(d+e*x^2)^p))*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))+-1*im*b*p*f^-3//2*g^(1/2)*h^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+-1*im*b*p*f^-3//2*g^(1/2)*h^-3//2*Polylogarithms.polylog(2,1+2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+-1*im*b*p*f^-3//2*g^(1/2)*h^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+-1*im*b*p*f^-3//2*g^(1/2)*h^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+-8*b*p*f^-3//2*g^(1/2)*h^-3//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1)+2*b*p*f^-3//2*g^(1/2)*h^-3//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(-2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(-1*g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(h^(1/2)*(-1d)^1//4+-1*e^1//4*(h*x)^(1/2)))+2*b*p*f^-3//2*g^(1/2)*h^-3//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4+im*e^1//4*f^(1/2))^-1*(e^1//4*(h*x)^(1/2)+h^(1/2)*(-1d)^1//4))+2*b*p*f^-3//2*g^(1/2)*h^-3//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+im*e^1//4*f^(1/2)*h^(1/2))^-1*(e^1//4*(h*x)^(1/2)+(-1d)^1//4*(-1h)^(1/2)))+2*b*p*f^-3//2*g^(1/2)*h^-3//2*arctan(f^-1//2*g^(1/2)*h^-1//2*(h*x)^(1/2))*log(2*f^(1/2)*g^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1*(g^(1/2)*(-1d)^1//4*(-1h)^(1/2)+-1*im*e^1//4*f^(1/2)*h^(1/2))^-1*((-1d)^1//4*(-1h)^(1/2)+-1*e^1//4*(h*x)^(1/2)))+4*im*b*p*f^-3//2*g^(1/2)*h^-3//2*Polylogarithms.polylog(2,1+-2*f^(1/2)*h^(1/2)*(f^(1/2)*h^(1/2)+-1*im*g^(1/2)*(h*x)^(1/2))^-1)+b*p*2^(1/2)*d^-1//4*e^1//4*f^-1*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+-1*2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-1*b*p*2^(1/2)*d^-1//4*e^1//4*f^-1*h^-3//2*log(d^(1/2)*h^(1/2)+x*e^(1/2)*h^(1/2)+2^(1/2)*d^1//4*e^1//4*(h*x)^(1/2))+-2*b*p*2^(1/2)*d^-1//4*e^1//4*f^-1*h^-3//2*arctan(1+-1*2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2))+2*b*p*2^(1/2)*d^-1//4*e^1//4*f^-1*h^-3//2*arctan(1+2^(1/2)*d^-1//4*e^1//4*h^-1//2*(h*x)^(1/2)))
@test integrate(x^-1*log(f*x^p)*log(1+e*x^m), x) == :(p*m^-2*Polylogarithms.polylog(3,-1*e*x^m)+-1*m^-1*Polylogarithms.polylog(2,-1*e*x^m)*log(f*x^p))
@test integrate(x^(-1+m)*(d+e*x^m)^-1*log(f*x^p)^2, x) == :(e^-1*m^-1*log(f*x^p)^2*log(1+e*d^-1*x^m)+-2*e^-1*m^-3*p^2*Polylogarithms.polylog(3,-1*e*d^-1*x^m)+2*p*e^-1*m^-2*Polylogarithms.polylog(2,-1*e*d^-1*x^m)*log(f*x^p))
@test integrate(x^-1*log(f*x^p)^3*(a+b*log(c*(d+e*x^m)^n)), x) == :(1//4*p^-1*log(f*x^p)^4*(a+b*log(c*(d+e*x^m)^n))+-1*b*n*m^-1*log(f*x^p)^3*Polylogarithms.polylog(2,-1*e*d^-1*x^m)+6*b*n*m^-4*p^3*Polylogarithms.polylog(5,-1*e*d^-1*x^m)+-1//4*b*n*p^-1*log(f*x^p)^4*log(1+e*d^-1*x^m)+-6*b*n*m^-3*p^2*Polylogarithms.polylog(4,-1*e*d^-1*x^m)*log(f*x^p)+3*b*n*p*m^-2*log(f*x^p)^2*Polylogarithms.polylog(3,-1*e*d^-1*x^m))
@test integrate(x^-1*log(f*x^p)^2*(a+b*log(c*(d+e*x^m)^n)), x) == :(1//3*p^-1*log(f*x^p)^3*(a+b*log(c*(d+e*x^m)^n))+-1*b*n*m^-1*log(f*x^p)^2*Polylogarithms.polylog(2,-1*e*d^-1*x^m)+-2*b*n*m^-3*p^2*Polylogarithms.polylog(4,-1*e*d^-1*x^m)+-1//3*b*n*p^-1*log(f*x^p)^3*log(1+e*d^-1*x^m)+2*b*n*p*m^-2*Polylogarithms.polylog(3,-1*e*d^-1*x^m)*log(f*x^p))
@test integrate(x^-1*(a+b*log(c*(d+e*x^m)^n))*log(f*x^p), x) == :((1/2)*p^-1*log(f*x^p)^2*(a+b*log(c*(d+e*x^m)^n))+b*n*p*m^-2*Polylogarithms.polylog(3,-1*e*d^-1*x^m)+-1*b*n*m^-1*Polylogarithms.polylog(2,-1*e*d^-1*x^m)*log(f*x^p)+-1//2*b*n*p^-1*log(f*x^p)^2*log(1+e*d^-1*x^m))
@test integrate(x^-1*(a+b*log(c*(d+e*x^m)^n)), x) == :(m^-1*(a+b*log(c*(d+e*x^m)^n))*log(-1*e*d^-1*x^m)+b*n*m^-1*Polylogarithms.polylog(2,1+e*d^-1*x^m))
@test integrate(log(c*(d+e*(f+g*x)^3)^q), x) == :(-3*q*x+g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^3)^q)+q*d^1//3*e^-1//3*g^-1*log(d^1//3+e^1//3*(f+g*x))+-1//2*q*d^1//3*e^-1//3*g^-1*log(d^2//3+e^2//3*(f+g*x)^2+-1*d^1//3*e^1//3*(f+g*x))+-1*q*3^(1/2)*d^1//3*e^-1//3*g^-1*arctan(1//3*3^(1/2)*d^-1//3*(d^1//3+-2*e^1//3*(f+g*x))))
@test integrate(log(c*(d+e*(f+g*x)^2)^q), x) == :(-2*q*x+g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^2)^q)+2*q*d^(1/2)*e^-1//2*g^-1*arctan(d^-1//2*e^(1/2)*(f+g*x)))
@test integrate(log(c*(d+e*(f+g*x))^q), x) == :(-1*q*x+e^-1*g^-1*(d+e*f+e*g*x)*log(c*(d+e*(f+g*x))^q))
@test integrate(log(c*(d+e*(f+g*x)^-1)^q), x) == :(g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^-1)^q)+e*q*d^-1*g^-1*log(e+d*(f+g*x)))
@test integrate(log(c*(d+e*(f+g*x)^-2)^q), x) == :(g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^-2)^q)+2*q*d^-1//2*e^(1/2)*g^-1*arctan(d^(1/2)*e^-1//2*(f+g*x)))
@test integrate(log(c*(d+e*(f+g*x)^-3)^q), x) == :(g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^-3)^q)+q*d^-1//3*e^1//3*g^-1*log(e^1//3+d^1//3*(f+g*x))+-1//2*q*d^-1//3*e^1//3*g^-1*log(e^2//3+d^2//3*(f+g*x)^2+-1*d^1//3*e^1//3*(f+g*x))+-1*q*3^(1/2)*d^-1//3*e^1//3*g^-1*arctan(1//3*3^(1/2)*e^-1//3*(e^1//3+-2*d^1//3*(f+g*x))))
@test integrate((a+b*log(c*(d+e*(f+g*x)^-1)^p))^4, x) == :(d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^4*(e+d*(f+g*x))+-24*e*b^4*d^-1*g^-1*p^4*Polylogarithms.polylog(4,1+e*d^-1*(f+g*x)^-1)+-12*e*b^2*d^-1*g^-1*p^2*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^2*Polylogarithms.polylog(2,1+e*d^-1*(f+g*x)^-1)+-4*b*e*p*d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^3*log(-1*e*d^-1*(f+g*x)^-1)+24*e*b^3*d^-1*g^-1*p^3*(a+b*log(c*(d+e*(f+g*x)^-1)^p))*Polylogarithms.polylog(3,1+e*d^-1*(f+g*x)^-1))
@test integrate((a+b*log(c*(d+e*(f+g*x)^-1)^p))^3, x) == :(d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^3*(e+d*(f+g*x))+6*e*b^3*d^-1*g^-1*p^3*Polylogarithms.polylog(3,1+e*d^-1*(f+g*x)^-1)+-6*e*b^2*d^-1*g^-1*p^2*(a+b*log(c*(d+e*(f+g*x)^-1)^p))*Polylogarithms.polylog(2,1+e*d^-1*(f+g*x)^-1)+-3*b*e*p*d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^2*log(-1*e*d^-1*(f+g*x)^-1))
@test integrate((a+b*log(c*(d+e*(f+g*x)^-1)^p))^2, x) == :(d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))^2*(e+d*(f+g*x))+-2*e*b^2*d^-1*g^-1*p^2*Polylogarithms.polylog(2,1+e*d^-1*(f+g*x)^-1)+-2*b*e*p*d^-1*g^-1*(a+b*log(c*(d+e*(f+g*x)^-1)^p))*log(-1*e*d^-1*(f+g*x)^-1))
@test integrate(a+b*log(c*(d+e*(f+g*x)^-1)^p), x) == :(a*x+b*g^-1*(f+g*x)*log(c*(d+e*(f+g*x)^-1)^p)+b*e*p*d^-1*g^-1*log(e+d*(f+g*x)))

max_stars_repo_path: test/3 Logarithms/3.4 u (a+b log(c (d+e x^m)^n))^p.jl