Optimal. Leaf size=27 \[ \frac {\log \left (a x^n\right ) \log ^m\left (a x^n\right )^p}{n (m p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {15, 30} \[ \frac {\log \left (a x^n\right ) \log ^m\left (a x^n\right )^p}{n (m p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 30
Rubi steps
\begin {align*} \int \frac {\log ^m\left (a x^n\right )^p}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \left (x^m\right )^p \, dx,x,\log \left (a x^n\right )\right )}{n}\\ &=\frac {\left (\log ^{-m p}\left (a x^n\right ) \log ^m\left (a x^n\right )^p\right ) \operatorname {Subst}\left (\int x^{m p} \, dx,x,\log \left (a x^n\right )\right )}{n}\\ &=\frac {\log \left (a x^n\right ) \log ^m\left (a x^n\right )^p}{n (1+m p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 27, normalized size = 1.00 \[ \frac {\log \left (a x^n\right ) \log ^m\left (a x^n\right )^p}{n (m p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 27, normalized size = 1.00 \[ \frac {{\left (n \log \relax (x) + \log \relax (a)\right )} {\left (n \log \relax (x) + \log \relax (a)\right )}^{m p}}{m n p + n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 24, normalized size = 0.89 \[ \frac {{\left (n \log \relax (x) + \log \relax (a)\right )}^{m p + 1}}{{\left (m p + 1\right )} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 2.00, size = 71, normalized size = 2.63 \[ \frac {\left (-\frac {i \pi \left (\mathrm {csgn}\left (i a \right )-\mathrm {csgn}\left (i a \,x^{n}\right )\right ) \left (\mathrm {csgn}\left (i x^{n}\right )-\mathrm {csgn}\left (i a \,x^{n}\right )\right ) \mathrm {csgn}\left (i a \,x^{n}\right )}{2}+\ln \relax (a )+\ln \left (x^{n}\right )\right )^{m p +1}}{\left (m p +1\right ) n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.38, size = 27, normalized size = 1.00 \[ \frac {\ln \left (a\,x^n\right )\,{\left ({\ln \left (a\,x^n\right )}^m\right )}^p}{n\,\left (m\,p+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (\log {\left (a x^{n} \right )}^{m}\right )^{p}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________