Optimal. Leaf size=23 \[ \frac {a \tan (c+d x)}{d}+\frac {b \sec (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {2669, 3767, 8} \[ \frac {a \tan (c+d x)}{d}+\frac {b \sec (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2669
Rule 3767
Rubi steps
\begin {align*} \int \sec ^2(c+d x) (a+b \sin (c+d x)) \, dx &=\frac {b \sec (c+d x)}{d}+a \int \sec ^2(c+d x) \, dx\\ &=\frac {b \sec (c+d x)}{d}-\frac {a \operatorname {Subst}(\int 1 \, dx,x,-\tan (c+d x))}{d}\\ &=\frac {b \sec (c+d x)}{d}+\frac {a \tan (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 23, normalized size = 1.00 \[ \frac {a \tan (c+d x)}{d}+\frac {b \sec (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 22, normalized size = 0.96 \[ \frac {a \sin \left (d x + c\right ) + b}{d \cos \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.82, size = 33, normalized size = 1.43 \[ -\frac {2 \, {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + b\right )}}{{\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 24, normalized size = 1.04 \[ \frac {\tan \left (d x +c \right ) a +\frac {b}{\cos \left (d x +c \right )}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 23, normalized size = 1.00 \[ \frac {a \tan \left (d x + c\right ) + \frac {b}{\cos \left (d x + c\right )}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.13, size = 22, normalized size = 0.96 \[ \frac {b+a\,\sin \left (c+d\,x\right )}{d\,\cos \left (c+d\,x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \sin {\left (c + d x \right )}\right ) \sec ^{2}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________