Optimal. Leaf size=27 \[ \frac {2 \log \left (d+c \sqrt {a+b x^n}\right )}{b c n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {2186, 31}
\begin {gather*} \frac {2 \log \left (c \sqrt {a+b x^n}+d\right )}{b c n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 2186
Rubi steps
\begin {align*} \int \frac {x^{-1+n}}{a c+b c x^n+d \sqrt {a+b x^n}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{a c+b c x+d \sqrt {a+b x}} \, dx,x,x^n\right )}{n}\\ &=\frac {2 \text {Subst}\left (\int \frac {1}{d+c x} \, dx,x,\sqrt {a+b x^n}\right )}{b n}\\ &=\frac {2 \log \left (d+c \sqrt {a+b x^n}\right )}{b c n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 32, normalized size = 1.19 \begin {gather*} \frac {2 \log \left (b d n+b c n \sqrt {a+b x^n}\right )}{b c n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {x^{-1+n}}{a c +b c \,x^{n}+d \sqrt {a +b \,x^{n}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 61 vs.
\(2 (25) = 50\).
time = 0.28, size = 61, normalized size = 2.26 \begin {gather*} -\frac {\log \left (\frac {b x^{n} + a}{b}\right )}{b c n} + \frac {2 \, \log \left (\frac {b c x^{n} + a c + \sqrt {b x^{n} + a} d}{d}\right )}{b c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 25, normalized size = 0.93 \begin {gather*} \frac {2 \, \log \left (\sqrt {b x^{n} + a} c + d\right )}{b c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 15.59, size = 32, normalized size = 1.19 \begin {gather*} \frac {2 \left (\begin {cases} \frac {\sqrt {a + b x^{n}}}{d} & \text {for}\: c = 0 \\\frac {\log {\left (c \sqrt {a + b x^{n}} + d \right )}}{c} & \text {otherwise} \end {cases}\right )}{b n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.31, size = 26, normalized size = 0.96 \begin {gather*} \frac {2 \, \log \left ({\left | \sqrt {b x^{n} + a} c + d \right |}\right )}{b c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.35, size = 25, normalized size = 0.93 \begin {gather*} \frac {2\,\ln \left (d+c\,\sqrt {a+b\,x^n}\right )}{b\,c\,n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________