Optimal. Leaf size=30 \[ \frac{\left (\frac{a}{b}+x\right ) \left (b^3 \left (\frac{a}{b}+x\right )^3\right )^p}{3 p+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0177064, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103, Rules used = {2067, 15, 30} \[ \frac{\left (\frac{a}{b}+x\right ) \left (b^3 \left (\frac{a}{b}+x\right )^3\right )^p}{3 p+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2067
Rule 15
Rule 30
Rubi steps
\begin{align*} \int \left (a^3+3 a^2 b x+3 a b^2 x^2+b^3 x^3\right )^p \, dx &=\operatorname{Subst}\left (\int \left (b^3 x^3\right )^p \, dx,x,\frac{a}{b}+x\right )\\ &=\left (\left (\frac{a}{b}+x\right )^{-3 p} \left (b^3 \left (\frac{a}{b}+x\right )^3\right )^p\right ) \operatorname{Subst}\left (\int x^{3 p} \, dx,x,\frac{a}{b}+x\right )\\ &=\frac{(a+b x) \left ((a+b x)^3\right )^p}{b (1+3 p)}\\ \end{align*}
Mathematica [A] time = 0.054513, size = 23, normalized size = 0.77 \[ \frac{(a+b x) \left ((a+b x)^3\right )^p}{3 b p+b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 46, normalized size = 1.5 \begin{align*}{\frac{ \left ( bx+a \right ) \left ({b}^{3}{x}^{3}+3\,a{b}^{2}{x}^{2}+3\,x{a}^{2}b+{a}^{3} \right ) ^{p}}{b \left ( 1+3\,p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.17738, size = 34, normalized size = 1.13 \begin{align*} \frac{{\left (b x + a\right )}{\left (b x + a\right )}^{3 \, p}}{b{\left (3 \, p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.25522, size = 90, normalized size = 3. \begin{align*} \frac{{\left (b x + a\right )}{\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )}^{p}}{3 \, b p + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.0984, size = 99, normalized size = 3.3 \begin{align*} \frac{{\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )}^{p} b x +{\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )}^{p} a}{3 \, b p + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]