Integrand size = 14, antiderivative size = 105 \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right )}{\sqrt {b} d}+\frac {\sqrt {2 \pi } \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{\sqrt {b} d} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4887, 4719, 3387, 3386, 3432, 3385, 3433} \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right )}{\sqrt {b} d}+\frac {\sqrt {2 \pi } \sin \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right )}{\sqrt {b} d} \]
[In]
[Out]
Rule 3385
Rule 3386
Rule 3387
Rule 3432
Rule 3433
Rule 4719
Rule 4887
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\sqrt {a+b \arcsin (x)}} \, dx,x,c+d x\right )}{d} \\ & = \frac {\text {Subst}\left (\int \frac {\cos \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arcsin (c+d x)\right )}{b d} \\ & = \frac {\cos \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arcsin (c+d x)\right )}{b d}+\frac {\sin \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arcsin (c+d x)\right )}{b d} \\ & = \frac {\left (2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arcsin (c+d x)}\right )}{b d}+\frac {\left (2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arcsin (c+d x)}\right )}{b d} \\ & = \frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right )}{\sqrt {b} d}+\frac {\sqrt {2 \pi } \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arcsin (c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{\sqrt {b} d} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.13 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.25 \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\frac {i e^{-\frac {i a}{b}} \left (-\sqrt {-\frac {i (a+b \arcsin (c+d x))}{b}} \Gamma \left (\frac {1}{2},-\frac {i (a+b \arcsin (c+d x))}{b}\right )+e^{\frac {2 i a}{b}} \sqrt {\frac {i (a+b \arcsin (c+d x))}{b}} \Gamma \left (\frac {1}{2},\frac {i (a+b \arcsin (c+d x))}{b}\right )\right )}{2 d \sqrt {a+b \arcsin (c+d x)}} \]
[In]
[Out]
Time = 0.53 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.90
method | result | size |
default | \(\frac {\sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, \left (\cos \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right )-\sin \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right )\right )}{d}\) | \(94\) |
[In]
[Out]
Exception generated. \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\int \frac {1}{\sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\int { \frac {1}{\sqrt {b \arcsin \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.38 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.59 \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=-\frac {\sqrt {\pi } \operatorname {erf}\left (-\frac {i \, \sqrt {2} \sqrt {b \arcsin \left (d x + c\right ) + a}}{2 \, \sqrt {{\left | b \right |}}} - \frac {\sqrt {2} \sqrt {b \arcsin \left (d x + c\right ) + a} \sqrt {{\left | b \right |}}}{2 \, b}\right ) e^{\left (\frac {i \, a}{b}\right )}}{d {\left (\frac {i \, \sqrt {2} b}{\sqrt {{\left | b \right |}}} + \sqrt {2} \sqrt {{\left | b \right |}}\right )}} - \frac {\sqrt {\pi } \operatorname {erf}\left (\frac {i \, \sqrt {2} \sqrt {b \arcsin \left (d x + c\right ) + a}}{2 \, \sqrt {{\left | b \right |}}} - \frac {\sqrt {2} \sqrt {b \arcsin \left (d x + c\right ) + a} \sqrt {{\left | b \right |}}}{2 \, b}\right ) e^{\left (-\frac {i \, a}{b}\right )}}{d {\left (-\frac {i \, \sqrt {2} b}{\sqrt {{\left | b \right |}}} + \sqrt {2} \sqrt {{\left | b \right |}}\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {a+b \arcsin (c+d x)}} \, dx=\int \frac {1}{\sqrt {a+b\,\mathrm {asin}\left (c+d\,x\right )}} \,d x \]
[In]
[Out]