3.57 \(\int \log (c \log ^p(d x^n)) \, dx\)

Optimal. Leaf size=40 \[ x \log \left (c \log ^p\left (d x^n\right )\right )-p x \left (d x^n\right )^{-1/n} \text{Ei}\left (\frac{\log \left (d x^n\right )}{n}\right ) \]

[Out]

-((p*x*ExpIntegralEi[Log[d*x^n]/n])/(d*x^n)^n^(-1)) + x*Log[c*Log[d*x^n]^p]

________________________________________________________________________________________

Rubi [A]  time = 0.0220154, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {2520, 2300, 2178} \[ x \log \left (c \log ^p\left (d x^n\right )\right )-p x \left (d x^n\right )^{-1/n} \text{Ei}\left (\frac{\log \left (d x^n\right )}{n}\right ) \]

Antiderivative was successfully verified.

[In]

Int[Log[c*Log[d*x^n]^p],x]

[Out]

-((p*x*ExpIntegralEi[Log[d*x^n]/n])/(d*x^n)^n^(-1)) + x*Log[c*Log[d*x^n]^p]

Rule 2520

Int[Log[Log[(d_.)*(x_)^(n_.)]^(p_.)*(c_.)], x_Symbol] :> Simp[x*Log[c*Log[d*x^n]^p], x] - Dist[n*p, Int[1/Log[
d*x^n], x], x] /; FreeQ[{c, d, n, p}, x]

Rule 2300

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

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int \log \left (c \log ^p\left (d x^n\right )\right ) \, dx &=x \log \left (c \log ^p\left (d x^n\right )\right )-(n p) \int \frac{1}{\log \left (d x^n\right )} \, dx\\ &=x \log \left (c \log ^p\left (d x^n\right )\right )-\left (p x \left (d x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{x}{n}}}{x} \, dx,x,\log \left (d x^n\right )\right )\\ &=-p x \left (d x^n\right )^{-1/n} \text{Ei}\left (\frac{\log \left (d x^n\right )}{n}\right )+x \log \left (c \log ^p\left (d x^n\right )\right )\\ \end{align*}

Mathematica [A]  time = 0.020484, size = 39, normalized size = 0.98 \[ x \left (\log \left (c \log ^p\left (d x^n\right )\right )-p \left (d x^n\right )^{-1/n} \text{Ei}\left (\frac{\log \left (d x^n\right )}{n}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[Log[c*Log[d*x^n]^p],x]

[Out]

x*(-((p*ExpIntegralEi[Log[d*x^n]/n])/(d*x^n)^n^(-1)) + Log[c*Log[d*x^n]^p])

________________________________________________________________________________________

Maple [F]  time = 0.056, size = 0, normalized size = 0. \begin{align*} \int \ln \left ( c \left ( \ln \left ( d{x}^{n} \right ) \right ) ^{p} \right ) \, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*ln(d*x^n)^p),x)

[Out]

int(ln(c*ln(d*x^n)^p),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -n p \int \frac{1}{\log \left (d\right ) + \log \left (x^{n}\right )}\,{d x} + x \log \left (c\right ) + x \log \left ({\left (\log \left (d\right ) + \log \left (x^{n}\right )\right )}^{p}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*log(d*x^n)^p),x, algorithm="maxima")

[Out]

-n*p*integrate(1/(log(d) + log(x^n)), x) + x*log(c) + x*log((log(d) + log(x^n))^p)

________________________________________________________________________________________

Fricas [A]  time = 1.63322, size = 126, normalized size = 3.15 \begin{align*} \frac{d^{\left (\frac{1}{n}\right )} p x \log \left (n \log \left (x\right ) + \log \left (d\right )\right ) + d^{\left (\frac{1}{n}\right )} x \log \left (c\right ) - p \logintegral \left (d^{\left (\frac{1}{n}\right )} x\right )}{d^{\left (\frac{1}{n}\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*log(d*x^n)^p),x, algorithm="fricas")

[Out]

(d^(1/n)*p*x*log(n*log(x) + log(d)) + d^(1/n)*x*log(c) - p*log_integral(d^(1/n)*x))/d^(1/n)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \log{\left (c \log{\left (d x^{n} \right )}^{p} \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*ln(d*x**n)**p),x)

[Out]

Integral(log(c*log(d*x**n)**p), x)

________________________________________________________________________________________

Giac [A]  time = 1.21386, size = 49, normalized size = 1.22 \begin{align*} p x \log \left (n \log \left (x\right ) + \log \left (d\right )\right ) + x \log \left (c\right ) - \frac{p{\rm Ei}\left (\frac{\log \left (d\right )}{n} + \log \left (x\right )\right )}{d^{\left (\frac{1}{n}\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*log(d*x^n)^p),x, algorithm="giac")

[Out]

p*x*log(n*log(x) + log(d)) + x*log(c) - p*Ei(log(d)/n + log(x))/d^(1/n)