text:
@testset "3.3 u (a+b log(c (d+e x)^n))^p" begin
    (a, b, c, d, e, f, g, h, i, j, m, n, p, q, x, ) = @variables a b c d e f g h i j m n p q x

    #= ::Package:: =#

    #= ::Title::Closed:: =#
    #=Integrands*of*the*form*AF(x)*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*log(c*(d+e*x))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*log(c*(d+e*x))^p=#

    @test_int [log(c*(d + e*x))^4, x, 5, 24*x - (24*(d + e*x)*log(c*(d + e*x)))/e + (12*(d + e*x)*log(c*(d + e*x))^2)/e - (4*(d + e*x)*log(c*(d + e*x))^3)/e + ((d + e*x)*log(c*(d + e*x))^4)/e]
    @test_int [log(c*(d + e*x))^3, x, 4, -6*x + (6*(d + e*x)*log(c*(d + e*x)))/e - (3*(d + e*x)*log(c*(d + e*x))^2)/e + ((d + e*x)*log(c*(d + e*x))^3)/e]
    @test_int [log(c*(d + e*x))^2, x, 3, 2*x - (2*(d + e*x)*log(c*(d + e*x)))/e + ((d + e*x)*log(c*(d + e*x))^2)/e]
    @test_int [log(c*(d + e*x))^1, x, 2, -x + ((d + e*x)*log(c*(d + e*x)))/e]
    @test_int [1/log(c*(d + e*x))^1, x, 2, LogIntegral(c*(d + e*x))/(c*e)]
    @test_int [1/log(c*(d + e*x))^2, x, 3, -((d + e*x)/(e*log(c*(d + e*x)))) + LogIntegral(c*(d + e*x))/(c*e)]
    @test_int [1/log(c*(d + e*x))^3, x, 4, -((d + e*x)/(2*e*log(c*(d + e*x))^2)) - (d + e*x)/(2*e*log(c*(d + e*x))) + LogIntegral(c*(d + e*x))/(2*c*e)]
    @test_int [1/log(c*(d + e*x))^4, x, 5, -((d + e*x)/(3*e*log(c*(d + e*x))^3)) - (d + e*x)/(6*e*log(c*(d + e*x))^2) - (d + e*x)/(6*e*log(c*(d + e*x))) + LogIntegral(c*(d + e*x))/(6*c*e)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*log(c*(d+e*x))^(p/2)=#

    @test_int [log(c*(d + e*x))^(5/2), x, 7, -((15*sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(8*c*e)) + (15*(d + e*x)*sqrt(log(c*(d + e*x))))/(4*e) - (5*(d + e*x)*log(c*(d + e*x))^(3/2))/(2*e) + ((d + e*x)*log(c*(d + e*x))^(5/2))/e]
    @test_int [log(c*(d + e*x))^(3/2), x, 6, (3*sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(4*c*e) - (3*(d + e*x)*sqrt(log(c*(d + e*x))))/(2*e) + ((d + e*x)*log(c*(d + e*x))^(3/2))/e]
    @test_int [log(c*(d + e*x))^(1/2), x, 5, -((sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(2*c*e)) + ((d + e*x)*sqrt(log(c*(d + e*x))))/e]
    @test_int [1/log(c*(d + e*x))^(1/2), x, 4, (sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(c*e)]
    @test_int [1/log(c*(d + e*x))^(3/2), x, 5, (2*sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(c*e) - (2*(d + e*x))/(e*sqrt(log(c*(d + e*x))))]
    @test_int [1/log(c*(d + e*x))^(5/2), x, 6, (4*sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(3*c*e) - (2*(d + e*x))/(3*e*log(c*(d + e*x))^(3/2)) - (4*(d + e*x))/(3*e*sqrt(log(c*(d + e*x))))]
    @test_int [1/log(c*(d + e*x))^(7/2), x, 7, (8*sqrt(pi)*erfi(sqrt(log(c*(d + e*x)))))/(15*c*e) - (2*(d + e*x))/(5*e*log(c*(d + e*x))^(5/2)) - (4*(d + e*x))/(15*e*log(c*(d + e*x))^(3/2)) - (8*(d + e*x))/(15*e*sqrt(log(c*(d + e*x))))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*log(c*(d+e*x))^p*with*p*symbolic=#

    @test_int [log(c*(d + e*x))^p, x, 3, (Gamma(1 + p, -log(c*(d + e*x)))*log(c*(d + e*x))^p)/((-log(c*(d + e*x)))^p*(c*e))]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d+e*x)^n))^p=#

    @test_int [(a + b*log(c*(d + e*x)^n))^4, x, 6, -24*a*b^3*n^3*x + 24*b^4*n^4*x - (24*b^4*n^3*(d + e*x)*log(c*(d + e*x)^n))/e + (12*b^2*n^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e - (4*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^4)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^3, x, 5, 6*a*b^2*n^2*x - 6*b^3*n^3*x + (6*b^3*n^2*(d + e*x)*log(c*(d + e*x)^n))/e - (3*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^2, x, 4, -2*a*b*n*x + 2*b^2*n^2*x - (2*b^2*n*(d + e*x)*log(c*(d + e*x)^n))/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^1, x, 3, a*x - b*n*x + (b*(d + e*x)*log(c*(d + e*x)^n))/e]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^1, x, 3, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e*n))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2, x, 4, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e*n^2)) - (d + e*x)/(b*e*n*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^3, x, 5, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*b^3*e*n^3)) - (d + e*x)/(2*b*e*n*(a + b*log(c*(d + e*x)^n))^2) - (d + e*x)/(2*b^2*e*n^2*(a + b*log(c*(d + e*x)^n)))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d+e*x)^n))^(p/2)=#

    @test_int [(a + b*log(c*(d + e*x)^n))^(5/2), x, 7, -((15*b^(5/2)*n^(5/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(8*e))) + (15*b^2*n^2*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(4*e) - (5*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/(2*e) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(5/2))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^(3/2), x, 6, (3*b^(3/2)*n^(3/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(4*e)) - (3*b*n*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(2*e) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^(1/2), x, 5, -((sqrt(b)*sqrt(n)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*e))) + ((d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/e]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^(1/2), x, 4, (sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(sqrt(b)*e*sqrt(n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^(3/2), x, 5, (2*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^(3/2)*e*n^(3/2))) - (2*(d + e*x))/(b*e*n*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^(5/2), x, 6, (4*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(3*b^(5/2)*e*n^(5/2))) - (2*(d + e*x))/(3*b*e*n*(a + b*log(c*(d + e*x)^n))^(3/2)) - (4*(d + e*x))/(3*b^2*e*n^2*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^(7/2), x, 7, (8*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(15*b^(7/2)*e*n^(7/2))) - (2*(d + e*x))/(5*b*e*n*(a + b*log(c*(d + e*x)^n))^(5/2)) - (4*(d + e*x))/(15*b^2*e*n^2*(a + b*log(c*(d + e*x)^n))^(3/2)) - (8*(d + e*x))/(15*b^3*e*n^3*sqrt(a + b*log(c*(d + e*x)^n)))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d+e*x)^n))^p*with*p*symbolic=#

    @test_int [(a + b*log(c*(d + e*x)^n))^p, x, 3, ((d + e*x)*Gamma(1 + p, -((a + b*log(c*(d + e*x)^n))/(b*n)))*(a + b*log(c*(d + e*x)^n))^p)/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^p*e)]

    @test_int [(a + b*log(c*(d + e*x)^(1/2)))^p, x, 3, (Gamma(1 + p, -((2*(a + b*log(c*sqrt(d + e*x))))/b))*(a + b*log(c*sqrt(d + e*x)))^p)/(2^p*ℯ^((2*a)/b)*(-((a + b*log(c*sqrt(d + e*x)))/b))^p*(c^2*e))]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p*when*e*f-d*g=0=#

    @test_int [(e + f*x)^(p - 1)/log(d*(e + f*x)^p), x, 3, LogIntegral(d*(e + f*x)^p)/(d*f*p)]
    @test_int [(e*g + f*g*x)^(p - 1)/log(d*(e + f*x)^p), x, 4, ((e + f*x)^(1 - p)*(g*(e + f*x))^(-1 + p)*LogIntegral(d*(e + f*x)^p))/(d*f*p)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*x)^4, x, 3, -((b*(e*f - d*g)^4*n*x)/(5*e^4)) - (b*(e*f - d*g)^3*n*(f + g*x)^2)/(10*e^3*g) - (b*(e*f - d*g)^2*n*(f + g*x)^3)/(15*e^2*g) - (b*(e*f - d*g)*n*(f + g*x)^4)/(20*e*g) - (b*n*(f + g*x)^5)/(25*g) - (b*(e*f - d*g)^5*n*log(d + e*x))/(5*e^5*g) + ((f + g*x)^5*(a + b*log(c*(d + e*x)^n)))/(5*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*x)^3, x, 3, -((b*(e*f - d*g)^3*n*x)/(4*e^3)) - (b*(e*f - d*g)^2*n*(f + g*x)^2)/(8*e^2*g) - (b*(e*f - d*g)*n*(f + g*x)^3)/(12*e*g) - (b*n*(f + g*x)^4)/(16*g) - (b*(e*f - d*g)^4*n*log(d + e*x))/(4*e^4*g) + ((f + g*x)^4*(a + b*log(c*(d + e*x)^n)))/(4*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*x)^2, x, 3, -((b*(e*f - d*g)^2*n*x)/(3*e^2)) - (b*(e*f - d*g)*n*(f + g*x)^2)/(6*e*g) - (b*n*(f + g*x)^3)/(9*g) - (b*(e*f - d*g)^3*n*log(d + e*x))/(3*e^3*g) + ((f + g*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*x)^1, x, 3, -((b*(e*f - d*g)*n*x)/(2*e)) - (b*n*(f + g*x)^2)/(4*g) - (b*(e*f - d*g)^2*n*log(d + e*x))/(2*e^2*g) + ((f + g*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*x)^0, x, 3, a*x - b*n*x + (b*(d + e*x)*log(c*(d + e*x)^n))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^1, x, 3, ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g + (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 4, (b*e*n*log(d + e*x))/(g*(e*f - d*g)) - (a + b*log(c*(d + e*x)^n))/(g*(f + g*x)) - (b*e*n*log(f + g*x))/(g*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^3, x, 3, (b*e*n)/(2*g*(e*f - d*g)*(f + g*x)) + (b*e^2*n*log(d + e*x))/(2*g*(e*f - d*g)^2) - (a + b*log(c*(d + e*x)^n))/(2*g*(f + g*x)^2) - (b*e^2*n*log(f + g*x))/(2*g*(e*f - d*g)^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^4, x, 3, (b*e*n)/(6*g*(e*f - d*g)*(f + g*x)^2) + (b*e^2*n)/(3*g*(e*f - d*g)^2*(f + g*x)) + (b*e^3*n*log(d + e*x))/(3*g*(e*f - d*g)^3) - (a + b*log(c*(d + e*x)^n))/(3*g*(f + g*x)^3) - (b*e^3*n*log(f + g*x))/(3*g*(e*f - d*g)^3)]

    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^3, x, 8, (2*b^2*(e*f - d*g)^3*n^2*x)/e^3 + (3*b^2*g*(e*f - d*g)^2*n^2*(d + e*x)^2)/(4*e^4) + (2*b^2*g^2*(e*f - d*g)*n^2*(d + e*x)^3)/(9*e^4) + (b^2*g^3*n^2*(d + e*x)^4)/(32*e^4) + (b^2*(e*f - d*g)^4*n^2*log(d + e*x)^2)/(4*e^4*g) - (2*b*(e*f - d*g)^3*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/e^4 - (3*b*g*(e*f - d*g)^2*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^4) - (2*b*g^2*(e*f - d*g)*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*e^4) - (b*g^3*n*(d + e*x)^4*(a + b*log(c*(d + e*x)^n)))/(8*e^4) - (b*(e*f - d*g)^4*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(2*e^4*g) + ((f + g*x)^4*(a + b*log(c*(d + e*x)^n))^2)/(4*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^2, x, 8, (2*b^2*(e*f - d*g)^2*n^2*x)/e^2 + (b^2*g*(e*f - d*g)*n^2*(d + e*x)^2)/(2*e^3) + (2*b^2*g^2*n^2*(d + e*x)^3)/(27*e^3) + (b^2*(e*f - d*g)^3*n^2*log(d + e*x)^2)/(3*e^3*g) - (2*b*(e*f - d*g)^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/e^3 - (b*g*(e*f - d*g)*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/e^3 - (2*b*g^2*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (2*b*(e*f - d*g)^3*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*e^3*g) + ((f + g*x)^3*(a + b*log(c*(d + e*x)^n))^2)/(3*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^1, x, 9, -((2*a*b*(e*f - d*g)*n*x)/e) + (2*b^2*(e*f - d*g)*n^2*x)/e + (b^2*g*n^2*(d + e*x)^2)/(4*e^2) - (2*b^2*(e*f - d*g)*n*(d + e*x)*log(c*(d + e*x)^n))/e^2 - (b*g*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2) + ((e*f - d*g)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^2 + (g*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^0, x, 4, -2*a*b*n*x + 2*b^2*n^2*x - (2*b^2*n*(d + e*x)*log(c*(d + e*x)^n))/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^1, x, 4, ((a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/g + (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g - (2*b^2*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^2, x, 4, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/((e*f - d*g)*(f + g*x)) - (2*b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)) - (2*b^2*e*n^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^3, x, 7, -((b*e*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/((e*f - d*g)^2*(f + g*x))) - (a + b*log(c*(d + e*x)^n))^2/(2*g*(f + g*x)^2) + (b^2*e^2*n^2*log(f + g*x))/(g*(e*f - d*g)^2) - (b*e^2*n*(a + b*log(c*(d + e*x)^n))*log(1 + (e*f - d*g)/(g*(d + e*x))))/(g*(e*f - d*g)^2) + (b^2*e^2*n^2*PolyLog(2, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^4, x, 11, -((b^2*e^2*n^2)/(3*g*(e*f - d*g)^2*(f + g*x))) - (b^2*e^3*n^2*log(d + e*x))/(3*g*(e*f - d*g)^3) + (b*e*n*(a + b*log(c*(d + e*x)^n)))/(3*g*(e*f - d*g)*(f + g*x)^2) - (2*b*e^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*(e*f - d*g)^3*(f + g*x)) - (a + b*log(c*(d + e*x)^n))^2/(3*g*(f + g*x)^3) + (b^2*e^3*n^2*log(f + g*x))/(g*(e*f - d*g)^3) - (2*b*e^3*n*(a + b*log(c*(d + e*x)^n))*log(1 + (e*f - d*g)/(g*(d + e*x))))/(3*g*(e*f - d*g)^3) + (2*b^2*e^3*n^2*PolyLog(2, -((e*f - d*g)/(g*(d + e*x)))))/(3*g*(e*f - d*g)^3)]

    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^3, x, 19, (6*a*b^2*(e*f - d*g)^3*n^2*x)/e^3 - (6*b^3*(e*f - d*g)^3*n^3*x)/e^3 - (9*b^3*g*(e*f - d*g)^2*n^3*(d + e*x)^2)/(8*e^4) - (2*b^3*g^2*(e*f - d*g)*n^3*(d + e*x)^3)/(9*e^4) - (3*b^3*g^3*n^3*(d + e*x)^4)/(128*e^4) + (6*b^3*(e*f - d*g)^3*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^4 + (9*b^2*g*(e*f - d*g)^2*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^4) + (2*b^2*g^2*(e*f - d*g)*n^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*e^4) + (3*b^2*g^3*n^2*(d + e*x)^4*(a + b*log(c*(d + e*x)^n)))/(32*e^4) - (3*b*(e*f - d*g)^3*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^4 - (9*b*g*(e*f - d*g)^2*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^4) - (b*g^2*(e*f - d*g)*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^2)/e^4 - (3*b*g^3*n*(d + e*x)^4*(a + b*log(c*(d + e*x)^n))^2)/(16*e^4) + ((e*f - d*g)^3*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e^4 + (3*g*(e*f - d*g)^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(2*e^4) + (g^2*(e*f - d*g)*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^3)/e^4 + (g^3*(d + e*x)^4*(a + b*log(c*(d + e*x)^n))^3)/(4*e^4)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^2, x, 15, (6*a*b^2*(e*f - d*g)^2*n^2*x)/e^2 - (6*b^3*(e*f - d*g)^2*n^3*x)/e^2 - (3*b^3*g*(e*f - d*g)*n^3*(d + e*x)^2)/(4*e^3) - (2*b^3*g^2*n^3*(d + e*x)^3)/(27*e^3) + (6*b^3*(e*f - d*g)^2*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^3 + (3*b^2*g*(e*f - d*g)*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^3) + (2*b^2*g^2*n^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (3*b*(e*f - d*g)^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^3 - (3*b*g*(e*f - d*g)*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^3) - (b*g^2*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) + ((e*f - d*g)^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e^3 + (g*(e*f - d*g)*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/e^3 + (g^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^3)/(3*e^3)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^1, x, 11, (6*a*b^2*(e*f - d*g)*n^2*x)/e - (6*b^3*(e*f - d*g)*n^3*x)/e - (3*b^3*g*n^3*(d + e*x)^2)/(8*e^2) + (6*b^3*(e*f - d*g)*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^2 + (3*b^2*g*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^2) - (3*b*(e*f - d*g)*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^2 - (3*b*g*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) + ((e*f - d*g)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e^2 + (g*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(2*e^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^0, x, 5, 6*a*b^2*n^2*x - 6*b^3*n^3*x + (6*b^3*n^2*(d + e*x)*log(c*(d + e*x)^n))/e - (3*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^1, x, 5, ((a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/g + (3*b*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g - (6*b^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g + (6*b^3*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^2, x, 5, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/((e*f - d*g)*(f + g*x)) - (3*b*e*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)) - (6*b^2*e*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g)) + (6*b^3*e*n^3*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^3, x, 9, -((3*b*e*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(2*(e*f - d*g)^2*(f + g*x))) - (a + b*log(c*(d + e*x)^n))^3/(2*g*(f + g*x)^2) + (3*b^2*e^2*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)^2) - (3*b*e^2*n*(a + b*log(c*(d + e*x)^n))^2*log(1 + (e*f - d*g)/(g*(d + e*x))))/(2*g*(e*f - d*g)^2) + (3*b^2*e^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^2) + (3*b^3*e^2*n^3*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g)^2) + (3*b^3*e^2*n^3*PolyLog(3, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^4, x, 16, (b^2*e^2*n^2*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/((e*f - d*g)^3*(f + g*x)) + (b*e*n*(a + b*log(c*(d + e*x)^n))^2)/(2*g*(e*f - d*g)*(f + g*x)^2) - (b*e^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/((e*f - d*g)^3*(f + g*x)) - (a + b*log(c*(d + e*x)^n))^3/(3*g*(f + g*x)^3) - (b^3*e^3*n^3*log(f + g*x))/(g*(e*f - d*g)^3) + (2*b^2*e^3*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)^3) + (b^2*e^3*n^2*(a + b*log(c*(d + e*x)^n))*log(1 + (e*f - d*g)/(g*(d + e*x))))/(g*(e*f - d*g)^3) - (b*e^3*n*(a + b*log(c*(d + e*x)^n))^2*log(1 + (e*f - d*g)/(g*(d + e*x))))/(g*(e*f - d*g)^3) - (b^3*e^3*n^3*PolyLog(2, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^3) + (2*b^2*e^3*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^3) + (2*b^3*e^3*n^3*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g)^3) + (2*b^3*e^3*n^3*PolyLog(3, -((e*f - d*g)/(g*(d + e*x)))))/(g*(e*f - d*g)^3)]

    @test_int [(a + b*log(c*(d + e*x)^n))^4*(f + g*x)^1, x, 13, -((24*a*b^3*(e*f - d*g)*n^3*x)/e) + (24*b^4*(e*f - d*g)*n^4*x)/e + (3*b^4*g*n^4*(d + e*x)^2)/(4*e^2) - (24*b^4*(e*f - d*g)*n^3*(d + e*x)*log(c*(d + e*x)^n))/e^2 - (3*b^3*g*n^3*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2) + (12*b^2*(e*f - d*g)*n^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^2 + (3*b^2*g*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2) - (4*b*(e*f - d*g)*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e^2 - (b*g*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/e^2 + ((e*f - d*g)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^4)/e^2 + (g*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^4)/(2*e^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^4*(f + g*x)^0, x, 6, -24*a*b^3*n^3*x + 24*b^4*n^4*x - (24*b^4*n^3*(d + e*x)*log(c*(d + e*x)^n))/e + (12*b^2*n^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e - (4*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^4)/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^4/(f + g*x)^1, x, 6, ((a + b*log(c*(d + e*x)^n))^4*log((e*(f + g*x))/(e*f - d*g)))/g + (4*b*n*(a + b*log(c*(d + e*x)^n))^3*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g - (12*b^2*n^2*(a + b*log(c*(d + e*x)^n))^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g + (24*b^3*n^3*(a + b*log(c*(d + e*x)^n))*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/g - (24*b^4*n^4*PolyLog(5, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^4/(f + g*x)^2, x, 6, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^4)/((e*f - d*g)*(f + g*x)) - (4*b*e*n*(a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)) - (12*b^2*e*n^2*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g)) + (24*b^3*e*n^3*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g)) - (24*b^4*e*n^4*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/(g*(e*f - d*g))]

    @test_int [log(a + b*x), x, 2, -x + ((a + b*x)*log(a + b*x))/b]
    @test_int [log(a + b*x)^2, x, 3, 2*x - (2*(a + b*x)*log(a + b*x))/b + ((a + b*x)*log(a + b*x)^2)/b]
    @test_int [log(a + b*x)^3, x, 4, -6*x + (6*(a + b*x)*log(a + b*x))/b - (3*(a + b*x)*log(a + b*x)^2)/b + ((a + b*x)*log(a + b*x)^3)/b]

    @test_int [log(a + b*x + c*x), x, 3, -x + ((a + (b + c)*x)*log(a + (b + c)*x))/(b + c)]
    @test_int [log(a + b*x + c*x)^2, x, 4, 2*x - (2*(a + (b + c)*x)*log(a + (b + c)*x))/(b + c) + ((a + (b + c)*x)*log(a + (b + c)*x)^2)/(b + c)]
    @test_int [log(a + b*x + c*x)^3, x, 5, -6*x + (6*(a + (b + c)*x)*log(a + (b + c)*x))/(b + c) - (3*(a + (b + c)*x)*log(a + (b + c)*x)^2)/(b + c) + ((a + (b + c)*x)*log(a + (b + c)*x)^3)/(b + c)]

    @test_int [log(c*(d + e*x)^n), x, 2, (-n)*x + ((d + e*x)*log(c*(d + e*x)^n))/e]

    @test_int [log(-g*(d + e*x)/(e*f - d*g))/(f + g*x), x, 2, -(PolyLog(2, (e*(f + g*x))/(e*f - d*g))/g)]

    @test_int [(a + b*log(c*(1/c + e*x)))/x, x, 2, a*log(x)-b*PolyLog(2,-c*e*x)]

    @test_int [log(3 + e*x)/x, x, 2, log(3)*log(x) - PolyLog(2, -((e*x)/3))]
    @test_int [log(2 + e*x)/x, x, 2, log(2)*log(x) - PolyLog(2, -((e*x)/2))]
    @test_int [log(1 + e*x)/x, x, 1, -PolyLog(2, -e*x)]
    @test_int [log(0 + e*x)/x, x, 1, (1/2)*log(e*x)^2]
    @test_int [log(-1 + e*x)/x, x, 2, log(e*x)*log(-1 + e*x) + PolyLog(2, 1 - e*x)]
    @test_int [log(-2 + e*x)/x, x, 2, log((e*x)/2)*log(-2 + e*x) + PolyLog(2, 1 - (e*x)/2)]

    @test_int [(a + b*log(3 + e*x))/x, x, 2, (a + b*log(3))*log(x) - b*PolyLog(2, -((e*x)/3))]
    @test_int [(a + b*log(2 + e*x))/x, x, 2, (a + b*log(2))*log(x) - b*PolyLog(2, -((e*x)/2))]
    @test_int [(a + b*log(1 + e*x))/x, x, 2, a*log(x) - b*PolyLog(2, (-e)*x)]
    @test_int [(a + b*log(0 + e*x))/x, x, 1, (a + b*log(e*x))^2/(2*b)]
    @test_int [(a + b*log(-1 + e*x))/x, x, 2, log(e*x)*(a + b*log(-1 + e*x)) + b*PolyLog(2, 1 - e*x)]
    @test_int [(a + b*log(-2 + e*x))/x, x, 2, log((e*x)/2)*(a + b*log(-2 + e*x)) + b*PolyLog(2, 1 - (e*x)/2)]

    @test_int [log(c*(a + b*x)^n)^2*x^2, x, 7, (2*a^2*n^2*x)/b^2 - (a*n^2*(a + b*x)^2)/(2*b^3) + (2*n^2*(a + b*x)^3)/(27*b^3) - (a^3*n^2*log(a + b*x)^2)/(3*b^3) - (2*a^2*n*(a + b*x)*log(c*(a + b*x)^n))/b^3 + (a*n*(a + b*x)^2*log(c*(a + b*x)^n))/b^3 - (2*n*(a + b*x)^3*log(c*(a + b*x)^n))/(9*b^3) + (2*a^3*n*log(a + b*x)*log(c*(a + b*x)^n))/(3*b^3) + (1/3)*x^3*log(c*(a + b*x)^n)^2]
    @test_int [log(c*(a + b*x)^n)^2/x^4, x, 11, -((b^2*n^2)/(3*a^2*x)) - (b^3*n^2*log(x))/a^3 + (b^3*n^2*log(a + b*x))/(3*a^3) - (b*n*log(c*(a + b*x)^n))/(3*a*x^2) + (2*b^2*n*(a + b*x)*log(c*(a + b*x)^n))/(3*a^3*x) - log(c*(a + b*x)^n)^2/(3*x^3) + (2*b^3*n*log(c*(a + b*x)^n)*log(1 - a/(a + b*x)))/(3*a^3) - (2*b^3*n^2*PolyLog(2, a/(a + b*x)))/(3*a^3)]

    @test_int [x^2*log(c*(a + b*x)^n)^3, x, 14, -((6*a^2*n^3*x)/b^2) + (3*a*n^3*(a + b*x)^2)/(4*b^3) - (2*n^3*(a + b*x)^3)/(27*b^3) + (6*a^2*n^2*(a + b*x)*log(c*(a + b*x)^n))/b^3 - (3*a*n^2*(a + b*x)^2*log(c*(a + b*x)^n))/(2*b^3) + (2*n^2*(a + b*x)^3*log(c*(a + b*x)^n))/(9*b^3) - (3*a^2*n*(a + b*x)*log(c*(a + b*x)^n)^2)/b^3 + (3*a*n*(a + b*x)^2*log(c*(a + b*x)^n)^2)/(2*b^3) - (n*(a + b*x)^3*log(c*(a + b*x)^n)^2)/(3*b^3) + (a^2*(a + b*x)*log(c*(a + b*x)^n)^3)/b^3 - (a*(a + b*x)^2*log(c*(a + b*x)^n)^3)/b^3 + ((a + b*x)^3*log(c*(a + b*x)^n)^3)/(3*b^3)]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [1/(a + b*log(c*(d + e*x)^n))*(f + g*x)^3, x, 14, ((e*f - d*g)^3*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e^4*n)) + (3*g*(e*f - d*g)^2*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b*e^4*n)) + (3*g^2*(e*f - d*g)*(d + e*x)^3*ExpIntegralEi((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b*e^4*n)) + (g^3*(d + e*x)^4*ExpIntegralEi((4*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(b*e^4*n))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))*(f + g*x)^2, x, 11, ((e*f - d*g)^2*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e^3*n)) + (2*g*(e*f - d*g)*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b*e^3*n)) + (g^2*(d + e*x)^3*ExpIntegralEi((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b*e^3*n))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))*(f + g*x)^1, x, 8, ((e*f - d*g)*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e^2*n)) + (g*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b*e^2*n))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))*(f + g*x)^0, x, 3, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e*n))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))/(f + g*x)^1, x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x)]
    @test_int [1/(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 0, Unintegrable(1/((f + g*x)^2*(a + b*log(c*(d + e*x)^n))), x)]

    @test_int [1/(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^3, x, 26, ((e*f - d*g)^3*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e^4*n^2)) + (6*g*(e*f - d*g)^2*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^2*e^4*n^2)) + (9*g^2*(e*f - d*g)*(d + e*x)^3*ExpIntegralEi((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^2*e^4*n^2)) + (4*g^3*(d + e*x)^4*ExpIntegralEi((4*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(b^2*e^4*n^2)) - ((d + e*x)*(f + g*x)^3)/(b*e*n*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^2, x, 20, ((e*f - d*g)^2*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e^3*n^2)) + (4*g*(e*f - d*g)*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^2*e^3*n^2)) + (3*g^2*(d + e*x)^3*ExpIntegralEi((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^2*e^3*n^2)) - ((d + e*x)*(f + g*x)^2)/(b*e*n*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^1, x, 12, ((e*f - d*g)*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e^2*n^2)) + (2*g*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^2*e^2*n^2)) - ((d + e*x)*(f + g*x))/(b*e*n*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^0, x, 4, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e*n^2)) - (d + e*x)/(b*e*n*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^1, x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x)]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^2, x, 0, Unintegrable(1/((f + g*x)^2*(a + b*log(c*(d + e*x)^n))^2), x)]

    @test_int [1/(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^2, x, 33, ((e*f - d*g)^2*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*b^3*e^3*n^3)) + (4*g*(e*f - d*g)*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^3*e^3*n^3)) + (9*g^2*(d + e*x)^3*ExpIntegralEi((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(2*b^3*e^3*n^3)) - ((d + e*x)*(f + g*x)^2)/(2*b*e*n*(a + b*log(c*(d + e*x)^n))^2) + ((e*f - d*g)*(d + e*x)*(f + g*x))/(b^2*e^2*n^2*(a + b*log(c*(d + e*x)^n))) - (3*(d + e*x)*(f + g*x)^2)/(2*b^2*e*n^2*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^1, x, 17, ((e*f - d*g)*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*b^3*e^2*n^3)) + (2*g*(d + e*x)^2*ExpIntegralEi((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^3*e^2*n^3)) - ((d + e*x)*(f + g*x))/(2*b*e*n*(a + b*log(c*(d + e*x)^n))^2) + ((e*f - d*g)*(d + e*x))/(2*b^2*e^2*n^2*(a + b*log(c*(d + e*x)^n))) - ((d + e*x)*(f + g*x))/(b^2*e*n^2*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^0, x, 5, ((d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*b^3*e*n^3)) - (d + e*x)/(2*b*e*n*(a + b*log(c*(d + e*x)^n))^2) - (d + e*x)/(2*b^2*e*n^2*(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^1, x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^3), x)]
    @test_int [1/(a + b*log(c*(d + e*x)^n))^3/(f + g*x)^2, x, 0, Unintegrable(1/((f + g*x)^2*(a + b*log(c*(d + e*x)^n))^3), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d*(e+f*x)^p)^q))^(n/2)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(f + g*x)^2*sqrt(a + b*log(c*(d + e*x)^n)), x, 17, -((sqrt(b)*(e*f - d*g)^2*sqrt(n)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*e^3))) - (sqrt(b)*g*(e*f - d*g)*sqrt(n)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(2*e^3)) - (sqrt(b)*g^2*sqrt(n)*sqrt(pi/3)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(6*e^3)) + ((e*f - d*g)^2*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/e^3 + (g*(e*f - d*g)*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/e^3 + (g^2*(d + e*x)^3*sqrt(a + b*log(c*(d + e*x)^n)))/(3*e^3)]
    @test_int [(f + g*x)^1*sqrt(a + b*log(c*(d + e*x)^n)), x, 12, -((sqrt(b)*(e*f - d*g)*sqrt(n)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*e^2))) - (sqrt(b)*g*sqrt(n)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(4*e^2)) + ((e*f - d*g)*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/e^2 + (g*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/(2*e^2)]
    @test_int [(f + g*x)^0*sqrt(a + b*log(c*(d + e*x)^n)), x, 5, -((sqrt(b)*sqrt(n)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(2*e))) + ((d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/e]
    @test_int [sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x)^1, x, 0, Unintegrable(sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x), x)]
    @test_int [sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 1, ((d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/((e*f - d*g)*(f + g*x)) - (b*e*n*Unintegrable(1/((f + g*x)*sqrt(a + b*log(c*(d + e*x)^n))), x))/(2*(e*f - d*g))]
    @test_int [sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x)^3, x, 1, -(sqrt(a + b*log(c*(d + e*x)^n))/(2*g*(f + g*x)^2)) + (b*e*n*Unintegrable(1/((d + e*x)*(f + g*x)^2*sqrt(a + b*log(c*(d + e*x)^n))), x))/(4*g)]

    @test_int [(f + g*x)^2*(a + b*log(c*(d + e*x)^n))^(3/2), x, 20, (3*b^(3/2)*(e*f - d*g)^2*n^(3/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(4*e^3)) + (3*b^(3/2)*g*(e*f - d*g)*n^(3/2)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(8*e^3)) + (b^(3/2)*g^2*n^(3/2)*sqrt(pi/3)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(12*e^3)) - (3*b*(e*f - d*g)^2*n*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(2*e^3) - (3*b*g*(e*f - d*g)*n*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/(4*e^3) - (b*g^2*n*(d + e*x)^3*sqrt(a + b*log(c*(d + e*x)^n)))/(6*e^3) + ((e*f - d*g)^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/e^3 + (g*(e*f - d*g)*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(3/2))/e^3 + (g^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^(3/2))/(3*e^3)]
    @test_int [(f + g*x)^1*(a + b*log(c*(d + e*x)^n))^(3/2), x, 14, (3*b^(3/2)*(e*f - d*g)*n^(3/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(4*e^2)) + (3*b^(3/2)*g*n^(3/2)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(16*e^2)) - (3*b*(e*f - d*g)*n*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(2*e^2) - (3*b*g*n*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/(8*e^2) + ((e*f - d*g)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/e^2 + (g*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(3/2))/(2*e^2)]
    @test_int [(f + g*x)^0*(a + b*log(c*(d + e*x)^n))^(3/2), x, 6, (3*b^(3/2)*n^(3/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(4*e)) - (3*b*n*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(2*e) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^(3/2)/(f + g*x)^1, x, 0, Unintegrable((a + b*log(c*(d + e*x)^n))^(3/2)/(f + g*x), x)]
    @test_int [(a + b*log(c*(d + e*x)^n))^(3/2)/(f + g*x)^2, x, 1, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/((e*f - d*g)*(f + g*x)) - (3*b*e*n*Unintegrable(sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x), x))/(2*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^(3/2)/(f + g*x)^3, x, 1, -((a + b*log(c*(d + e*x)^n))^(3/2)/(2*g*(f + g*x)^2)) + (3*b*e*n*Unintegrable(sqrt(a + b*log(c*(d + e*x)^n))/((d + e*x)*(f + g*x)^2), x))/(4*g)]

    @test_int [(f + g*x)^2*(a + b*log(c*(d + e*x)^n))^(5/2), x, 23, -((15*b^(5/2)*(e*f - d*g)^2*n^(5/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(8*e^3))) - (15*b^(5/2)*g*(e*f - d*g)*n^(5/2)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(32*e^3)) - (5*b^(5/2)*g^2*n^(5/2)*sqrt(pi/3)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(72*e^3)) + (15*b^2*(e*f - d*g)^2*n^2*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(4*e^3) + (15*b^2*g*(e*f - d*g)*n^2*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/(16*e^3) + (5*b^2*g^2*n^2*(d + e*x)^3*sqrt(a + b*log(c*(d + e*x)^n)))/(36*e^3) - (5*b*(e*f - d*g)^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/(2*e^3) - (5*b*g*(e*f - d*g)*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(3/2))/(4*e^3) - (5*b*g^2*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^(3/2))/(18*e^3) + ((e*f - d*g)^2*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(5/2))/e^3 + (g*(e*f - d*g)*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(5/2))/e^3 + (g^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^(5/2))/(3*e^3)]
    @test_int [(f + g*x)^1*(a + b*log(c*(d + e*x)^n))^(5/2), x, 16, -((15*b^(5/2)*(e*f - d*g)*n^(5/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(8*e^2))) - (15*b^(5/2)*g*n^(5/2)*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(64*e^2)) + (15*b^2*(e*f - d*g)*n^2*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(4*e^2) + (15*b^2*g*n^2*(d + e*x)^2*sqrt(a + b*log(c*(d + e*x)^n)))/(32*e^2) - (5*b*(e*f - d*g)*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/(2*e^2) - (5*b*g*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(3/2))/(8*e^2) + ((e*f - d*g)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(5/2))/e^2 + (g*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^(5/2))/(2*e^2)]
    @test_int [(f + g*x)^0*(a + b*log(c*(d + e*x)^n))^(5/2), x, 7, -((15*b^(5/2)*n^(5/2)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(8*e))) + (15*b^2*n^2*(d + e*x)*sqrt(a + b*log(c*(d + e*x)^n)))/(4*e) - (5*b*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^(3/2))/(2*e) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(5/2))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))^(5/2)/(f + g*x)^1, x, 0, Unintegrable((a + b*log(c*(d + e*x)^n))^(5/2)/(f + g*x), x)]
    @test_int [(a + b*log(c*(d + e*x)^n))^(5/2)/(f + g*x)^2, x, 1, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^(5/2))/((e*f - d*g)*(f + g*x)) - (5*b*e*n*Unintegrable((a + b*log(c*(d + e*x)^n))^(3/2)/(f + g*x), x))/(2*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^(5/2)/(f + g*x)^3, x, 1, -((a + b*log(c*(d + e*x)^n))^(5/2)/(2*g*(f + g*x)^2)) + (5*b*e*n*Unintegrable((a + b*log(c*(d + e*x)^n))^(3/2)/((d + e*x)*(f + g*x)^2), x))/(4*g)]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(f + g*x)^3/sqrt(a + b*log(c*(d + e*x)^n)), x, 18, ((e*f - d*g)^3*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(sqrt(b)*e^4*sqrt(n))) + (g^3*sqrt(pi)*(d + e*x)^4*erfi((2*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(2*sqrt(b)*e^4*sqrt(n))) + (3*g*(e*f - d*g)^2*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(sqrt(b)*e^4*sqrt(n))) + (g^2*(e*f - d*g)*sqrt(3*pi)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(sqrt(b)*e^4*sqrt(n)))]
    @test_int [(f + g*x)^2/sqrt(a + b*log(c*(d + e*x)^n)), x, 14, ((e*f - d*g)^2*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(sqrt(b)*e^3*sqrt(n))) + (g*(e*f - d*g)*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(sqrt(b)*e^3*sqrt(n))) + (g^2*sqrt(pi/3)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(sqrt(b)*e^3*sqrt(n)))]
    @test_int [(f + g*x)^1/sqrt(a + b*log(c*(d + e*x)^n)), x, 10, ((e*f - d*g)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(sqrt(b)*e^2*sqrt(n))) + (g*sqrt(pi/2)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(sqrt(b)*e^2*sqrt(n)))]
    @test_int [(f + g*x)^0/sqrt(a + b*log(c*(d + e*x)^n)), x, 4, (sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(sqrt(b)*e*sqrt(n)))]
    @test_int [1/((f + g*x)^1*sqrt(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/((f + g*x)*sqrt(a + b*log(c*(d + e*x)^n))), x)]

    @test_int [(f + g*x)^3/(a + b*log(c*(d + e*x)^n))^(3/2), x, 33, (2*(e*f - d*g)^3*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^(3/2)*e^4*n^(3/2))) + (4*g^3*sqrt(pi)*(d + e*x)^4*erfi((2*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(b^(3/2)*e^4*n^(3/2))) + (6*g*(e*f - d*g)^2*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^(3/2)*e^4*n^(3/2))) + (6*g^2*(e*f - d*g)*sqrt(3*pi)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^(3/2)*e^4*n^(3/2))) - (2*(d + e*x)*(f + g*x)^3)/(b*e*n*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^2/(a + b*log(c*(d + e*x)^n))^(3/2), x, 25, (2*(e*f - d*g)^2*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^(3/2)*e^3*n^(3/2))) + (4*g*(e*f - d*g)*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^(3/2)*e^3*n^(3/2))) + (2*g^2*sqrt(3*pi)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^(3/2)*e^3*n^(3/2))) - (2*(d + e*x)*(f + g*x)^2)/(b*e*n*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^1/(a + b*log(c*(d + e*x)^n))^(3/2), x, 15, (2*(e*f - d*g)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^(3/2)*e^2*n^(3/2))) + (2*g*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^(3/2)*e^2*n^(3/2))) - (2*(d + e*x)*(f + g*x))/(b*e*n*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^0/(a + b*log(c*(d + e*x)^n))^(3/2), x, 5, (2*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^(3/2)*e*n^(3/2))) - (2*(d + e*x))/(b*e*n*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/((f + g*x)^1*(a + b*log(c*(d + e*x)^n))^(3/2)), x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^(3/2)), x)]

    @test_int [(f + g*x)^3/(a + b*log(c*(d + e*x)^n))^(5/2), x, 59, (4*(e*f - d*g)^3*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(3*b^(5/2)*e^4*n^(5/2))) + (32*g^3*sqrt(pi)*(d + e*x)^4*erfi((2*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(3*b^(5/2)*e^4*n^(5/2))) + (8*g*(e*f - d*g)^2*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(b^(5/2)*e^4*n^(5/2))) + (12*g^2*(e*f - d*g)*sqrt(3*pi)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^(5/2)*e^4*n^(5/2))) - (2*(d + e*x)*(f + g*x)^3)/(3*b*e*n*(a + b*log(c*(d + e*x)^n))^(3/2)) + (4*(e*f - d*g)*(d + e*x)*(f + g*x)^2)/(b^2*e^2*n^2*sqrt(a + b*log(c*(d + e*x)^n))) - (16*(d + e*x)*(f + g*x)^3)/(3*b^2*e*n^2*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^2/(a + b*log(c*(d + e*x)^n))^(5/2), x, 41, (4*(e*f - d*g)^2*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(3*b^(5/2)*e^3*n^(5/2))) + (16*g*(e*f - d*g)*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(3*b^(5/2)*e^3*n^(5/2))) + (4*g^2*sqrt(3*pi)*(d + e*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(b^(5/2)*e^3*n^(5/2))) - (2*(d + e*x)*(f + g*x)^2)/(3*b*e*n*(a + b*log(c*(d + e*x)^n))^(3/2)) + (8*(e*f - d*g)*(d + e*x)*(f + g*x))/(3*b^2*e^2*n^2*sqrt(a + b*log(c*(d + e*x)^n))) - (4*(d + e*x)*(f + g*x)^2)/(b^2*e*n^2*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^1/(a + b*log(c*(d + e*x)^n))^(5/2), x, 21, (4*(e*f - d*g)*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(3*b^(5/2)*e^2*n^(5/2))) + (8*g*sqrt(2*pi)*(d + e*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d + e*x)^n)))/(sqrt(b)*sqrt(n))))/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(3*b^(5/2)*e^2*n^(5/2))) - (2*(d + e*x)*(f + g*x))/(3*b*e*n*(a + b*log(c*(d + e*x)^n))^(3/2)) + (4*(e*f - d*g)*(d + e*x))/(3*b^2*e^2*n^2*sqrt(a + b*log(c*(d + e*x)^n))) - (8*(d + e*x)*(f + g*x))/(3*b^2*e*n^2*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [(f + g*x)^0/(a + b*log(c*(d + e*x)^n))^(5/2), x, 6, (4*sqrt(pi)*(d + e*x)*erfi(sqrt(a + b*log(c*(d + e*x)^n))/(sqrt(b)*sqrt(n))))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(3*b^(5/2)*e*n^(5/2))) - (2*(d + e*x))/(3*b*e*n*(a + b*log(c*(d + e*x)^n))^(3/2)) - (4*(d + e*x))/(3*b^2*e*n^2*sqrt(a + b*log(c*(d + e*x)^n)))]
    @test_int [1/((f + g*x)^1*(a + b*log(c*(d + e*x)^n))^(5/2)), x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^(5/2)), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^(m/2)*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)), x, 6, -((4*b*(e*f - d*g)^2*n*sqrt(f + g*x))/(5*e^2*g)) - (4*b*(e*f - d*g)*n*(f + g*x)^(3/2))/(15*e*g) - (4*b*n*(f + g*x)^(5/2))/(25*g) + (4*b*(e*f - d*g)^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(5*e^(5/2)*g) + (2*(f + g*x)^(5/2)*(a + b*log(c*(d + e*x)^n)))/(5*g)]
    @test_int [(f + g*x)^(1/2)*(a + b*log(c*(d + e*x)^n)), x, 5, -((4*b*(e*f - d*g)*n*sqrt(f + g*x))/(3*e*g)) - (4*b*n*(f + g*x)^(3/2))/(9*g) + (4*b*(e*f - d*g)^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(3*e^(3/2)*g) + (2*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)))/(3*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^(1/2), x, 4, -((4*b*n*sqrt(f + g*x))/g) + (4*b*sqrt(e*f - d*g)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(sqrt(e)*g) + (2*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^(3/2), x, 3, -((4*b*sqrt(e)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(g*sqrt(e*f - d*g))) - (2*(a + b*log(c*(d + e*x)^n)))/(g*sqrt(f + g*x))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^(5/2), x, 4, (4*b*e*n)/(3*g*(e*f - d*g)*sqrt(f + g*x)) - (4*b*e^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(3*g*(e*f - d*g)^(3/2)) - (2*(a + b*log(c*(d + e*x)^n)))/(3*g*(f + g*x)^(3/2))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^(7/2), x, 5, (4*b*e*n)/(15*g*(e*f - d*g)*(f + g*x)^(3/2)) + (4*b*e^2*n)/(5*g*(e*f - d*g)^2*sqrt(f + g*x)) - (4*b*e^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(5*g*(e*f - d*g)^(5/2)) - (2*(a + b*log(c*(d + e*x)^n)))/(5*g*(f + g*x)^(5/2))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(f + g*x)^(9/2), x, 6, (4*b*e*n)/(35*g*(e*f - d*g)*(f + g*x)^(5/2)) + (4*b*e^2*n)/(21*g*(e*f - d*g)^2*(f + g*x)^(3/2)) + (4*b*e^3*n)/(7*g*(e*f - d*g)^3*sqrt(f + g*x)) - (4*b*e^(7/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(7*g*(e*f - d*g)^(7/2)) - (2*(a + b*log(c*(d + e*x)^n)))/(7*g*(f + g*x)^(7/2))]

    @test_int [(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n))^2, x, 28, (368*b^2*(e*f - d*g)^2*n^2*sqrt(f + g*x))/(75*e^2*g) + (128*b^2*(e*f - d*g)*n^2*(f + g*x)^(3/2))/(225*e*g) + (16*b^2*n^2*(f + g*x)^(5/2))/(125*g) - (368*b^2*(e*f - d*g)^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(75*e^(5/2)*g) - (8*b^2*(e*f - d*g)^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(5*e^(5/2)*g) - (8*b*(e*f - d*g)^2*n*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/(5*e^2*g) - (8*b*(e*f - d*g)*n*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)))/(15*e*g) - (8*b*n*(f + g*x)^(5/2)*(a + b*log(c*(d + e*x)^n)))/(25*g) + (8*b*(e*f - d*g)^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(5*e^(5/2)*g) + (2*(f + g*x)^(5/2)*(a + b*log(c*(d + e*x)^n))^2)/(5*g) + (16*b^2*(e*f - d*g)^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(5*e^(5/2)*g) + (8*b^2*(e*f - d*g)^(5/2)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(5*e^(5/2)*g)]
    @test_int [(f + g*x)^(1/2)*(a + b*log(c*(d + e*x)^n))^2, x, 21, (64*b^2*(e*f - d*g)*n^2*sqrt(f + g*x))/(9*e*g) + (16*b^2*n^2*(f + g*x)^(3/2))/(27*g) - (64*b^2*(e*f - d*g)^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(9*e^(3/2)*g) - (8*b^2*(e*f - d*g)^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(3*e^(3/2)*g) - (8*b*(e*f - d*g)*n*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/(3*e*g) - (8*b*n*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)))/(9*g) + (8*b*(e*f - d*g)^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(3*e^(3/2)*g) + (2*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n))^2)/(3*g) + (16*b^2*(e*f - d*g)^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(3*e^(3/2)*g) + (8*b^2*(e*f - d*g)^(3/2)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(3*e^(3/2)*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^(1/2), x, 15, (16*b^2*n^2*sqrt(f + g*x))/g - (16*b^2*sqrt(e*f - d*g)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(sqrt(e)*g) - (8*b^2*sqrt(e*f - d*g)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(sqrt(e)*g) - (8*b*n*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/g + (8*b*sqrt(e*f - d*g)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(sqrt(e)*g) + (2*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n))^2)/g + (16*b^2*sqrt(e*f - d*g)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(sqrt(e)*g) + (8*b^2*sqrt(e*f - d*g)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(sqrt(e)*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^(3/2), x, 10, (8*b^2*sqrt(e)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(g*sqrt(e*f - d*g)) - (8*b*sqrt(e)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(g*sqrt(e*f - d*g)) - (2*(a + b*log(c*(d + e*x)^n))^2)/(g*sqrt(f + g*x)) - (16*b^2*sqrt(e)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(g*sqrt(e*f - d*g)) - (8*b^2*sqrt(e)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(g*sqrt(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^(5/2), x, 14, (16*b^2*e^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(3*g*(e*f - d*g)^(3/2)) + (8*b^2*e^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(3*g*(e*f - d*g)^(3/2)) + (8*b*e*n*(a + b*log(c*(d + e*x)^n)))/(3*g*(e*f - d*g)*sqrt(f + g*x)) - (8*b*e^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(3*g*(e*f - d*g)^(3/2)) - (2*(a + b*log(c*(d + e*x)^n))^2)/(3*g*(f + g*x)^(3/2)) - (16*b^2*e^(3/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(3*g*(e*f - d*g)^(3/2)) - (8*b^2*e^(3/2)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(3*g*(e*f - d*g)^(3/2))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^(7/2), x, 19, -((16*b^2*e^2*n^2)/(15*g*(e*f - d*g)^2*sqrt(f + g*x))) + (64*b^2*e^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(15*g*(e*f - d*g)^(5/2)) + (8*b^2*e^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(5*g*(e*f - d*g)^(5/2)) + (8*b*e*n*(a + b*log(c*(d + e*x)^n)))/(15*g*(e*f - d*g)*(f + g*x)^(3/2)) + (8*b*e^2*n*(a + b*log(c*(d + e*x)^n)))/(5*g*(e*f - d*g)^2*sqrt(f + g*x)) - (8*b*e^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(5*g*(e*f - d*g)^(5/2)) - (2*(a + b*log(c*(d + e*x)^n))^2)/(5*g*(f + g*x)^(5/2)) - (16*b^2*e^(5/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(5*g*(e*f - d*g)^(5/2)) - (8*b^2*e^(5/2)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(5*g*(e*f - d*g)^(5/2))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(f + g*x)^(9/2), x, 25, -((16*b^2*e^2*n^2)/(105*g*(e*f - d*g)^2*(f + g*x)^(3/2))) - (128*b^2*e^3*n^2)/(105*g*(e*f - d*g)^3*sqrt(f + g*x)) + (368*b^2*e^(7/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(105*g*(e*f - d*g)^(7/2)) + (8*b^2*e^(7/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(7*g*(e*f - d*g)^(7/2)) + (8*b*e*n*(a + b*log(c*(d + e*x)^n)))/(35*g*(e*f - d*g)*(f + g*x)^(5/2)) + (8*b*e^2*n*(a + b*log(c*(d + e*x)^n)))/(21*g*(e*f - d*g)^2*(f + g*x)^(3/2)) + (8*b*e^3*n*(a + b*log(c*(d + e*x)^n)))/(7*g*(e*f - d*g)^3*sqrt(f + g*x)) - (8*b*e^(7/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(7*g*(e*f - d*g)^(7/2)) - (2*(a + b*log(c*(d + e*x)^n))^2)/(7*g*(f + g*x)^(7/2)) - (16*b^2*e^(7/2)*n^2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(7*g*(e*f - d*g)^(7/2)) - (8*b^2*e^(7/2)*n^2*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(7*g*(e*f - d*g)^(7/2))]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(f + g*x)^(3/2)/(a + b*log(c*(d + e*x)^n)), x, 0, Unintegrable((f + g*x)^(3/2)/(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [(f + g*x)^(1/2)/(a + b*log(c*(d + e*x)^n)), x, 0, Unintegrable(sqrt(f + g*x)/(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [1/((f + g*x)^(1/2)*(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/(sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n))), x)]
    @test_int [1/((f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/((f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n))), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^(m/2)*(a+b*log(c*(d*(e+f*x)^p)^q))^(n/2)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [sqrt(f + g*x)*sqrt(a + b*log(c*(d + e*x)^n)), x, 1, (2*(f + g*x)^(3/2)*sqrt(a + b*log(c*(d + e*x)^n)))/(3*g) - (b*e*n*Unintegrable((f + g*x)^(3/2)/((d + e*x)*sqrt(a + b*log(c*(d + e*x)^n))), x))/(3*g)]
    @test_int [sqrt(a + b*log(c*(d + e*x)^n))/sqrt(f + g*x), x, 1, (2*sqrt(f + g*x)*sqrt(a + b*log(c*(d + e*x)^n)))/g - (b*e*n*Unintegrable(sqrt(f + g*x)/((d + e*x)*sqrt(a + b*log(c*(d + e*x)^n))), x))/g]
    @test_int [sqrt(a + b*log(c*(d + e*x)^n))/(f + g*x)^(3/2), x, 1, -((2*sqrt(a + b*log(c*(d + e*x)^n)))/(g*sqrt(f + g*x))) + (b*e*n*Unintegrable(1/((d + e*x)*sqrt(f + g*x)*sqrt(a + b*log(c*(d + e*x)^n))), x))/g]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [sqrt(f + g*x)/sqrt(a + b*log(c*(d + e*x)^n)), x, 0, Unintegrable(sqrt(f + g*x)/sqrt(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [1/(sqrt(f + g*x)*sqrt(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/(sqrt(f + g*x)*sqrt(a + b*log(c*(d + e*x)^n))), x)]
    @test_int [1/((f + g*x)^(3/2)*sqrt(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/((f + g*x)^(3/2)*sqrt(a + b*log(c*(d + e*x)^n))), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p*when*m*symbolic=#

    #= [(a + b*log(c*(d + e*x)^n))^3*(f + g*x)^m, x, 0, (3*a^2*b*f*p*q*(f + g*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (f*(f + g*x))/(f*g - e*h)))/(h*(f*g - e*h)*(1 + m)*(2 + m)) + (6*a*b^2*p^2*q^2*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], ((-f)*g + e*h)/(h*(e + f*x))))/(h*(1 + m)^3) - (6*b^3*p^3*q^3*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m, -1 - m], [-m, -m, -m], ((-f)*g + e*h)/(h*(e + f*x))))/(h*(1 + m)^4) - (6*a*b^2*p*q*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, ((-f)*g + e*h)/(h*(e + f*x)))*log(c*(d + e*x)^n))/(h*(1 + m)^2) + (6*b^3*p^2*q^2*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], ((-f)*g + e*h)/(h*(e + f*x)))*log(c*(d + e*x)^n))/(h*(1 + m)^3) - (3*b^3*p*q*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, ((-f)*g + e*h)/(h*(e + f*x)))*log(c*(d + e*x)^n)^2)/(h*(1 + m)^2) + ((f + g*x)^(1 + m)*(a + b*log(c*(d + e*x)^n))^3)/(h*(1 + m))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*x)^m, x, 0, (a^2*(f + g*x)^(1 + m))/(h*(1 + m)) + (2*a*b*f*p*q*(f + g*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (f*(f + g*x))/(f*g - e*h)))/(h*(f*g - e*h)*(1 + m)*(2 + m)) + (2*b^2*p^2*q^2*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], ((-f)*g + e*h)/(h*(e + f*x))))/(h*(1 + m)^3) + (2*a*b*(f + g*x)^(1 + m)*log(c*(d + e*x)^n))/(h*(1 + m)) - (2*b^2*p*q*(f + g*x)^(1 + m)*((f*(f + g*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, ((-f)*g + e*h)/(h*(e + f*x)))*log(c*(d + e*x)^n))/(h*(1 + m)^2) + (b^2*(f + g*x)^(1 + m)*log(c*(d + e*x)^n)^2)/(h*(1 + m))] =#
    @test_int [(a + b*log(c*(d + e*x)^n))^1*(f + g*x)^m, x, 2, (b*e*n*(f + g*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (e*(f + g*x))/(e*f - d*g)))/(g*(e*f - d*g)*(1 + m)*(2 + m)) + ((f + g*x)^(1 + m)*(a + b*log(c*(d + e*x)^n)))/(g*(1 + m))]
    @test_int [(f + g*x)^m/(a + b*log(c*(d + e*x)^n))^1, x, 0, Unintegrable((f + g*x)^m/(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [(f + g*x)^m/(a + b*log(c*(d + e*x)^n))^2, x, 0, Unintegrable((f + g*x)^m/(a + b*log(c*(d + e*x)^n))^2, x)]

    @test_int [(f + g*x)^m*(a + b*log(c*(d + e*x)^n))^(3/2), x, 0, Unintegrable((f + g*x)^m*(a + b*log(c*(d + e*x)^n))^(3/2), x)]
    @test_int [(f + g*x)^m*(a + b*log(c*(d + e*x)^n))^(1/2), x, 0, Unintegrable((f + g*x)^m*sqrt(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [(f + g*x)^m/(a + b*log(c*(d + e*x)^n))^(1/2), x, 0, Unintegrable((f + g*x)^m/sqrt(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [(f + g*x)^m/(a + b*log(c*(d + e*x)^n))^(3/2), x, 0, Unintegrable((f + g*x)^m/(a + b*log(c*(d + e*x)^n))^(3/2), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p*when*n*symbolic=#

    @test_int [(a + b*log(c*(d + e*x)^n))^n*(f + g*x)^m, x, 0, Unintegrable((f + g*x)^m*(a + b*log(c*(d + e*x)^n))^n, x)]

    @test_int [(a + b*log(c*(d + e*x)^n))^n*(f + g*x)^3, x, 14, (4^(-1 - n)*g^3*(d + e*x)^4*Gamma(1 + n, -((4*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^((4*a)/(b*n))*(c*(d + e*x)^n)^(4/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^4) + (g^2*(e*f - d*g)*(d + e*x)^3*Gamma(1 + n, -((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(3^n*ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^4) + (3*2^(-1 - n)*g*(e*f - d*g)^2*(d + e*x)^2*Gamma(1 + n, -((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^4) + ((e*f - d*g)^3*(d + e*x)*Gamma(1 + n, -((a + b*log(c*(d + e*x)^n))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^4)]
    @test_int [(a + b*log(c*(d + e*x)^n))^n*(f + g*x)^2, x, 11, (3^(-1 - n)*g^2*(d + e*x)^3*Gamma(1 + n, -((3*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^((3*a)/(b*n))*(c*(d + e*x)^n)^(3/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^3) + (g*(e*f - d*g)*(d + e*x)^2*Gamma(1 + n, -((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(2^n*ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^3) + ((e*f - d*g)^2*(d + e*x)*Gamma(1 + n, -((a + b*log(c*(d + e*x)^n))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^3)]
    @test_int [(a + b*log(c*(d + e*x)^n))^n*(f + g*x)^1, x, 8, (2^(-1 - n)*g*(d + e*x)^2*Gamma(1 + n, -((2*(a + b*log(c*(d + e*x)^n)))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^((2*a)/(b*n))*(c*(d + e*x)^n)^(2/n)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^2) + ((e*f - d*g)*(d + e*x)*Gamma(1 + n, -((a + b*log(c*(d + e*x)^n))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e^2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^n*(f + g*x)^0, x, 3, ((d + e*x)*Gamma(1 + n, -((a + b*log(c*(d + e*x)^n))/(b*n)))*(a + b*log(c*(d + e*x)^n))^n)/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(-((a + b*log(c*(d + e*x)^n))/(b*n)))^n*e)]
    @test_int [(a + b*log(c*(d + e*x)^n))^n/(f + g*x)^1, x, 0, Unintegrable((a + b*log(c*(d + e*x)^n))^n/(f + g*x), x)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(h+i*x)^q*(a+b*log(c*(d+e*x)^n))^p / (f+g*x)*when*e*f-d*g=0=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(h+i*x)^q*(a+b*log(c*(d+e*x)^n))^p / (d+e*x)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(h + i*x)^4*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 8, -((4*b*i*(f*h - e*i)^3*x)/(d*f^4)) - (3*b*i^2*(f*h - e*i)^2*(e + f*x)^2)/(2*d*f^5) - (4*b*i^3*(f*h - e*i)*(e + f*x)^3)/(9*d*f^5) - (b*i^4*(e + f*x)^4)/(16*d*f^5) - (b*(f*h - e*i)^4*log(e + f*x)^2)/(2*d*f^5) + (4*i*(f*h - e*i)^3*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^5) + (3*i^2*(f*h - e*i)^2*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(d*f^5) + (4*i^3*(f*h - e*i)*(e + f*x)^3*(a + b*log(c*(e + f*x))))/(3*d*f^5) + (i^4*(e + f*x)^4*(a + b*log(c*(e + f*x))))/(4*d*f^5) + ((f*h - e*i)^4*log(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^5)]
    @test_int [(h + i*x)^3*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 8, -((3*b*i*(f*h - e*i)^2*x)/(d*f^3)) - (3*b*i^2*(f*h - e*i)*(e + f*x)^2)/(4*d*f^4) - (b*i^3*(e + f*x)^3)/(9*d*f^4) - (b*(f*h - e*i)^3*log(e + f*x)^2)/(2*d*f^4) + (3*i*(f*h - e*i)^2*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^4) + (3*i^2*(f*h - e*i)*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(2*d*f^4) + (i^3*(e + f*x)^3*(a + b*log(c*(e + f*x))))/(3*d*f^4) + ((f*h - e*i)^3*log(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^4)]
    @test_int [(h + i*x)^2*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 7, -((b*(4*f*h - 3*e*i + f*i*x)^2)/(4*d*f^3)) - (b*(f*h - e*i)^2*log(e + f*x)^2)/(2*d*f^3) + (2*i*(f*h - e*i)*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^3) + (i^2*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(2*d*f^3) + ((f*h - e*i)^2*log(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^3)]
    @test_int [(h + i*x)^1*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 6, (a*i*x)/(d*f) - (b*i*x)/(d*f) + (b*i*(e + f*x)*log(c*(e + f*x)))/(d*f^2) + ((f*h - e*i)*(a + b*log(c*(e + f*x)))^2)/(2*b*d*f^2)]
    @test_int [(h + i*x)^0*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 3, (a + b*log(c*(e + f*x)))^2/(2*b*d*f)]
    @test_int [1/(h + i*x)^1*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 4, -(((a + b*log(c*(e + f*x)))*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i))) + (b*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i))]
    @test_int [1/(h + i*x)^2*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 7, -((i*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*(f*h - e*i)^2*(h + i*x))) + (b*f*log(h + i*x))/(d*(f*h - e*i)^2) - (f*(a + b*log(c*(e + f*x)))*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i)^2) + (b*f*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^2)]
    @test_int [1/(h + i*x)^3*(a + b*log(c*(e + f*x)))/(d*e + d*f*x), x, 11, -((b*f)/(2*d*(f*h - e*i)^2*(h + i*x))) - (b*f^2*log(e + f*x))/(2*d*(f*h - e*i)^3) + (a + b*log(c*(e + f*x)))/(2*d*(f*h - e*i)*(h + i*x)^2) - (f*i*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*(f*h - e*i)^3*(h + i*x)) + (3*b*f^2*log(h + i*x))/(2*d*(f*h - e*i)^3) - (f^2*(a + b*log(c*(e + f*x)))*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i)^3) + (b*f^2*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^3)]

    @test_int [(h + i*x)^4*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 32, -((4*a*b*i*(f*h - e*i)^3*x)/(d*f^4)) + (8*b^2*i*(f*h - e*i)^3*x)/(d*f^4) + (3*b^2*i^2*(f*h - e*i)^2*(e + f*x)^2)/(2*d*f^5) + (8*b^2*i^3*(f*h - e*i)*(e + f*x)^3)/(27*d*f^5) + (b^2*i^4*(e + f*x)^4)/(32*d*f^5) + (7*b^2*(f*h - e*i)^4*log(e + f*x)^2)/(12*d*f^5) - (4*b^2*i*(f*h - e*i)^3*(e + f*x)*log(c*(e + f*x)))/(d*f^5) - (4*b*i*(f*h - e*i)^3*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^5) - (3*b*i^2*(f*h - e*i)^2*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(d*f^5) - (8*b*i^3*(f*h - e*i)*(e + f*x)^3*(a + b*log(c*(e + f*x))))/(9*d*f^5) - (b*i^4*(e + f*x)^4*(a + b*log(c*(e + f*x))))/(8*d*f^5) - (7*b*(f*h - e*i)^4*log(e + f*x)*(a + b*log(c*(e + f*x))))/(6*d*f^5) + (2*i*(f*h - e*i)^3*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*f^5) + (i^2*(f*h - e*i)^2*(e + f*x)^2*(a + b*log(c*(e + f*x)))^2)/(2*d*f^5) + ((f*h - e*i)*(h + i*x)^3*(a + b*log(c*(e + f*x)))^2)/(3*d*f^2) + ((h + i*x)^4*(a + b*log(c*(e + f*x)))^2)/(4*d*f) + ((f*h - e*i)^4*(a + b*log(c*(e + f*x)))^3)/(3*b*d*f^5)]
    @test_int [(h + i*x)^3*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 24, -((4*a*b*i*(f*h - e*i)^2*x)/(d*f^3)) + (6*b^2*i*(f*h - e*i)^2*x)/(d*f^3) + (3*b^2*i^2*(f*h - e*i)*(e + f*x)^2)/(4*d*f^4) + (2*b^2*i^3*(e + f*x)^3)/(27*d*f^4) + (b^2*(f*h - e*i)^3*log(e + f*x)^2)/(3*d*f^4) - (4*b^2*i*(f*h - e*i)^2*(e + f*x)*log(c*(e + f*x)))/(d*f^4) - (2*b*i*(f*h - e*i)^2*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*f^4) - (3*b*i^2*(f*h - e*i)*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(2*d*f^4) - (2*b*i^3*(e + f*x)^3*(a + b*log(c*(e + f*x))))/(9*d*f^4) - (2*b*(f*h - e*i)^3*log(e + f*x)*(a + b*log(c*(e + f*x))))/(3*d*f^4) + (2*i*(f*h - e*i)^2*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*f^4) + (i^2*(f*h - e*i)*(e + f*x)^2*(a + b*log(c*(e + f*x)))^2)/(2*d*f^4) + ((h + i*x)^3*(a + b*log(c*(e + f*x)))^2)/(3*d*f) + ((f*h - e*i)^3*(a + b*log(c*(e + f*x)))^3)/(3*b*d*f^4)]
    @test_int [(h + i*x)^2*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 16, -((4*a*b*i*(f*h - e*i)*x)/(d*f^2)) + (4*b^2*i*(f*h - e*i)*x)/(d*f^2) + (b^2*i^2*(e + f*x)^2)/(4*d*f^3) - (4*b^2*i*(f*h - e*i)*(e + f*x)*log(c*(e + f*x)))/(d*f^3) - (b*i^2*(e + f*x)^2*(a + b*log(c*(e + f*x))))/(2*d*f^3) + (2*i*(f*h - e*i)*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*f^3) + (i^2*(e + f*x)^2*(a + b*log(c*(e + f*x)))^2)/(2*d*f^3) + ((f*h - e*i)^2*(a + b*log(c*(e + f*x)))^3)/(3*b*d*f^3)]
    @test_int [(h + i*x)^1*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 8, -((2*a*b*i*x)/(d*f)) + (2*b^2*i*x)/(d*f) - (2*b^2*i*(e + f*x)*log(c*(e + f*x)))/(d*f^2) + (i*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*f^2) + ((f*h - e*i)*(a + b*log(c*(e + f*x)))^3)/(3*b*d*f^2)]
    @test_int [(h + i*x)^0*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 4, (a + b*log(c*(e + f*x)))^3/(3*b*d*f)]
    @test_int [1/(h + i*x)^1*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 5, -(((a + b*log(c*(e + f*x)))^2*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i))) + (2*b*(a + b*log(c*(e + f*x)))*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)) + (2*b^2*PolyLog(3, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i))]
    @test_int [1/(h + i*x)^2*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 9, -((i*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*(f*h - e*i)^2*(h + i*x))) + (2*b*f*(a + b*log(c*(e + f*x)))*log((f*(h + i*x))/(f*h - e*i)))/(d*(f*h - e*i)^2) - (f*(a + b*log(c*(e + f*x)))^2*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i)^2) + (2*b*f*(a + b*log(c*(e + f*x)))*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^2) + (2*b^2*f*PolyLog(2, -((i*(e + f*x))/(f*h - e*i))))/(d*(f*h - e*i)^2) + (2*b^2*f*PolyLog(3, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^2)]
    @test_int [1/(h + i*x)^3*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 16, (b*f*i*(e + f*x)*(a + b*log(c*(e + f*x))))/(d*(f*h - e*i)^3*(h + i*x)) + (a + b*log(c*(e + f*x)))^2/(2*d*(f*h - e*i)*(h + i*x)^2) - (f*i*(e + f*x)*(a + b*log(c*(e + f*x)))^2)/(d*(f*h - e*i)^3*(h + i*x)) - (b^2*f^2*log(h + i*x))/(d*(f*h - e*i)^3) + (2*b*f^2*(a + b*log(c*(e + f*x)))*log((f*(h + i*x))/(f*h - e*i)))/(d*(f*h - e*i)^3) + (b*f^2*(a + b*log(c*(e + f*x)))*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i)^3) - (f^2*(a + b*log(c*(e + f*x)))^2*log(1 + (f*h - e*i)/(i*(e + f*x))))/(d*(f*h - e*i)^3) - (b^2*f^2*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^3) + (2*b*f^2*(a + b*log(c*(e + f*x)))*PolyLog(2, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^3) + (2*b^2*f^2*PolyLog(2, -((i*(e + f*x))/(f*h - e*i))))/(d*(f*h - e*i)^3) + (2*b^2*f^2*PolyLog(3, -((f*h - e*i)/(i*(e + f*x)))))/(d*(f*h - e*i)^3)]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(h + i*x)^4/((a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 14, (4*i*(f*h - e*i)^3*ExpIntegralEi((a + b*log(c*(e + f*x)))/b))/(ℯ^(a/b)*(b*c*d*f^5)) + (6*i^2*(f*h - e*i)^2*ExpIntegralEi((2*(a + b*log(c*(e + f*x))))/b))/(ℯ^((2*a)/b)*(b*c^2*d*f^5)) + (4*i^3*(f*h - e*i)*ExpIntegralEi((3*(a + b*log(c*(e + f*x))))/b))/(ℯ^((3*a)/b)*(b*c^3*d*f^5)) + (i^4*ExpIntegralEi((4*(a + b*log(c*(e + f*x))))/b))/(ℯ^((4*a)/b)*(b*c^4*d*f^5)) + ((f*h - e*i)^4*log(a + b*log(c*(e + f*x))))/(b*d*f^5)]
    @test_int [(h + i*x)^3/((a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 12, (3*i*(f*h - e*i)^2*ExpIntegralEi((a + b*log(c*(e + f*x)))/b))/(ℯ^(a/b)*(b*c*d*f^4)) + (3*i^2*(f*h - e*i)*ExpIntegralEi((2*(a + b*log(c*(e + f*x))))/b))/(ℯ^((2*a)/b)*(b*c^2*d*f^4)) + (i^3*ExpIntegralEi((3*(a + b*log(c*(e + f*x))))/b))/(ℯ^((3*a)/b)*(b*c^3*d*f^4)) + ((f*h - e*i)^3*log(a + b*log(c*(e + f*x))))/(b*d*f^4)]
    @test_int [(h + i*x)^2/((a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 10, (2*i*(f*h - e*i)*ExpIntegralEi((a + b*log(c*(e + f*x)))/b))/(ℯ^(a/b)*(b*c*d*f^3)) + (i^2*ExpIntegralEi((2*(a + b*log(c*(e + f*x))))/b))/(ℯ^((2*a)/b)*(b*c^2*d*f^3)) + ((f*h - e*i)^2*log(a + b*log(c*(e + f*x))))/(b*d*f^3)]
    @test_int [(h + i*x)^1/((a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 8, (i*ExpIntegralEi((a + b*log(c*(e + f*x)))/b))/(ℯ^(a/b)*(b*c*d*f^2)) + ((f*h - e*i)*log(a + b*log(c*(e + f*x))))/(b*d*f^2)]
    @test_int [(h + i*x)^0/((a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 4, log(a + b*log(c*(e + f*x)))/(b*d*f)]
    @test_int [1/((h + i*x)^1*(a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 5, log(a + b*log(c*(e + f*x)))/(b*d*(f*h - e*i)) - (i*Unintegrable(1/((h + i*x)*(a + b*log(c*(e + f*x)))), x))/(d*(f*h - e*i))]
    @test_int [1/((h + i*x)^2*(a + b*log(c*(e + f*x)))*(d*e + d*f*x)), x, 5, (f*log(a + b*log(c*(e + f*x))))/(b*d*(f*h - e*i)^2) - (i*Unintegrable(1/((h + i*x)^2*(a + b*log(c*(e + f*x)))), x))/(d*(f*h - e*i)) - (f*i*Unintegrable(1/((h + i*x)*(a + b*log(c*(e + f*x)))), x))/(d*(f*h - e*i)^2)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^(m/2)*(a+b*log(c*(d+e*x)^n))^p / (e+f*x)=#

    @test_int [(f + g*x)^(5/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 27, -((92*b*(e*f - d*g)^2*n*sqrt(f + g*x))/(15*e^3)) - (32*b*(e*f - d*g)*n*(f + g*x)^(3/2))/(45*e^2) - (4*b*n*(f + g*x)^(5/2))/(25*e) + (92*b*(e*f - d*g)^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(15*e^(7/2)) + (2*b*(e*f - d*g)^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/e^(7/2) + (2*(e*f - d*g)^2*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/e^3 + (2*(e*f - d*g)*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)))/(3*e^2) + (2*(f + g*x)^(5/2)*(a + b*log(c*(d + e*x)^n)))/(5*e) - (2*(e*f - d*g)^(5/2)*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/e^(7/2) - (4*b*(e*f - d*g)^(5/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(7/2) - (2*b*(e*f - d*g)^(5/2)*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(7/2)]
    @test_int [(f + g*x)^(3/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 20, -((16*b*(e*f - d*g)*n*sqrt(f + g*x))/(3*e^2)) - (4*b*n*(f + g*x)^(3/2))/(9*e) + (16*b*(e*f - d*g)^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(3*e^(5/2)) + (2*b*(e*f - d*g)^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/e^(5/2) + (2*(e*f - d*g)*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/e^2 + (2*(f + g*x)^(3/2)*(a + b*log(c*(d + e*x)^n)))/(3*e) - (2*(e*f - d*g)^(3/2)*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/e^(5/2) - (4*b*(e*f - d*g)^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(5/2) - (2*b*(e*f - d*g)^(3/2)*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(5/2)]
    @test_int [(f + g*x)^(1/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 14, -((4*b*n*sqrt(f + g*x))/e) + (4*b*sqrt(e*f - d*g)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/e^(3/2) + (2*b*sqrt(e*f - d*g)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/e^(3/2) + (2*sqrt(f + g*x)*(a + b*log(c*(d + e*x)^n)))/e - (2*sqrt(e*f - d*g)*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/e^(3/2) - (4*b*sqrt(e*f - d*g)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(3/2) - (2*b*sqrt(e*f - d*g)*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/e^(3/2)]
    @test_int [1/(f + g*x)^(1/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 9, (2*b*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(sqrt(e)*sqrt(e*f - d*g)) - (2*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(sqrt(e)*sqrt(e*f - d*g)) - (4*b*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(sqrt(e)*sqrt(e*f - d*g)) - (2*b*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(sqrt(e)*sqrt(e*f - d*g))]
    @test_int [1/(f + g*x)^(3/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 13, (4*b*sqrt(e)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(e*f - d*g)^(3/2) + (2*b*sqrt(e)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(e*f - d*g)^(3/2) + (2*(a + b*log(c*(d + e*x)^n)))/((e*f - d*g)*sqrt(f + g*x)) - (2*sqrt(e)*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(e*f - d*g)^(3/2) - (4*b*sqrt(e)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(e*f - d*g)^(3/2) - (2*b*sqrt(e)*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(e*f - d*g)^(3/2)]
    @test_int [1/(f + g*x)^(5/2)*((a + b*log(c*(d + e*x)^n))/(d + e*x)), x, 18, -((4*b*e*n)/(3*(e*f - d*g)^2*sqrt(f + g*x))) + (16*b*e^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g)))/(3*(e*f - d*g)^(5/2)) + (2*b*e^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))^2)/(e*f - d*g)^(5/2) + (2*(a + b*log(c*(d + e*x)^n)))/(3*(e*f - d*g)*(f + g*x)^(3/2)) + (2*e*(a + b*log(c*(d + e*x)^n)))/((e*f - d*g)^2*sqrt(f + g*x)) - (2*e^(3/2)*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*(a + b*log(c*(d + e*x)^n)))/(e*f - d*g)^(5/2) - (4*b*e^(3/2)*n*atanh((sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))*log(2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(e*f - d*g)^(5/2) - (2*b*e^(3/2)*n*PolyLog(2, 1 - 2/(1 - (sqrt(e)*sqrt(f + g*x))/sqrt(e*f - d*g))))/(e*f - d*g)^(5/2)]

    #= These*special*cases*of*the*above*form*formerly*caused*infinite*recursion! =#
    @test_int [(d + e*x)^(3/2)*log(a + b*x)/(a + b*x), x, 20, -((16*(b*d - a*e)*sqrt(d + e*x))/(3*b^2)) - (4*(d + e*x)^(3/2))/(9*b) + (16*(b*d - a*e)^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e)))/(3*b^(5/2)) + (2*(b*d - a*e)^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))^2)/b^(5/2) + (2*(b*d - a*e)*sqrt(d + e*x)*log(a + b*x))/b^2 + (2*(d + e*x)^(3/2)*log(a + b*x))/(3*b) - (2*(b*d - a*e)^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(a + b*x))/b^(5/2) - (4*(b*d - a*e)^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/b^(5/2) - (2*(b*d - a*e)^(3/2)*PolyLog(2, 1 - 2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/b^(5/2)]
    @test_int [(d + e*x)^(1/2)*log(a + b*x)/(a + b*x), x, 14, -((4*sqrt(d + e*x))/b) + (4*sqrt(b*d - a*e)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e)))/b^(3/2) + (2*sqrt(b*d - a*e)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))^2)/b^(3/2) + (2*sqrt(d + e*x)*log(a + b*x))/b - (2*sqrt(b*d - a*e)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(a + b*x))/b^(3/2) - (4*sqrt(b*d - a*e)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/b^(3/2) - (2*sqrt(b*d - a*e)*PolyLog(2, 1 - 2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/b^(3/2)]
    @test_int [log(a + b*x)/((a + b*x)*(d + e*x)^(1/2)), x, 9, (2*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))^2)/(sqrt(b)*sqrt(b*d - a*e)) - (2*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(a + b*x))/(sqrt(b)*sqrt(b*d - a*e)) - (4*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(sqrt(b)*sqrt(b*d - a*e)) - (2*PolyLog(2, 1 - 2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(sqrt(b)*sqrt(b*d - a*e))]
    @test_int [log(a + b*x)/((a + b*x)*(d + e*x)^(3/2)), x, 13, (4*sqrt(b)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e)))/(b*d - a*e)^(3/2) + (2*sqrt(b)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))^2)/(b*d - a*e)^(3/2) + (2*log(a + b*x))/((b*d - a*e)*sqrt(d + e*x)) - (2*sqrt(b)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(a + b*x))/(b*d - a*e)^(3/2) - (4*sqrt(b)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(b*d - a*e)^(3/2) - (2*sqrt(b)*PolyLog(2, 1 - 2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(b*d - a*e)^(3/2)]
    @test_int [log(a + b*x)/((a + b*x)*(d + e*x)^(5/2)), x, 18, -((4*b)/(3*(b*d - a*e)^2*sqrt(d + e*x))) + (16*b^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e)))/(3*(b*d - a*e)^(5/2)) + (2*b^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))^2)/(b*d - a*e)^(5/2) + (2*log(a + b*x))/(3*(b*d - a*e)*(d + e*x)^(3/2)) + (2*b*log(a + b*x))/((b*d - a*e)^2*sqrt(d + e*x)) - (2*b^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(a + b*x))/(b*d - a*e)^(5/2) - (4*b^(3/2)*atanh((sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))*log(2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(b*d - a*e)^(5/2) - (2*b^(3/2)*PolyLog(2, 1 - 2/(1 - (sqrt(b)*sqrt(d + e*x))/sqrt(b*d - a*e))))/(b*d - a*e)^(5/2)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p / (e+f*x)*with*q*symbolic=#

    #= [(h + i*x)^m*(a + b*log(c*(e + f*x)))^2/(d*e + d*f*x), x, 0, -((a^2*(h + i*x)^(1 + m)*HypergeometricFunctions._₂F₁(1, 1 + m, 2 + m, (f*(h + i*x))/(f*i - e*j)))/(d*(f*i - e*j)*(1 + m))) - (2*a*b*(h + i*x)^m*HypergeometricPFQ([-m, -m, -m], [1 - m, 1 - m], ((-f)*i + e*j)/(j*(e + f*x))))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m^2)) + (2*b^2*(h + i*x)^m*HypergeometricPFQ([-m, -m, -m, -m], [1 - m, 1 - m, 1 - m], ((-f)*i + e*j)/(j*(e + f*x))))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m^3)) + (2*a*b*(h + i*x)^m*HypergeometricFunctions._₂F₁(-m, -m, 1 - m, ((-f)*i + e*j)/(j*(e + f*x)))*log(c*(e + f*x)))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m)) - (2*b^2*(h + i*x)^m*HypergeometricPFQ([-m, -m, -m], [1 - m, 1 - m], ((-f)*i + e*j)/(j*(e + f*x)))*log(c*(e + f*x)))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m^2)) + (b^2*(h + i*x)^m*HypergeometricFunctions._₂F₁(-m, -m, 1 - m, ((-f)*i + e*j)/(j*(e + f*x)))*log(c*(e + f*x))^2)/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m))]
    @test_int [(h + i*x)^m*(a + b*log(c*(e + f*x)))^1/(d*e + d*f*x), x, 0, -((a*(h + i*x)^(1 + m)*HypergeometricFunctions._₂F₁(1, 1 + m, 2 + m, (f*(h + i*x))/(f*i - e*j)))/(d*(f*i - e*j)*(1 + m))) - (b*(h + i*x)^m*HypergeometricPFQ([-m, -m, -m], [1 - m, 1 - m], ((-f)*i + e*j)/(j*(e + f*x))))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m^2)) + (b*(h + i*x)^m*HypergeometricFunctions._₂F₁(-m, -m, 1 - m, ((-f)*i + e*j)/(j*(e + f*x)))*log(c*(e + f*x)))/(((f*(h + i*x))/(j*(e + f*x)))^m*(d*f*m))] =#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p / (e+f*x)*with*p*symbolic=#

    @test_int [(h + i*x)^q*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 0, Unintegrable(((h + i*x)^q*(a + b*log(c*(e + f*x)))^p)/(d*e + d*f*x), x)]

    @test_int [(h + i*x)^3*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 12, ((f*h - e*i)^3*(a + b*log(c*(e + f*x)))^(1 + p))/(b*d*f^4*(1 + p)) + (3^(-1 - p)*i^3*Gamma(1 + p, -((3*(a + b*log(c*(e + f*x))))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^((3*a)/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c^3*d*f^4)) + (3*2^(-1 - p)*i^2*(f*h - e*i)*Gamma(1 + p, -((2*(a + b*log(c*(e + f*x))))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^((2*a)/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c^2*d*f^4)) + (3*i*(f*h - e*i)^2*Gamma(1 + p, -((a + b*log(c*(e + f*x)))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^(a/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c*d*f^4))]
    @test_int [(h + i*x)^2*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 10, ((f*h - e*i)^2*(a + b*log(c*(e + f*x)))^(1 + p))/(b*d*f^3*(1 + p)) + (2^(-1 - p)*i^2*Gamma(1 + p, -((2*(a + b*log(c*(e + f*x))))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^((2*a)/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c^2*d*f^3)) + (2*i*(f*h - e*i)*Gamma(1 + p, -((a + b*log(c*(e + f*x)))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^(a/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c*d*f^3))]
    @test_int [(h + i*x)^1*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 8, ((f*h - e*i)*(a + b*log(c*(e + f*x)))^(1 + p))/(b*d*f^2*(1 + p)) + (i*Gamma(1 + p, -((a + b*log(c*(e + f*x)))/b))*(a + b*log(c*(e + f*x)))^p)/(ℯ^(a/b)*(-((a + b*log(c*(e + f*x)))/b))^p*(c*d*f^2))]
    @test_int [(h + i*x)^0*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 4, (a + b*log(c*(e + f*x)))^(1 + p)/(b*d*f*(1 + p))]
    @test_int [1/(h + i*x)^1*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 0, Unintegrable((a + b*log(c*(e + f*x)))^p/((d*e + d*f*x)*(h + i*x)), x)]
    @test_int [1/(h + i*x)^2*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 0, Unintegrable((a + b*log(c*(e + f*x)))^p/((d*e + d*f*x)*(h + i*x)^2), x)]
    @test_int [1/(h + i*x)^3*(a + b*log(c*(e + f*x)))^p/(d*e + d*f*x), x, 0, Unintegrable((a + b*log(c*(e + f*x)))^p/((d*e + d*f*x)*(h + i*x)^3), x)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(f+g*x)^q*(a+b*log(c*(d+e*x)^n))^p / (h+i*x)=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(i+j*x)^m*(a+b*log(c*(d+e*x)^n))^p / (g+h*x)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(h + i*x)^3*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 14, (a*i*(g*h - f*i)^2*x)/g^3 - (b*i*(e*h - d*i)^2*n*x)/(3*e^2*g) - (b*i*(e*h - d*i)*(g*h - f*i)*n*x)/(2*e*g^2) - (b*i*(g*h - f*i)^2*n*x)/g^3 - (b*(e*h - d*i)*n*(h + i*x)^2)/(6*e*g) - (b*(g*h - f*i)*n*(h + i*x)^2)/(4*g^2) - (b*n*(h + i*x)^3)/(9*g) - (b*(e*h - d*i)^3*n*log(d + e*x))/(3*e^3*g) - (b*(e*h - d*i)^2*(g*h - f*i)*n*log(d + e*x))/(2*e^2*g^2) + (b*i*(g*h - f*i)^2*(d + e*x)*log(c*(d + e*x)^n))/(e*g^3) + ((g*h - f*i)*(h + i*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*g^2) + ((h + i*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*g) + ((g*h - f*i)^3*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^4 + (b*(g*h - f*i)^3*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^4]
    @test_int [(h + i*x)^2*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 11, (a*i*(g*h - f*i)*x)/g^2 - (b*i*(e*h - d*i)*n*x)/(2*e*g) - (b*i*(g*h - f*i)*n*x)/g^2 - (b*n*(h + i*x)^2)/(4*g) - (b*(e*h - d*i)^2*n*log(d + e*x))/(2*e^2*g) + (b*i*(g*h - f*i)*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) + ((h + i*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*g) + ((g*h - f*i)^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^3 + (b*(g*h - f*i)^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^3]
    @test_int [(h + i*x)^1*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 8, (a*i*x)/g - (b*i*n*x)/g + (b*i*(d + e*x)*log(c*(d + e*x)^n))/(e*g) + ((g*h - f*i)*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^2 + (b*(g*h - f*i)*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^2]
    @test_int [(h + i*x)^0*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 3, ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g + (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))/((f + g*x)*(h + i*x)^1), x, 8, ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i) - ((a + b*log(c*(d + e*x)^n))*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i) + (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) - (b*n*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)]
    @test_int [(a + b*log(c*(d + e*x)^n))/((f + g*x)*(h + i*x)^2), x, 12, -((b*e*n*log(d + e*x))/((e*h - d*i)*(g*h - f*i))) + (a + b*log(c*(d + e*x)^n))/((g*h - f*i)*(h + i*x)) + (g*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i)^2 + (b*e*n*log(h + i*x))/((e*h - d*i)*(g*h - f*i)) - (g*(a + b*log(c*(d + e*x)^n))*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i)^2 + (b*g*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 - (b*g*n*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2]
    @test_int [(a + b*log(c*(d + e*x)^n))/((f + g*x)*(h + i*x)^3), x, 15, -((b*e*n)/(2*(e*h - d*i)*(g*h - f*i)*(h + i*x))) - (b*e*g*n*log(d + e*x))/((e*h - d*i)*(g*h - f*i)^2) - (b*e^2*n*log(d + e*x))/(2*(e*h - d*i)^2*(g*h - f*i)) + (a + b*log(c*(d + e*x)^n))/(2*(g*h - f*i)*(h + i*x)^2) + (g*(a + b*log(c*(d + e*x)^n)))/((g*h - f*i)^2*(h + i*x)) + (g^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i)^3 + (b*e*g*n*log(h + i*x))/((e*h - d*i)*(g*h - f*i)^2) + (b*e^2*n*log(h + i*x))/(2*(e*h - d*i)^2*(g*h - f*i)) - (g^2*(a + b*log(c*(d + e*x)^n))*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i)^3 + (b*g^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^3 - (b*g^2*n*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^3]

    @test_int [(h + i*x)^2*(a + b*log(c*(d + e*x)^n))^2/(f + g*x), x, 19, -((2*a*b*i*(e*h - d*i)*n*x)/(e*g)) - (2*a*b*i*(g*h - f*i)*n*x)/g^2 + (2*b^2*i*(e*h - d*i)*n^2*x)/(e*g) + (2*b^2*i*(g*h - f*i)*n^2*x)/g^2 + (b^2*i^2*n^2*(d + e*x)^2)/(4*e^2*g) - (2*b^2*i*(e*h - d*i)*n*(d + e*x)*log(c*(d + e*x)^n))/(e^2*g) - (2*b^2*i*(g*h - f*i)*n*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) - (b*i^2*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2*g) + (i*(e*h - d*i)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e^2*g) + (i*(g*h - f*i)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g^2) + (i^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2*g) + ((g*h - f*i)^2*(a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/g^3 + (2*b*(g*h - f*i)^2*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^3 - (2*b^2*(g*h - f*i)^2*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g^3]
    @test_int [(h + i*x)^1*(a + b*log(c*(d + e*x)^n))^2/(f + g*x), x, 10, -((2*a*b*i*n*x)/g) + (2*b^2*i*n^2*x)/g - (2*b^2*i*n*(d + e*x)*log(c*(d + e*x)^n))/(e*g) + (i*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g) + ((g*h - f*i)*(a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/g^2 + (2*b*(g*h - f*i)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^2 - (2*b^2*(g*h - f*i)*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g^2]
    @test_int [(h + i*x)^0*(a + b*log(c*(d + e*x)^n))^2/(f + g*x), x, 4, ((a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/g + (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g - (2*b^2*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/((f + g*x)*(h + i*x)^1), x, 10, ((a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i) + (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) - (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i) - (2*b^2*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) + (2*b^2*n^2*PolyLog(3, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/((f + g*x)*(h + i*x)^2), x, 14, -((i*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/((e*h - d*i)*(g*h - f*i)*(h + i*x))) + (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i)^2 + (2*b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(h + i*x))/(e*h - d*i)))/((e*h - d*i)*(g*h - f*i)) - (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i)^2 + (2*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 + (2*b^2*e*n^2*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/((e*h - d*i)*(g*h - f*i)) - (2*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2 - (2*b^2*g*n^2*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 + (2*b^2*g*n^2*PolyLog(3, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2]

    @test_int [(h + i*x)^2*(a + b*log(c*(d + e*x)^n))^3/(f + g*x), x, 23, (6*a*b^2*i*(e*h - d*i)*n^2*x)/(e*g) + (6*a*b^2*i*(g*h - f*i)*n^2*x)/g^2 - (6*b^3*i*(e*h - d*i)*n^3*x)/(e*g) - (6*b^3*i*(g*h - f*i)*n^3*x)/g^2 - (3*b^3*i^2*n^3*(d + e*x)^2)/(8*e^2*g) + (6*b^3*i*(e*h - d*i)*n^2*(d + e*x)*log(c*(d + e*x)^n))/(e^2*g) + (6*b^3*i*(g*h - f*i)*n^2*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) + (3*b^2*i^2*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^2*g) - (3*b*i*(e*h - d*i)*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e^2*g) - (3*b*i*(g*h - f*i)*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g^2) - (3*b*i^2*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2*g) + (i*(e*h - d*i)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(e^2*g) + (i*(g*h - f*i)*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(e*g^2) + (i^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(2*e^2*g) + ((g*h - f*i)^2*(a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/g^3 + (3*b*(g*h - f*i)^2*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^3 - (6*b^2*(g*h - f*i)^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g^3 + (6*b^3*(g*h - f*i)^2*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/g^3]
    @test_int [(h + i*x)^1*(a + b*log(c*(d + e*x)^n))^3/(f + g*x), x, 12, (6*a*b^2*i*n^2*x)/g - (6*b^3*i*n^3*x)/g + (6*b^3*i*n^2*(d + e*x)*log(c*(d + e*x)^n))/(e*g) - (3*b*i*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g) + (i*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(e*g) + ((g*h - f*i)*(a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/g^2 + (3*b*(g*h - f*i)*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^2 - (6*b^2*(g*h - f*i)*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g^2 + (6*b^3*(g*h - f*i)*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/g^2]
    @test_int [(h + i*x)^0*(a + b*log(c*(d + e*x)^n))^3/(f + g*x), x, 5, ((a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/g + (3*b*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g - (6*b^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/g + (6*b^3*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/((f + g*x)*(h + i*x)^1), x, 12, ((a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i) - ((a + b*log(c*(d + e*x)^n))^3*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i) + (3*b*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) - (3*b*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i) - (6*b^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) + (6*b^2*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i) + (6*b^3*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i) - (6*b^3*n^3*PolyLog(4, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3/((f + g*x)*(h + i*x)^2), x, 17, -((i*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/((e*h - d*i)*(g*h - f*i)*(h + i*x))) + (g*(a + b*log(c*(d + e*x)^n))^3*log((e*(f + g*x))/(e*f - d*g)))/(g*h - f*i)^2 + (3*b*e*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(h + i*x))/(e*h - d*i)))/((e*h - d*i)*(g*h - f*i)) - (g*(a + b*log(c*(d + e*x)^n))^3*log((e*(h + i*x))/(e*h - d*i)))/(g*h - f*i)^2 + (3*b*g*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 + (6*b^2*e*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/((e*h - d*i)*(g*h - f*i)) - (3*b*g*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2 - (6*b^2*g*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 - (6*b^3*e*n^3*PolyLog(3, -((i*(d + e*x))/(e*h - d*i))))/((e*h - d*i)*(g*h - f*i)) + (6*b^2*g*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2 + (6*b^3*g*n^3*PolyLog(4, -((g*(d + e*x))/(e*f - d*g))))/(g*h - f*i)^2 - (6*b^3*g*n^3*PolyLog(4, -((i*(d + e*x))/(e*h - d*i))))/(g*h - f*i)^2]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(h + i*x)^1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x, 5, (i*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b*e*g*n)) + ((g*h - f*i)*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x))/g]
    @test_int [(h + i*x)^0/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x)]
    @test_int [1/((f + g*x)*(h + i*x)^1*(a + b*log(c*(d + e*x)^n))), x, 2, (g*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x))/(g*h - f*i) - (i*Unintegrable(1/((h + i*x)*(a + b*log(c*(d + e*x)^n))), x))/(g*h - f*i)]
    @test_int [1/((f + g*x)*(h + i*x)^2*(a + b*log(c*(d + e*x)^n))), x, 2, (g^2*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))), x))/(g*h - f*i)^2 - (i*Unintegrable(1/((h + i*x)^2*(a + b*log(c*(d + e*x)^n))), x))/(g*h - f*i) - (g*i*Unintegrable(1/((h + i*x)*(a + b*log(c*(d + e*x)^n))), x))/(g*h - f*i)^2]

    @test_int [(h + i*x)^1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x, 6, (i*(d + e*x)*ExpIntegralEi((a + b*log(c*(d + e*x)^n))/(b*n)))/(ℯ^(a/(b*n))*(c*(d + e*x)^n)^n^(-1)*(b^2*e*g*n^2)) - (i*(d + e*x))/(b*e*g*n*(a + b*log(c*(d + e*x)^n))) + ((g*h - f*i)*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x))/g]
    @test_int [(h + i*x)^0/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x, 0, Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x)]
    @test_int [1/((f + g*x)*(h + i*x)^1*(a + b*log(c*(d + e*x)^n))^2), x, 2, (g*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x))/(g*h - f*i) - (i*Unintegrable(1/((h + i*x)*(a + b*log(c*(d + e*x)^n))^2), x))/(g*h - f*i)]
    @test_int [1/((f + g*x)*(h + i*x)^2*(a + b*log(c*(d + e*x)^n))^2), x, 2, (g^2*Unintegrable(1/((f + g*x)*(a + b*log(c*(d + e*x)^n))^2), x))/(g*h - f*i)^2 - (i*Unintegrable(1/((h + i*x)^2*(a + b*log(c*(d + e*x)^n))^2), x))/(g*h - f*i) - (g*i*Unintegrable(1/((h + i*x)*(a + b*log(c*(d + e*x)^n))^2), x))/(g*h - f*i)^2]

    #= ::Subsection:: =#
    #=Integrands*of*the*form*(i+j*x)^(m/2)*(a+b*log(c*(d+e*x)^n))^p / (g+h*x)=#

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(h*x)^m*(f+g*x^r)^q*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g*x^1)^q*(a+b*log(c*(d+e*x)^n))=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q>0=#

    @test_int [x^3*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 14, (a*f^2*x)/g^3 - (b*f^2*n*x)/g^3 - (b*d*f*n*x)/(2*e*g^2) - (b*d^2*n*x)/(3*e^2*g) + (b*f*n*x^2)/(4*g^2) + (b*d*n*x^2)/(6*e*g) - (b*n*x^3)/(9*g) + (b*d^2*f*n*log(d + e*x))/(2*e^2*g^2) + (b*d^3*n*log(d + e*x))/(3*e^3*g) + (b*f^2*(d + e*x)*log(c*(d + e*x)^n))/(e*g^3) - (f*x^2*(a + b*log(c*(d + e*x)^n)))/(2*g^2) + (x^3*(a + b*log(c*(d + e*x)^n)))/(3*g) - (f^3*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^4 - (b*f^3*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^4]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 11, -((a*f*x)/g^2) + (b*f*n*x)/g^2 + (b*d*n*x)/(2*e*g) - (b*n*x^2)/(4*g) - (b*d^2*n*log(d + e*x))/(2*e^2*g) - (b*f*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) + (x^2*(a + b*log(c*(d + e*x)^n)))/(2*g) + (f^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^3 + (b*f^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^3]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 8, (a*x)/g - (b*n*x)/g + (b*(d + e*x)*log(c*(d + e*x)^n))/(e*g) - (f*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^2 - (b*f*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^2]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))/(f + g*x), x, 3, ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g + (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^1*(f + g*x)), x, 7, (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f - ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f - (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f + (b*n*PolyLog(2, 1 + (e*x)/d))/f]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^2*(f + g*x)), x, 11, (b*e*n*log(x))/(d*f) - (b*e*n*log(d + e*x))/(d*f) - (a + b*log(c*(d + e*x)^n))/(f*x) - (g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^2 + (g*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f^2 + (b*g*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f^2 - (b*g*n*PolyLog(2, 1 + (e*x)/d))/f^2]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^3*(f + g*x)), x, 14, -((b*e*n)/(2*d*f*x)) - (b*e^2*n*log(x))/(2*d^2*f) - (b*e*g*n*log(x))/(d*f^2) + (b*e^2*n*log(d + e*x))/(2*d^2*f) + (b*e*g*n*log(d + e*x))/(d*f^2) - (a + b*log(c*(d + e*x)^n))/(2*f*x^2) + (g*(a + b*log(c*(d + e*x)^n)))/(f^2*x) + (g^2*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^3 - (g^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f^3 - (b*g^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f^3 + (b*g^2*n*PolyLog(2, 1 + (e*x)/d))/f^3]

    @test_int [x^3*(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 15, -((2*a*f*x)/g^3) + (2*b*f*n*x)/g^3 + (b*d*n*x)/(2*e*g^2) - (b*n*x^2)/(4*g^2) - (b*d^2*n*log(d + e*x))/(2*e^2*g^2) - (b*e*f^3*n*log(d + e*x))/(g^4*(e*f - d*g)) - (2*b*f*(d + e*x)*log(c*(d + e*x)^n))/(e*g^3) + (x^2*(a + b*log(c*(d + e*x)^n)))/(2*g^2) + (f^3*(a + b*log(c*(d + e*x)^n)))/(g^4*(f + g*x)) + (b*e*f^3*n*log(f + g*x))/(g^4*(e*f - d*g)) + (3*f^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^4 + (3*b*f^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^4]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 12, (a*x)/g^2 - (b*n*x)/g^2 + (b*e*f^2*n*log(d + e*x))/(g^3*(e*f - d*g)) + (b*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) - (f^2*(a + b*log(c*(d + e*x)^n)))/(g^3*(f + g*x)) - (b*e*f^2*n*log(f + g*x))/(g^3*(e*f - d*g)) - (2*f*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^3 - (2*b*f*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^3]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 9, -((b*e*f*n*log(d + e*x))/(g^2*(e*f - d*g))) + (f*(a + b*log(c*(d + e*x)^n)))/(g^2*(f + g*x)) + (b*e*f*n*log(f + g*x))/(g^2*(e*f - d*g)) + ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/g^2 + (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/g^2]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))/(f + g*x)^2, x, 4, (b*e*n*log(d + e*x))/(g*(e*f - d*g)) - (a + b*log(c*(d + e*x)^n))/(g*(f + g*x)) - (b*e*n*log(f + g*x))/(g*(e*f - d*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^1*(f + g*x)^2), x, 11, -((b*e*n*log(d + e*x))/(f*(e*f - d*g))) + (a + b*log(c*(d + e*x)^n))/(f*(f + g*x)) + (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^2 + (b*e*n*log(f + g*x))/(f*(e*f - d*g)) - ((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f^2 - (b*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f^2 + (b*n*PolyLog(2, 1 + (e*x)/d))/f^2]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^2*(f + g*x)^2), x, 15, (b*e*n*log(x))/(d*f^2) - (b*e*n*log(d + e*x))/(d*f^2) + (b*e*g*n*log(d + e*x))/(f^2*(e*f - d*g)) - (a + b*log(c*(d + e*x)^n))/(f^2*x) - (g*(a + b*log(c*(d + e*x)^n)))/(f^2*(f + g*x)) - (2*g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^3 - (b*e*g*n*log(f + g*x))/(f^2*(e*f - d*g)) + (2*g*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f^3 + (2*b*g*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f^3 - (2*b*g*n*PolyLog(2, 1 + (e*x)/d))/f^3]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^3*(f + g*x)^2), x, 18, -((b*e*n)/(2*d*f^2*x)) - (b*e^2*n*log(x))/(2*d^2*f^2) - (2*b*e*g*n*log(x))/(d*f^3) + (b*e^2*n*log(d + e*x))/(2*d^2*f^2) + (2*b*e*g*n*log(d + e*x))/(d*f^3) - (b*e*g^2*n*log(d + e*x))/(f^3*(e*f - d*g)) - (a + b*log(c*(d + e*x)^n))/(2*f^2*x^2) + (2*g*(a + b*log(c*(d + e*x)^n)))/(f^3*x) + (g^2*(a + b*log(c*(d + e*x)^n)))/(f^3*(f + g*x)) + (3*g^2*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^4 + (b*e*g^2*n*log(f + g*x))/(f^3*(e*f - d*g)) - (3*g^2*(a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/f^4 - (3*b*g^2*n*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/f^4 + (3*b*g^2*n*PolyLog(2, 1 + (e*x)/d))/f^4]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g*x^2)^q*(a+b*log(c*(d+e*x)^n))=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q>0=#

    @test_int [x^5*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 16, -((b*d*f*n*x)/(2*e*g^2)) + (b*d^3*n*x)/(4*e^3*g) + (b*f*n*x^2)/(4*g^2) - (b*d^2*n*x^2)/(8*e^2*g) + (b*d*n*x^3)/(12*e*g) - (b*n*x^4)/(16*g) + (b*d^2*f*n*log(d + e*x))/(2*e^2*g^2) - (b*d^4*n*log(d + e*x))/(4*e^4*g) - (f*x^2*(a + b*log(c*(d + e*x)^n)))/(2*g^2) + (x^4*(a + b*log(c*(d + e*x)^n)))/(4*g) + (f^2*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^3) + (f^2*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^3) + (b*f^2*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^3) + (b*f^2*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^3)]
    @test_int [x^3*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 13, (b*d*n*x)/(2*e*g) - (b*n*x^2)/(4*g) - (b*d^2*n*log(d + e*x))/(2*e^2*g) + (x^2*(a + b*log(c*(d + e*x)^n)))/(2*g) - (f*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2) - (f*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^2) - (b*f*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^2) - (b*f*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2)]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 8, ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g) + ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g) + (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g) + (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^1*(f + g*x^2)), x, 12, (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f) - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f) - (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*f) - (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f) + (b*n*PolyLog(2, 1 + (e*x)/d))/f]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^3*(f + g*x^2)), x, 15, -((b*e*n)/(2*d*f*x)) - (b*e^2*n*log(x))/(2*d^2*f) + (b*e^2*n*log(d + e*x))/(2*d^2*f) - (a + b*log(c*(d + e*x)^n))/(2*f*x^2) - (g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^2 + (g*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) + (g*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^2) + (b*g*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*f^2) + (b*g*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) - (b*g*n*PolyLog(2, 1 + (e*x)/d))/f^2]

    @test_int [x^4*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 16, -((a*f*x)/g^2) + (b*f*n*x)/g^2 - (b*d^2*n*x)/(3*e^2*g) + (b*d*n*x^2)/(6*e*g) - (b*n*x^3)/(9*g) + (b*d^3*n*log(d + e*x))/(3*e^3*g) - (b*f*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) + (x^3*(a + b*log(c*(d + e*x)^n)))/(3*g) + ((-f)^(3/2)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(5/2)) - ((-f)^(3/2)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^(5/2)) - (b*(-f)^(3/2)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^(5/2)) + (b*(-f)^(3/2)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(5/2))]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 13, (a*x)/g - (b*n*x)/g + (b*(d + e*x)*log(c*(d + e*x)^n))/(e*g) + (sqrt(-f)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(3/2)) - (sqrt(-f)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^(3/2)) - (b*sqrt(-f)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^(3/2)) + (b*sqrt(-f)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(3/2))]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))/(f + g*x^2), x, 8, ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*sqrt(-f)*sqrt(g)) - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*sqrt(-f)*sqrt(g)) - (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*sqrt(-f)*sqrt(g)) + (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*sqrt(-f)*sqrt(g))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^2*(f + g*x^2)), x, 14, (b*e*n*log(x))/(d*f) - (b*e*n*log(d + e*x))/(d*f) - (a + b*log(c*(d + e*x)^n))/(f*x) + (sqrt(g)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(3/2)) - (sqrt(g)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(-f)^(3/2)) - (b*sqrt(g)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(3/2)) + (b*sqrt(g)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(3/2))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^4*(f + g*x^2)), x, 17, -((b*e*n)/(6*d*f*x^2)) + (b*e^2*n)/(3*d^2*f*x) + (b*e^3*n*log(x))/(3*d^3*f) - (b*e*g*n*log(x))/(d*f^2) - (b*e^3*n*log(d + e*x))/(3*d^3*f) + (b*e*g*n*log(d + e*x))/(d*f^2) - (a + b*log(c*(d + e*x)^n))/(3*f*x^3) + (g*(a + b*log(c*(d + e*x)^n)))/(f^2*x) + (g^(3/2)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(5/2)) - (g^(3/2)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(-f)^(5/2)) - (b*g^(3/2)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(5/2)) + (b*g^(3/2)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(5/2))]

    @test_int [x^5*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 19, (b*d*n*x)/(2*e*g^2) - (b*n*x^2)/(4*g^2) + (b*d*e*f^(3/2)*n*atan((sqrt(g)*x)/sqrt(f)))/(2*g^(5/2)*(e^2*f + d^2*g)) - (b*d^2*n*log(d + e*x))/(2*e^2*g^2) + (b*e^2*f^2*n*log(d + e*x))/(2*g^3*(e^2*f + d^2*g)) + (x^2*(a + b*log(c*(d + e*x)^n)))/(2*g^2) - (f^2*(a + b*log(c*(d + e*x)^n)))/(2*g^3*(f + g*x^2)) - (f*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3 - (f*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/g^3 - (b*e^2*f^2*n*log(f + g*x^2))/(4*g^3*(e^2*f + d^2*g)) - (b*f*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^3 - (b*f*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3]
    @test_int [x^3*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 16, -((b*d*e*sqrt(f)*n*atan((sqrt(g)*x)/sqrt(f)))/(2*g^(3/2)*(e^2*f + d^2*g))) - (b*e^2*f*n*log(d + e*x))/(2*g^2*(e^2*f + d^2*g)) + (f*(a + b*log(c*(d + e*x)^n)))/(2*g^2*(f + g*x^2)) + ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2) + ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^2) + (b*e^2*f*n*log(f + g*x^2))/(4*g^2*(e^2*f + d^2*g)) + (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^2) + (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2)]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 6, (b*d*e*n*atan((sqrt(g)*x)/sqrt(f)))/(2*sqrt(f)*sqrt(g)*(e^2*f + d^2*g)) + (b*e^2*n*log(d + e*x))/(2*g*(e^2*f + d^2*g)) - (a + b*log(c*(d + e*x)^n))/(2*g*(f + g*x^2)) - (b*e^2*n*log(f + g*x^2))/(4*g*(e^2*f + d^2*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^1*(f + g*x^2)^2), x, 18, -((b*d*e*sqrt(g)*n*atan((sqrt(g)*x)/sqrt(f)))/(2*f^(3/2)*(e^2*f + d^2*g))) - (b*e^2*n*log(d + e*x))/(2*f*(e^2*f + d^2*g)) + (a + b*log(c*(d + e*x)^n))/(2*f*(f + g*x^2)) + (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^2 - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^2) + (b*e^2*n*log(f + g*x^2))/(4*f*(e^2*f + d^2*g)) - (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*f^2) - (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) + (b*n*PolyLog(2, 1 + (e*x)/d))/f^2]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^3*(f + g*x^2)^2), x, 21, -((b*e*n)/(2*d*f^2*x)) + (b*d*e*g^(3/2)*n*atan((sqrt(g)*x)/sqrt(f)))/(2*f^(5/2)*(e^2*f + d^2*g)) - (b*e^2*n*log(x))/(2*d^2*f^2) + (b*e^2*n*log(d + e*x))/(2*d^2*f^2) + (b*e^2*g*n*log(d + e*x))/(2*f^2*(e^2*f + d^2*g)) - (a + b*log(c*(d + e*x)^n))/(2*f^2*x^2) - (g*(a + b*log(c*(d + e*x)^n)))/(2*f^2*(f + g*x^2)) - (2*g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/f^3 + (g*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/f^3 + (g*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/f^3 - (b*e^2*g*n*log(f + g*x^2))/(4*f^2*(e^2*f + d^2*g)) + (b*g*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^3 + (b*g*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^3 - (2*b*g*n*PolyLog(2, 1 + (e*x)/d))/f^3]

    @test_int [x^4*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 31, (a*x)/g^2 - (b*n*x)/g^2 - (b*e*f*n*log(d + e*x))/(4*(e*sqrt(-f) - d*sqrt(g))*g^(5/2)) + (b*e*f*n*log(d + e*x))/(4*(e*sqrt(-f) + d*sqrt(g))*g^(5/2)) + (b*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) - (f*(a + b*log(c*(d + e*x)^n)))/(4*g^(5/2)*(sqrt(-f) - sqrt(g)*x)) + (f*(a + b*log(c*(d + e*x)^n)))/(4*g^(5/2)*(sqrt(-f) + sqrt(g)*x)) - (b*e*f*n*log(sqrt(-f) - sqrt(g)*x))/(4*(e*sqrt(-f) + d*sqrt(g))*g^(5/2)) + (3*sqrt(-f)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*g^(5/2)) + (b*e*f*n*log(sqrt(-f) + sqrt(g)*x))/(4*(e*sqrt(-f) - d*sqrt(g))*g^(5/2)) - (3*sqrt(-f)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*g^(5/2)) - (3*b*sqrt(-f)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(4*g^(5/2)) + (3*b*sqrt(-f)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*g^(5/2))]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 28, (b*e*n*log(d + e*x))/(4*(e*sqrt(-f) - d*sqrt(g))*g^(3/2)) - (b*e*n*log(d + e*x))/(4*(e*sqrt(-f) + d*sqrt(g))*g^(3/2)) + (a + b*log(c*(d + e*x)^n))/(4*g^(3/2)*(sqrt(-f) - sqrt(g)*x)) - (a + b*log(c*(d + e*x)^n))/(4*g^(3/2)*(sqrt(-f) + sqrt(g)*x)) + (b*e*n*log(sqrt(-f) - sqrt(g)*x))/(4*(e*sqrt(-f) + d*sqrt(g))*g^(3/2)) + ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*sqrt(-f)*g^(3/2)) - (b*e*n*log(sqrt(-f) + sqrt(g)*x))/(4*(e*sqrt(-f) - d*sqrt(g))*g^(3/2)) - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*sqrt(-f)*g^(3/2)) - (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(4*sqrt(-f)*g^(3/2)) + (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*sqrt(-f)*g^(3/2))]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))/(f + g*x^2)^2, x, 18, (b*e*n*log(d + e*x))/(4*f*(e*sqrt(-f) + d*sqrt(g))*sqrt(g)) + (b*e*n*log(d + e*x))/(4*(e*(-f)^(3/2) + d*f*sqrt(g))*sqrt(g)) - (a + b*log(c*(d + e*x)^n))/(4*f*sqrt(g)*(sqrt(-f) - sqrt(g)*x)) + (a + b*log(c*(d + e*x)^n))/(4*f*sqrt(g)*(sqrt(-f) + sqrt(g)*x)) - (b*e*n*log(sqrt(-f) - sqrt(g)*x))/(4*f*(e*sqrt(-f) + d*sqrt(g))*sqrt(g)) - ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(3/2)*sqrt(g)) - (b*e*n*log(sqrt(-f) + sqrt(g)*x))/(4*(e*(-f)^(3/2) + d*f*sqrt(g))*sqrt(g)) + ((a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*(-f)^(3/2)*sqrt(g)) + (b*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(4*(-f)^(3/2)*sqrt(g)) - (b*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(3/2)*sqrt(g))]
    @test_int [(a + b*log(c*(d + e*x)^n))/(x^2*(f + g*x^2)^2), x, 32, (b*e*n*log(x))/(d*f^2) - (b*e*n*log(d + e*x))/(d*f^2) - (b*e*sqrt(g)*n*log(d + e*x))/(4*f^2*(e*sqrt(-f) + d*sqrt(g))) - (b*e*sqrt(g)*n*log(d + e*x))/(4*f*(e*(-f)^(3/2) + d*f*sqrt(g))) - (a + b*log(c*(d + e*x)^n))/(f^2*x) + (sqrt(g)*(a + b*log(c*(d + e*x)^n)))/(4*f^2*(sqrt(-f) - sqrt(g)*x)) - (sqrt(g)*(a + b*log(c*(d + e*x)^n)))/(4*f^2*(sqrt(-f) + sqrt(g)*x)) + (b*e*sqrt(g)*n*log(sqrt(-f) - sqrt(g)*x))/(4*f^2*(e*sqrt(-f) + d*sqrt(g))) - (3*sqrt(g)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(5/2)) + (b*e*sqrt(g)*n*log(sqrt(-f) + sqrt(g)*x))/(4*f*(e*(-f)^(3/2) + d*f*sqrt(g))) + (3*sqrt(g)*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*(-f)^(5/2)) + (3*b*sqrt(g)*n*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(4*(-f)^(5/2)) - (3*b*sqrt(g)*n*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(5/2))]

    @test_int [(a + b*log(c*(d + e*x)^n))/sqrt(2 + g*x^2), x, 10, (b*n*asinh((sqrt(g)*x)/sqrt(2))^2)/(2*sqrt(g)) - (b*n*asinh((sqrt(g)*x)/sqrt(2))*log(1 + (sqrt(2)*e*ℯ^asinh((sqrt(g)*x)/sqrt(2)))/(d*sqrt(g) - sqrt(2*e^2 + d^2*g))))/sqrt(g) - (b*n*asinh((sqrt(g)*x)/sqrt(2))*log(1 + (sqrt(2)*e*ℯ^asinh((sqrt(g)*x)/sqrt(2)))/(d*sqrt(g) + sqrt(2*e^2 + d^2*g))))/sqrt(g) + (asinh((sqrt(g)*x)/sqrt(2))*(a + b*log(c*(d + e*x)^n)))/sqrt(g) - (b*n*PolyLog(2, -((sqrt(2)*e*ℯ^asinh((sqrt(g)*x)/sqrt(2)))/(d*sqrt(g) - sqrt(2*e^2 + d^2*g)))))/sqrt(g) - (b*n*PolyLog(2, -((sqrt(2)*e*ℯ^asinh((sqrt(g)*x)/sqrt(2)))/(d*sqrt(g) + sqrt(2*e^2 + d^2*g)))))/sqrt(g)]
    @test_int [(a + b*log(c*(d + e*x)^n))/sqrt(f + g*x^2), x, 11, (b*sqrt(f)*n*sqrt(1 + (g*x^2)/f)*asinh((sqrt(g)*x)/sqrt(f))^2)/(2*sqrt(g)*sqrt(f + g*x^2)) - (b*sqrt(f)*n*sqrt(1 + (g*x^2)/f)*asinh((sqrt(g)*x)/sqrt(f))*log(1 + (e*ℯ^asinh((sqrt(g)*x)/sqrt(f))*sqrt(f))/(d*sqrt(g) - sqrt(e^2*f + d^2*g))))/(sqrt(g)*sqrt(f + g*x^2)) - (b*sqrt(f)*n*sqrt(1 + (g*x^2)/f)*asinh((sqrt(g)*x)/sqrt(f))*log(1 + (e*ℯ^asinh((sqrt(g)*x)/sqrt(f))*sqrt(f))/(d*sqrt(g) + sqrt(e^2*f + d^2*g))))/(sqrt(g)*sqrt(f + g*x^2)) + (sqrt(f)*sqrt(1 + (g*x^2)/f)*asinh((sqrt(g)*x)/sqrt(f))*(a + b*log(c*(d + e*x)^n)))/(sqrt(g)*sqrt(f + g*x^2)) - (b*sqrt(f)*n*sqrt(1 + (g*x^2)/f)*PolyLog(2, -((e*ℯ^asinh((sqrt(g)*x)/sqrt(f))*sqrt(f))/(d*sqrt(g) - sqrt(e^2*f + d^2*g)))))/(sqrt(g)*sqrt(f + g*x^2)) - (b*sqrt(f)*n*sqrt(1 + (g*x^2)/f)*PolyLog(2, -((e*ℯ^asinh((sqrt(g)*x)/sqrt(f))*sqrt(f))/(d*sqrt(g) + sqrt(e^2*f + d^2*g)))))/(sqrt(g)*sqrt(f + g*x^2))]

    @test_int [(a + b*log(c*(d + e*x)^n))/(sqrt(2 + g*x)*sqrt(2 - g*x)), x, 9, (im*b*n*asin((g*x)/2)^2)/(2*g) - (b*n*asin((g*x)/2)*log(1 + (2*e*ℯ^(im*asin((g*x)/2)))/(im*d*g - sqrt(4*e^2 - d^2*g^2))))/g - (b*n*asin((g*x)/2)*log(1 + (2*e*ℯ^(im*asin((g*x)/2)))/(im*d*g + sqrt(4*e^2 - d^2*g^2))))/g + (asin((g*x)/2)*(a + b*log(c*(d + e*x)^n)))/g + (im*b*n*PolyLog(2, -((2*e*ℯ^(im*asin((g*x)/2)))/(im*d*g - sqrt(4*e^2 - d^2*g^2)))))/g + (im*b*n*PolyLog(2, -((2*e*ℯ^(im*asin((g*x)/2)))/(im*d*g + sqrt(4*e^2 - d^2*g^2)))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))/(sqrt(f + g*x)*sqrt(f - g*x)), x, 11, (im*b*f*n*sqrt(1 - (g^2*x^2)/f^2)*asin((g*x)/f)^2)/(2*g*sqrt(f - g*x)*sqrt(f + g*x)) - (b*f*n*sqrt(1 - (g^2*x^2)/f^2)*asin((g*x)/f)*log(1 + (e*ℯ^(im*asin((g*x)/f))*f)/(im*d*g - sqrt(e^2*f^2 - d^2*g^2))))/(g*sqrt(f - g*x)*sqrt(f + g*x)) - (b*f*n*sqrt(1 - (g^2*x^2)/f^2)*asin((g*x)/f)*log(1 + (e*ℯ^(im*asin((g*x)/f))*f)/(im*d*g + sqrt(e^2*f^2 - d^2*g^2))))/(g*sqrt(f - g*x)*sqrt(f + g*x)) + (f*sqrt(1 - (g^2*x^2)/f^2)*asin((g*x)/f)*(a + b*log(c*(d + e*x)^n)))/(g*sqrt(f - g*x)*sqrt(f + g*x)) + (im*b*f*n*sqrt(1 - (g^2*x^2)/f^2)*PolyLog(2, -((e*ℯ^(im*asin((g*x)/f))*f)/(im*d*g - sqrt(e^2*f^2 - d^2*g^2)))))/(g*sqrt(f - g*x)*sqrt(f + g*x)) + (im*b*f*n*sqrt(1 - (g^2*x^2)/f^2)*PolyLog(2, -((e*ℯ^(im*asin((g*x)/f))*f)/(im*d*g + sqrt(e^2*f^2 - d^2*g^2)))))/(g*sqrt(f - g*x)*sqrt(f + g*x))]

    @test_int [log(2*e/(e + f*x))/(e^2 - f^2*x^2), x, 2, PolyLog(2, 1 - (2*e)/(e + f*x))/(2*e*f)]
    @test_int [log(e/(e + f*x))/(e^2 - f^2*x^2), x, 4, -((atanh((f*x)/e)*log(2))/(e*f)) + PolyLog(2, 1 - (2*e)/(e + f*x))/(2*e*f)]

    @test_int [(a + b*log(2*e/(e + f*x)))/(e^2 - f^2*x^2), x, 4, (a*atanh((f*x)/e))/(e*f) + (b*PolyLog(2, 1 - (2*e)/(e + f*x)))/(2*e*f)]
    @test_int [(a + b*log(e/(e + f*x)))/(e^2 - f^2*x^2), x, 4, (atanh((f*x)/e)*(a - b*log(2)))/(e*f) + (b*PolyLog(2, 1 - (2*e)/(e + f*x)))/(2*e*f)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g*x^3)^q*(a+b*log(c*(d+e*x)^n))=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q<0=#

    @test_int [x^5*log(c + d*x)/(a + b*x^3), x, 16, -((c^2*x)/(3*b*d^2)) + (c*x^2)/(6*b*d) - x^3/(9*b) + (c^3*log(c + d*x))/(3*b*d^3) + (x^3*log(c + d*x))/(3*b) - (a*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b^2) - (a*log(-((d*((-1)^(2/3)*a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))*log(c + d*x))/(3*b^2) - (a*log(((-1)^(1/3)*d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))*log(c + d*x))/(3*b^2) - (a*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*b^2) - (a*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d)))/(3*b^2) - (a*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))/(3*b^2)]
    @test_int [x^2*log(c + d*x)/(a + b*x^3), x, 11, (log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b) + (log(-((d*((-1)^(2/3)*a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))*log(c + d*x))/(3*b) + (log(((-1)^(1/3)*d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))*log(c + d*x))/(3*b) + PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d))/(3*b) + PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))/(3*b) + PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d))/(3*b)]
    @test_int [log(c + d*x)/(x^1*(a + b*x^3)), x, 15, (log(-((d*x)/c))*log(c + d*x))/a - (log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a) - (log(-((d*((-1)^(2/3)*a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))*log(c + d*x))/(3*a) - (log(((-1)^(1/3)*d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))*log(c + d*x))/(3*a) + PolyLog(2, 1 + (d*x)/c)/a - PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d))/(3*a) - PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))/(3*a) - PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d))/(3*a)]
    @test_int [log(c + d*x)/(x^4*(a + b*x^3)), x, 18, -(d/(6*a*c*x^2)) + d^2/(3*a*c^2*x) + (d^3*log(x))/(3*a*c^3) - (d^3*log(c + d*x))/(3*a*c^3) - log(c + d*x)/(3*a*x^3) - (b*log(-((d*x)/c))*log(c + d*x))/a^2 + (b*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^2) + (b*log(-((d*((-1)^(2/3)*a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))*log(c + d*x))/(3*a^2) + (b*log(((-1)^(1/3)*d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d))*log(c + d*x))/(3*a^2) + (b*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*a^2) + (b*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c + (-1)^(1/3)*a^(1/3)*d)))/(3*a^2) + (b*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - (-1)^(2/3)*a^(1/3)*d)))/(3*a^2) - (b*PolyLog(2, 1 + (d*x)/c))/a^2]

    @test_int [x^4*log(c + d*x)/(a + b*x^3), x, 16, (c*x)/(2*b*d) - x^2/(4*b) - (c^2*log(c + d*x))/(2*b*d^2) + (x^2*log(c + d*x))/(2*b) + (a^(2/3)*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b^(5/3)) - ((-1)^(1/3)*a^(2/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*b^(5/3)) + ((-1)^(2/3)*a^(2/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b^(5/3)) + (a^(2/3)*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*b^(5/3)) + ((-1)^(2/3)*a^(2/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*b^(5/3)) - ((-1)^(1/3)*a^(2/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*b^(5/3))]
    @test_int [x^3*log(c + d*x)/(a + b*x^3), x, 15, -(x/b) + ((c + d*x)*log(c + d*x))/(b*d) - (a^(1/3)*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b^(4/3)) - ((-1)^(2/3)*a^(1/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*b^(4/3)) + ((-1)^(1/3)*a^(1/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*b^(4/3)) - (a^(1/3)*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*b^(4/3)) + ((-1)^(1/3)*a^(1/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*b^(4/3)) - ((-1)^(2/3)*a^(1/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*b^(4/3))]
    @test_int [x^1*log(c + d*x)/(a + b*x^3), x, 11, -((log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(1/3)*b^(2/3))) + ((-1)^(1/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*a^(1/3)*b^(2/3)) - ((-1)^(2/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(1/3)*b^(2/3)) - PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d))/(3*a^(1/3)*b^(2/3)) - ((-1)^(2/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*a^(1/3)*b^(2/3)) + ((-1)^(1/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*a^(1/3)*b^(2/3))]
    @test_int [x^0*log(c + d*x)/(a + b*x^3), x, 11, (log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(2/3)*b^(1/3)) + ((-1)^(2/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*a^(2/3)*b^(1/3)) - ((-1)^(1/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(2/3)*b^(1/3)) + PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d))/(3*a^(2/3)*b^(1/3)) - ((-1)^(1/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*a^(2/3)*b^(1/3)) + ((-1)^(2/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*a^(2/3)*b^(1/3))]
    @test_int [log(c + d*x)/(x^2*(a + b*x^3)), x, 17, (d*log(x))/(a*c) - (d*log(c + d*x))/(a*c) - log(c + d*x)/(a*x) + (b^(1/3)*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(4/3)) - ((-1)^(1/3)*b^(1/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*a^(4/3)) + ((-1)^(2/3)*b^(1/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(4/3)) + (b^(1/3)*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*a^(4/3)) + ((-1)^(2/3)*b^(1/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*a^(4/3)) - ((-1)^(1/3)*b^(1/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*a^(4/3))]
    @test_int [log(c + d*x)/(x^3*(a + b*x^3)), x, 16, -(d/(2*a*c*x)) - (d^2*log(x))/(2*a*c^2) + (d^2*log(c + d*x))/(2*a*c^2) - log(c + d*x)/(2*a*x^2) - (b^(2/3)*log(-((d*(a^(1/3) + b^(1/3)*x))/(b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(5/3)) - ((-1)^(2/3)*b^(2/3)*log((d*(a^(1/3) - (-1)^(1/3)*b^(1/3)*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d))*log(c + d*x))/(3*a^(5/3)) + ((-1)^(1/3)*b^(2/3)*log(-((d*(a^(1/3) + (-1)^(2/3)*b^(1/3)*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))*log(c + d*x))/(3*a^(5/3)) - (b^(2/3)*PolyLog(2, (b^(1/3)*(c + d*x))/(b^(1/3)*c - a^(1/3)*d)))/(3*a^(5/3)) + ((-1)^(1/3)*b^(2/3)*PolyLog(2, ((-1)^(2/3)*b^(1/3)*(c + d*x))/((-1)^(2/3)*b^(1/3)*c - a^(1/3)*d)))/(3*a^(5/3)) - ((-1)^(2/3)*b^(2/3)*PolyLog(2, ((-1)^(1/3)*b^(1/3)*(c + d*x))/((-1)^(1/3)*b^(1/3)*c + a^(1/3)*d)))/(3*a^(5/3))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g*x^4)^q*(a+b*log(c*(d+e*x)^n))=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q<0=#

    @test_int [x^7*log(c + d*x)/(a + b*x^4), x, 23, (c^3*x)/(4*b*d^3) - (c^2*x^2)/(8*b*d^2) + (c*x^3)/(12*b*d) - x^4/(16*b) - (c^4*log(c + d*x))/(4*b*d^4) + (x^4*log(c + d*x))/(4*b) - (a*log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*b^2) - (a*log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*b^2) - (a*log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*b^2) - (a*log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*b^2) - (a*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))/(4*b^2) - (a*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d)))/(4*b^2) - (a*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d)))/(4*b^2) - (a*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d)))/(4*b^2)]
    @test_int [x^3*log(c + d*x)/(a + b*x^4), x, 18, (log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*b) + (log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*b) + (log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*b) + (log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*b) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d))/(4*b) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))/(4*b) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d))/(4*b) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d))/(4*b)]
    @test_int [log(c + d*x)/(x^1*(a + b*x^4)), x, 22, (log(-((d*x)/c))*log(c + d*x))/a - (log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*a) - (log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*a) - (log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*a) - (log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*a) + PolyLog(2, 1 + (d*x)/c)/a - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d))/(4*a) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))/(4*a) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d))/(4*a) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d))/(4*a)]

    @test_int [x^5*log(c + d*x)/(a + b*x^4), x, 23, (c*x)/(2*b*d) - x^2/(4*b) - (c^2*log(c + d*x))/(2*b*d^2) + (x^2*log(c + d*x))/(2*b) - (sqrt(-a)*log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*b^(3/2)) + (sqrt(-a)*log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*b^(3/2)) - (sqrt(-a)*log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*b^(3/2)) + (sqrt(-a)*log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*b^(3/2)) - (sqrt(-a)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))/(4*b^(3/2)) - (sqrt(-a)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d)))/(4*b^(3/2)) + (sqrt(-a)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d)))/(4*b^(3/2)) + (sqrt(-a)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d)))/(4*b^(3/2))]
    @test_int [x^1*log(c + d*x)/(a + b*x^4), x, 18, -((log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*sqrt(-a)*sqrt(b))) + (log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*sqrt(-a)*sqrt(b)) - (log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*sqrt(-a)*sqrt(b)) + (log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*sqrt(-a)*sqrt(b)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d))/(4*sqrt(-a)*sqrt(b)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))/(4*sqrt(-a)*sqrt(b)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d))/(4*sqrt(-a)*sqrt(b)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d))/(4*sqrt(-a)*sqrt(b))]
    @test_int [log(c + d*x)/(x^3*(a + b*x^4)), x, 23, -(d/(2*a*c*x)) - (d^2*log(x))/(2*a*c^2) + (d^2*log(c + d*x))/(2*a*c^2) - log(c + d*x)/(2*a*x^2) - (sqrt(b)*log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*(-a)^(3/2)) + (sqrt(b)*log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*(-a)^(3/2)) - (sqrt(b)*log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*(-a)^(3/2)) + (sqrt(b)*log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*(-a)^(3/2)) - (sqrt(b)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))/(4*(-a)^(3/2)) - (sqrt(b)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d)))/(4*(-a)^(3/2)) + (sqrt(b)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d)))/(4*(-a)^(3/2)) + (sqrt(b)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d)))/(4*(-a)^(3/2))]

    @test_int [x^4*log(c + d*x)/(a + b*x^4), x, 22, -(x/b) + ((c + d*x)*log(c + d*x))/(b*d) + (sqrt(-sqrt(-a))*log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*b^(5/4)) + ((-a)^(1/4)*log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*b^(5/4)) - (sqrt(-sqrt(-a))*log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*b^(5/4)) - ((-a)^(1/4)*log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*b^(5/4)) - (sqrt(-sqrt(-a))*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))/(4*b^(5/4)) + (sqrt(-sqrt(-a))*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d)))/(4*b^(5/4)) - ((-a)^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d)))/(4*b^(5/4)) + ((-a)^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d)))/(4*b^(5/4))]
    @test_int [x^2*log(c + d*x)/(a + b*x^4), x, 18, (log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*sqrt(-sqrt(-a))*b^(3/4)) + (log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*(-a)^(1/4)*b^(3/4)) - (log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*sqrt(-sqrt(-a))*b^(3/4)) - (log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*(-a)^(1/4)*b^(3/4)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d))/(4*sqrt(-sqrt(-a))*b^(3/4)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))/(4*sqrt(-sqrt(-a))*b^(3/4)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d))/(4*(-a)^(1/4)*b^(3/4)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d))/(4*(-a)^(1/4)*b^(3/4))]
    @test_int [x^0*log(c + d*x)/(a + b*x^4), x, 18, (log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*(-sqrt(-a))^(3/2)*b^(1/4)) + (log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*(-a)^(3/4)*b^(1/4)) - (log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*(-sqrt(-a))^(3/2)*b^(1/4)) - (log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*(-a)^(3/4)*b^(1/4)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d))/(4*(-sqrt(-a))^(3/2)*b^(1/4)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))/(4*(-sqrt(-a))^(3/2)*b^(1/4)) - PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d))/(4*(-a)^(3/4)*b^(1/4)) + PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d))/(4*(-a)^(3/4)*b^(1/4))]
    @test_int [log(c + d*x)/(x^2*(a + b*x^4)), x, 24, (d*log(x))/(a*c) - (d*log(c + d*x))/(a*c) - log(c + d*x)/(a*x) + (b^(1/4)*log((d*(sqrt(-sqrt(-a)) - b^(1/4)*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d))*log(c + d*x))/(4*(-sqrt(-a))^(5/2)) + (b^(1/4)*log((d*((-a)^(1/4) - b^(1/4)*x))/(b^(1/4)*c + (-a)^(1/4)*d))*log(c + d*x))/(4*(-a)^(5/4)) - (b^(1/4)*log(-((d*(sqrt(-sqrt(-a)) + b^(1/4)*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))*log(c + d*x))/(4*(-sqrt(-a))^(5/2)) - (b^(1/4)*log(-((d*((-a)^(1/4) + b^(1/4)*x))/(b^(1/4)*c - (-a)^(1/4)*d)))*log(c + d*x))/(4*(-a)^(5/4)) - (b^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - sqrt(-sqrt(-a))*d)))/(4*(-sqrt(-a))^(5/2)) + (b^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + sqrt(-sqrt(-a))*d)))/(4*(-sqrt(-a))^(5/2)) - (b^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c - (-a)^(1/4)*d)))/(4*(-a)^(5/4)) + (b^(1/4)*PolyLog(2, (b^(1/4)*(c + d*x))/(b^(1/4)*c + (-a)^(1/4)*d)))/(4*(-a)^(5/4))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g / x^1)^q*(a+b*log(c*(d+e*x)^n))=#

    #= ::Subsubsection::Closed:: =#
    #=q>0=#

    @test_int [x^1*(f + g/x)^1*(a + b*log(c*(d + e*x)^n)), x, 4, (b*(d*f - e*g)*n*x)/(2*e) - (b*n*(g + f*x)^2)/(4*f) - (b*(d*f - e*g)^2*n*log(d + e*x))/(2*e^2*f) + ((g + f*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*f)]

    @test_int [x^2*(f + g/x)^2*(a + b*log(c*(d + e*x)^n)), x, 4, -((b*(d*f - e*g)^2*n*x)/(3*e^2)) + (b*(d*f - e*g)*n*(g + f*x)^2)/(6*e*f) - (b*n*(g + f*x)^3)/(9*f) + (b*(d*f - e*g)^3*n*log(d + e*x))/(3*e^3*f) + ((g + f*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*f)]

    @test_int [x^3*(f + g/x)^3*(a + b*log(c*(d + e*x)^n)), x, 4, (b*(d*f - e*g)^3*n*x)/(4*e^3) - (b*(d*f - e*g)^2*n*(g + f*x)^2)/(8*e^2*f) + (b*(d*f - e*g)*n*(g + f*x)^3)/(12*e*f) - (b*n*(g + f*x)^4)/(16*f) - (b*(d*f - e*g)^4*n*log(d + e*x))/(4*e^4*f) + ((g + f*x)^4*(a + b*log(c*(d + e*x)^n)))/(4*f)]

    #= ::Subsubsection::Closed:: =#
    #=q<0=#

    @test_int [(a + b*log(c*(d + e*x)^n))/(x^1*(f + g/x)^1), x, 4, ((a + b*log(c*(d + e*x)^n))*log(-((e*(g + f*x))/(d*f - e*g))))/f + (b*n*PolyLog(2, (f*(d + e*x))/(d*f - e*g)))/f]

    @test_int [(a + b*log(c*(d + e*x)^n))/(x^2*(f + g/x)^2), x, 5, -((b*e*n*log(d + e*x))/(f*(d*f - e*g))) - (a + b*log(c*(d + e*x)^n))/(f*(g + f*x)) + (b*e*n*log(g + f*x))/(f*(d*f - e*g))]

    @test_int [(a + b*log(c*(d + e*x)^n))/(x^3*(f + g/x)^3), x, 4, -((b*e*n)/(2*f*(d*f - e*g)*(g + f*x))) + (b*e^2*n*log(d + e*x))/(2*f*(d*f - e*g)^2) - (a + b*log(c*(d + e*x)^n))/(2*f*(g + f*x)^2) - (b*e^2*n*log(g + f*x))/(2*f*(d*f - e*g)^2)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g / x^2)^q*(a+b*log(c*(d+e*x)^n))=#

    @test_int [log(a + b*x)/(c + d/x^2), x, 12, -(x/c) + ((a + b*x)*log(a + b*x))/(b*c) - (sqrt(d)*log(a + b*x)*log((b*(sqrt(d) - sqrt(-c)*x))/(a*sqrt(-c) + b*sqrt(d))))/(2*(-c)^(3/2)) + (sqrt(d)*log(a + b*x)*log(-((b*(sqrt(d) + sqrt(-c)*x))/(a*sqrt(-c) - b*sqrt(d)))))/(2*(-c)^(3/2)) + (sqrt(d)*PolyLog(2, (sqrt(-c)*(a + b*x))/(a*sqrt(-c) - b*sqrt(d))))/(2*(-c)^(3/2)) - (sqrt(d)*PolyLog(2, (sqrt(-c)*(a + b*x))/(a*sqrt(-c) + b*sqrt(d))))/(2*(-c)^(3/2))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(f+g*x^2)^q*(a+b*log(c*(d+e*x)^n))^2=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q>0=#

    @test_int [x^5*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 28, -((2*a*b*d*f*n*x)/(e*g^2)) + (2*b^2*d*f*n^2*x)/(e*g^2) - (2*b^2*d^3*n^2*x)/(e^3*g) - (b^2*f*n^2*(d + e*x)^2)/(4*e^2*g^2) + (3*b^2*d^2*n^2*(d + e*x)^2)/(4*e^4*g) - (2*b^2*d*n^2*(d + e*x)^3)/(9*e^4*g) + (b^2*n^2*(d + e*x)^4)/(32*e^4*g) + (b^2*d^4*n^2*log(d + e*x)^2)/(4*e^4*g) - (2*b^2*d*f*n*(d + e*x)*log(c*(d + e*x)^n))/(e^2*g^2) + (2*b*d^3*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(e^4*g) + (b*f*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2*g^2) - (3*b*d^2*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^4*g) + (2*b*d*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*e^4*g) - (b*n*(d + e*x)^4*(a + b*log(c*(d + e*x)^n)))/(8*e^4*g) - (b*d^4*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(2*e^4*g) + (x^4*(a + b*log(c*(d + e*x)^n))^2)/(4*g) + (d*f*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e^2*g^2) - (f*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2*g^2) + (f^2*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^3) + (f^2*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^3) + (b*f^2*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^3 + (b*f^2*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3 - (b^2*f^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^3 - (b^2*f^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3]
    @test_int [x^3*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 21, (2*a*b*d*n*x)/(e*g) - (2*b^2*d*n^2*x)/(e*g) + (b^2*n^2*(d + e*x)^2)/(4*e^2*g) + (2*b^2*d*n*(d + e*x)*log(c*(d + e*x)^n))/(e^2*g) - (b*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2*g) - (d*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e^2*g) + ((d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2*g) - (f*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2) - (f*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^2) - (b*f*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^2 - (b*f*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^2 + (b^2*f*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^2 + (b^2*f*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^2]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 10, ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g) + ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g - (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g - (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^1*(f + g*x^2)), x, 16, (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/f - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f + (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/f + (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f + (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f - (2*b^2*n^2*PolyLog(3, 1 + (e*x)/d))/f]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^3*(f + g*x^2)), x, 23, (b^2*e^2*n^2*log(x))/(d^2*f) - (b*e*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(d^2*f*x) - (a + b*log(c*(d + e*x)^n))^2/(2*f*x^2) - (g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/f^2 + (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) + (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^2) - (b*e^2*n*(a + b*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/(d^2*f) + (b^2*e^2*n^2*PolyLog(2, d/(d + e*x)))/(d^2*f) + (b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^2 + (b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^2 - (2*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/f^2 - (b^2*g*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^2 - (b^2*g*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^2 + (2*b^2*g*n^2*PolyLog(3, 1 + (e*x)/d))/f^2]

    @test_int [x^4*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 23, (2*a*b*f*n*x)/g^2 - (2*b^2*f*n^2*x)/g^2 + (2*b^2*d^2*n^2*x)/(e^2*g) - (b^2*d*n^2*(d + e*x)^2)/(2*e^3*g) + (2*b^2*n^2*(d + e*x)^3)/(27*e^3*g) - (b^2*d^3*n^2*log(d + e*x)^2)/(3*e^3*g) + (2*b^2*f*n*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) - (2*b*d^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(e^3*g) + (b*d*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(e^3*g) - (2*b*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(9*e^3*g) + (2*b*d^3*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*e^3*g) + (x^3*(a + b*log(c*(d + e*x)^n))^2)/(3*g) - (f*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g^2) + ((-f)^(3/2)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(5/2)) - ((-f)^(3/2)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^(5/2)) - (b*(-f)^(3/2)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^(5/2) + (b*(-f)^(3/2)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^(5/2) + (b^2*(-f)^(3/2)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^(5/2) - (b^2*(-f)^(3/2)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^(5/2)]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 16, -((2*a*b*n*x)/g) + (2*b^2*n^2*x)/g - (2*b^2*n*(d + e*x)*log(c*(d + e*x)^n))/(e*g) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g) + (sqrt(-f)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(3/2)) - (sqrt(-f)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^(3/2)) - (b*sqrt(-f)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^(3/2) + (b*sqrt(-f)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^(3/2) + (b^2*sqrt(-f)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^(3/2) - (b^2*sqrt(-f)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^(3/2)]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2), x, 10, ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*sqrt(-f)*sqrt(g)) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*sqrt(-f)*sqrt(g)) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(sqrt(-f)*sqrt(g)) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(sqrt(-f)*sqrt(g)) + (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(sqrt(-f)*sqrt(g)) - (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(sqrt(-f)*sqrt(g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^2*(f + g*x^2)), x, 15, (2*b*e*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(d*f) - ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(d*f*x) + (sqrt(g)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(3/2)) - (sqrt(g)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(-f)^(3/2)) - (b*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(-f)^(3/2) + (b*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(-f)^(3/2) + (2*b^2*e*n^2*PolyLog(2, 1 + (e*x)/d))/(d*f) + (b^2*sqrt(g)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(-f)^(3/2) - (b^2*sqrt(g)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(-f)^(3/2)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^4*(f + g*x^2)), x, 26, -((b^2*e^2*n^2)/(3*d^2*f*x)) - (b^2*e^3*n^2*log(x))/(d^3*f) + (b^2*e^3*n^2*log(d + e*x))/(3*d^3*f) - (b*e*n*(a + b*log(c*(d + e*x)^n)))/(3*d*f*x^2) + (2*b*e^2*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*d^3*f*x) - (2*b*e*g*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(d*f^2) - (a + b*log(c*(d + e*x)^n))^2/(3*f*x^3) + (g*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(d*f^2*x) + (g^(3/2)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(5/2)) - (g^(3/2)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(-f)^(5/2)) + (2*b*e^3*n*(a + b*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/(3*d^3*f) - (2*b^2*e^3*n^2*PolyLog(2, d/(d + e*x)))/(3*d^3*f) - (b*g^(3/2)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(-f)^(5/2) + (b*g^(3/2)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(-f)^(5/2) - (2*b^2*e*g*n^2*PolyLog(2, 1 + (e*x)/d))/(d*f^2) + (b^2*g^(3/2)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(-f)^(5/2) - (b^2*g^(3/2)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(-f)^(5/2)]

    @test_int [x^5*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 34, (2*a*b*d*n*x)/(e*g^2) - (2*b^2*d*n^2*x)/(e*g^2) + (b^2*n^2*(d + e*x)^2)/(4*e^2*g^2) + (2*b^2*d*n*(d + e*x)*log(c*(d + e*x)^n))/(e^2*g^2) - (b*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2*g^2) + (e^2*f^2*(a + b*log(c*(d + e*x)^n))^2)/(2*g^3*(e^2*f + d^2*g)) - (d*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e^2*g^2) + ((d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2*g^2) - (f^2*(a + b*log(c*(d + e*x)^n))^2)/(2*g^3*(f + g*x^2)) - (b*e*f*(e*f + d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^3*(e^2*f + d^2*g)) - (f*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3 - (b*e*(-f)^(3/2)*(e*sqrt(-f) + d*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^3*(e^2*f + d^2*g)) - (f*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/g^3 - (b^2*e*(-f)^(3/2)*(e*sqrt(-f) + d*sqrt(g))*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^3*(e^2*f + d^2*g)) - (2*b*f*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^3 - (b^2*e*(-f)^(3/2)*(e*sqrt(-f) - d*sqrt(g))*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^3*(e^2*f + d^2*g)) - (2*b*f*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3 + (2*b^2*f*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^3 + (2*b^2*f*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^3]
    @test_int [x^3*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 25, -((e^2*f*(a + b*log(c*(d + e*x)^n))^2)/(2*g^2*(e^2*f + d^2*g))) + (f*(a + b*log(c*(d + e*x)^n))^2)/(2*g^2*(f + g*x^2)) + (b*e*(e*f + d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2*(e^2*f + d^2*g)) + ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2) + (b*e*(e*f - d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^2*(e^2*f + d^2*g)) + ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*g^2) - (b^2*e*sqrt(-f)*(e*sqrt(-f) + d*sqrt(g))*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^2*(e^2*f + d^2*g)) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^2 + (b^2*e*(e*f + d*sqrt(-f)*sqrt(g))*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^2*(e^2*f + d^2*g)) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^2 - (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/g^2 - (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/g^2]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 13, (e^2*(a + b*log(c*(d + e*x)^n))^2)/(2*g*(e^2*f + d^2*g)) - (a + b*log(c*(d + e*x)^n))^2/(2*g*(f + g*x^2)) - (b*e*(e*f + d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f*g*(e^2*f + d^2*g)) - (b*e*(e*f - d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f*g*(e^2*f + d^2*g)) - (b^2*e*(e*sqrt(-f) + d*sqrt(g))*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*sqrt(-f)*g*(e^2*f + d^2*g)) - (b^2*e*(e*f + d*sqrt(-f)*sqrt(g))*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f*g*(e^2*f + d^2*g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^1*(f + g*x^2)^2), x, 29, -((e^2*(a + b*log(c*(d + e*x)^n))^2)/(2*f*(e^2*f + d^2*g))) + (a + b*log(c*(d + e*x)^n))^2/(2*f*(f + g*x^2)) + (log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/f^2 + (b*e*(e*f + d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2*(e^2*f + d^2*g)) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2) + (b*e*(e*f - d*sqrt(-f)*sqrt(g))*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^2*(e^2*f + d^2*g)) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^2) - (b^2*e*(e*sqrt(-f) + d*sqrt(g))*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(3/2)*(e^2*f + d^2*g)) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^2 + (b^2*e*(e*f + d*sqrt(-f)*sqrt(g))*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2*(e^2*f + d^2*g)) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^2 + (2*b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/f^2 + (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^2 + (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^2 - (2*b^2*n^2*PolyLog(3, 1 + (e*x)/d))/f^2]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^3*(f + g*x^2)^2), x, 36, (b^2*e^2*n^2*log(x))/(d^2*f^2) - (b*e*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(d^2*f^2*x) + (e^2*g*(a + b*log(c*(d + e*x)^n))^2)/(2*f^2*(e^2*f + d^2*g)) - (a + b*log(c*(d + e*x)^n))^2/(2*f^2*x^2) - (g*(a + b*log(c*(d + e*x)^n))^2)/(2*f^2*(f + g*x^2)) - (2*g*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/f^3 - (b*e*(e*f + d*sqrt(-f)*sqrt(g))*g*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^3*(e^2*f + d^2*g)) + (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/f^3 - (b*e*(e*f - d*sqrt(-f)*sqrt(g))*g*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f^3*(e^2*f + d^2*g)) + (g*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/f^3 - (b*e^2*n*(a + b*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/(d^2*f^2) + (b^2*e^2*n^2*PolyLog(2, d/(d + e*x)))/(d^2*f^2) - (b^2*e*(e*sqrt(-f) + d*sqrt(g))*g*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(5/2)*(e^2*f + d^2*g)) + (2*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^3 - (b^2*e*(e*f + d*sqrt(-f)*sqrt(g))*g*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^3*(e^2*f + d^2*g)) + (2*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^3 - (4*b*g*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/f^3 - (2*b^2*g*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/f^3 - (2*b^2*g*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/f^3 + (4*b^2*g*n^2*PolyLog(3, 1 + (e*x)/d))/f^3]

    @test_int [x^4*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 36, -((2*a*b*n*x)/g^2) + (2*b^2*n^2*x)/g^2 - (2*b^2*n*(d + e*x)*log(c*(d + e*x)^n))/(e*g^2) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(e*g^2) - (f*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*(e*sqrt(-f) + d*sqrt(g))*g^2*(sqrt(-f) - sqrt(g)*x)) - (f*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*(e*sqrt(-f) - d*sqrt(g))*g^2*(sqrt(-f) + sqrt(g)*x)) - (b*e*f*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(e*sqrt(-f) + d*sqrt(g))*g^(5/2)) + (3*sqrt(-f)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*g^(5/2)) + (b*e*f*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(e*sqrt(-f) - d*sqrt(g))*g^(5/2)) - (3*sqrt(-f)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*g^(5/2)) + (b^2*e*f*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(e*sqrt(-f) - d*sqrt(g))*g^(5/2)) - (3*b*sqrt(-f)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^(5/2)) - (b^2*e*f*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(e*sqrt(-f) + d*sqrt(g))*g^(5/2)) + (3*b*sqrt(-f)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(5/2)) + (3*b^2*sqrt(-f)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*g^(5/2)) - (3*b^2*sqrt(-f)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*g^(5/2))]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 32, ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*(e*sqrt(-f) + d*sqrt(g))*g*(sqrt(-f) - sqrt(g)*x)) + ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*(e*sqrt(-f) - d*sqrt(g))*g*(sqrt(-f) + sqrt(g)*x)) + (b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(e*sqrt(-f) + d*sqrt(g))*g^(3/2)) + ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*sqrt(-f)*g^(3/2)) - (b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(e*sqrt(-f) - d*sqrt(g))*g^(3/2)) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*sqrt(-f)*g^(3/2)) - (b^2*e*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(e*sqrt(-f) - d*sqrt(g))*g^(3/2)) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*sqrt(-f)*g^(3/2)) + (b^2*e*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(e*sqrt(-f) + d*sqrt(g))*g^(3/2)) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*sqrt(-f)*g^(3/2)) + (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*sqrt(-f)*g^(3/2)) - (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*sqrt(-f)*g^(3/2))]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))^2/(f + g*x^2)^2, x, 20, -(((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*f*(e*sqrt(-f) + d*sqrt(g))*(sqrt(-f) - sqrt(g)*x))) - ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*f*(e*sqrt(-f) - d*sqrt(g))*(sqrt(-f) + sqrt(g)*x)) - (b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f*(e*sqrt(-f) + d*sqrt(g))*sqrt(g)) - ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(3/2)*sqrt(g)) - (b*e*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*(e*(-f)^(3/2) + d*f*sqrt(g))*sqrt(g)) + ((a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*(-f)^(3/2)*sqrt(g)) - (b^2*e*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(e*(-f)^(3/2) + d*f*sqrt(g))*sqrt(g)) + (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(3/2)*sqrt(g)) - (b^2*e*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f*(e*sqrt(-f) + d*sqrt(g))*sqrt(g)) - (b*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(3/2)*sqrt(g)) - (b^2*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(3/2)*sqrt(g)) + (b^2*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(3/2)*sqrt(g))]
    @test_int [(a + b*log(c*(d + e*x)^n))^2/(x^2*(f + g*x^2)^2), x, 35, (2*b*e*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(d*f^2) - ((d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(d*f^2*x) + (g*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*f^2*(e*sqrt(-f) + d*sqrt(g))*(sqrt(-f) - sqrt(g)*x)) + (g*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*f^2*(e*sqrt(-f) - d*sqrt(g))*(sqrt(-f) + sqrt(g)*x)) + (b*e*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2*(e*sqrt(-f) + d*sqrt(g))) - (3*sqrt(g)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) - sqrt(g)*x))/(e*sqrt(-f) + d*sqrt(g))))/(4*(-f)^(5/2)) + (b*e*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(2*f*(e*(-f)^(3/2) + d*f*sqrt(g))) + (3*sqrt(g)*(a + b*log(c*(d + e*x)^n))^2*log((e*(sqrt(-f) + sqrt(g)*x))/(e*sqrt(-f) - d*sqrt(g))))/(4*(-f)^(5/2)) + (b^2*e*sqrt(g)*n^2*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*f*(e*(-f)^(3/2) + d*f*sqrt(g))) + (3*b*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(5/2)) + (b^2*e*sqrt(g)*n^2*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*f^2*(e*sqrt(-f) + d*sqrt(g))) - (3*b*sqrt(g)*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(5/2)) + (2*b^2*e*n^2*PolyLog(2, 1 + (e*x)/d))/(d*f^2) - (3*b^2*sqrt(g)*n^2*PolyLog(3, -((sqrt(g)*(d + e*x))/(e*sqrt(-f) - d*sqrt(g)))))/(2*(-f)^(5/2)) + (3*b^2*sqrt(g)*n^2*PolyLog(3, (sqrt(g)*(d + e*x))/(e*sqrt(-f) + d*sqrt(g))))/(2*(-f)^(5/2))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(f+g*x^2)^q*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsubsection:: =#
    #=q>0=#

    #= ::Subsubsection::Closed:: =#
    #=q<0=#

    @test_int [log(c*(a + b*x)^n)^3/(d + e*x^2), x, 12, (log(c*(a + b*x)^n)^3*log((b*(sqrt(-d) - sqrt(e)*x))/(b*sqrt(-d) + a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (log(c*(a + b*x)^n)^3*log((b*(sqrt(-d) + sqrt(e)*x))/(b*sqrt(-d) - a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(2*sqrt(-d)*sqrt(e)) + (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) + (3*n^2*log(c*(a + b*x)^n)*PolyLog(3, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(sqrt(-d)*sqrt(e)) - (3*n^2*log(c*(a + b*x)^n)*PolyLog(3, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(sqrt(-d)*sqrt(e)) - (3*n^3*PolyLog(4, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(sqrt(-d)*sqrt(e)) + (3*n^3*PolyLog(4, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(sqrt(-d)*sqrt(e))]
    @test_int [log(c*(a + b*x)^n)^2/(d + e*x^2), x, 10, (log(c*(a + b*x)^n)^2*log((b*(sqrt(-d) - sqrt(e)*x))/(b*sqrt(-d) + a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (log(c*(a + b*x)^n)^2*log((b*(sqrt(-d) + sqrt(e)*x))/(b*sqrt(-d) - a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (n*log(c*(a + b*x)^n)*PolyLog(2, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(sqrt(-d)*sqrt(e)) + (n*log(c*(a + b*x)^n)*PolyLog(2, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(sqrt(-d)*sqrt(e)) + (n^2*PolyLog(3, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(sqrt(-d)*sqrt(e)) - (n^2*PolyLog(3, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(sqrt(-d)*sqrt(e))]
    @test_int [log(c*(a + b*x)^n)/(d + e*x^2), x, 8, (log(c*(a + b*x)^n)*log((b*(sqrt(-d) - sqrt(e)*x))/(b*sqrt(-d) + a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (log(c*(a + b*x)^n)*log((b*(sqrt(-d) + sqrt(e)*x))/(b*sqrt(-d) - a*sqrt(e))))/(2*sqrt(-d)*sqrt(e)) - (n*PolyLog(2, -((sqrt(e)*(a + b*x))/(b*sqrt(-d) - a*sqrt(e)))))/(2*sqrt(-d)*sqrt(e)) + (n*PolyLog(2, (sqrt(e)*(a + b*x))/(b*sqrt(-d) + a*sqrt(e))))/(2*sqrt(-d)*sqrt(e))]
    @test_int [1/((d + e*x^2)*log(c*(a + b*x)^n)), x, 2, -(Unintegrable(1/((sqrt(-d) - sqrt(e)*x)*log(c*(a + b*x)^n)), x)/(2*sqrt(-d))) - Unintegrable(1/((sqrt(-d) + sqrt(e)*x)*log(c*(a + b*x)^n)), x)/(2*sqrt(-d))]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(h+i*x)^m*(f+g*x^r)^q*(a+b*log(c*(d+e*x)^n))^p=#

    @test_int [log(c - a*(1 - c)/(b*x^m))/(x*(a + b*x^m)), x, 4, PolyLog(2, ((1 - c)*(b + a/x^m))/b)/(a*m)]
    @test_int [log((-a + a*c + b*c*x^m)/(b*x^m))/(x*(a + b*x^m)), x, 5, PolyLog(2, ((1 - c)*(b + a/x^m))/b)/(a*m)]

    @test_int [log(c*(a - (d - a*c*d)/(c*e*x^m)))/(x*(d + e*x^m)), x, 4, PolyLog(2, ((1 - a*c)*(e + d/x^m))/e)/(d*m)]
    @test_int [log((-d + a*c*d + a*c*e*x^m)/(e*x^m))/(x*(d + e*x^m)), x, 5, PolyLog(2, ((1 - a*c)*(e + d/x^m))/e)/(d*m)]

    @test_int [log((2*a)/(a + b*x))/(a^2 - b^2*x^2), x, 2, PolyLog(2, 1 - (2*a)/(a + b*x))/(2*a*b)]
    @test_int [log((2*a)/(a + b*x))/((a - b*x)*(a + b*x)), x, 4, PolyLog(2, 1 - (2*a)/(a + b*x))/(2*a*b)]

    @test_int [log((a*(1 - c) + b*(1 + c)*x)/(a + b*x))/(a^2 - b^2*x^2), x, 1, PolyLog(2, 1 - (a*(1 - c) + b*(1 + c)*x)/(a + b*x))/(2*a*b)]
    @test_int [log((a*(1 - c) + b*(1 + c)*x)/(a + b*x))/((a - b*x)*(a + b*x)), x, 2, PolyLog(2, (c*(a - b*x))/(a + b*x))/(2*a*b)]

    @test_int [log(1 - (c*(a - b*x))/(a + b*x))/(a^2 - b^2*x^2), x, 1, PolyLog(2, c*((a - b*x)/(a + b*x)))/(2*a*b)]
    @test_int [log(1 - (c*(a - b*x))/(a + b*x))/((a - b*x)*(a + b*x)), x, 3, PolyLog(2, c*((a - b*x)/(a + b*x)))/(2*a*b)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(g+h*x+i*x^2)^m*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*log(c*(a+b*x)^n)^p / (d + e*x + f*x^2)=#

    @test_int [log(c*(a + b*x)^n)^3/(d*x + e*x^2), x, 13, (log(-((b*x)/a))*log(c*(a + b*x)^n)^3)/d - (log(c*(a + b*x)^n)^3*log((b*(d + e*x))/(b*d - a*e)))/d - (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, -((e*(a + b*x))/(b*d - a*e))))/d + (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, 1 + (b*x)/a))/d + (6*n^2*log(c*(a + b*x)^n)*PolyLog(3, -((e*(a + b*x))/(b*d - a*e))))/d - (6*n^2*log(c*(a + b*x)^n)*PolyLog(3, 1 + (b*x)/a))/d - (6*n^3*PolyLog(4, -((e*(a + b*x))/(b*d - a*e))))/d + (6*n^3*PolyLog(4, 1 + (b*x)/a))/d]
    @test_int [log(c*(a + b*x)^n)^2/(d*x + e*x^2), x, 11, (log(-((b*x)/a))*log(c*(a + b*x)^n)^2)/d - (log(c*(a + b*x)^n)^2*log((b*(d + e*x))/(b*d - a*e)))/d - (2*n*log(c*(a + b*x)^n)*PolyLog(2, -((e*(a + b*x))/(b*d - a*e))))/d + (2*n*log(c*(a + b*x)^n)*PolyLog(2, 1 + (b*x)/a))/d + (2*n^2*PolyLog(3, -((e*(a + b*x))/(b*d - a*e))))/d - (2*n^2*PolyLog(3, 1 + (b*x)/a))/d]
    @test_int [log(c*(a + b*x)^n)/(d*x + e*x^2), x, 8, (log(-((b*x)/a))*log(c*(a + b*x)^n))/d - (log(c*(a + b*x)^n)*log((b*(d + e*x))/(b*d - a*e)))/d + (n*PolyLog(2, 1 + (b*x)/a))/d - (n*PolyLog(2, -((e*(a + b*x))/(b*d - a*e))))/d]
    @test_int [1/((d*x + e*x^2)*log(c*(a + b*x)^n)), x, 3, Unintegrable(1/(x*log(c*(a + b*x)^n)), x)/d - (e*Unintegrable(1/((d + e*x)*log(c*(a + b*x)^n)), x))/d]

    @test_int [log(c*(a + b*x)^n)^3/(d + e*x + f*x^2), x, 12, (log(c*(a + b*x)^n)^3*log(-((b*(e - sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) - (log(c*(a + b*x)^n)^3*log(-((b*(e + sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) + (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (3*n*log(c*(a + b*x)^n)^2*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (6*n^2*log(c*(a + b*x)^n)*PolyLog(3, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) + (6*n^2*log(c*(a + b*x)^n)*PolyLog(3, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) + (6*n^3*PolyLog(4, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (6*n^3*PolyLog(4, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f)]
    @test_int [log(c*(a + b*x)^n)^2/(d + e*x + f*x^2), x, 10, (log(c*(a + b*x)^n)^2*log(-((b*(e - sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) - (log(c*(a + b*x)^n)^2*log(-((b*(e + sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) + (2*n*log(c*(a + b*x)^n)*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (2*n*log(c*(a + b*x)^n)*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (2*n^2*PolyLog(3, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) + (2*n^2*PolyLog(3, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f)]
    @test_int [log(c*(a + b*x)^n)/(d + e*x + f*x^2), x, 8, (log(c*(a + b*x)^n)*log(-((b*(e - sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) - (log(c*(a + b*x)^n)*log(-((b*(e + sqrt(e^2 - 4*d*f) + 2*f*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f))))))/sqrt(e^2 - 4*d*f) + (n*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e - sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f) - (n*PolyLog(2, (2*f*(a + b*x))/(2*a*f - b*(e + sqrt(e^2 - 4*d*f)))))/sqrt(e^2 - 4*d*f)]
    @test_int [1/((d + e*x + f*x^2)*log(c*(a + b*x)^n)), x, 2, (2*f*Unintegrable(1/((e - sqrt(e^2 - 4*d*f) + 2*f*x)*log(c*(a + b*x)^n)), x))/sqrt(e^2 - 4*d*f) - (2*f*Unintegrable(1/((e + sqrt(e^2 - 4*d*f) + 2*f*x)*log(c*(a + b*x)^n)), x))/sqrt(e^2 - 4*d*f)]

    @test_int [x^3*log(x)/(a + b*x + c*x^2), x, 10, (b*x)/c^2 - x^2/(4*c) - (b*x*log(x))/c^2 + (x^2*log(x))/(2*c) + ((b^2 - a*c - (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*c^3) + ((b^2 - a*c + (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*c^3) + ((b^2 - a*c - (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*c^3) + ((b^2 - a*c + (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*c^3)]
    @test_int [x^2*log(x)/(a + b*x + c*x^2), x, 9, -(x/c) + (x*log(x))/c - ((b - (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*c^2) - ((b + (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*c^2) - ((b - (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*c^2) - ((b + (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*c^2)]
    @test_int [x^1*log(x)/(a + b*x + c*x^2), x, 6, ((1 - b/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*c) + ((1 + b/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*c) + ((1 - b/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*c) + ((1 + b/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*c)]
    @test_int [x^0*log(x)/(a + b*x + c*x^2), x, 6, (log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/sqrt(b^2 - 4*a*c) - (log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/sqrt(b^2 - 4*a*c) + PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c))))/sqrt(b^2 - 4*a*c) - PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c))))/sqrt(b^2 - 4*a*c)]
    @test_int [log(x)/(x^1*(a + b*x + c*x^2)), x, 9, log(x)^2/(2*a) - ((1 + b/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*a) - ((1 - b/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*a) - ((1 + b/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*a) - ((1 - b/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*a)]
    @test_int [log(x)/(x^2*(a + b*x + c*x^2)), x, 10, -(1/(a*x)) - log(x)/(a*x) - (b*log(x)^2)/(2*a^2) + ((b + (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*a^2) + ((b - (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*a^2) + ((b + (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*a^2) + ((b - (b^2 - 2*a*c)/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*a^2)]
    @test_int [log(x)/(x^3*(a + b*x + c*x^2)), x, 11, -(1/(4*a*x^2)) + b/(a^2*x) - log(x)/(2*a*x^2) + (b*log(x))/(a^2*x) + ((b^2 - a*c)*log(x)^2)/(2*a^3) - ((b^2 - a*c + (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b - sqrt(b^2 - 4*a*c))))/(2*a^3) - ((b^2 - a*c - (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*log(x)*log(1 + (2*c*x)/(b + sqrt(b^2 - 4*a*c))))/(2*a^3) - ((b^2 - a*c + (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b - sqrt(b^2 - 4*a*c)))))/(2*a^3) - ((b^2 - a*c - (b*(b^2 - 3*a*c))/sqrt(b^2 - 4*a*c))*PolyLog(2, -((2*c*x)/(b + sqrt(b^2 - 4*a*c)))))/(2*a^3)]

    #= ::Title::Closed:: =#
    #=Integrands*of*the*form*EF(x)*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(g*x)^q*log(f*x^m)*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^q*log(f*x^m)*(a+b*log(c*(d+e*x)^n))^p=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [x^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n)), x, 11, -((5*b*d^3*m*n*x)/(16*e^3)) + (3*b*d^2*m*n*x^2)/(32*e^2) - (7*b*d*m*n*x^3)/(144*e) + (1/32)*b*m*n*x^4 + (b*d^3*n*x*log(f*x^m))/(4*e^3) - (b*d^2*n*x^2*log(f*x^m))/(8*e^2) + (b*d*n*x^3*log(f*x^m))/(12*e) - (1/16)*b*n*x^4*log(f*x^m) + (b*d^4*m*n*log(d + e*x))/(16*e^4) - (1/16)*(m*x^4 - 4*x^4*log(f*x^m))*(a + b*log(c*(d + e*x)^n)) - (b*d^4*n*log(f*x^m)*log(1 + (e*x)/d))/(4*e^4) - (b*d^4*m*n*PolyLog(2, -((e*x)/d)))/(4*e^4)]
    @test_int [x^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n)), x, 10, (4*b*d^2*m*n*x)/(9*e^2) - (5*b*d*m*n*x^2)/(36*e) + (2/27)*b*m*n*x^3 - (b*d^2*n*x*log(f*x^m))/(3*e^2) + (b*d*n*x^2*log(f*x^m))/(6*e) - (1/9)*b*n*x^3*log(f*x^m) - (b*d^3*m*n*log(d + e*x))/(9*e^3) - (1/9)*(m*x^3 - 3*x^3*log(f*x^m))*(a + b*log(c*(d + e*x)^n)) + (b*d^3*n*log(f*x^m)*log(1 + (e*x)/d))/(3*e^3) + (b*d^3*m*n*PolyLog(2, -((e*x)/d)))/(3*e^3)]
    @test_int [x^1*log(f*x^m)*(a + b*log(c*(d + e*x)^n)), x, 9, -((3*b*d*m*n*x)/(4*e)) + (1/4)*b*m*n*x^2 + (b*d*n*x*log(f*x^m))/(2*e) - (1/4)*b*n*x^2*log(f*x^m) + (b*d^2*m*n*log(d + e*x))/(4*e^2) - (1/4)*(m*x^2 - 2*x^2*log(f*x^m))*(a + b*log(c*(d + e*x)^n)) - (b*d^2*n*log(f*x^m)*log(1 + (e*x)/d))/(2*e^2) - (b*d^2*m*n*PolyLog(2, -((e*x)/d)))/(2*e^2)]
    @test_int [x^0*log(f*x^m)*(a + b*log(c*(d + e*x)^n)), x, 8, 2*b*m*n*x - b*n*x*log(f*x^m) - (b*d*m*n*log(d + e*x))/e - x*(m - log(f*x^m))*(a + b*log(c*(d + e*x)^n)) + (b*d*n*log(f*x^m)*log(1 + (e*x)/d))/e + (b*d*m*n*PolyLog(2, -((e*x)/d)))/e]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))/x^1, x, 4, (log(f*x^m)^2*(a + b*log(c*(d + e*x)^n)))/(2*m) - (b*n*log(f*x^m)^2*log(1 + (e*x)/d))/(2*m) - b*n*log(f*x^m)*PolyLog(2, -((e*x)/d)) + b*m*n*PolyLog(3, -((e*x)/d))]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))/x^2, x, 6, (b*e*m*n*log(x))/d - (b*e*n*log(1 + d/(e*x))*log(f*x^m))/d - (b*e*m*n*log(d + e*x))/d - (m/x + log(f*x^m)/x)*(a + b*log(c*(d + e*x)^n)) + (b*e*m*n*PolyLog(2, -(d/(e*x))))/d]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))/x^3, x, 7, -((3*b*e*m*n)/(4*d*x)) - (b*e^2*m*n*log(x))/(4*d^2) - (b*e*n*log(f*x^m))/(2*d*x) + (b*e^2*n*log(1 + d/(e*x))*log(f*x^m))/(2*d^2) + (b*e^2*m*n*log(d + e*x))/(4*d^2) - (1/4)*(m/x^2 + (2*log(f*x^m))/x^2)*(a + b*log(c*(d + e*x)^n)) - (b*e^2*m*n*PolyLog(2, -(d/(e*x))))/(2*d^2)]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))/x^4, x, 9, -((5*b*e*m*n)/(36*d*x^2)) + (4*b*e^2*m*n)/(9*d^2*x) + (b*e^3*m*n*log(x))/(9*d^3) - (b*e*n*log(f*x^m))/(6*d*x^2) + (b*e^2*n*log(f*x^m))/(3*d^2*x) - (b*e^3*n*log(1 + d/(e*x))*log(f*x^m))/(3*d^3) - (b*e^3*m*n*log(d + e*x))/(9*d^3) - (1/9)*(m/x^3 + (3*log(f*x^m))/x^3)*(a + b*log(c*(d + e*x)^n)) + (b*e^3*m*n*PolyLog(2, -(d/(e*x))))/(3*d^3)]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))/x^5, x, 11, -((7*b*e*m*n)/(144*d*x^3)) + (3*b*e^2*m*n)/(32*d^2*x^2) - (5*b*e^3*m*n)/(16*d^3*x) - (b*e^4*m*n*log(x))/(16*d^4) - (b*e*n*log(f*x^m))/(12*d*x^3) + (b*e^2*n*log(f*x^m))/(8*d^2*x^2) - (b*e^3*n*log(f*x^m))/(4*d^3*x) + (b*e^4*n*log(1 + d/(e*x))*log(f*x^m))/(4*d^4) + (b*e^4*m*n*log(d + e*x))/(16*d^4) - (1/16)*(m/x^4 + (4*log(f*x^m))/x^4)*(a + b*log(c*(d + e*x)^n)) - (b*e^4*m*n*PolyLog(2, -(d/(e*x))))/(4*d^4)]

    @test_int [x^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2, x, 52, (2*a*b*d^2*m*n*x)/(9*e^2) - (71*b^2*d^2*m*n^2*x)/(54*e^2) + (b*d^2*m*n*(6*a - 11*b*n)*x)/(9*e^2) + (19*b^2*d*m*n^2*x^2)/(54*e) - (2/27)*b^2*m*n^2*x^3 - (2*a*b*d^2*n*x*log(f*x^m))/(3*e^2) + (11*b^2*d^2*n^2*x*log(f*x^m))/(9*e^2) - (5*b^2*d*n^2*x^2*log(f*x^m))/(18*e) + (2/27)*b^2*n^2*x^3*log(f*x^m) + (23*b^2*d^3*m*n^2*log(d + e*x))/(54*e^3) + (5*b^2*d^3*m*n^2*log(-((e*x)/d))*log(d + e*x))/(9*e^3) - (5*b^2*d^3*n^2*log(f*x^m)*log(d + e*x))/(9*e^3) + (8*b^2*d^2*m*n*(d + e*x)*log(c*(d + e*x)^n))/(9*e^3) + (2*b^2*d^3*m*n*log(-((e*x)/d))*log(c*(d + e*x)^n))/(3*e^3) - (2*b^2*d^2*n*(d + e*x)*log(f*x^m)*log(c*(d + e*x)^n))/(3*e^3) - (5*b*d*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(18*e) + (4/27)*b*m*n*x^3*(a + b*log(c*(d + e*x)^n)) + (b*d*n*x^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n)))/(3*e) - (2/9)*b*n*x^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n)) - (d^3*m*(a + b*log(c*(d + e*x)^n))^2)/(9*e^3) - (1/9)*m*x^3*(a + b*log(c*(d + e*x)^n))^2 - (d^3*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) + (d^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) + (1/3)*x^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2 + (11*b^2*d^3*m*n^2*PolyLog(2, 1 + (e*x)/d))/(9*e^3) - (2*b*d^3*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/(3*e^3) + (2*b^2*d^3*m*n^2*PolyLog(3, 1 + (e*x)/d))/(3*e^3), (11*a*b*d^2*m*n*x)/(9*e^2) - (28*b^2*d^2*m*n^2*x)/(9*e^2) + (5*b^2*d*m*n^2*x^2)/(36*e) - (2/81)*b^2*m*n^2*x^3 + (13*b^2*d*m*n^2*(d + e*x)^2)/(36*e^3) - (4*b^2*m*n^2*(d + e*x)^3)/(81*e^3) + (23*b^2*d^3*m*n^2*log(x))/(54*e^3) + (2*b^2*d^2*n^2*x*log(f*x^m))/e^2 - (b^2*d*n^2*(d + e*x)^2*log(f*x^m))/(2*e^3) + (2*b^2*n^2*(d + e*x)^3*log(f*x^m))/(27*e^3) + (b^2*d^3*m*n^2*log(d + e*x)^2)/(9*e^3) + (b^2*d^3*m*n^2*log(x)*log(d + e*x)^2)/(3*e^3) - (b^2*d^3*n^2*log(f*x^m)*log(d + e*x)^2)/(3*e^3) + (11*b^2*d^2*m*n*(d + e*x)*log(c*(d + e*x)^n))/(9*e^3) + (2*b*d^2*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*e^3) - (13*b*d*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(18*e^3) + (4*b*m*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(27*e^3) + (11*b*d^3*m*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (2*b*d^2*n*(d + e*x)*log(f*x^m)*(a + b*log(c*(d + e*x)^n)))/e^3 + (b*d*n*(d + e*x)^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n)))/e^3 - (2*b*n*(d + e*x)^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (2*b*d^3*m*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (2*b*d^3*m*n*log(x)*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*e^3) + (2*b*d^3*n*log(f*x^m)*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/(3*e^3) - (1/9)*m*x^3*(a + b*log(c*(d + e*x)^n))^2 + (d^3*m*log(x)*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) - (d^3*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) + (1/3)*x^3*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2 + (11*b^2*d^3*m*n^2*PolyLog(2, 1 + (e*x)/d))/(9*e^3) - (2*b*d^3*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/(3*e^3) + (2*b^2*d^3*m*n^2*PolyLog(3, 1 + (e*x)/d))/(3*e^3)]
    @test_int [x^1*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2, x, 38, -((a*b*d*m*n*x)/(2*e)) + (2*b^2*d*m*n^2*x)/e - (2*b*d*m*n*(a - b*n)*x)/e - (1/8)*b^2*m*n^2*x^2 - (b^2*m*n^2*(d + e*x)^2)/(4*e^2) - (b^2*d^2*m*n^2*log(x))/(4*e^2) + (2*a*b*d*n*x*log(f*x^m))/e - (2*b^2*d*n^2*x*log(f*x^m))/e + (b^2*n^2*(d + e*x)^2*log(f*x^m))/(4*e^2) - (5*b^2*d*m*n*(d + e*x)*log(c*(d + e*x)^n))/(2*e^2) - (2*b^2*d^2*m*n*log(-((e*x)/d))*log(c*(d + e*x)^n))/e^2 + (2*b^2*d*n*(d + e*x)*log(f*x^m)*log(c*(d + e*x)^n))/e^2 + (b*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2) + (b*d^2*m*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(2*e^2) - (b*n*(d + e*x)^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n)))/(2*e^2) + (d*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2) - (m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) + (d^2*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2) - (d*(d + e*x)*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2)/e^2 + ((d + e*x)^2*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2) - (3*b^2*d^2*m*n^2*PolyLog(2, 1 + (e*x)/d))/(2*e^2) + (b*d^2*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/e^2 - (b^2*d^2*m*n^2*PolyLog(3, 1 + (e*x)/d))/e^2]
    @test_int [x^0*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2, x, 17, 2*a*b*m*n*x - 4*b^2*m*n^2*x + 2*b*m*n*(a - b*n)*x - 2*a*b*n*x*log(f*x^m) + 2*b^2*n^2*x*log(f*x^m) + (4*b^2*m*n*(d + e*x)*log(c*(d + e*x)^n))/e + (2*b^2*d*m*n*log(-((e*x)/d))*log(c*(d + e*x)^n))/e - (2*b^2*n*(d + e*x)*log(f*x^m)*log(c*(d + e*x)^n))/e - (m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e - (d*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/e + ((d + e*x)*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2)/e + (2*b^2*d*m*n^2*PolyLog(2, 1 + (e*x)/d))/e - (2*b*d*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/e + (2*b^2*d*m*n^2*PolyLog(3, 1 + (e*x)/d))/e]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2/x^1, x, -1, (1/2)*m*log(x)^2*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2 + log(x)*((-m)*log(x) + log(f*x^m))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2 + 2*b*n*((-m)*log(x) + log(f*x^m))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))*(log(x)*(log(d + e*x) - log(1 + (e*x)/d)) - PolyLog(2, -((e*x)/d))) + 2*b*m*n*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))*((1/2)*log(x)^2*(log(d + e*x) - log(1 + (e*x)/d)) - log(x)*PolyLog(2, -((e*x)/d)) + PolyLog(3, -((e*x)/d))) - b^2*n^2*(m*log(x) - log(f*x^m))*(log(-((e*x)/d))*log(d + e*x)^2 + 2*log(d + e*x)*PolyLog(2, 1 + (e*x)/d) - 2*PolyLog(3, 1 + (e*x)/d)) + (1/12)*b^2*m*n^2*(log(-((e*x)/d))^4 + 6*log(-((e*x)/d))^2*log(-((e*x)/(d + e*x)))^2 - 4*(log(-((e*x)/d)) + log(d/(d + e*x)))*log(-((e*x)/(d + e*x)))^3 + log(-((e*x)/(d + e*x)))^4 + 6*log(x)^2*log(d + e*x)^2 + 4*(2*log(-((e*x)/d))^3 - 3*log(x)^2*log(d + e*x))*log(1 + (e*x)/d) + 6*(log(x) - log(-((e*x)/d)))*(log(x) + 3*log(-((e*x)/d)))*log(1 + (e*x)/d)^2 - 4*log(-((e*x)/d))^2*log(-((e*x)/(d + e*x)))*(log(-((e*x)/d)) + 3*log(1 + (e*x)/d)) + 12*(log(-((e*x)/d))^2 - 2*log(-((e*x)/d))*(log(-((e*x)/(d + e*x))) + log(1 + (e*x)/d)) + 2*log(x)*(-log(d + e*x) + log(1 + (e*x)/d)))*PolyLog(2, -((e*x)/d)) - 12*log(-((e*x)/(d + e*x)))^2*PolyLog(2, (e*x)/(d + e*x)) + 12*(log(-((e*x)/d)) - log(-((e*x)/(d + e*x))))^2*PolyLog(2, 1 + (e*x)/d) + 24*(log(x) - log(-((e*x)/d)))*log(1 + (e*x)/d)*PolyLog(2, 1 + (e*x)/d) + 24*(log(-((e*x)/(d + e*x))) + log(d + e*x))*PolyLog(3, -((e*x)/d)) + 24*log(-((e*x)/(d + e*x)))*PolyLog(3, (e*x)/(d + e*x)) + 24*(-log(x) + log(-((e*x)/(d + e*x))))*PolyLog(3, 1 + (e*x)/d) - 24*(PolyLog(4, -((e*x)/d)) + PolyLog(4, (e*x)/(d + e*x)) - PolyLog(4, 1 + (e*x)/d)))]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2/x^2, x, -1, -((b^2*e*m*n^2*log(x)^2*log(d + e*x))/d) + (2*b^2*e*m*n^2*log(-((e*x)/d))*log(d + e*x))/d + (2*b^2*e*n^2*log(x)*log(f*x^m)*log(d + e*x))/d - (b^2*e*m*n^2*log(d + e*x)^2)/d - (b^2*m*n^2*log(d + e*x)^2)/x + (b^2*e*m*n^2*log(-((e*x)/d))*log(d + e*x)^2)/d - (b^2*e*n^2*log(f*x^m)*log(d + e*x)^2)/d - (b^2*n^2*log(f*x^m)*log(d + e*x)^2)/x - (2*b*n*(m*log(x) - log(f*x^m))*(e*x*log(-((e*x)/d)) - (d + e*x)*log(d + e*x))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n)))/(d*x) - (m*log(x)*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2)/x - ((m - m*log(x) + log(f*x^m))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2)/x + (b^2*e*m*n^2*log(x)^2*log(1 + (e*x)/d))/d - (2*b^2*e*n^2*log(x)*log(f*x^m)*log(1 + (e*x)/d))/d - (2*b^2*e*n^2*log(f*x^m)*PolyLog(2, -((e*x)/d)))/d + (b*m*n*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))*(2*e*x*log(-((e*x)/d)) - 2*(d + e*x)*log(d + e*x) - 2*d*log(x)*log(d + e*x) + e*x*(log(x)^2 - 2*(log(x)*log(1 + (e*x)/d) + PolyLog(2, -((e*x)/d))))))/(d*x) + (2*b^2*e*m*n^2*(1 + log(d + e*x))*PolyLog(2, 1 + (e*x)/d))/d + (2*b^2*e*m*n^2*PolyLog(3, -((e*x)/d)))/d - (2*b^2*e*m*n^2*PolyLog(3, 1 + (e*x)/d))/d]
    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2/x^3, x, -1, (b^2*e^2*m*n^2*log(x))/d^2 - (b^2*e^2*m*n^2*log(x)^2)/(2*d^2) + (b^2*e^2*m*n^2*log(-((e*x)/d)))/(2*d^2) + (b^2*e^2*n^2*log(x)*log(f*x^m))/d^2 - (3*b^2*e^2*m*n^2*log(d + e*x))/(2*d^2) - (3*b^2*e*m*n^2*log(d + e*x))/(2*d*x) + (b^2*e^2*m*n^2*log(x)*log(d + e*x))/d^2 + (b^2*e^2*m*n^2*log(x)^2*log(d + e*x))/(2*d^2) - (b^2*e^2*m*n^2*log(-((e*x)/d))*log(d + e*x))/(2*d^2) - (b^2*e^2*n^2*log(f*x^m)*log(d + e*x))/d^2 - (b^2*e*n^2*log(f*x^m)*log(d + e*x))/(d*x) - (b^2*e^2*n^2*log(x)*log(f*x^m)*log(d + e*x))/d^2 + (b^2*e^2*m*n^2*log(d + e*x)^2)/(4*d^2) - (b^2*m*n^2*log(d + e*x)^2)/(4*x^2) - (b^2*e^2*m*n^2*log(-((e*x)/d))*log(d + e*x)^2)/(2*d^2) + (b^2*e^2*n^2*log(f*x^m)*log(d + e*x)^2)/(2*d^2) - (b^2*n^2*log(f*x^m)*log(d + e*x)^2)/(2*x^2) + (b*n*(m*log(x) - log(f*x^m))*(e^2*x^2*log(-((e*x)/d)) + (d + e*x)*(e*x + (d - e*x)*log(d + e*x)))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n)))/(d^2*x^2) - (m*log(x)*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2)/(2*x^2) - ((m - 2*m*log(x) + 2*log(f*x^m))*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))^2)/(4*x^2) - (b^2*e^2*m*n^2*log(x)*log(1 + (e*x)/d))/d^2 - (b^2*e^2*m*n^2*log(x)^2*log(1 + (e*x)/d))/(2*d^2) + (b^2*e^2*n^2*log(x)*log(f*x^m)*log(1 + (e*x)/d))/d^2 - (b^2*e^2*n^2*(m - log(f*x^m))*PolyLog(2, -((e*x)/d)))/d^2 - (1/(2*d^2*x^2))*(b*m*n*(a - b*n*log(d + e*x) + b*log(c*(d + e*x)^n))*(e*x*(d + e*x) + e^2*x^2*log(-((e*x)/d)) + (d^2 - e^2*x^2)*log(d + e*x) + 2*d^2*log(x)*log(d + e*x) + e*x*(e*x*log(x)^2 + 2*d*(1 + log(x)) - 2*e*x*(log(x)*log(1 + (e*x)/d) + PolyLog(2, -((e*x)/d)))))) - (b^2*e^2*m*n^2*(1 + 2*log(d + e*x))*PolyLog(2, 1 + (e*x)/d))/(2*d^2) - (b^2*e^2*m*n^2*PolyLog(3, -((e*x)/d)))/d^2 + (b^2*e^2*m*n^2*PolyLog(3, 1 + (e*x)/d))/d^2]

    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))^3, x, 28, -12*a*b^2*m*n^2*x + 18*b^3*m*n^3*x - 6*b^2*m*n^2*(a - b*n)*x + 6*a*b^2*n^2*x*log(f*x^m) - 6*b^3*n^3*x*log(f*x^m) - (18*b^3*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/e - (6*b^3*d*m*n^2*log(-((e*x)/d))*log(c*(d + e*x)^n))/e + (6*b^3*n^2*(d + e*x)*log(f*x^m)*log(c*(d + e*x)^n))/e + (6*b*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e + (3*b*d*m*n*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^2)/e - (3*b*n*(d + e*x)*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^2)/e - (m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e - (d*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n))^3)/e + ((d + e*x)*log(f*x^m)*(a + b*log(c*(d + e*x)^n))^3)/e - (6*b^3*d*m*n^3*PolyLog(2, 1 + (e*x)/d))/e + (6*b^2*d*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d))/e - (3*b*d*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, 1 + (e*x)/d))/e - (6*b^3*d*m*n^3*PolyLog(3, 1 + (e*x)/d))/e + (6*b^2*d*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, 1 + (e*x)/d))/e - (6*b^3*d*m*n^3*PolyLog(4, 1 + (e*x)/d))/e]

    @test_int [(log(x)*log(a + b*x)^2)/x, x, -1, (1/12)*(log(-((b*x)/a))^4 + 6*log(-((b*x)/a))^2*log(-((b*x)/(a + b*x)))^2 - 4*(log(-((b*x)/a)) + log(a/(a + b*x)))*log(-((b*x)/(a + b*x)))^3 + log(-((b*x)/(a + b*x)))^4 + 6*log(x)^2*log(a + b*x)^2 + 4*(2*log(-((b*x)/a))^3 - 3*log(x)^2*log(a + b*x))*log(1 + (b*x)/a) + 6*(log(x) - log(-((b*x)/a)))*(log(x) + 3*log(-((b*x)/a)))*log(1 + (b*x)/a)^2 - 4*log(-((b*x)/a))^2*log(-((b*x)/(a + b*x)))*(log(-((b*x)/a)) + 3*log(1 + (b*x)/a)) + 12*(log(-((b*x)/a))^2 - 2*log(-((b*x)/a))*(log(-((b*x)/(a + b*x))) + log(1 + (b*x)/a)) + 2*log(x)*(-log(a + b*x) + log(1 + (b*x)/a)))*PolyLog(2, -((b*x)/a)) - 12*log(-((b*x)/(a + b*x)))^2*PolyLog(2, (b*x)/(a + b*x)) + 12*(log(-((b*x)/a)) - log(-((b*x)/(a + b*x))))^2*PolyLog(2, 1 + (b*x)/a) + 24*(log(x) - log(-((b*x)/a)))*log(1 + (b*x)/a)*PolyLog(2, 1 + (b*x)/a) + 24*(log(-((b*x)/(a + b*x))) + log(a + b*x))*PolyLog(3, -((b*x)/a)) + 24*log(-((b*x)/(a + b*x)))*PolyLog(3, (b*x)/(a + b*x)) + 24*(-log(x) + log(-((b*x)/(a + b*x))))*PolyLog(3, 1 + (b*x)/a) - 24*(PolyLog(4, -((b*x)/a)) + PolyLog(4, (b*x)/(a + b*x)) - PolyLog(4, 1 + (b*x)/a)))]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [log(f*x^m)/(a + b*log(c*(d + e*x)^n))^1, x, 0, Unintegrable(log(f*x^m)/(a + b*log(c*(d + e*x)^n)), x)]
    @test_int [log(f*x^m)/(a + b*log(c*(d + e*x)^n))^2, x, 0, Unintegrable(log(f*x^m)/(a + b*log(c*(d + e*x)^n))^2, x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^q*log(f*x^m)*(a+b*log(c*(d+e*x)^n))^p*with*p*symbolic=#

    @test_int [log(f*x^m)*(a + b*log(c*(d + e*x)^n))^p, x, 0, Unintegrable(log(f*x^m)*(a + b*log(c*(d + e*x)^n))^p, x)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(i*x)^q*log(f*(g+h*x)^m)*(a+b*log(c*(d+e*x)^n))^p=#

    @test_int [log(a + b*x)*log(c + d*x)/x, x, 1, log(-((b*x)/a))*log(a + b*x)*log(c + d*x) + (1/2)*(log(-((b*x)/a)) + log((b*c - a*d)/(b*(c + d*x))) - log(-(((b*c - a*d)*x)/(a*(c + d*x)))))*log((a*(c + d*x))/(c*(a + b*x)))^2 - (1/2)*(log(-((b*x)/a)) - log(-((d*x)/c)))*(log(a + b*x) + log((a*(c + d*x))/(c*(a + b*x))))^2 + (log(c + d*x) - log((a*(c + d*x))/(c*(a + b*x))))*PolyLog(2, 1 + (b*x)/a) + log((a*(c + d*x))/(c*(a + b*x)))*PolyLog(2, (c*(a + b*x))/(a*(c + d*x))) - log((a*(c + d*x))/(c*(a + b*x)))*PolyLog(2, (d*(a + b*x))/(b*(c + d*x))) + (log(a + b*x) + log((a*(c + d*x))/(c*(a + b*x))))*PolyLog(2, 1 + (d*x)/c) - PolyLog(3, 1 + (b*x)/a) + PolyLog(3, (c*(a + b*x))/(a*(c + d*x))) - PolyLog(3, (d*(a + b*x))/(b*(c + d*x))) - PolyLog(3, 1 + (d*x)/c)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(k*x)^r*(a+b*log(c*(d+e*x)^n))^p*(f+g*log(h*(i+j*x)^m))^q=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^m*(a+b*log(c*(d+e*x)^n))*(f+g*log(c*(d+e*x)^n))=#

    @test_int [x^2*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)), x, 7, (2*b*d^2*g*n^2*x)/e^2 - (b*d*g*n^2*(d + e*x)^2)/(2*e^3) + (2*b*g*n^2*(d + e*x)^3)/(27*e^3) - (b*d^3*g*n^2*log(d + e*x)^2)/(3*e^3) + (1/3)*x^3*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)) - (d^2*n*(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/e^3 + (d*n*(d + e*x)^2*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(2*e^3) - (n*(d + e*x)^3*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(9*e^3) + (d^3*n*log(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(3*e^3)]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)), x, 7, -((2*b*d*g*n^2*x)/e) + (b*g*n^2*(d + e*x)^2)/(4*e^2) + (b*d^2*g*n^2*log(d + e*x)^2)/(2*e^2) + (1/2)*x^2*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)) + (d*n*(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/e^2 - (n*(d + e*x)^2*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(4*e^2) - (d^2*n*log(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(2*e^2)]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)), x, 6, -((b*f + a*g)*n*x) + 2*b*g*n^2*x - (2*b*g*n*(d + e*x)*log(c*(d + e*x)^n))/e + x*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)) + (d*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))^2)/(4*b*e*g)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n))/x^1, x, 6, log(x)*(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)) - (log(x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))^2)/(4*b*g) + (log(-((e*x)/d))*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))^2)/(4*b*g) + n*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))*PolyLog(2, 1 + (e*x)/d) - 2*b*g*n^2*PolyLog(3, 1 + (e*x)/d)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n))/x^2, x, 4, -(((a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)))/x) + (e*n*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/d - (2*b*e*g*n^2*PolyLog(2, d/(d + e*x)))/d]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n))/x^3, x, 7, (b*e^2*g*n^2*log(x))/d^2 - ((a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)))/(2*x^2) - (e*n*(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(2*d^2*x) - (e^2*n*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/(2*d^2) + (b*e^2*g*n^2*PolyLog(2, d/(d + e*x)))/d^2]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n))/x^4, x, 11, -((b*e^2*g*n^2)/(3*d^2*x)) - (b*e^3*g*n^2*log(x))/d^3 + (b*e^3*g*n^2*log(d + e*x))/(3*d^3) - ((a + b*log(c*(d + e*x)^n))*(f + g*log(c*(d + e*x)^n)))/(3*x^3) - (e*n*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(6*d*x^2) + (e^2*n*(d + e*x)*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n)))/(3*d^3*x) + (e^3*n*(b*f + a*g + 2*b*g*log(c*(d + e*x)^n))*log(1 - d/(d + e*x)))/(3*d^3) - (2*b*e^3*g*n^2*PolyLog(2, d/(d + e*x)))/(3*d^3)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*x^r*(a+b*log(c*(d+e*x)^n))^p*(f+g*log(h*(i+j*x)^m))=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [x^3*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)), x, 35, (a*g*i^3*m*x)/(4*j^3) + (b*d^3*f*n*x)/(4*e^3) - (5*b*d^3*g*m*n*x)/(16*e^3) - (5*b*g*i^3*m*n*x)/(16*j^3) - (5*b*d*g*i^2*m*n*x)/(24*e*j^2) - (5*b*d^2*g*i*m*n*x)/(24*e^2*j) + (3*b*d^2*g*m*n*x^2)/(32*e^2) + (3*b*g*i^2*m*n*x^2)/(32*j^2) + (b*d*g*i*m*n*x^2)/(12*e*j) - (7*b*d*g*m*n*x^3)/(144*e) - (7*b*g*i*m*n*x^3)/(144*j) + (1/32)*b*g*m*n*x^4 + (b*d^4*g*m*n*log(d + e*x))/(16*e^4) + (b*d^2*g*i^2*m*n*log(d + e*x))/(8*e^2*j^2) + (b*d^3*g*i*m*n*log(d + e*x))/(12*e^3*j) + (b*g*i^3*m*(d + e*x)*log(c*(d + e*x)^n))/(4*e*j^3) - (g*i^2*m*x^2*(a + b*log(c*(d + e*x)^n)))/(8*j^2) + (g*i*m*x^3*(a + b*log(c*(d + e*x)^n)))/(12*j) - (1/16)*g*m*x^4*(a + b*log(c*(d + e*x)^n)) + (b*g*i^4*m*n*log(i + j*x))/(16*j^4) + (b*d*g*i^3*m*n*log(i + j*x))/(12*e*j^3) + (b*d^2*g*i^2*m*n*log(i + j*x))/(8*e^2*j^2) - (g*i^4*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(4*j^4) + (b*d^3*g*n*(i + j*x)*log(h*(i + j*x)^m))/(4*e^3*j) - (b*d^2*n*x^2*(f + g*log(h*(i + j*x)^m)))/(8*e^2) + (b*d*n*x^3*(f + g*log(h*(i + j*x)^m)))/(12*e) - (1/16)*b*n*x^4*(f + g*log(h*(i + j*x)^m)) - (b*d^4*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/(4*e^4) + (1/4)*x^4*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)) - (b*g*i^4*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(4*j^4) - (b*d^4*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(4*e^4)]
    @test_int [x^2*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)), x, 29, -((a*g*i^2*m*x)/(3*j^2)) - (b*d^2*f*n*x)/(3*e^2) + (4*b*d^2*g*m*n*x)/(9*e^2) + (4*b*g*i^2*m*n*x)/(9*j^2) + (b*d*g*i*m*n*x)/(3*e*j) - (5*b*d*g*m*n*x^2)/(36*e) - (5*b*g*i*m*n*x^2)/(36*j) + (2/27)*b*g*m*n*x^3 - (b*d^3*g*m*n*log(d + e*x))/(9*e^3) - (b*d^2*g*i*m*n*log(d + e*x))/(6*e^2*j) - (b*g*i^2*m*(d + e*x)*log(c*(d + e*x)^n))/(3*e*j^2) + (g*i*m*x^2*(a + b*log(c*(d + e*x)^n)))/(6*j) - (1/9)*g*m*x^3*(a + b*log(c*(d + e*x)^n)) - (b*g*i^3*m*n*log(i + j*x))/(9*j^3) - (b*d*g*i^2*m*n*log(i + j*x))/(6*e*j^2) + (g*i^3*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(3*j^3) - (b*d^2*g*n*(i + j*x)*log(h*(i + j*x)^m))/(3*e^2*j) + (b*d*n*x^2*(f + g*log(h*(i + j*x)^m)))/(6*e) - (1/9)*b*n*x^3*(f + g*log(h*(i + j*x)^m)) + (b*d^3*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/(3*e^3) + (1/3)*x^3*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)) + (b*g*i^3*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*j^3) + (b*d^3*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(3*e^3)]
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)), x, 23, (a*g*i*m*x)/(2*j) + (b*d*f*n*x)/(2*e) - (3*b*d*g*m*n*x)/(4*e) - (3*b*g*i*m*n*x)/(4*j) + (1/4)*b*g*m*n*x^2 + (b*d^2*g*m*n*log(d + e*x))/(4*e^2) + (b*g*i*m*(d + e*x)*log(c*(d + e*x)^n))/(2*e*j) - (1/4)*g*m*x^2*(a + b*log(c*(d + e*x)^n)) + (b*g*i^2*m*n*log(i + j*x))/(4*j^2) - (g*i^2*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(2*j^2) + (b*d*g*n*(i + j*x)*log(h*(i + j*x)^m))/(2*e*j) - (1/4)*b*n*x^2*(f + g*log(h*(i + j*x)^m)) - (b*d^2*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/(2*e^2) + (1/2)*x^2*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)) - (b*g*i^2*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*j^2) - (b*d^2*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(2*e^2)]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)), x, 17, (-a)*g*m*x - b*f*n*x + 2*b*g*m*n*x - (b*g*m*(d + e*x)*log(c*(d + e*x)^n))/e + (g*i*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/j - (b*g*n*(i + j*x)*log(h*(i + j*x)^m))/j + (b*d*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/e + x*(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)) + (b*g*i*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j + (b*d*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/e]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m))/x^1, x, 13, f*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)) + b*g*m*n*log(-((e*x)/d))*log(d + e*x)*log(i + j*x) - b*g*m*log(-((j*x)/i))*(n*log(d + e*x) - log(c*(d + e*x)^n))*log(i + j*x) + (1/2)*b*g*m*n*(log(-((e*x)/d)) + log((e*i - d*j)/(e*(i + j*x))) - log(-(((e*i - d*j)*x)/(d*(i + j*x)))))*log((d*(i + j*x))/(i*(d + e*x)))^2 - (1/2)*b*g*m*n*(log(-((e*x)/d)) - log(-((j*x)/i)))*(log(d + e*x) + log((d*(i + j*x))/(i*(d + e*x))))^2 - b*g*log(-((e*x)/d))*log(c*(d + e*x)^n)*(m*log(i + j*x) - log(h*(i + j*x)^m)) + a*g*log(-((j*x)/i))*log(h*(i + j*x)^m) + b*f*n*PolyLog(2, 1 + (e*x)/d) + b*g*m*n*(log(i + j*x) - log((d*(i + j*x))/(i*(d + e*x))))*PolyLog(2, 1 + (e*x)/d) - b*g*n*(m*log(i + j*x) - log(h*(i + j*x)^m))*PolyLog(2, 1 + (e*x)/d) + b*g*m*n*log((d*(i + j*x))/(i*(d + e*x)))*PolyLog(2, (i*(d + e*x))/(d*(i + j*x))) - b*g*m*n*log((d*(i + j*x))/(i*(d + e*x)))*PolyLog(2, (j*(d + e*x))/(e*(i + j*x))) + a*g*m*PolyLog(2, 1 + (j*x)/i) - b*g*m*(n*log(d + e*x) - log(c*(d + e*x)^n))*PolyLog(2, 1 + (j*x)/i) + b*g*m*n*(log(d + e*x) + log((d*(i + j*x))/(i*(d + e*x))))*PolyLog(2, 1 + (j*x)/i) - b*g*m*n*PolyLog(3, 1 + (e*x)/d) + b*g*m*n*PolyLog(3, (i*(d + e*x))/(d*(i + j*x))) - b*g*m*n*PolyLog(3, (j*(d + e*x))/(e*(i + j*x))) - b*g*m*n*PolyLog(3, 1 + (j*x)/i)]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m))/x^2, x, 15, (g*j*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/i - (g*j*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/i + (b*e*n*log(-((j*x)/i))*(f + g*log(h*(i + j*x)^m)))/d - (b*e*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/d - ((a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)))/x - (b*g*j*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/i + (b*g*j*m*n*PolyLog(2, 1 + (e*x)/d))/i - (b*e*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/d + (b*e*g*m*n*PolyLog(2, 1 + (j*x)/i))/d]
    @test_int [(a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m))/x^3, x, 23, (b*e*g*j*m*n*log(x))/(d*i) - (b*e*g*j*m*n*log(d + e*x))/(2*d*i) - (g*j*m*(a + b*log(c*(d + e*x)^n)))/(2*i*x) - (g*j^2*m*log(-((e*x)/d))*(a + b*log(c*(d + e*x)^n)))/(2*i^2) - (b*e*g*j*m*n*log(i + j*x))/(2*d*i) + (g*j^2*m*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(2*i^2) - (b*e*n*(f + g*log(h*(i + j*x)^m)))/(2*d*x) - (b*e^2*n*log(-((j*x)/i))*(f + g*log(h*(i + j*x)^m)))/(2*d^2) + (b*e^2*n*log(-((j*(d + e*x))/(e*i - d*j)))*(f + g*log(h*(i + j*x)^m)))/(2*d^2) - ((a + b*log(c*(d + e*x)^n))*(f + g*log(h*(i + j*x)^m)))/(2*x^2) + (b*g*j^2*m*n*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*i^2) - (b*g*j^2*m*n*PolyLog(2, 1 + (e*x)/d))/(2*i^2) + (b*e^2*g*m*n*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(2*d^2) - (b*e^2*g*m*n*PolyLog(2, 1 + (j*x)/i))/(2*d^2)]

    #= [x^3*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)), x, 157, (2*a*b*d^3*f*n*x)/e^3 - (a*b*d^3*g*m*n*x)/e^3 - (5*a*b*g*i^3*m*n*x)/(8*j^3) - (2*a*b*d*g*i^2*m*n*x)/(3*e*j^2) - (3*a*b*d^2*g*i*m*n*x)/(4*e^2*j) - (2*b^2*d^3*f*n^2*x)/e^3 + (649*b^2*d^3*g*m*n^2*x)/(288*e^3) + (21*b^2*g*i^3*m*n^2*x)/(32*j^3) + (119*b^2*d*g*i^2*m*n^2*x)/(144*e*j^2) + (55*b^2*d^2*g*i*m*n^2*x)/(48*e^2*j) - (139*b^2*d^2*g*m*n^2*x^2)/(576*e^2) - (3*b^2*g*i^2*m*n^2*x^2)/(64*j^2) - (b^2*d*g*i*m*n^2*x^2)/(9*e*j) + (53*b^2*d*g*m*n^2*x^3)/(864*e) + (7*b^2*g*i*m*n^2*x^3)/(288*j) - (1/64)*b^2*g*m*n^2*x^4 + (3*b^2*d^2*f*n^2*(d + e*x)^2)/(4*e^4) - (3*b^2*d^2*g*m*n^2*(d + e*x)^2)/(16*e^4) - (b^2*g*i^2*m*n^2*(d + e*x)^2)/(16*e^2*j^2) - (b^2*d*g*i*m*n^2*(d + e*x)^2)/(8*e^3*j) - (2*b^2*d*f*n^2*(d + e*x)^3)/(9*e^4) + (b^2*d*g*m*n^2*(d + e*x)^3)/(18*e^4) + (b^2*g*i*m*n^2*(d + e*x)^3)/(54*e^3*j) + (b^2*f*n^2*(d + e*x)^4)/(32*e^4) - (b^2*g*m*n^2*(d + e*x)^4)/(128*e^4) - (61*b^2*d^4*g*m*n^2*log(d + e*x))/(288*e^4) - (b^2*d^2*g*i^2*m*n^2*log(d + e*x))/(16*e^2*j^2) - (b^2*d^3*g*i*m*n^2*log(d + e*x))/(8*e^3*j) + (2*b^2*d^3*f*n*(d + e*x)*log(c*(d + e*x)^n))/e^4 - (b^2*d^3*g*m*n*(d + e*x)*log(c*(d + e*x)^n))/e^4 - (5*b^2*g*i^3*m*n*(d + e*x)*log(c*(d + e*x)^n))/(8*e*j^3) - (2*b^2*d*g*i^2*m*n*(d + e*x)*log(c*(d + e*x)^n))/(3*e^2*j^2) - (3*b^2*d^2*g*i*m*n*(d + e*x)*log(c*(d + e*x)^n))/(4*e^3*j) + (b*d^2*g*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(8*e^2) + (b*g*i^2*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(16*j^2) + (b*d*g*i*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(12*e*j) - (b*d*g*m*n*x^3*(a + b*log(c*(d + e*x)^n)))/(18*e) - (b*g*i*m*n*x^3*(a + b*log(c*(d + e*x)^n)))/(24*j) + (1/32)*b*g*m*n*x^4*(a + b*log(c*(d + e*x)^n)) - (3*b*d^2*f*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^4) + (3*b*d^2*g*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(8*e^4) + (b*g*i^2*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(8*e^2*j^2) + (b*d*g*i*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^3*j) + (2*b*d*f*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(3*e^4) - (b*d*g*m*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(6*e^4) - (b*g*i*m*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(18*e^3*j) - (b*f*n*(d + e*x)^4*(a + b*log(c*(d + e*x)^n)))/(8*e^4) + (b*g*m*n*(d + e*x)^4*(a + b*log(c*(d + e*x)^n)))/(32*e^4) - (d^4*f*(a + b*log(c*(d + e*x)^n))^2)/(4*e^4) + (d^4*g*m*(a + b*log(c*(d + e*x)^n))^2)/(16*e^4) + (d^3*g*i*m*(a + b*log(c*(d + e*x)^n))^2)/(12*e^3*j) + (g*i*m*x^3*(a + b*log(c*(d + e*x)^n))^2)/(12*j) - (1/16)*g*m*x^4*(a + b*log(c*(d + e*x)^n))^2 + (g*i^3*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*e*j^3) + (d*g*i^2*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2*j^2) - (g*i^2*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(8*e^2*j^2) - (b^2*g*i^4*m*n^2*log(i + j*x))/(32*j^4) - (7*b^2*d*g*i^3*m*n^2*log(i + j*x))/(72*e*j^3) - (13*b^2*d^2*g*i^2*m*n^2*log(i + j*x))/(48*e^2*j^2) + (b*g*i^4*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(8*j^4) + (b*d*g*i^3*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(6*e*j^3) + (b*d^2*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(4*e^2*j^2) + (b*d^3*g*i*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(2*e^3*j) + (d^4*g*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(4*e^4) - (g*i^4*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(4*j^4) + (13*b^2*d^2*g*n^2*x^2*log(h*(i + j*x)^m))/(48*e^2) - (7*b^2*d*g*n^2*x^3*log(h*(i + j*x)^m))/(72*e) + (1/32)*b^2*g*n^2*x^4*log(h*(i + j*x)^m) - (25*b^2*d^3*g*n^2*(i + j*x)*log(h*(i + j*x)^m))/(24*e^3*j) + (25*b^2*d^4*g*n^2*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/(24*e^4) + (b*d^3*g*n*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(2*e^3) - (b*d^2*g*n*x^2*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(4*e^2) + (b*d*g*n*x^3*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(6*e) - (1/8)*b*g*n*x^4*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) - (d^4*g*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(4*e^4) + (1/4)*x^4*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)) + (b^2*g*i^4*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(8*j^4) + (b^2*d*g*i^3*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(6*e*j^3) + (b^2*d^2*g*i^2*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(4*e^2*j^2) + (b^2*d^3*g*i*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*e^3*j) + (b*d^4*g*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*e^4) - (b*g*i^4*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*j^4) + (25*b^2*d^4*g*m*n^2*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(24*e^4) - (b^2*d^4*g*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(2*e^4) + (b^2*g*i^4*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(2*j^4)] =#
    #= [x^2*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)), x, 108, (2*a*b*d^2*g*m*n*x)/(3*e^2) + (8*a*b*g*i^2*m*n*x)/(9*j^2) + (a*b*d*g*i*m*n*x)/(e*j) + (2*b^2*d^2*f*n^2*x)/e^2 - (151*b^2*d^2*g*m*n^2*x)/(54*e^2) - (26*b^2*g*i^2*m*n^2*x)/(27*j^2) - (25*b^2*d*g*i*m*n^2*x)/(18*e*j) + (7*b^2*d*g*m*n^2*x^2)/(27*e) + (5*b^2*g*i*m*n^2*x^2)/(54*j) - (4/81)*b^2*g*m*n^2*x^3 - (b^2*d*f*n^2*(d + e*x)^2)/(2*e^3) + (b^2*d*g*m*n^2*(d + e*x)^2)/(6*e^3) + (b^2*g*i*m*n^2*(d + e*x)^2)/(12*e^2*j) + (2*b^2*f*n^2*(d + e*x)^3)/(27*e^3) - (2*b^2*g*m*n^2*(d + e*x)^3)/(81*e^3) + (13*b^2*d^3*g*m*n^2*log(d + e*x))/(54*e^3) + (b^2*d^2*g*i*m*n^2*log(d + e*x))/(9*e^2*j) - (b^2*d^3*f*n^2*log(d + e*x)^2)/(3*e^3) + (b^2*d^3*g*m*n^2*log(d + e*x)^2)/(9*e^3) + (2*b^2*d^2*g*m*n*(d + e*x)*log(c*(d + e*x)^n))/(3*e^3) + (8*b^2*g*i^2*m*n*(d + e*x)*log(c*(d + e*x)^n))/(9*e*j^2) + (b^2*d*g*i*m*n*(d + e*x)*log(c*(d + e*x)^n))/(e^2*j) - (b*d*g*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(6*e) - (b*g*i*m*n*x^2*(a + b*log(c*(d + e*x)^n)))/(9*j) + (2/27)*b*g*m*n*x^3*(a + b*log(c*(d + e*x)^n)) - (b*g*i*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(6*e^2*j) - (1/9)*b*f*n*((18*d^2*(d + e*x))/e^3 - (9*d*(d + e*x)^2)/e^3 + (2*(d + e*x)^3)/e^3 - (6*d^3*log(d + e*x))/e^3)*(a + b*log(c*(d + e*x)^n)) + (1/27)*b*g*m*n*((18*d^2*(d + e*x))/e^3 - (9*d*(d + e*x)^2)/e^3 + (2*(d + e*x)^3)/e^3 - (6*d^3*log(d + e*x))/e^3)*(a + b*log(c*(d + e*x)^n)) - (1/9)*g*m*x^3*(a + b*log(c*(d + e*x)^n))^2 - (g*i^2*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(3*e*j^2) - (d*g*i*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(3*e^2*j) + (g*i*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(6*e^2*j) + (2*b^2*g*i^3*m*n^2*log(i + j*x))/(27*j^3) + (5*b^2*d*g*i^2*m*n^2*log(i + j*x))/(18*e*j^2) - (2*b*g*i^3*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(9*j^3) - (b*d*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(3*e*j^2) - (2*b*d^2*g*i*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(3*e^2*j) - (d^3*g*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(3*e^3) + (g*i^3*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(3*j^3) - (5*b^2*d*g*n^2*x^2*log(h*(i + j*x)^m))/(18*e) + (2/27)*b^2*g*n^2*x^3*log(h*(i + j*x)^m) + (11*b^2*d^2*g*n^2*(i + j*x)*log(h*(i + j*x)^m))/(9*e^2*j) - (11*b^2*d^3*g*n^2*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/(9*e^3) - (2*b*d^2*g*n*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(3*e^2) + (b*d*g*n*x^2*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(3*e) - (2/9)*b*g*n*x^3*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) + (d^3*g*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(3*e^3) + (1/3)*x^3*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)) - (2*b^2*g*i^3*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(9*j^3) - (b^2*d*g*i^2*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*e*j^2) - (2*b^2*d^2*g*i*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*e^2*j) - (2*b*d^3*g*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*e^3) + (2*b*g*i^3*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*j^3) - (11*b^2*d^3*g*m*n^2*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(9*e^3) + (2*b^2*d^3*g*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(3*e^3) - (2*b^2*g*i^3*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(3*j^3)] =#
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)), x, 73, -((2*a*b*d*g*m*n*x)/e) - (3*a*b*g*i*m*n*x)/(2*j) - (2*b^2*d*f*n^2*x)/e + (15*b^2*d*g*m*n^2*x)/(4*e) + (7*b^2*g*i*m*n^2*x)/(4*j) - (1/4)*b^2*g*m*n^2*x^2 + (b^2*f*n^2*(d + e*x)^2)/(4*e^2) - (b^2*g*m*n^2*(d + e*x)^2)/(8*e^2) - (b^2*d^2*g*m*n^2*log(d + e*x))/(4*e^2) + (b^2*d^2*f*n^2*log(d + e*x)^2)/(2*e^2) - (2*b^2*d*g*m*n*(d + e*x)*log(c*(d + e*x)^n))/e^2 - (3*b^2*g*i*m*n*(d + e*x)*log(c*(d + e*x)^n))/(2*e*j) + (1/4)*b*g*m*n*x^2*(a + b*log(c*(d + e*x)^n)) + (2*b*d*f*n*(d + e*x)*(a + b*log(c*(d + e*x)^n)))/e^2 - (b*f*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^2) + (b*g*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^2) - (b*d^2*f*n*log(d + e*x)*(a + b*log(c*(d + e*x)^n)))/e^2 + (d*g*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(2*e^2) + (g*i*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(2*e*j) - (g*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) - (b^2*g*i^2*m*n^2*log(i + j*x))/(4*j^2) + (b*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(2*j^2) + (b*d*g*i*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(e*j) + (d^2*g*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(2*e^2) - (g*i^2*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(2*j^2) + (1/4)*b^2*g*n^2*x^2*log(h*(i + j*x)^m) - (3*b^2*d*g*n^2*(i + j*x)*log(h*(i + j*x)^m))/(2*e*j) + (3*b^2*d^2*g*n^2*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/(2*e^2) + (b*d*g*n*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/e - (1/2)*b*g*n*x^2*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) - (d^2*g*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(2*e^2) + (1/2)*x^2*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)) + (b^2*g*i^2*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*j^2) + (b^2*d*g*i*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(e*j) + (b*d^2*g*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/e^2 - (b*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j^2 + (3*b^2*d^2*g*m*n^2*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(2*e^2) - (b^2*d^2*g*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e^2 + (b^2*g*i^2*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j^2]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)), x, 41, -2*a*b*f*n*x + 4*a*b*g*m*n*x + 2*b^2*f*n^2*x - 6*b^2*g*m*n^2*x - (2*b^2*f*n*(d + e*x)*log(c*(d + e*x)^n))/e + (4*b^2*g*m*n*(d + e*x)*log(c*(d + e*x)^n))/e + (d*f*(a + b*log(c*(d + e*x)^n))^2)/e - (g*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e - (2*b*g*i*m*n*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/j - (d*g*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/e + (g*i*m*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/j + (2*b^2*g*n^2*(i + j*x)*log(h*(i + j*x)^m))/j - (2*b^2*d*g*n^2*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/e - 2*b*g*n*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) + (d*g*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/e + x*(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)) - (2*b^2*g*i*m*n^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j - (2*b*d*g*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/e + (2*b*g*i*m*n*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j - (2*b^2*d*g*m*n^2*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/e + (2*b^2*d*g*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e - (2*b^2*g*i*m*n^2*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m))/x^1, x, 0, Unintegrable(((a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)))/x, x)]
    @test_int [(a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m))/x^2, x, 0, Unintegrable(((a + b*log(c*(d + e*x)^n))^2*(f + g*log(h*(i + j*x)^m)))/x^2, x)]

    #= [x^2*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)), x, 262, (6*a*b^2*d^2*f*n^2*x)/e^2 - (28*a*b^2*d^2*g*m*n^2*x)/(3*e^2) - (26*a*b^2*g*i^2*m*n^2*x)/(9*j^2) - (9*a*b^2*d*g*i*m*n^2*x)/(2*e*j) - (6*b^3*d^2*f*n^3*x)/e^2 + (1571*b^3*d^2*g*m*n^3*x)/(108*e^2) + (80*b^3*g*i^2*m*n^3*x)/(27*j^2) + (185*b^3*d*g*i*m*n^3*x)/(36*e*j) - (55*b^3*d*g*m*n^3*x^2)/(108*e) - (5*b^3*g*i*m*n^3*x^2)/(54*j) + (4/81)*b^3*g*m*n^3*x^3 + (3*b^3*d*f*n^3*(d + e*x)^2)/(4*e^3) - (13*b^3*d*g*m*n^3*(d + e*x)^2)/(24*e^3) - (5*b^3*g*i*m*n^3*(d + e*x)^2)/(24*e^2*j) - (2*b^3*f*n^3*(d + e*x)^3)/(27*e^3) + (4*b^3*g*m*n^3*(d + e*x)^3)/(81*e^3) - (53*b^3*d^3*g*m*n^3*log(d + e*x))/(108*e^3) - (b^3*d^2*g*i*m*n^3*log(d + e*x))/(9*e^2*j) + (6*b^3*d^2*f*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^3 - (28*b^3*d^2*g*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/(3*e^3) - (26*b^3*g*i^2*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/(9*e*j^2) - (9*b^3*d*g*i*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/(2*e^2*j) + (5*b^2*d*g*m*n^2*x^2*(a + b*log(c*(d + e*x)^n)))/(12*e) + (b^2*g*i*m*n^2*x^2*(a + b*log(c*(d + e*x)^n)))/(9*j) - (2/27)*b^2*g*m*n^2*x^3*(a + b*log(c*(d + e*x)^n)) - (3*b^2*d*f*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(2*e^3) + (13*b^2*d*g*m*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(12*e^3) + (5*b^2*g*i*m*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(12*e^2*j) + (2*b^2*f*n^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(9*e^3) - (4*b^2*g*m*n^2*(d + e*x)^3*(a + b*log(c*(d + e*x)^n)))/(27*e^3) + (b*d^3*g*m*n*(a + b*log(c*(d + e*x)^n))^2)/(9*e^3) + (1/9)*b*g*m*n*x^3*(a + b*log(c*(d + e*x)^n))^2 - (3*b*d^2*f*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^3 + (5*b*d^2*g*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(2*e^3) + (4*b*g*i^2*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(3*e*j^2) + (11*b*d*g*i*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(6*e^2*j) + (3*b*d*f*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(2*e^3) - (3*b*d*g*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^3) - (5*b*g*i*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(12*e^2*j) - (b*f*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^2)/(3*e^3) + (b*g*m*n*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^2)/(9*e^3) + (d^3*f*(a + b*log(c*(d + e*x)^n))^3)/(3*e^3) - (d^2*g*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(3*e^3) - (g*i^2*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(3*e*j^2) - (d*g*i*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(3*e^2*j) + (d*g*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(3*e^3) + (g*i*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(6*e^2*j) - (g*m*(d + e*x)^3*(a + b*log(c*(d + e*x)^n))^3)/(9*e^3) - (2*b^3*g*i^3*m*n^3*log(i + j*x))/(27*j^3) - (19*b^3*d*g*i^2*m*n^3*log(i + j*x))/(36*e*j^2) + (2*b^2*g*i^3*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(9*j^3) + (5*b^2*d*g*i^2*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(6*e*j^2) + (11*b^2*d^2*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(3*e^2*j) + (11*b*d^3*g*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(6*e^3) - (b*g*i^3*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(3*j^3) - (b*d*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(2*e*j^2) - (b*d^2*g*i*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(e^2*j) - (d^3*g*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/(3*e^3) + (g*i^3*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/(3*j^3) + (19*b^3*d*g*n^3*x^2*log(h*(i + j*x)^m))/(36*e) - (2/27)*b^3*g*n^3*x^3*log(h*(i + j*x)^m) - (85*b^3*d^2*g*n^3*(i + j*x)*log(h*(i + j*x)^m))/(18*e^2*j) + (85*b^3*d^3*g*n^3*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/(18*e^3) + (11*b^2*d^2*g*n^2*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(3*e^2) - (5*b^2*d*g*n^2*x^2*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(6*e) + (2/9)*b^2*g*n^2*x^3*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) - (11*b*d^3*g*n*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(6*e^3) - (b*d^2*g*n*x*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/e^2 + (b*d*g*n*x^2*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(2*e) - (1/3)*b*g*n*x^3*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m) + (d^3*g*(a + b*log(c*(d + e*x)^n))^3*log(h*(i + j*x)^m))/(3*e^3) + (1/3)*x^3*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)) + (2*b^3*g*i^3*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(9*j^3) + (5*b^3*d*g*i^2*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(6*e*j^2) + (11*b^3*d^2*g*i*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*e^2*j) + (11*b^2*d^3*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*e^3) - (2*b^2*g*i^3*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(3*j^3) - (b^2*d*g*i^2*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(e*j^2) - (2*b^2*d^2*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(e^2*j) - (b*d^3*g*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/e^3 + (b*g*i^3*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j^3 + (85*b^3*d^3*g*m*n^3*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(18*e^3) - (11*b^3*d^3*g*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(3*e^3) + (2*b^3*g*i^3*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(3*j^3) + (b^3*d*g*i^2*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(e*j^2) + (2*b^3*d^2*g*i*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(e^2*j) + (2*b^2*d^3*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e^3 - (2*b^2*g*i^3*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j^3 - (2*b^3*d^3*g*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/e^3 + (2*b^3*g*i^3*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/j^3] =#
    @test_int [x^1*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)), x, 148, -((6*a*b^2*d*f*n^2*x)/e) + (12*a*b^2*d*g*m*n^2*x)/e + (21*a*b^2*g*i*m*n^2*x)/(4*j) + (6*b^3*d*f*n^3*x)/e - (141*b^3*d*g*m*n^3*x)/(8*e) - (45*b^3*g*i*m*n^3*x)/(8*j) + (3/8)*b^3*g*m*n^3*x^2 - (3*b^3*f*n^3*(d + e*x)^2)/(8*e^2) + (3*b^3*g*m*n^3*(d + e*x)^2)/(8*e^2) + (3*b^3*d^2*g*m*n^3*log(d + e*x))/(8*e^2) - (6*b^3*d*f*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^2 + (12*b^3*d*g*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/e^2 + (21*b^3*g*i*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/(4*e*j) - (3/8)*b^2*g*m*n^2*x^2*(a + b*log(c*(d + e*x)^n)) + (3*b^2*f*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^2) - (3*b^2*g*m*n^2*(d + e*x)^2*(a + b*log(c*(d + e*x)^n)))/(4*e^2) + (3*b*d*f*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e^2 - (15*b*d*g*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) - (9*b*g*i*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/(4*e*j) - (3*b*f*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) + (3*b*g*m*n*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^2)/(4*e^2) - (d^2*f*(a + b*log(c*(d + e*x)^n))^3)/(2*e^2) + (d*g*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(2*e^2) + (g*i*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/(2*e*j) - (g*m*(d + e*x)^2*(a + b*log(c*(d + e*x)^n))^3)/(4*e^2) + (3*b^3*g*i^2*m*n^3*log(i + j*x))/(8*j^2) - (3*b^2*g*i^2*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(4*j^2) - (9*b^2*d*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/(2*e*j) - (9*b*d^2*g*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(4*e^2) + (3*b*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(4*j^2) + (3*b*d*g*i*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/(2*e*j) + (d^2*g*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/(2*e^2) - (g*i^2*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/(2*j^2) - (3/8)*b^3*g*n^3*x^2*log(h*(i + j*x)^m) + (21*b^3*d*g*n^3*(i + j*x)*log(h*(i + j*x)^m))/(4*e*j) - (21*b^3*d^2*g*n^3*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/(4*e^2) - (9*b^2*d*g*n^2*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m))/(2*e) + (3/4)*b^2*g*n^2*x^2*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) + (9*b*d^2*g*n*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(4*e^2) + (3*b*d*g*n*x*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/(2*e) - (3/4)*b*g*n*x^2*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m) - (d^2*g*(a + b*log(c*(d + e*x)^n))^3*log(h*(i + j*x)^m))/(2*e^2) + (1/2)*x^2*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)) - (3*b^3*g*i^2*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(4*j^2) - (9*b^3*d*g*i*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*e*j) - (9*b^2*d^2*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*e^2) + (3*b^2*g*i^2*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*j^2) + (3*b^2*d*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(e*j) + (3*b*d^2*g*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*e^2) - (3*b*g*i^2*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/(2*j^2) - (21*b^3*d^2*g*m*n^3*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/(4*e^2) + (9*b^3*d^2*g*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(2*e^2) - (3*b^3*g*i^2*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(2*j^2) - (3*b^3*d*g*i*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/(e*j) - (3*b^2*d^2*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e^2 + (3*b^2*g*i^2*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j^2 + (3*b^3*d^2*g*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/e^2 - (3*b^3*g*i^2*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/j^2]
    @test_int [x^0*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)), x, 64, 6*a*b^2*f*n^2*x - 18*a*b^2*g*m*n^2*x - 6*b^3*f*n^3*x + 24*b^3*g*m*n^3*x + (6*b^3*f*n^2*(d + e*x)*log(c*(d + e*x)^n))/e - (18*b^3*g*m*n^2*(d + e*x)*log(c*(d + e*x)^n))/e - (3*b*f*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e + (6*b*g*m*n*(d + e*x)*(a + b*log(c*(d + e*x)^n))^2)/e + (d*f*(a + b*log(c*(d + e*x)^n))^3)/e - (g*m*(d + e*x)*(a + b*log(c*(d + e*x)^n))^3)/e + (6*b^2*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*log((e*(i + j*x))/(e*i - d*j)))/j + (3*b*d*g*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/e - (3*b*g*i*m*n*(a + b*log(c*(d + e*x)^n))^2*log((e*(i + j*x))/(e*i - d*j)))/j - (d*g*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/e + (g*i*m*(a + b*log(c*(d + e*x)^n))^3*log((e*(i + j*x))/(e*i - d*j)))/j - (6*b^3*g*n^3*(i + j*x)*log(h*(i + j*x)^m))/j + (6*b^3*d*g*n^3*log(-((j*(d + e*x))/(e*i - d*j)))*log(h*(i + j*x)^m))/e + 6*b^2*g*n^2*x*(a + b*log(c*(d + e*x)^n))*log(h*(i + j*x)^m) - (3*b*d*g*n*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m))/e - 3*b*g*n*x*(a + b*log(c*(d + e*x)^n))^2*log(h*(i + j*x)^m) + (d*g*(a + b*log(c*(d + e*x)^n))^3*log(h*(i + j*x)^m))/e + x*(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)) + (6*b^3*g*i*m*n^3*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j + (6*b^2*d*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/e - (6*b^2*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j - (3*b*d*g*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/e + (3*b*g*i*m*n*(a + b*log(c*(d + e*x)^n))^2*PolyLog(2, -((j*(d + e*x))/(e*i - d*j))))/j + (6*b^3*d*g*m*n^3*PolyLog(2, (e*(i + j*x))/(e*i - d*j)))/e - (6*b^3*d*g*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e + (6*b^3*g*i*m*n^3*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j + (6*b^2*d*g*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/e - (6*b^2*g*i*m*n^2*(a + b*log(c*(d + e*x)^n))*PolyLog(3, -((j*(d + e*x))/(e*i - d*j))))/j - (6*b^3*d*g*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/e + (6*b^3*g*i*m*n^3*PolyLog(4, -((j*(d + e*x))/(e*i - d*j))))/j]
    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m))/x^1, x, 0, Unintegrable(((a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)))/x, x)]
    @test_int [(a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m))/x^2, x, 0, Unintegrable(((a + b*log(c*(d + e*x)^n))^3*(f + g*log(h*(i + j*x)^m)))/x^2, x)]

    #= ::Subsubsection:: =#
    #=p<0=#

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(i+j*x)^q*log(f*(g+h*x)^m)*(a+b*log(c*(d+e*x)^n))^p=#

    @test_int [((a + b*log(c*(d + e*x)^n))*log((e*(f + g*x))/(e*f - d*g)))/(d + e*x), x, 3, -(((a + b*log(c*(d + e*x)^n))*PolyLog(2, -((g*(d + e*x))/(e*f - d*g))))/e) + (b*n*PolyLog(3, -((g*(d + e*x))/(e*f - d*g))))/e]

    @test_int [log(c*(d + e*x))*(a + b*log(c*(d + e*x)))/(d + e*x)^2, x, 4, -(b/(e*(d + e*x))) - (b*log(c*(d + e*x)))/(e*(d + e*x)) - (log(c*(d + e*x))*(a + b*log(c*(d + e*x))))/(e*(d + e*x)) - (a + b + b*log(c*(d + e*x)))/(e*(d + e*x))]
    @test_int [(a + b*log(c*(d + e*x)))*(f + g*log(c*(d + e*x)))/(d + e*x)^2, x, 4, -((b*g)/(e*(d + e*x))) - (g*(a + b + b*log(c*(d + e*x))))/(e*(d + e*x)) - (b*(f + g*log(c*(d + e*x))))/(e*(d + e*x)) - ((a + b*log(c*(d + e*x)))*(f + g*log(c*(d + e*x))))/(e*(d + e*x))]

    #= ::Title::Closed:: =#
    #=Integrands*of*the*form*AF(x)*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^4, x, 7, -24*a*b^3*m^3*n^3*x + 24*b^4*m^4*n^4*x - (24*b^4*m^3*n^3*(e + f*x)*log(c*(d*(e + f*x)^m)^n))/f + (12*b^2*m^2*n^2*(e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^2)/f - (4*b*m*n*(e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^3)/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^4)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^3, x, 6, 6*a*b^2*m^2*n^2*x - 6*b^3*m^3*n^3*x + (6*b^3*m^2*n^2*(e + f*x)*log(c*(d*(e + f*x)^m)^n))/f - (3*b*m*n*(e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^2)/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^3)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^2, x, 5, -2*a*b*m*n*x + 2*b^2*m^2*n^2*x - (2*b^2*m*n*(e + f*x)*log(c*(d*(e + f*x)^m)^n))/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^2)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^1, x, 4, a*x - b*m*n*x + (b*(e + f*x)*log(c*(d*(e + f*x)^m)^n))/f]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^1, x, 4, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^m)^n))/(b*m*n)))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(b*f*m*n))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^2, x, 5, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^m)^n))/(b*m*n)))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(b^2*f*m^2*n^2)) - (e + f*x)/(b*f*m*n*(a + b*log(c*(d*(e + f*x)^m)^n)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^3, x, 6, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^m)^n))/(b*m*n)))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(2*b^3*f*m^3*n^3)) - (e + f*x)/(2*b*f*m*n*(a + b*log(c*(d*(e + f*x)^m)^n))^2) - (e + f*x)/(2*b^2*f*m^2*n^2*(a + b*log(c*(d*(e + f*x)^m)^n)))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d*(e+f*x)^m)^n))^(p/2)=#

    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^(5/2), x, 8, -((15*b^(5/2)*m^(5/2)*n^(5/2)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(8*f))) + (15*b^2*m^2*n^2*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))/(4*f) - (5*b*m*n*(e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2))/(2*f) + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^(5/2))/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2), x, 7, (3*b^(3/2)*m^(3/2)*n^(3/2)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(4*f)) - (3*b*m*n*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))/(2*f) + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2))/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^(1/2), x, 6, -((sqrt(b)*sqrt(m)*sqrt(n)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(2*f))) + ((e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))/f]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^(1/2), x, 5, (sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(sqrt(b)*f*sqrt(m)*sqrt(n)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2), x, 6, (2*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(b^(3/2)*f*m^(3/2)*n^(3/2))) - (2*(e + f*x))/(b*f*m*n*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^(5/2), x, 7, (4*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(3*b^(5/2)*f*m^(5/2)*n^(5/2))) - (2*(e + f*x))/(3*b*f*m*n*(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2)) - (4*(e + f*x))/(3*b^2*f*m^2*n^2*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^m)^n))^(7/2), x, 8, (8*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^m)^n))/(sqrt(b)*sqrt(m)*sqrt(n))))/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(15*b^(7/2)*f*m^(7/2)*n^(7/2))) - (2*(e + f*x))/(5*b*f*m*n*(a + b*log(c*(d*(e + f*x)^m)^n))^(5/2)) - (4*(e + f*x))/(15*b^2*f*m^2*n^2*(a + b*log(c*(d*(e + f*x)^m)^n))^(3/2)) - (8*(e + f*x))/(15*b^3*f*m^3*n^3*sqrt(a + b*log(c*(d*(e + f*x)^m)^n)))]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(a+b*log(c*(d*(e+f*x)^m)^n))^p*with*p*symbolic=#

    @test_int [(a + b*log(c*(d*(e + f*x)^m)^n))^p, x, 4, ((e + f*x)*Gamma(1 + p, -((a + b*log(c*(d*(e + f*x)^m)^n))/(b*m*n)))*(a + b*log(c*(d*(e + f*x)^m)^n))^p)/(ℯ^(a/(b*m*n))*(c*(d*(e + f*x)^m)^n)^(1/(m*n))*(-((a + b*log(c*(d*(e + f*x)^m)^n))/(b*m*n)))^p*f)]

    @test_int [(a + b*log(c*(d*(e + f*x)^(1/2))^(1/2)))^p, x, 4, (Gamma(1 + p, -((4*(a + b*log(c*sqrt(d*sqrt(e + f*x)))))/b))*(a + b*log(c*sqrt(d*sqrt(e + f*x))))^p)/(4^p*ℯ^((4*a)/b)*(-((a + b*log(c*sqrt(d*sqrt(e + f*x))))/b))^p*(c^4*d^2*f))]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^3, x, 4, -((b*(f*g - e*h)^3*p*q*x)/(4*f^3)) - (b*(f*g - e*h)^2*p*q*(g + h*x)^2)/(8*f^2*h) - (b*(f*g - e*h)*p*q*(g + h*x)^3)/(12*f*h) - (b*p*q*(g + h*x)^4)/(16*h) - (b*(f*g - e*h)^4*p*q*log(e + f*x))/(4*f^4*h) + ((g + h*x)^4*(a + b*log(c*(d*(e + f*x)^p)^q)))/(4*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^2, x, 4, -((b*(f*g - e*h)^2*p*q*x)/(3*f^2)) - (b*(f*g - e*h)*p*q*(g + h*x)^2)/(6*f*h) - (b*p*q*(g + h*x)^3)/(9*h) - (b*(f*g - e*h)^3*p*q*log(e + f*x))/(3*f^3*h) + ((g + h*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^1, x, 4, -((b*(f*g - e*h)*p*q*x)/(2*f)) - (b*p*q*(g + h*x)^2)/(4*h) - (b*(f*g - e*h)^2*p*q*log(e + f*x))/(2*f^2*h) + ((g + h*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^0, x, 4, a*x - b*p*q*x + (b*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^1, x, 4, ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/h + (b*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^2, x, 5, (b*f*p*q*log(e + f*x))/(h*(f*g - e*h)) - (a + b*log(c*(d*(e + f*x)^p)^q))/(h*(g + h*x)) - (b*f*p*q*log(g + h*x))/(h*(f*g - e*h))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^3, x, 4, (b*f*p*q)/(2*h*(f*g - e*h)*(g + h*x)) + (b*f^2*p*q*log(e + f*x))/(2*h*(f*g - e*h)^2) - (a + b*log(c*(d*(e + f*x)^p)^q))/(2*h*(g + h*x)^2) - (b*f^2*p*q*log(g + h*x))/(2*h*(f*g - e*h)^2)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^4, x, 4, (b*f*p*q)/(6*h*(f*g - e*h)*(g + h*x)^2) + (b*f^2*p*q)/(3*h*(f*g - e*h)^2*(g + h*x)) + (b*f^3*p*q*log(e + f*x))/(3*h*(f*g - e*h)^3) - (a + b*log(c*(d*(e + f*x)^p)^q))/(3*h*(g + h*x)^3) - (b*f^3*p*q*log(g + h*x))/(3*h*(f*g - e*h)^3)]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^3, x, 9, (2*b^2*(f*g - e*h)^3*p^2*q^2*x)/f^3 + (3*b^2*h*(f*g - e*h)^2*p^2*q^2*(e + f*x)^2)/(4*f^4) + (2*b^2*h^2*(f*g - e*h)*p^2*q^2*(e + f*x)^3)/(9*f^4) + (b^2*h^3*p^2*q^2*(e + f*x)^4)/(32*f^4) + (b^2*(f*g - e*h)^4*p^2*q^2*log(e + f*x)^2)/(4*f^4*h) - (2*b*(f*g - e*h)^3*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/f^4 - (3*b*h*(f*g - e*h)^2*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^4) - (2*b*h^2*(f*g - e*h)*p*q*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*f^4) - (b*h^3*p*q*(e + f*x)^4*(a + b*log(c*(d*(e + f*x)^p)^q)))/(8*f^4) - (b*(f*g - e*h)^4*p*q*log(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^4*h) + ((g + h*x)^4*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(4*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^2, x, 9, (2*b^2*(f*g - e*h)^2*p^2*q^2*x)/f^2 + (b^2*h*(f*g - e*h)*p^2*q^2*(e + f*x)^2)/(2*f^3) + (2*b^2*h^2*p^2*q^2*(e + f*x)^3)/(27*f^3) + (b^2*(f*g - e*h)^3*p^2*q^2*log(e + f*x)^2)/(3*f^3*h) - (2*b*(f*g - e*h)^2*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/f^3 - (b*h*(f*g - e*h)*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/f^3 - (2*b*h^2*p*q*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(9*f^3) - (2*b*(f*g - e*h)^3*p*q*log(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*f^3*h) + ((g + h*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(3*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^1, x, 10, -((2*a*b*(f*g - e*h)*p*q*x)/f) + (2*b^2*(f*g - e*h)*p^2*q^2*x)/f + (b^2*h*p^2*q^2*(e + f*x)^2)/(4*f^2) - (2*b^2*(f*g - e*h)*p*q*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f^2 - (b*h*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^2) + ((f*g - e*h)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f^2 + (h*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(2*f^2)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^0, x, 5, -2*a*b*p*q*x + 2*b^2*p^2*q^2*x - (2*b^2*p*q*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^1, x, 5, ((a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/h + (2*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h - (2*b^2*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^2, x, 5, ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/((f*g - e*h)*(g + h*x)) - (2*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)) - (2*b^2*f*p^2*q^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^3, x, 8, -((b*f*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/((f*g - e*h)^2*(g + h*x))) - (a + b*log(c*(d*(e + f*x)^p)^q))^2/(2*h*(g + h*x)^2) + (b^2*f^2*p^2*q^2*log(g + h*x))/(h*(f*g - e*h)^2) - (b*f^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*log(1 + (f*g - e*h)/(h*(e + f*x))))/(h*(f*g - e*h)^2) + (b^2*f^2*p^2*q^2*PolyLog(2, -((f*g - e*h)/(h*(e + f*x)))))/(h*(f*g - e*h)^2)]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^2, x, 16, (6*a*b^2*(f*g - e*h)^2*p^2*q^2*x)/f^2 - (6*b^3*(f*g - e*h)^2*p^3*q^3*x)/f^2 - (3*b^3*h*(f*g - e*h)*p^3*q^3*(e + f*x)^2)/(4*f^3) - (2*b^3*h^2*p^3*q^3*(e + f*x)^3)/(27*f^3) + (6*b^3*(f*g - e*h)^2*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f^3 + (3*b^2*h*(f*g - e*h)*p^2*q^2*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^3) + (2*b^2*h^2*p^2*q^2*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(9*f^3) - (3*b*(f*g - e*h)^2*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f^3 - (3*b*h*(f*g - e*h)*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(2*f^3) - (b*h^2*p*q*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(3*f^3) + ((f*g - e*h)^2*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/f^3 + (h*(f*g - e*h)*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/f^3 + (h^2*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(3*f^3)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^1, x, 12, (6*a*b^2*(f*g - e*h)*p^2*q^2*x)/f - (6*b^3*(f*g - e*h)*p^3*q^3*x)/f - (3*b^3*h*p^3*q^3*(e + f*x)^2)/(8*f^2) + (6*b^3*(f*g - e*h)*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f^2 + (3*b^2*h*p^2*q^2*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(4*f^2) - (3*b*(f*g - e*h)*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f^2 - (3*b*h*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(4*f^2) + ((f*g - e*h)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/f^2 + (h*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(2*f^2)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^0, x, 6, 6*a*b^2*p^2*q^2*x - 6*b^3*p^3*q^3*x + (6*b^3*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f - (3*b*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x)^1, x, 6, ((a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/h + (3*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h - (6*b^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h + (6*b^3*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x)^2, x, 6, ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/((f*g - e*h)*(g + h*x)) - (3*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)) - (6*b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h)) + (6*b^3*f*p^3*q^3*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x)^3, x, 10, -((3*b*f*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(2*(f*g - e*h)^2*(g + h*x))) - (a + b*log(c*(d*(e + f*x)^p)^q))^3/(2*h*(g + h*x)^2) + (3*b^2*f^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)^2) - (3*b*f^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log(1 + (f*g - e*h)/(h*(e + f*x))))/(2*h*(f*g - e*h)^2) + (3*b^2*f^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((f*g - e*h)/(h*(e + f*x)))))/(h*(f*g - e*h)^2) + (3*b^3*f^2*p^3*q^3*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h)^2) + (3*b^3*f^2*p^3*q^3*PolyLog(3, -((f*g - e*h)/(h*(e + f*x)))))/(h*(f*g - e*h)^2)]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^4*(g + h*x)^0, x, 7, -24*a*b^3*p^3*q^3*x + 24*b^4*p^4*q^4*x - (24*b^4*p^3*q^3*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/f + (12*b^2*p^2*q^2*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/f - (4*b*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/f + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^4)/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^4/(g + h*x)^1, x, 7, ((a + b*log(c*(d*(e + f*x)^p)^q))^4*log((f*(g + h*x))/(f*g - e*h)))/h + (4*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^3*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h - (12*b^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h + (24*b^3*p^3*q^3*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/h - (24*b^4*p^4*q^4*PolyLog(5, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^4/(g + h*x)^2, x, 7, ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^4)/((f*g - e*h)*(g + h*x)) - (4*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)) - (12*b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h)) + (24*b^3*f*p^3*q^3*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h)) - (24*b^4*f*p^4*q^4*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/(h*(f*g - e*h))]

    @test_int [log(c*(d*(e + f*x)^p)^q), x, 3, (-p)*q*x + ((e + f*x)*log(c*(d*(e + f*x)^p)^q))/f]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^2, x, 12, ((f*g - e*h)^2*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b*f^3*p*q)) + (2*h*(f*g - e*h)*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b*f^3*p*q)) + (h^2*(e + f*x)^3*ExpIntegralEi((3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((3*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(3/(p*q))*(b*f^3*p*q))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^1, x, 9, ((f*g - e*h)*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b*f^2*p*q)) + (h*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b*f^2*p*q))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))*(g + h*x)^0, x, 4, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b*f*p*q))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^1, x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^2, x, 0, Unintegrable(1/((g + h*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]

    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^2, x, 21, ((f*g - e*h)^2*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b^2*f^3*p^2*q^2)) + (4*h*(f*g - e*h)*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b^2*f^3*p^2*q^2)) + (3*h^2*(e + f*x)^3*ExpIntegralEi((3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((3*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(3/(p*q))*(b^2*f^3*p^2*q^2)) - ((e + f*x)*(g + h*x)^2)/(b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^1, x, 13, ((f*g - e*h)*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b^2*f^2*p^2*q^2)) + (2*h*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b^2*f^2*p^2*q^2)) - ((e + f*x)*(g + h*x))/(b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^0, x, 5, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(b^2*f*p^2*q^2)) - (e + f*x)/(b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^1, x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^2, x, 0, Unintegrable(1/((g + h*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]

    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^2, x, 34, ((f*g - e*h)^2*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(2*b^3*f^3*p^3*q^3)) + (4*h*(f*g - e*h)*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b^3*f^3*p^3*q^3)) + (9*h^2*(e + f*x)^3*ExpIntegralEi((3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((3*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(3/(p*q))*(2*b^3*f^3*p^3*q^3)) - ((e + f*x)*(g + h*x)^2)/(2*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2) + ((f*g - e*h)*(e + f*x)*(g + h*x))/(b^2*f^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))) - (3*(e + f*x)*(g + h*x)^2)/(2*b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^1, x, 18, ((f*g - e*h)*(e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(2*b^3*f^2*p^3*q^3)) + (2*h*(e + f*x)^2*ExpIntegralEi((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(b^3*f^2*p^3*q^3)) - ((e + f*x)*(g + h*x))/(2*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2) + ((f*g - e*h)*(e + f*x))/(2*b^2*f^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))) - ((e + f*x)*(g + h*x))/(b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^0, x, 6, ((e + f*x)*ExpIntegralEi((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(2*b^3*f*p^3*q^3)) - (e + f*x)/(2*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2) - (e + f*x)/(2*b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x)^1, x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3), x)]
    @test_int [1/(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x)^2, x, 0, Unintegrable(1/((g + h*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^(p/2)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(g + h*x)^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 18, -(sqrt(b)*(f*g - e*h)^2*sqrt(p)*sqrt(pi)*sqrt(q)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(2*ℯ^(a/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) - (sqrt(b)*h*(f*g - e*h)*sqrt(p)*sqrt(pi/2)*sqrt(q)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(2*ℯ^((2*a)/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) - (sqrt(b)*h^2*sqrt(p)*sqrt(pi/3)*sqrt(q)*(e + f*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(6*ℯ^((3*a)/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(3/(p*q))) + ((f*g - e*h)^2*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/f^3 + (h*(f*g - e*h)*(e + f*x)^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/f^3 + (h^2*(e + f*x)^3*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*f^3)]
    @test_int [(g + h*x)^1*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 13, -(sqrt(b)*(f*g - e*h)*sqrt(p)*sqrt(pi)*sqrt(q)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(2*ℯ^(a/(b*p*q))*f^2*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) - (sqrt(b)*h*sqrt(p)*sqrt(pi/2)*sqrt(q)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(4*ℯ^((2*a)/(b*p*q))*f^2*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) + ((f*g - e*h)*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/f^2 + (h*(e + f*x)^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^2)]
    @test_int [(g + h*x)^0*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 6, -(sqrt(b)*sqrt(p)*sqrt(pi)*sqrt(q)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(2*ℯ^(a/(b*p*q))*f*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + ((e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/f]
    @test_int [sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^1, x, 0, Unintegrable(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x), x)]
    @test_int [sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^2, x, 0, Unintegrable(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^2, x)]

    @test_int [(g + h*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 21, (3*b^(3/2)*(f*g - e*h)^2*p^(3/2)*sqrt(pi)*q^(3/2)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(4*ℯ^(a/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (3*b^(3/2)*h*(f*g - e*h)*p^(3/2)*sqrt(pi/2)*q^(3/2)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(8*ℯ^((2*a)/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) + (b^(3/2)*h^2*p^(3/2)*sqrt(pi/3)*q^(3/2)*(e + f*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(12*ℯ^((3*a)/(b*p*q))*f^3*(c*(d*(e + f*x)^p)^q)^(3/(p*q))) - (3*b*(f*g - e*h)^2*p*q*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^3) - (3*b*h*(f*g - e*h)*p*q*(e + f*x)^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(4*f^3) - (b*h^2*p*q*(e + f*x)^3*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(6*f^3) + ((f*g - e*h)^2*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/f^3 + (h*(f*g - e*h)*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/f^3 + (h^2*(e + f*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/(3*f^3)]
    @test_int [(g + h*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 15, (3*b^(3/2)*(f*g - e*h)*p^(3/2)*sqrt(pi)*q^(3/2)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(4*ℯ^(a/(b*p*q))*f^2*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (3*b^(3/2)*h*p^(3/2)*sqrt(pi/2)*q^(3/2)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(16*ℯ^((2*a)/(b*p*q))*f^2*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) - (3*b*(f*g - e*h)*p*q*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^2) - (3*b*h*p*q*(e + f*x)^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(8*f^2) + ((f*g - e*h)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/f^2 + (h*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/(2*f^2)]
    @test_int [(g + h*x)^0*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 7, (3*b^(3/2)*p^(3/2)*sqrt(pi)*q^(3/2)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(4*ℯ^(a/(b*p*q))*f*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) - (3*b*p*q*(e + f*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f) + ((e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2))/f]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)/(g + h*x)^1, x, 0, Unintegrable((a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)/(g + h*x), x)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)/(g + h*x)^2, x, 0, Unintegrable((a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)/(g + h*x)^2, x)]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(g + h*x)^2/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 15, ((f*g - e*h)^2*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^(a/(b*p*q))*f^3*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (h*(f*g - e*h)*sqrt(2*pi)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^((2*a)/(b*p*q))*f^3*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) + (h^2*sqrt(pi/3)*(e + f*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^((3*a)/(b*p*q))*f^3*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(3/(p*q)))]
    @test_int [(g + h*x)^1/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 11, ((f*g - e*h)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^(a/(b*p*q))*f^2*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (h*sqrt(pi/2)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^((2*a)/(b*p*q))*f^2*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(2/(p*q)))]
    @test_int [(g + h*x)^0/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 5, (sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(sqrt(b)*ℯ^(a/(b*p*q))*f*sqrt(p)*sqrt(q)*(c*(d*(e + f*x)^p)^q)^(1/(p*q)))]
    @test_int [1/((g + h*x)^1*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x)]

    @test_int [(g + h*x)^2/(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 26, (2*(f*g - e*h)^2*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^(a/(b*p*q))*f^3*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (4*h*(f*g - e*h)*sqrt(2*pi)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^((2*a)/(b*p*q))*f^3*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) + (2*h^2*sqrt(3*pi)*(e + f*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^((3*a)/(b*p*q))*f^3*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(3/(p*q))) - (2*(e + f*x)*(g + h*x)^2)/(b*f*p*q*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [(g + h*x)^1/(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 16, (2*(f*g - e*h)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^(a/(b*p*q))*f^2*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (2*h*sqrt(2*pi)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^((2*a)/(b*p*q))*f^2*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) - (2*(e + f*x)*(g + h*x))/(b*f*p*q*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [(g + h*x)^0/(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 6, (2*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(3/2)*ℯ^(a/(b*p*q))*f*p^(3/2)*q^(3/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) - (2*(e + f*x))/(b*f*p*q*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/((g + h*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)), x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)), x)]

    @test_int [(g + h*x)^2/(a + b*log(c*(d*(e + f*x)^p)^q))^(5/2), x, 42, (4*(f*g - e*h)^2*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(3*b^(5/2)*ℯ^(a/(b*p*q))*f^3*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (16*h*(f*g - e*h)*sqrt(2*pi)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(3*b^(5/2)*ℯ^((2*a)/(b*p*q))*f^3*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) + (4*h^2*sqrt(3*pi)*(e + f*x)^3*erfi((sqrt(3)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(b^(5/2)*ℯ^((3*a)/(b*p*q))*f^3*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(3/(p*q))) - (2*(e + f*x)*(g + h*x)^2)/(3*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)) + (8*(f*g - e*h)*(e + f*x)*(g + h*x))/(3*b^2*f^2*p^2*q^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))) - (4*(e + f*x)*(g + h*x)^2)/(b^2*f*p^2*q^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [(g + h*x)^1/(a + b*log(c*(d*(e + f*x)^p)^q))^(5/2), x, 22, (4*(f*g - e*h)*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(3*b^(5/2)*ℯ^(a/(b*p*q))*f^2*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) + (8*h*sqrt(2*pi)*(e + f*x)^2*erfi((sqrt(2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(b)*sqrt(p)*sqrt(q))))/(3*b^(5/2)*ℯ^((2*a)/(b*p*q))*f^2*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(2/(p*q))) - (2*(e + f*x)*(g + h*x))/(3*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)) + (4*(f*g - e*h)*(e + f*x))/(3*b^2*f^2*p^2*q^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))) - (8*(e + f*x)*(g + h*x))/(3*b^2*f*p^2*q^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [(g + h*x)^0/(a + b*log(c*(d*(e + f*x)^p)^q))^(5/2), x, 7, (4*sqrt(pi)*(e + f*x)*erfi(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(b)*sqrt(p)*sqrt(q))))/(3*b^(5/2)*ℯ^(a/(b*p*q))*f*p^(5/2)*q^(5/2)*(c*(d*(e + f*x)^p)^q)^(1/(p*q))) - (2*(e + f*x))/(3*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2)) - (4*(e + f*x))/(3*b^2*f*p^2*q^2*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)))]
    @test_int [1/((g + h*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^(5/2)), x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^(5/2)), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^(q/2)*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q)), x, 7, (-4*b*(f*g - e*h)^2*p*q*sqrt(g + h*x))/(5*f^2*h) - (4*b*(f*g - e*h)*p*q*(g + h*x)^(3/2))/(15*f*h) - (4*b*p*q*(g + h*x)^(5/2))/(25*h) + (4*b*(f*g - e*h)^(5/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(5*f^(5/2)*h) + (2*(g + h*x)^(5/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*h)]
    @test_int [(g + h*x)^(1/2)*(a + b*log(c*(d*(e + f*x)^p)^q)), x, 6, (-4*b*(f*g - e*h)*p*q*sqrt(g + h*x))/(3*f*h) - (4*b*p*q*(g + h*x)^(3/2))/(9*h) + (4*b*(f*g - e*h)^(3/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(3*f^(3/2)*h) + (2*(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(1/2), x, 5, (-4*b*p*q*sqrt(g + h*x))/h + (4*b*sqrt(f*g - e*h)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(sqrt(f)*h) + (2*sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(3/2), x, 4, (-4*b*sqrt(f)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(h*sqrt(f*g - e*h)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(h*sqrt(g + h*x))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(5/2), x, 5, (4*b*f*p*q)/(3*h*(f*g - e*h)*sqrt(g + h*x)) - (4*b*f^(3/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(3*h*(f*g - e*h)^(3/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h*(g + h*x)^(3/2))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(7/2), x, 6, (4*b*f*p*q)/(15*h*(f*g - e*h)*(g + h*x)^(3/2)) + (4*b*f^2*p*q)/(5*h*(f*g - e*h)^2*sqrt(g + h*x)) - (4*b*f^(5/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(5*h*(f*g - e*h)^(5/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*h*(g + h*x)^(5/2))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(9/2), x, 7, (4*b*f*p*q)/(35*h*(f*g - e*h)*(g + h*x)^(5/2)) + (4*b*f^2*p*q)/(21*h*(f*g - e*h)^2*(g + h*x)^(3/2)) + (4*b*f^3*p*q)/(7*h*(f*g - e*h)^3*sqrt(g + h*x)) - (4*b*f^(7/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(7*h*(f*g - e*h)^(7/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(7*h*(g + h*x)^(7/2))]

    @test_int [(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q))^2, x, 29, (368*b^2*(f*g - e*h)^2*p^2*q^2*sqrt(g + h*x))/(75*f^2*h) + (128*b^2*(f*g - e*h)*p^2*q^2*(g + h*x)^(3/2))/(225*f*h) + (16*b^2*p^2*q^2*(g + h*x)^(5/2))/(125*h) - (368*b^2*(f*g - e*h)^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(75*f^(5/2)*h) - (8*b^2*(f*g - e*h)^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(5*f^(5/2)*h) - (8*b*(f*g - e*h)^2*p*q*sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*f^2*h) - (8*b*(f*g - e*h)*p*q*(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(15*f*h) - (8*b*p*q*(g + h*x)^(5/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(25*h) + (8*b*(f*g - e*h)^(5/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*f^(5/2)*h) + (2*(g + h*x)^(5/2)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(5*h) + (16*b^2*(f*g - e*h)^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(5*f^(5/2)*h) + (8*b^2*(f*g - e*h)^(5/2)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(5*f^(5/2)*h)]
    @test_int [(g + h*x)^(1/2)*(a + b*log(c*(d*(e + f*x)^p)^q))^2, x, 22, (64*b^2*(f*g - e*h)*p^2*q^2*sqrt(g + h*x))/(9*f*h) + (16*b^2*p^2*q^2*(g + h*x)^(3/2))/(27*h) - (64*b^2*(f*g - e*h)^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(9*f^(3/2)*h) - (8*b^2*(f*g - e*h)^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(3*f^(3/2)*h) - (8*b*(f*g - e*h)*p*q*sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*f*h) - (8*b*p*q*(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(9*h) + (8*b*(f*g - e*h)^(3/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*f^(3/2)*h) + (2*(g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(3*h) + (16*b^2*(f*g - e*h)^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(3*f^(3/2)*h) + (8*b^2*(f*g - e*h)^(3/2)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(3*f^(3/2)*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^(1/2), x, 16, (16*b^2*p^2*q^2*sqrt(g + h*x))/h - (16*b^2*sqrt(f*g - e*h)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(sqrt(f)*h) - (8*b^2*sqrt(f*g - e*h)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(sqrt(f)*h) - (8*b*p*q*sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q)))/h + (8*b*sqrt(f*g - e*h)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(f)*h) + (2*sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/h + (16*b^2*sqrt(f*g - e*h)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(sqrt(f)*h) + (8*b^2*sqrt(f*g - e*h)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(sqrt(f)*h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^(3/2), x, 11, (8*b^2*sqrt(f)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(h*sqrt(f*g - e*h)) - (8*b*sqrt(f)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(h*sqrt(f*g - e*h)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(h*sqrt(g + h*x)) - (16*b^2*sqrt(f)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(h*sqrt(f*g - e*h)) - (8*b^2*sqrt(f)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(h*sqrt(f*g - e*h))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^(5/2), x, 15, (16*b^2*f^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(3*h*(f*g - e*h)^(3/2)) + (8*b^2*f^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(3*h*(f*g - e*h)^(3/2)) + (8*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h*(f*g - e*h)*sqrt(g + h*x)) - (8*b*f^(3/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h*(f*g - e*h)^(3/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(3*h*(g + h*x)^(3/2)) - (16*b^2*f^(3/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(3*h*(f*g - e*h)^(3/2)) - (8*b^2*f^(3/2)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(3*h*(f*g - e*h)^(3/2))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^(7/2), x, 20, -((16*b^2*f^2*p^2*q^2)/(15*h*(f*g - e*h)^2*sqrt(g + h*x))) + (64*b^2*f^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(15*h*(f*g - e*h)^(5/2)) + (8*b^2*f^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(5*h*(f*g - e*h)^(5/2)) + (8*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(15*h*(f*g - e*h)*(g + h*x)^(3/2)) + (8*b*f^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*h*(f*g - e*h)^2*sqrt(g + h*x)) - (8*b*f^(5/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(5*h*(f*g - e*h)^(5/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(5*h*(g + h*x)^(5/2)) - (16*b^2*f^(5/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(5*h*(f*g - e*h)^(5/2)) - (8*b^2*f^(5/2)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(5*h*(f*g - e*h)^(5/2))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x)^(9/2), x, 26, -((16*b^2*f^2*p^2*q^2)/(105*h*(f*g - e*h)^2*(g + h*x)^(3/2))) - (128*b^2*f^3*p^2*q^2)/(105*h*(f*g - e*h)^3*sqrt(g + h*x)) + (368*b^2*f^(7/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h)))/(105*h*(f*g - e*h)^(7/2)) + (8*b^2*f^(7/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))^2)/(7*h*(f*g - e*h)^(7/2)) + (8*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(35*h*(f*g - e*h)*(g + h*x)^(5/2)) + (8*b*f^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(21*h*(f*g - e*h)^2*(g + h*x)^(3/2)) + (8*b*f^3*p*q*(a + b*log(c*(d*(e + f*x)^p)^q)))/(7*h*(f*g - e*h)^3*sqrt(g + h*x)) - (8*b*f^(7/2)*p*q*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(7*h*(f*g - e*h)^(7/2)) - (2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(7*h*(g + h*x)^(7/2)) - (16*b^2*f^(7/2)*p^2*q^2*atanh((sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))*log(2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(7*h*(f*g - e*h)^(7/2)) - (8*b^2*f^(7/2)*p^2*q^2*PolyLog(2, 1 - 2/(1 - (sqrt(f)*sqrt(g + h*x))/sqrt(f*g - e*h))))/(7*h*(f*g - e*h)^(7/2))]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(g + h*x)^(3/2)/(a + b*log(c*(d*(e + f*x)^p)^q)), x, 0, Unintegrable((g + h*x)^(3/2)/(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [(g + h*x)^(1/2)/(a + b*log(c*(d*(e + f*x)^p)^q)), x, 0, Unintegrable(sqrt(g + h*x)/(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [1/((g + h*x)^(1/2)*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/(sqrt(g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [1/((g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)^(3/2)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^(q/2)*(a+b*log(c*(d*(e+f*x)^m)^n))^(p/2)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [sqrt(g + h*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 0, Unintegrable(sqrt(g + h*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/sqrt(g + h*x), x, 0, Unintegrable(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/sqrt(g + h*x), x)]
    @test_int [sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(3/2), x, 0, Unintegrable(sqrt(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x)^(3/2), x)]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [sqrt(g + h*x)/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x, 0, Unintegrable(sqrt(g + h*x)/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [1/(sqrt(g + h*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/(sqrt(g + h*x)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [1/((g + h*x)^(3/2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)^(3/2)*sqrt(a + b*log(c*(d*(e + f*x)^p)^q))), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p*when*q*symbolic=#

    #= [(a + b*log(c*(d*(e + f*x)^p)^q))^3*(g + h*x)^m, x, 0, (3*a^2*b*f*p*q*(g + h*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)*(1 + m)*(2 + m)) + (6*a*b^2*p^2*q^2*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], -((f*g - e*h)/(h*(e + f*x)))))/(h*(1 + m)^3) - (6*b^3*p^3*q^3*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m, -1 - m], [-m, -m, -m], -((f*g - e*h)/(h*(e + f*x)))))/(h*(1 + m)^4) - (6*a*b^2*p*q*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, -((f*g - e*h)/(h*(e + f*x))))*log(c*(d*(e + f*x)^p)^q))/(h*(1 + m)^2) + (6*b^3*p^2*q^2*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], -((f*g - e*h)/(h*(e + f*x))))*log(c*(d*(e + f*x)^p)^q))/(h*(1 + m)^3) - (3*b^3*p*q*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, -((f*g - e*h)/(h*(e + f*x))))*log(c*(d*(e + f*x)^p)^q)^2)/(h*(1 + m)^2) + ((g + h*x)^(1 + m)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(h*(1 + m))]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2*(g + h*x)^m, x, 0, (a^2*(g + h*x)^(1 + m))/(h*(1 + m)) + (2*a*b*f*p*q*(g + h*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)*(1 + m)*(2 + m)) + (2*b^2*p^2*q^2*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricPFQ([-1 - m, -1 - m, -1 - m], [-m, -m], -((f*g - e*h)/(h*(e + f*x)))))/(h*(1 + m)^3) + (2*a*b*(g + h*x)^(1 + m)*log(c*(d*(e + f*x)^p)^q))/(h*(1 + m)) - (2*b^2*p*q*(g + h*x)^(1 + m)*((f*(g + h*x))/(h*(e + f*x)))^(-1 - m)*HypergeometricFunctions._₂F₁(-1 - m, -1 - m, -m, -((f*g - e*h)/(h*(e + f*x))))*log(c*(d*(e + f*x)^p)^q))/(h*(1 + m)^2) + (b^2*(g + h*x)^(1 + m)*log(c*(d*(e + f*x)^p)^q)^2)/(h*(1 + m))] =#
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^1*(g + h*x)^m, x, 3, (b*f*p*q*(g + h*x)^(2 + m)*HypergeometricFunctions._₂F₁(1, 2 + m, 3 + m, (f*(g + h*x))/(f*g - e*h)))/(h*(f*g - e*h)*(1 + m)*(2 + m)) + ((g + h*x)^(1 + m)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(h*(1 + m))]
    @test_int [(g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^1, x, 0, Unintegrable((g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [(g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^2, x, 0, Unintegrable((g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^2, x)]

    @test_int [(g + h*x)^m*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 0, Unintegrable((g + h*x)^m*(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x)]
    @test_int [(g + h*x)^m*(a + b*log(c*(d*(e + f*x)^p)^q))^(1/2), x, 0, Unintegrable((g + h*x)^m*sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [(g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^(1/2), x, 0, Unintegrable((g + h*x)^m/sqrt(a + b*log(c*(d*(e + f*x)^p)^q)), x)]
    @test_int [(g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x, 0, Unintegrable((g + h*x)^m/(a + b*log(c*(d*(e + f*x)^p)^q))^(3/2), x)]

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p*when*p*symbolic=#

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^n*(g + h*x)^m, x, 0, Unintegrable((g + h*x)^m*(a + b*log(c*(d*(e + f*x)^p)^q))^n, x)]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^n*(g + h*x)^2, x, 12, (3^(-1 - n)*h^2*(e + f*x)^3*Gamma(1 + n, -((3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(ℯ^((3*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(3/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f^3) + (h*(f*g - e*h)*(e + f*x)^2*Gamma(1 + n, -((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(2^n*ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f^3) + ((f*g - e*h)^2*(e + f*x)*Gamma(1 + n, -((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f^3)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^n*(g + h*x)^1, x, 9, (2^(-1 - n)*h*(e + f*x)^2*Gamma(1 + n, -((2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(ℯ^((2*a)/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(2/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f^2) + ((f*g - e*h)*(e + f*x)*Gamma(1 + n, -((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f^2)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^n*(g + h*x)^0, x, 4, ((e + f*x)*Gamma(1 + n, -((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))*(a + b*log(c*(d*(e + f*x)^p)^q))^n)/(ℯ^(a/(b*p*q))*(c*(d*(e + f*x)^p)^q)^(1/(p*q))*(-((a + b*log(c*(d*(e + f*x)^p)^q))/(b*p*q)))^n*f)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^n/(g + h*x)^1, x, 0, Unintegrable((a + b*log(c*(d*(e + f*x)^p)^q))^n/(g + h*x), x)]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(g+h*x^r)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(g+h*x^2)^q*(a+b*log(c*(d*(e+f*x)^m)^n))=#

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x^2), x, 9, ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(sqrt(-g) - sqrt(h)*x))/(f*sqrt(-g) + e*sqrt(h))))/(2*sqrt(-g)*sqrt(h)) - ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(sqrt(-g) + sqrt(h)*x))/(f*sqrt(-g) - e*sqrt(h))))/(2*sqrt(-g)*sqrt(h)) - (b*p*q*PolyLog(2, -((sqrt(h)*(e + f*x))/(f*sqrt(-g) - e*sqrt(h)))))/(2*sqrt(-g)*sqrt(h)) + (b*p*q*PolyLog(2, (sqrt(h)*(e + f*x))/(f*sqrt(-g) + e*sqrt(h))))/(2*sqrt(-g)*sqrt(h))]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/sqrt(2 + h*x^2), x, 11, (b*p*q*asinh((sqrt(h)*x)/sqrt(2))^2)/(2*sqrt(h)) - (b*p*q*asinh((sqrt(h)*x)/sqrt(2))*log(1 + (sqrt(2)*ℯ^asinh((sqrt(h)*x)/sqrt(2))*f)/(e*sqrt(h) - sqrt(2*f^2 + e^2*h))))/sqrt(h) - (b*p*q*asinh((sqrt(h)*x)/sqrt(2))*log(1 + (sqrt(2)*ℯ^asinh((sqrt(h)*x)/sqrt(2))*f)/(e*sqrt(h) + sqrt(2*f^2 + e^2*h))))/sqrt(h) + (asinh((sqrt(h)*x)/sqrt(2))*(a + b*log(c*(d*(e + f*x)^p)^q)))/sqrt(h) - (b*p*q*PolyLog(2, -((sqrt(2)*ℯ^asinh((sqrt(h)*x)/sqrt(2))*f)/(e*sqrt(h) - sqrt(2*f^2 + e^2*h)))))/sqrt(h) - (b*p*q*PolyLog(2, -((sqrt(2)*ℯ^asinh((sqrt(h)*x)/sqrt(2))*f)/(e*sqrt(h) + sqrt(2*f^2 + e^2*h)))))/sqrt(h)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/sqrt(g + h*x^2), x, 12, (b*sqrt(g)*p*q*sqrt(1 + (h*x^2)/g)*asinh((sqrt(h)*x)/sqrt(g))^2)/(2*sqrt(h)*sqrt(g + h*x^2)) - (b*sqrt(g)*p*q*sqrt(1 + (h*x^2)/g)*asinh((sqrt(h)*x)/sqrt(g))*log(1 + (ℯ^asinh((sqrt(h)*x)/sqrt(g))*f*sqrt(g))/(e*sqrt(h) - sqrt(f^2*g + e^2*h))))/(sqrt(h)*sqrt(g + h*x^2)) - (b*sqrt(g)*p*q*sqrt(1 + (h*x^2)/g)*asinh((sqrt(h)*x)/sqrt(g))*log(1 + (ℯ^asinh((sqrt(h)*x)/sqrt(g))*f*sqrt(g))/(e*sqrt(h) + sqrt(f^2*g + e^2*h))))/(sqrt(h)*sqrt(g + h*x^2)) + (sqrt(g)*sqrt(1 + (h*x^2)/g)*asinh((sqrt(h)*x)/sqrt(g))*(a + b*log(c*(d*(e + f*x)^p)^q)))/(sqrt(h)*sqrt(g + h*x^2)) - (b*sqrt(g)*p*q*sqrt(1 + (h*x^2)/g)*PolyLog(2, -((ℯ^asinh((sqrt(h)*x)/sqrt(g))*f*sqrt(g))/(e*sqrt(h) - sqrt(f^2*g + e^2*h)))))/(sqrt(h)*sqrt(g + h*x^2)) - (b*sqrt(g)*p*q*sqrt(1 + (h*x^2)/g)*PolyLog(2, -((ℯ^asinh((sqrt(h)*x)/sqrt(g))*f*sqrt(g))/(e*sqrt(h) + sqrt(f^2*g + e^2*h)))))/(sqrt(h)*sqrt(g + h*x^2))]

    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(2 + h*x)*sqrt(2 - h*x)), x, 10, (im*b*p*q*asin((h*x)/2)^2)/(2*h) - (b*p*q*asin((h*x)/2)*log(1 + (2*ℯ^(im*asin((h*x)/2))*f)/(im*e*h - sqrt(4*f^2 - e^2*h^2))))/h - (b*p*q*asin((h*x)/2)*log(1 + (2*ℯ^(im*asin((h*x)/2))*f)/(im*e*h + sqrt(4*f^2 - e^2*h^2))))/h + (asin((h*x)/2)*(a + b*log(c*(d*(e + f*x)^p)^q)))/h + (im*b*p*q*PolyLog(2, -((2*ℯ^(im*asin((h*x)/2))*f)/(im*e*h - sqrt(4*f^2 - e^2*h^2)))))/h + (im*b*p*q*PolyLog(2, -((2*ℯ^(im*asin((h*x)/2))*f)/(im*e*h + sqrt(4*f^2 - e^2*h^2)))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/(sqrt(g + h*x)*sqrt(g - h*x)), x, 12, (im*b*g*p*q*sqrt(1 - (h^2*x^2)/g^2)*asin((h*x)/g)^2)/(2*h*sqrt(g - h*x)*sqrt(g + h*x)) - (b*g*p*q*sqrt(1 - (h^2*x^2)/g^2)*asin((h*x)/g)*log(1 + (ℯ^(im*asin((h*x)/g))*f*g)/(im*e*h - sqrt(f^2*g^2 - e^2*h^2))))/(h*sqrt(g - h*x)*sqrt(g + h*x)) - (b*g*p*q*sqrt(1 - (h^2*x^2)/g^2)*asin((h*x)/g)*log(1 + (ℯ^(im*asin((h*x)/g))*f*g)/(im*e*h + sqrt(f^2*g^2 - e^2*h^2))))/(h*sqrt(g - h*x)*sqrt(g + h*x)) + (g*sqrt(1 - (h^2*x^2)/g^2)*asin((h*x)/g)*(a + b*log(c*(d*(e + f*x)^p)^q)))/(h*sqrt(g - h*x)*sqrt(g + h*x)) + (im*b*g*p*q*sqrt(1 - (h^2*x^2)/g^2)*PolyLog(2, -((ℯ^(im*asin((h*x)/g))*f*g)/(im*e*h - sqrt(f^2*g^2 - e^2*h^2)))))/(h*sqrt(g - h*x)*sqrt(g + h*x)) + (im*b*g*p*q*sqrt(1 - (h^2*x^2)/g^2)*PolyLog(2, -((ℯ^(im*asin((h*x)/g))*f*g)/(im*e*h + sqrt(f^2*g^2 - e^2*h^2)))))/(h*sqrt(g - h*x)*sqrt(g + h*x))]

    #= ::Section::Closed:: =#
    #=Integrands*of*the*form*(i+j*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p / (g+h*x)=#

    #= ::Subsection::Closed:: =#
    #=Integrands*of*the*form*(i+j*x)^q*(a+b*log(c*(d*(e+f*x)^m)^n))^p / (g+h*x)=#

    #= ::Subsubsection::Closed:: =#
    #=p>0=#

    @test_int [(i + j*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x), x, 15, (a*j*(h*i - g*j)^2*x)/h^3 - (b*j*(f*i - e*j)^2*p*q*x)/(3*f^2*h) - (b*j*(f*i - e*j)*(h*i - g*j)*p*q*x)/(2*f*h^2) - (b*j*(h*i - g*j)^2*p*q*x)/h^3 - (b*(f*i - e*j)*p*q*(i + j*x)^2)/(6*f*h) - (b*(h*i - g*j)*p*q*(i + j*x)^2)/(4*h^2) - (b*p*q*(i + j*x)^3)/(9*h) - (b*(f*i - e*j)^3*p*q*log(e + f*x))/(3*f^3*h) - (b*(f*i - e*j)^2*(h*i - g*j)*p*q*log(e + f*x))/(2*f^2*h^2) + (b*j*(h*i - g*j)^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h^3) + ((h*i - g*j)*(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*h^2) + ((i + j*x)^3*(a + b*log(c*(d*(e + f*x)^p)^q)))/(3*h) + ((h*i - g*j)^3*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/h^4 + (b*(h*i - g*j)^3*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^4]
    @test_int [(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x), x, 12, (a*j*(h*i - g*j)*x)/h^2 - (b*j*(f*i - e*j)*p*q*x)/(2*f*h) - (b*j*(h*i - g*j)*p*q*x)/h^2 - (b*p*q*(i + j*x)^2)/(4*h) - (b*(f*i - e*j)^2*p*q*log(e + f*x))/(2*f^2*h) + (b*j*(h*i - g*j)*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h^2) + ((i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*h) + ((h*i - g*j)^2*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/h^3 + (b*(h*i - g*j)^2*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^3]
    @test_int [(i + j*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x), x, 9, (a*j*x)/h - (b*j*p*q*x)/h + (b*j*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h) + ((h*i - g*j)*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/h^2 + (b*(h*i - g*j)*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^2]
    @test_int [(i + j*x)^0*(a + b*log(c*(d*(e + f*x)^p)^q))/(g + h*x), x, 4, ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/h + (b*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/((g + h*x)*(i + j*x)^1), x, 9, ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j) - ((a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j) + (b*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) - (b*p*q*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/((g + h*x)*(i + j*x)^2), x, 13, -((b*f*p*q*log(e + f*x))/((f*i - e*j)*(h*i - g*j))) + (a + b*log(c*(d*(e + f*x)^p)^q))/((h*i - g*j)*(i + j*x)) + (h*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j)^2 + (b*f*p*q*log(i + j*x))/((f*i - e*j)*(h*i - g*j)) - (h*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j)^2 + (b*h*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 - (b*h*p*q*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))/((g + h*x)*(i + j*x)^3), x, 16, -((b*f*p*q)/(2*(f*i - e*j)*(h*i - g*j)*(i + j*x))) - (b*f*h*p*q*log(e + f*x))/((f*i - e*j)*(h*i - g*j)^2) - (b*f^2*p*q*log(e + f*x))/(2*(f*i - e*j)^2*(h*i - g*j)) + (a + b*log(c*(d*(e + f*x)^p)^q))/(2*(h*i - g*j)*(i + j*x)^2) + (h*(a + b*log(c*(d*(e + f*x)^p)^q)))/((h*i - g*j)^2*(i + j*x)) + (h^2*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j)^3 + (b*f*h*p*q*log(i + j*x))/((f*i - e*j)*(h*i - g*j)^2) + (b*f^2*p*q*log(i + j*x))/(2*(f*i - e*j)^2*(h*i - g*j)) - (h^2*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j)^3 + (b*h^2*p*q*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^3 - (b*h^2*p*q*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^3]

    @test_int [(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x), x, 20, -((2*a*b*j*(f*i - e*j)*p*q*x)/(f*h)) - (2*a*b*j*(h*i - g*j)*p*q*x)/h^2 + (2*b^2*j*(f*i - e*j)*p^2*q^2*x)/(f*h) + (2*b^2*j*(h*i - g*j)*p^2*q^2*x)/h^2 + (b^2*j^2*p^2*q^2*(e + f*x)^2)/(4*f^2*h) - (2*b^2*j*(f*i - e*j)*p*q*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f^2*h) - (2*b^2*j*(h*i - g*j)*p*q*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h^2) - (b*j^2*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(2*f^2*h) + (j*(f*i - e*j)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f^2*h) + (j*(h*i - g*j)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f*h^2) + (j^2*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(2*f^2*h) + ((h*i - g*j)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/h^3 + (2*b*(h*i - g*j)^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^3 - (2*b^2*(h*i - g*j)^2*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h^3]
    @test_int [(i + j*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x), x, 11, -((2*a*b*j*p*q*x)/h) + (2*b^2*j*p^2*q^2*x)/h - (2*b^2*j*p*q*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h) + (j*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f*h) + ((h*i - g*j)*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/h^2 + (2*b*(h*i - g*j)*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^2 - (2*b^2*(h*i - g*j)*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h^2]
    @test_int [(i + j*x)^0*(a + b*log(c*(d*(e + f*x)^p)^q))^2/(g + h*x), x, 5, ((a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/h + (2*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h - (2*b^2*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/((g + h*x)*(i + j*x)^1), x, 11, ((a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j) - ((a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j) + (2*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) - (2*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j) - (2*b^2*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) + (2*b^2*p^2*q^2*PolyLog(3, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^2/((g + h*x)*(i + j*x)^2), x, 15, -((j*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/((f*i - e*j)*(h*i - g*j)*(i + j*x))) + (h*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j)^2 + (2*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*log((f*(i + j*x))/(f*i - e*j)))/((f*i - e*j)*(h*i - g*j)) - (h*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j)^2 + (2*b*h*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 + (2*b^2*f*p^2*q^2*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/((f*i - e*j)*(h*i - g*j)) - (2*b*h*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2 - (2*b^2*h*p^2*q^2*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 + (2*b^2*h*p^2*q^2*PolyLog(3, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2]

    @test_int [(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x), x, 24, (6*a*b^2*j*(f*i - e*j)*p^2*q^2*x)/(f*h) + (6*a*b^2*j*(h*i - g*j)*p^2*q^2*x)/h^2 - (6*b^3*j*(f*i - e*j)*p^3*q^3*x)/(f*h) - (6*b^3*j*(h*i - g*j)*p^3*q^3*x)/h^2 - (3*b^3*j^2*p^3*q^3*(e + f*x)^2)/(8*f^2*h) + (6*b^3*j*(f*i - e*j)*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f^2*h) + (6*b^3*j*(h*i - g*j)*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h^2) + (3*b^2*j^2*p^2*q^2*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q)))/(4*f^2*h) - (3*b*j*(f*i - e*j)*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f^2*h) - (3*b*j*(h*i - g*j)*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f*h^2) - (3*b*j^2*p*q*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(4*f^2*h) + (j*(f*i - e*j)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(f^2*h) + (j*(h*i - g*j)*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(f*h^2) + (j^2*(e + f*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(2*f^2*h) + ((h*i - g*j)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/h^3 + (3*b*(h*i - g*j)^2*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^3 - (6*b^2*(h*i - g*j)^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h^3 + (6*b^3*(h*i - g*j)^2*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/h^3]
    @test_int [(i + j*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x), x, 13, (6*a*b^2*j*p^2*q^2*x)/h - (6*b^3*j*p^3*q^3*x)/h + (6*b^3*j*p^2*q^2*(e + f*x)*log(c*(d*(e + f*x)^p)^q))/(f*h) - (3*b*j*p*q*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2)/(f*h) + (j*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/(f*h) + ((h*i - g*j)*(a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/h^2 + (3*b*(h*i - g*j)*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h^2 - (6*b^2*(h*i - g*j)*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h^2 + (6*b^3*(h*i - g*j)*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/h^2]
    @test_int [(i + j*x)^0*(a + b*log(c*(d*(e + f*x)^p)^q))^3/(g + h*x), x, 6, ((a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/h + (3*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/h - (6*b^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/h + (6*b^3*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/h]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3/((g + h*x)*(i + j*x)^1), x, 13, ((a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j) - ((a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j) + (3*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) - (3*b*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j) - (6*b^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) + (6*b^2*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j) + (6*b^3*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j) - (6*b^3*p^3*q^3*PolyLog(4, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)]
    @test_int [(a + b*log(c*(d*(e + f*x)^p)^q))^3/((g + h*x)*(i + j*x)^2), x, 18, -((j*(e + f*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^3)/((f*i - e*j)*(h*i - g*j)*(i + j*x))) + (h*(a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(g + h*x))/(f*g - e*h)))/(h*i - g*j)^2 + (3*b*f*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*log((f*(i + j*x))/(f*i - e*j)))/((f*i - e*j)*(h*i - g*j)) - (h*(a + b*log(c*(d*(e + f*x)^p)^q))^3*log((f*(i + j*x))/(f*i - e*j)))/(h*i - g*j)^2 + (3*b*h*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 + (6*b^2*f*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/((f*i - e*j)*(h*i - g*j)) - (3*b*h*p*q*(a + b*log(c*(d*(e + f*x)^p)^q))^2*PolyLog(2, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2 - (6*b^2*h*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 - (6*b^3*f*p^3*q^3*PolyLog(3, -((j*(e + f*x))/(f*i - e*j))))/((f*i - e*j)*(h*i - g*j)) + (6*b^2*h*p^2*q^2*(a + b*log(c*(d*(e + f*x)^p)^q))*PolyLog(3, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2 + (6*b^3*h*p^3*q^3*PolyLog(4, -((h*(e + f*x))/(f*g - e*h))))/(h*i - g*j)^2 - (6*b^3*h*p^3*q^3*PolyLog(4, -((j*(e + f*x))/(f*i - e*j))))/(h*i - g*j)^2]

    #= ::Subsubsection::Closed:: =#
    #=p<0=#

    @test_int [(i + j*x)^1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable((i + j*x)/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [(i + j*x)^0/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [1/((g + h*x)*(i + j*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)*(i + j*x)*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]
    @test_int [1/((g + h*x)*(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))), x, 0, Unintegrable(1/((g + h*x)*(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))), x)]

    @test_int [(i + j*x)^1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x, 0, Unintegrable((i + j*x)/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]
    @test_int [(i + j*x)^0/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x, 0, Unintegrable(1/((g + h*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]
    @test_int [1/((g + h*x)*(i + j*x)^1*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x, 0, Unintegrable(1/((g + h*x)*(i + j*x)*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]
    @test_int [1/((g + h*x)*(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x, 0, Unintegrable(1/((g + h*x)*(i + j*x)^2*(a + b*log(c*(d*(e + f*x)^p)^q))^2), x)]
    end

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