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

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

[Out]

-a*m*CannotIntegrate(x^(-1+m)*(a*x^m+b*ln(c*x^n)^q)^p,x)/b/n/q+(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 {\log ^{-1+q}\left (c x^n\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[(Log[c*x^n]^(-1 + q)*(a*x^m + b*Log[c*x^n]^q)^p)/x,x]

[Out]

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.98, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\log ^{-1+q}\left (c x^n\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[(Log[c*x^n]^(-1 + q)*(a*x^m + b*Log[c*x^n]^q)^p)/x,x]

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.20, size = 0, normalized size = 0.00 \[\int \frac {\ln \left (c \,x^{n}\right )^{-1+q} \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(ln(c*x^n)^(-1+q)*(a*x^m+b*ln(c*x^n)^q)^p/x,x)

[Out]

int(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(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(log(c*x^n)^(-1+q)*(a*x^m+b*log(c*x^n)^q)^p/x,x, algorithm="fricas")

[Out]

integral((a*x^m + b*log(c*x^n)^q)^p*log(c*x^n)^(q - 1)/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(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(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:Evaluation time:
0.46Unable to divide, perhaps due to rounding error%%%{1,[0,0,2,5,2,0,5,0,2,1,2,2]%%%}+%%%{-2,[0,0,2,4,2,1,5,0
,1,1,2,2]%%%}+

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________