3.5 \(\int \frac {\log ^{-1+q}(c x^n)}{x} \, dx\)

Optimal. Leaf size=15 \[ \frac {\log ^q\left (c x^n\right )}{n q} \]

[Out]

ln(c*x^n)^q/n/q

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2302, 30} \[ \frac {\log ^q\left (c x^n\right )}{n q} \]

Antiderivative was successfully verified.

[In]

Int[Log[c*x^n]^(-1 + q)/x,x]

[Out]

Log[c*x^n]^q/(n*q)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2302

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/(b*n), Subst[Int[x^p, x], x, a + b*L
og[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 15, normalized size = 1.00 \[ \frac {\log ^q\left (c x^n\right )}{n q} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Log[c*x^n]^q/(n*q)

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 25, normalized size = 1.67 \[ \frac {{\left (n \log \relax (x) + \log \relax (c)\right )} {\left (n \log \relax (x) + \log \relax (c)\right )}^{q - 1}}{n q} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*x^n)^(-1+q)/x,x, algorithm="fricas")

[Out]

(n*log(x) + log(c))*(n*log(x) + log(c))^(q - 1)/(n*q)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 16, normalized size = 1.07 \[ \frac {{\left (n \log \relax (x) + \log \relax (c)\right )}^{q}}{n q} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*x^n)^(-1+q)/x,x, algorithm="giac")

[Out]

(n*log(x) + log(c))^q/(n*q)

________________________________________________________________________________________

maple [A]  time = 0.06, size = 16, normalized size = 1.07 \[ \frac {\ln \left (c \,x^{n}\right )^{q}}{n q} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*x^n)^(q-1)/x,x)

[Out]

ln(c*x^n)^q/n/q

________________________________________________________________________________________

maxima [A]  time = 0.59, size = 15, normalized size = 1.00 \[ \frac {\log \left (c x^{n}\right )^{q}}{n q} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*x^n)^(-1+q)/x,x, algorithm="maxima")

[Out]

log(c*x^n)^q/(n*q)

________________________________________________________________________________________

mupad [B]  time = 0.28, size = 15, normalized size = 1.00 \[ \frac {{\ln \left (c\,x^n\right )}^q}{n\,q} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*x^n)^(q - 1)/x,x)

[Out]

log(c*x^n)^q/(n*q)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log {\left (c x^{n} \right )}^{q - 1}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*x**n)**(-1+q)/x,x)

[Out]

Integral(log(c*x**n)**(q - 1)/x, x)

________________________________________________________________________________________