Optimal. Leaf size=19 \[ \log \left (a x^{-1+m}+b \log ^q\left (c x^n\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 45, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.044, Rules used = {2641, 2621}
\begin {gather*} \log \left (a x^{m-1}+b \log ^q\left (c x^n\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2621
Rule 2641
Rubi steps
\begin {align*} \int \frac {a (-1+m) x^{-1+m}+b n q \log ^{-1+q}\left (c x^n\right )}{a x^m+b x \log ^q\left (c x^n\right )} \, dx &=\int \frac {a (-1+m) x^{-1+m}+b n q \log ^{-1+q}\left (c x^n\right )}{x \left (a x^{-1+m}+b \log ^q\left (c x^n\right )\right )} \, dx\\ &=\log \left (a x^{-1+m}+b \log ^q\left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 23, normalized size = 1.21 \begin {gather*} -\log (x)+\log \left (a x^m+b x \log ^q\left (c x^n\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.13, size = 215, normalized size = 11.32
method | result | size |
risch | \(q \ln \left (-\frac {i \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{2}+\frac {i \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2}+\frac {i \pi \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2}-\frac {i \pi \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{2}+\ln \left (c \right )+\ln \left (x^{n}\right )\right )-q \ln \left (\ln \left (c \right )+\ln \left (x^{n}\right )-\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i x^{n}\right )\right )}{2}\right )+\ln \left (\left (\ln \left (c \right )+\ln \left (x^{n}\right )-\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i x^{n}\right )\right )}{2}\right )^{q}+\frac {a \,x^{m}}{x b}\right )\) | \(215\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.41, size = 26, normalized size = 1.37 \begin {gather*} \log \left (\frac {b x {\left (\log \left (c\right ) + \log \left (x^{n}\right )\right )}^{q} + a x^{m}}{b x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 23, normalized size = 1.21 \begin {gather*} \log \left (\frac {{\left (n \log \left (x\right ) + \log \left (c\right )\right )}^{q} b x + a x^{m}}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Giac [F]
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]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.05 \begin {gather*} \int \frac {a\,x^{m-1}\,\left (m-1\right )+b\,n\,q\,{\ln \left (c\,x^n\right )}^{q-1}}{a\,x^m+b\,x\,{\ln \left (c\,x^n\right )}^q} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________