3.1.30 \(\int \frac {(d x^m+e \log ^{-1+q}(c x^n)) (a x^m+b \log ^q(c x^n))^p}{x} \, dx\) [30]

Optimal. Leaf size=81 \[ \frac {e \left (a x^m+b \log ^q\left (c x^n\right )\right )^{1+p}}{b n (1+p) q}+\left (d-\frac {a e m}{b n q}\right ) \text {Int}\left (x^{-1+m} \left (a x^m+b \log ^q\left (c x^n\right )\right )^p,x\right ) \]

[Out]

(d-a*e*m/b/n/q)*CannotIntegrate(x^(-1+m)*(a*x^m+b*ln(c*x^n)^q)^p,x)+e*(a*x^m+b*ln(c*x^n)^q)^(1+p)/b/n/(1+p)/q

________________________________________________________________________________________

Rubi [A]
time = 0.17, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {\left (d x^m+e \log ^{-1+q}\left (c x^n\right )\right ) \left (a x^m+b \log ^q\left (c x^n\right )\right )^p}{x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[((d*x^m + e*Log[c*x^n]^(-1 + q))*(a*x^m + b*Log[c*x^n]^q)^p)/x,x]

[Out]

(e*(a*x^m + b*Log[c*x^n]^q)^(1 + p))/(b*n*(1 + p)*q) + (d - (a*e*m)/(b*n*q))*Defer[Int][x^(-1 + m)*(a*x^m + b*
Log[c*x^n]^q)^p, x]

Rubi steps

\begin {align*} \int \frac {\left (d x^m+e \log ^{-1+q}\left (c x^n\right )\right ) \left (a x^m+b \log ^q\left (c x^n\right )\right )^p}{x} \, dx &=\frac {e \left (a x^m+b \log ^q\left (c x^n\right )\right )^{1+p}}{b n (1+p) q}-\left (-d+\frac {a e m}{b n q}\right ) \int x^{-1+m} \left (a x^m+b \log ^q\left (c x^n\right )\right )^p \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 1.41, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (d x^m+e \log ^{-1+q}\left (c x^n\right )\right ) \left (a x^m+b \log ^q\left (c x^n\right )\right )^p}{x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[((d*x^m + e*Log[c*x^n]^(-1 + q))*(a*x^m + b*Log[c*x^n]^q)^p)/x,x]

[Out]

Integrate[((d*x^m + e*Log[c*x^n]^(-1 + q))*(a*x^m + b*Log[c*x^n]^q)^p)/x, x]

________________________________________________________________________________________

Maple [A]
time = 0.09, size = 0, normalized size = 0.00 \[\int \frac {\left (d \,x^{m}+e \ln \left (c \,x^{n}\right )^{-1+q}\right ) \left (a \,x^{m}+b \ln \left (c \,x^{n}\right )^{q}\right )^{p}}{x}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^m+e*ln(c*x^n)^(-1+q))*(a*x^m+b*ln(c*x^n)^q)^p/x,x)

[Out]

int((d*x^m+e*ln(c*x^n)^(-1+q))*(a*x^m+b*ln(c*x^n)^q)^p/x,x)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^m+e*log(c*x^n)^(-1+q))*(a*x^m+b*log(c*x^n)^q)^p/x,x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: In function CAR, the value of the first argument is  0which is not
 of the expected type LIST

________________________________________________________________________________________

Fricas [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^m+e*log(c*x^n)^(-1+q))*(a*x^m+b*log(c*x^n)^q)^p/x,x, algorithm="fricas")

[Out]

integral((d*x^m + log(c*x^n)^(q - 1)*e)*(a*x^m + b*log(c*x^n)^q)^p/x, x)

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**m+e*ln(c*x**n)**(-1+q))*(a*x**m+b*ln(c*x**n)**q)**p/x,x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 3435 deep

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^m+e*log(c*x^n)^(-1+q))*(a*x^m+b*log(c*x^n)^q)^p/x,x, algorithm="giac")

[Out]

Exception raised: RuntimeError >> An error occurred running a Giac command:INPUT:sage2OUTPUT:Unable to divide,
 perhaps due to rounding error%%%{1,[0,0,2,5,2,0,5,0,2,1,2,2,1]%%%}+%%%{-2,[0,0,2,4,2,1,5,0,1,1,2,2,1]%%%}+%%%
{5,[0,0,2,4,2,

________________________________________________________________________________________

Mupad [A]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a\,x^m+b\,{\ln \left (c\,x^n\right )}^q\right )}^p\,\left (d\,x^m+e\,{\ln \left (c\,x^n\right )}^{q-1}\right )}{x} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a*x^m + b*log(c*x^n)^q)^p*(d*x^m + e*log(c*x^n)^(q - 1)))/x,x)

[Out]

int(((a*x^m + b*log(c*x^n)^q)^p*(d*x^m + e*log(c*x^n)^(q - 1)))/x, x)

________________________________________________________________________________________