Optimal. Leaf size=21 \[ \frac{\tan ^{-1}\left (\frac{a+b x}{\sqrt{c}}\right )}{b \sqrt{c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0081073, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {247, 203} \[ \frac{\tan ^{-1}\left (\frac{a+b x}{\sqrt{c}}\right )}{b \sqrt{c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 247
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{c+(a+b x)^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{c+x^2} \, dx,x,a+b x\right )}{b}\\ &=\frac{\tan ^{-1}\left (\frac{a+b x}{\sqrt{c}}\right )}{b \sqrt{c}}\\ \end{align*}
Mathematica [A] time = 0.0033573, size = 21, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{a+b x}{\sqrt{c}}\right )}{b \sqrt{c}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 28, normalized size = 1.3 \begin{align*}{\frac{1}{b}\arctan \left ({\frac{2\,{b}^{2}x+2\,ab}{2\,b}{\frac{1}{\sqrt{c}}}} \right ){\frac{1}{\sqrt{c}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.74942, size = 205, normalized size = 9.76 \begin{align*} \left [-\frac{\sqrt{-c} \log \left (\frac{b^{2} x^{2} + 2 \, a b x + a^{2} - 2 \,{\left (b x + a\right )} \sqrt{-c} - c}{b^{2} x^{2} + 2 \, a b x + a^{2} + c}\right )}{2 \, b c}, \frac{\arctan \left (\frac{b x + a}{\sqrt{c}}\right )}{b \sqrt{c}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.175442, size = 54, normalized size = 2.57 \begin{align*} \frac{- \frac{\sqrt{- \frac{1}{c}} \log{\left (x + \frac{a - c \sqrt{- \frac{1}{c}}}{b} \right )}}{2} + \frac{\sqrt{- \frac{1}{c}} \log{\left (x + \frac{a + c \sqrt{- \frac{1}{c}}}{b} \right )}}{2}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12321, size = 23, normalized size = 1.1 \begin{align*} \frac{\arctan \left (\frac{b x + a}{\sqrt{c}}\right )}{b \sqrt{c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]