Optimal. Leaf size=99 \[ \frac{a^2 d (a+b x)^{n+1}}{b^3 (n+1)}-\frac{2 a d (a+b x)^{n+2}}{b^3 (n+2)}+\frac{d (a+b x)^{n+3}}{b^3 (n+3)}-\frac{c (a+b x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{b x}{a}+1\right )}{a (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0578469, antiderivative size = 99, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {1620, 65} \[ \frac{a^2 d (a+b x)^{n+1}}{b^3 (n+1)}-\frac{2 a d (a+b x)^{n+2}}{b^3 (n+2)}+\frac{d (a+b x)^{n+3}}{b^3 (n+3)}-\frac{c (a+b x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{b x}{a}+1\right )}{a (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1620
Rule 65
Rubi steps
\begin{align*} \int \frac{(a+b x)^n \left (c+d x^3\right )}{x} \, dx &=\int \left (\frac{a^2 d (a+b x)^n}{b^2}+\frac{c (a+b x)^n}{x}-\frac{2 a d (a+b x)^{1+n}}{b^2}+\frac{d (a+b x)^{2+n}}{b^2}\right ) \, dx\\ &=\frac{a^2 d (a+b x)^{1+n}}{b^3 (1+n)}-\frac{2 a d (a+b x)^{2+n}}{b^3 (2+n)}+\frac{d (a+b x)^{3+n}}{b^3 (3+n)}+c \int \frac{(a+b x)^n}{x} \, dx\\ &=\frac{a^2 d (a+b x)^{1+n}}{b^3 (1+n)}-\frac{2 a d (a+b x)^{2+n}}{b^3 (2+n)}+\frac{d (a+b x)^{3+n}}{b^3 (3+n)}-\frac{c (a+b x)^{1+n} \, _2F_1\left (1,1+n;2+n;1+\frac{b x}{a}\right )}{a (1+n)}\\ \end{align*}
Mathematica [A] time = 0.056102, size = 94, normalized size = 0.95 \[ \frac{(a+b x)^{n+1} \left (a d \left (2 a^2-2 a b (n+1) x+b^2 \left (n^2+3 n+2\right ) x^2\right )-b^3 c \left (n^2+5 n+6\right ) \, _2F_1\left (1,n+1;n+2;\frac{b x}{a}+1\right )\right )}{a b^3 (n+1) (n+2) (n+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.027, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bx+a \right ) ^{n} \left ( d{x}^{3}+c \right ) }{x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (d x^{3} + c\right )}{\left (b x + a\right )}^{n}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (d x^{3} + c\right )}{\left (b x + a\right )}^{n}}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 5.25384, size = 741, normalized size = 7.48 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (d x^{3} + c\right )}{\left (b x + a\right )}^{n}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]