Optimal. Leaf size=94 \[ \frac{\left (b^3 c-a^3 d\right ) (a+b x)^{n+1}}{b^4 (n+1)}+\frac{3 a^2 d (a+b x)^{n+2}}{b^4 (n+2)}-\frac{3 a d (a+b x)^{n+3}}{b^4 (n+3)}+\frac{d (a+b x)^{n+4}}{b^4 (n+4)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0960538, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{\left (b^3 c-a^3 d\right ) (a+b x)^{n+1}}{b^4 (n+1)}+\frac{3 a^2 d (a+b x)^{n+2}}{b^4 (n+2)}-\frac{3 a d (a+b x)^{n+3}}{b^4 (n+3)}+\frac{d (a+b x)^{n+4}}{b^4 (n+4)} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x)^n*(c + d*x^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 24.1069, size = 83, normalized size = 0.88 \[ \frac{3 a^{2} d \left (a + b x\right )^{n + 2}}{b^{4} \left (n + 2\right )} - \frac{3 a d \left (a + b x\right )^{n + 3}}{b^{4} \left (n + 3\right )} + \frac{d \left (a + b x\right )^{n + 4}}{b^{4} \left (n + 4\right )} - \frac{\left (a + b x\right )^{n + 1} \left (a^{3} d - b^{3} c\right )}{b^{4} \left (n + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**n*(d*x**3+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.108475, size = 95, normalized size = 1.01 \[ \frac{(a+b x)^{n+1} \left (-6 a^3 d+6 a^2 b d (n+1) x-3 a b^2 d \left (n^2+3 n+2\right ) x^2+b^3 \left (n^2+5 n+6\right ) \left (c (n+4)+d (n+1) x^3\right )\right )}{b^4 (n+1) (n+2) (n+3) (n+4)} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x)^n*(c + d*x^3),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 167, normalized size = 1.8 \[ -{\frac{ \left ( bx+a \right ) ^{1+n} \left ( -{b}^{3}d{n}^{3}{x}^{3}-6\,{b}^{3}d{n}^{2}{x}^{3}+3\,a{b}^{2}d{n}^{2}{x}^{2}-11\,{b}^{3}dn{x}^{3}+9\,a{b}^{2}dn{x}^{2}-{b}^{3}c{n}^{3}-6\,d{x}^{3}{b}^{3}-6\,{a}^{2}bdnx+6\,ad{x}^{2}{b}^{2}-9\,{b}^{3}c{n}^{2}-6\,d{a}^{2}xb-26\,{b}^{3}cn+6\,{a}^{3}d-24\,{b}^{3}c \right ) }{{b}^{4} \left ({n}^{4}+10\,{n}^{3}+35\,{n}^{2}+50\,n+24 \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^n*(d*x^3+c),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^3 + c)*(b*x + a)^n,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.285765, size = 300, normalized size = 3.19 \[ \frac{{\left (a b^{3} c n^{3} + 9 \, a b^{3} c n^{2} + 26 \, a b^{3} c n + 24 \, a b^{3} c - 6 \, a^{4} d +{\left (b^{4} d n^{3} + 6 \, b^{4} d n^{2} + 11 \, b^{4} d n + 6 \, b^{4} d\right )} x^{4} +{\left (a b^{3} d n^{3} + 3 \, a b^{3} d n^{2} + 2 \, a b^{3} d n\right )} x^{3} - 3 \,{\left (a^{2} b^{2} d n^{2} + a^{2} b^{2} d n\right )} x^{2} +{\left (b^{4} c n^{3} + 9 \, b^{4} c n^{2} + 24 \, b^{4} c + 2 \,{\left (13 \, b^{4} c + 3 \, a^{3} b d\right )} n\right )} x\right )}{\left (b x + a\right )}^{n}}{b^{4} n^{4} + 10 \, b^{4} n^{3} + 35 \, b^{4} n^{2} + 50 \, b^{4} n + 24 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^3 + c)*(b*x + a)^n,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 9.16395, size = 1904, normalized size = 20.26 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**n*(d*x**3+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.268955, size = 539, normalized size = 5.73 \[ \frac{b^{4} d n^{3} x^{4} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + a b^{3} d n^{3} x^{3} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 6 \, b^{4} d n^{2} x^{4} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 3 \, a b^{3} d n^{2} x^{3} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 11 \, b^{4} d n x^{4} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + b^{4} c n^{3} x e^{\left (n{\rm ln}\left (b x + a\right )\right )} - 3 \, a^{2} b^{2} d n^{2} x^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 2 \, a b^{3} d n x^{3} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 6 \, b^{4} d x^{4} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + a b^{3} c n^{3} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 9 \, b^{4} c n^{2} x e^{\left (n{\rm ln}\left (b x + a\right )\right )} - 3 \, a^{2} b^{2} d n x^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 9 \, a b^{3} c n^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 26 \, b^{4} c n x e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 6 \, a^{3} b d n x e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 26 \, a b^{3} c n e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 24 \, b^{4} c x e^{\left (n{\rm ln}\left (b x + a\right )\right )} + 24 \, a b^{3} c e^{\left (n{\rm ln}\left (b x + a\right )\right )} - 6 \, a^{4} d e^{\left (n{\rm ln}\left (b x + a\right )\right )}}{b^{4} n^{4} + 10 \, b^{4} n^{3} + 35 \, b^{4} n^{2} + 50 \, b^{4} n + 24 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^3 + c)*(b*x + a)^n,x, algorithm="giac")
[Out]