3.1.55 \(\int \log (c \log ^p(d x)) \, dx\) [55]

Optimal. Leaf size=22 \[ x \log \left (c \log ^p(d x)\right )-\frac {p \text {li}(d x)}{d} \]

[Out]

-p*Li(d*x)/d+x*ln(c*ln(d*x)^p)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2600, 2335} \begin {gather*} x \log \left (c \log ^p(d x)\right )-\frac {p \text {li}(d x)}{d} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

x*Log[c*Log[d*x]^p] - (p*LogIntegral[d*x])/d

Rule 2335

Int[Log[(c_.)*(x_)]^(-1), x_Symbol] :> Simp[LogIntegral[c*x]/c, x] /; FreeQ[c, x]

Rule 2600

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]

Rubi steps

\begin {align*} \int \log \left (c \log ^p(d x)\right ) \, dx &=x \log \left (c \log ^p(d x)\right )-p \int \frac {1}{\log (d x)} \, dx\\ &=x \log \left (c \log ^p(d x)\right )-\frac {p \text {li}(d x)}{d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 22, normalized size = 1.00 \begin {gather*} x \log \left (c \log ^p(d x)\right )-\frac {p \text {li}(d x)}{d} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

x*Log[c*Log[d*x]^p] - (p*LogIntegral[d*x])/d

________________________________________________________________________________________

Maple [A]
time = 0.03, size = 26, normalized size = 1.18

method result size
default \(x \ln \left (c \ln \left (d x \right )^{p}\right )+\frac {p \expIntegral \left (1, -\ln \left (d x \right )\right )}{d}\) \(26\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*ln(d*x)^p),x,method=_RETURNVERBOSE)

[Out]

x*ln(c*ln(d*x)^p)+p/d*Ei(1,-ln(d*x))

________________________________________________________________________________________

Maxima [A]
time = 0.34, size = 23, normalized size = 1.05 \begin {gather*} x \log \left (c \log \left (d x\right )^{p}\right ) - \frac {p {\rm Ei}\left (\log \left (d x\right )\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [A]
time = 0.34, size = 26, normalized size = 1.18 \begin {gather*} \frac {d p x \log \left (\log \left (d x\right )\right ) + d x \log \left (c\right ) - p \operatorname {log\_integral}\left (d x\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.57, size = 19, normalized size = 0.86 \begin {gather*} x \log {\left (c \log {\left (d x \right )}^{p} \right )} - \frac {p \operatorname {li}{\left (d x \right )}}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x*log(c*log(d*x)**p) - p*li(d*x)/d

________________________________________________________________________________________

Giac [A]
time = 4.95, size = 26, normalized size = 1.18 \begin {gather*} p x \log \left (\log \left (d\right ) + \log \left (x\right )\right ) + x \log \left (c\right ) - \frac {p {\rm Ei}\left (\log \left (d\right ) + \log \left (x\right )\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 0.31, size = 22, normalized size = 1.00 \begin {gather*} x\,\ln \left (c\,{\ln \left (d\,x\right )}^p\right )-\frac {p\,\mathrm {logint}\left (d\,x\right )}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*log(d*x)^p),x)

[Out]

x*log(c*log(d*x)^p) - (p*logint(d*x))/d

________________________________________________________________________________________