Optimal. Leaf size=95 \[ -\frac {a^3 2^{\frac {p}{2}+\frac {7}{2}} (\sin (c+d x)+1)^{\frac {1}{2} (-p-1)} (e \cos (c+d x))^{p+1} \, _2F_1\left (\frac {1}{2} (-p-5),\frac {p+1}{2};\frac {p+3}{2};\frac {1}{2} (1-\sin (c+d x))\right )}{d e (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2688, 69} \[ -\frac {a^3 2^{\frac {p}{2}+\frac {7}{2}} (\sin (c+d x)+1)^{\frac {1}{2} (-p-1)} (e \cos (c+d x))^{p+1} \, _2F_1\left (\frac {1}{2} (-p-5),\frac {p+1}{2};\frac {p+3}{2};\frac {1}{2} (1-\sin (c+d x))\right )}{d e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 2688
Rubi steps
\begin {align*} \int (e \cos (c+d x))^p (a+a \sin (c+d x))^3 \, dx &=\frac {\left (a^3 (e \cos (c+d x))^{1+p} (1-\sin (c+d x))^{\frac {1}{2} (-1-p)} (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}\right ) \operatorname {Subst}\left (\int (1-x)^{\frac {1}{2} (-1+p)} (1+x)^{3+\frac {1}{2} (-1+p)} \, dx,x,\sin (c+d x)\right )}{d e}\\ &=-\frac {2^{\frac {7}{2}+\frac {p}{2}} a^3 (e \cos (c+d x))^{1+p} \, _2F_1\left (\frac {1}{2} (-5-p),\frac {1+p}{2};\frac {3+p}{2};\frac {1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}}{d e (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 94, normalized size = 0.99 \[ -\frac {a^3 2^{\frac {p+7}{2}} \cos (c+d x) (\sin (c+d x)+1)^{\frac {1}{2} (-p-1)} (e \cos (c+d x))^p \, _2F_1\left (\frac {1}{2} (-p-5),\frac {p+1}{2};\frac {p+3}{2};\frac {1}{2} (1-\sin (c+d x))\right )}{d (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-{\left (3 \, a^{3} \cos \left (d x + c\right )^{2} - 4 \, a^{3} + {\left (a^{3} \cos \left (d x + c\right )^{2} - 4 \, a^{3}\right )} \sin \left (d x + c\right )\right )} \left (e \cos \left (d x + c\right )\right )^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sin \left (d x + c\right ) + a\right )}^{3} \left (e \cos \left (d x + c\right )\right )^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 5.36, size = 0, normalized size = 0.00 \[ \int \left (e \cos \left (d x +c \right )\right )^{p} \left (a +a \sin \left (d x +c \right )\right )^{3}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sin \left (d x + c\right ) + a\right )}^{3} \left (e \cos \left (d x + c\right )\right )^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (e\,\cos \left (c+d\,x\right )\right )}^p\,{\left (a+a\,\sin \left (c+d\,x\right )\right )}^3 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________