Optimal. Leaf size=10 \[ \frac {\tan (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3852, 8}
\begin {gather*} \frac {\tan (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3852
Rubi steps
\begin {align*} \int \sec ^2(a+b x) \, dx &=-\frac {\text {Subst}(\int 1 \, dx,x,-\tan (a+b x))}{b}\\ &=\frac {\tan (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 11, normalized size = 1.10
method | result | size |
derivativedivides | \(\frac {\tan \left (b x +a \right )}{b}\) | \(11\) |
default | \(\frac {\tan \left (b x +a \right )}{b}\) | \(11\) |
risch | \(\frac {2 i}{b \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )}\) | \(20\) |
norman | \(-\frac {2 \tan \left (\frac {b x}{2}+\frac {a}{2}\right )}{b \left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.73, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.08, size = 18, normalized size = 1.80 \begin {gather*} \frac {\sin \left (b x + a\right )}{b \cos \left (b x + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs.
\(2 (7) = 14\).
time = 0.53, size = 58, normalized size = 5.80 \begin {gather*} \begin {cases} \tilde {\infty } x & \text {for}\: \left (a = - \frac {\pi }{2} \vee a = - b x - \frac {\pi }{2}\right ) \wedge \left (a = - b x - \frac {\pi }{2} \vee b = 0\right ) \\\frac {x}{\cos ^{2}{\left (a \right )}} & \text {for}\: b = 0 \\- \frac {2 \tan {\left (\frac {a}{2} + \frac {b x}{2} \right )}}{b \tan ^{2}{\left (\frac {a}{2} + \frac {b x}{2} \right )} - b} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.91, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.14, size = 10, normalized size = 1.00 \begin {gather*} \frac {\mathrm {tan}\left (a+b\,x\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________