Integrand size = 29, antiderivative size = 43 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\frac {2 \text {arcsinh}\left (\frac {\sqrt {d} \sqrt {-\frac {b (1-c)}{d}+b x}}{\sqrt {b}}\right )}{\sqrt {b} \sqrt {d}} \] Output:
2*arcsinh(d^(1/2)*(-b*(1-c)/d+b*x)^(1/2)/b^(1/2))/b^(1/2)/d^(1/2)
Time = 0.05 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.19 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\frac {2 \sqrt {-1+c+d x} \text {arctanh}\left (\frac {\sqrt {c+d x}}{\sqrt {-1+c+d x}}\right )}{d \sqrt {\frac {b (-1+c+d x)}{d}}} \] Input:
Integrate[1/(Sqrt[(-b + b*c)/d + b*x]*Sqrt[c + d*x]),x]
Output:
(2*Sqrt[-1 + c + d*x]*ArcTanh[Sqrt[c + d*x]/Sqrt[-1 + c + d*x]])/(d*Sqrt[( b*(-1 + c + d*x))/d])
Time = 0.15 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {64, 222}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{\sqrt {c+d x} \sqrt {\frac {b c-b}{d}+b x}} \, dx\) |
\(\Big \downarrow \) 64 |
\(\displaystyle \frac {2 \int \frac {1}{\sqrt {\frac {d \left (b x-\frac {b (1-c)}{d}\right )}{b}+1}}d\sqrt {b x-\frac {b (1-c)}{d}}}{b}\) |
\(\Big \downarrow \) 222 |
\(\displaystyle \frac {2 \text {arcsinh}\left (\frac {\sqrt {d} \sqrt {b x-\frac {b (1-c)}{d}}}{\sqrt {b}}\right )}{\sqrt {b} \sqrt {d}}\) |
Input:
Int[1/(Sqrt[(-b + b*c)/d + b*x]*Sqrt[c + d*x]),x]
Output:
(2*ArcSinh[(Sqrt[d]*Sqrt[-((b*(1 - c))/d) + b*x])/Sqrt[b]])/(Sqrt[b]*Sqrt[ d])
Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]), x_Symbol] :> Simp [2/b Subst[Int[1/Sqrt[c - a*(d/b) + d*(x^2/b)], x], x, Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d}, x] && GtQ[c - a*(d/b), 0] && ( !GtQ[a - c*(b/d), 0] || PosQ[b])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[Rt[b, 2]*(x/Sqrt [a])]/Rt[b, 2], x] /; FreeQ[{a, b}, x] && GtQ[a, 0] && PosQ[b]
Leaf count of result is larger than twice the leaf count of optimal. \(99\) vs. \(2(33)=66\).
Time = 0.25 (sec) , antiderivative size = 100, normalized size of antiderivative = 2.33
method | result | size |
default | \(\frac {\sqrt {\left (b x +\frac {b \left (c -1\right )}{d}\right ) \left (x d +c \right )}\, \ln \left (\frac {\frac {b \left (c -1\right )}{2}+\frac {b c}{2}+b d x}{\sqrt {d b}}+\sqrt {b d \,x^{2}+\left (b \left (c -1\right )+b c \right ) x +\frac {b \left (c -1\right ) c}{d}}\right )}{\sqrt {b x +\frac {b \left (c -1\right )}{d}}\, \sqrt {x d +c}\, \sqrt {d b}}\) | \(100\) |
Input:
int(1/((b*c-b)/d+b*x)^(1/2)/(d*x+c)^(1/2),x,method=_RETURNVERBOSE)
Output:
((b*x+b*(c-1)/d)*(d*x+c))^(1/2)/(b*x+b*(c-1)/d)^(1/2)/(d*x+c)^(1/2)*ln((1/ 2*b*(c-1)+1/2*b*c+b*d*x)/(d*b)^(1/2)+(b*d*x^2+(b*(c-1)+b*c)*x+b*(c-1)*c/d) ^(1/2))/(d*b)^(1/2)
Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (30) = 60\).
Time = 0.09 (sec) , antiderivative size = 175, normalized size of antiderivative = 4.07 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\left [\frac {\sqrt {b d} \log \left (8 \, b d^{2} x^{2} + 8 \, b c^{2} + 8 \, {\left (2 \, b c - b\right )} d x + 4 \, \sqrt {b d} {\left (2 \, d x + 2 \, c - 1\right )} \sqrt {d x + c} \sqrt {\frac {b d x + b c - b}{d}} - 8 \, b c + b\right )}{2 \, b d}, -\frac {\sqrt {-b d} \arctan \left (\frac {\sqrt {-b d} {\left (2 \, d x + 2 \, c - 1\right )} \sqrt {d x + c} \sqrt {\frac {b d x + b c - b}{d}}}{2 \, {\left (b d^{2} x^{2} + b c^{2} + {\left (2 \, b c - b\right )} d x - b c\right )}}\right )}{b d}\right ] \] Input:
integrate(1/((b*c-b)/d+b*x)^(1/2)/(d*x+c)^(1/2),x, algorithm="fricas")
Output:
[1/2*sqrt(b*d)*log(8*b*d^2*x^2 + 8*b*c^2 + 8*(2*b*c - b)*d*x + 4*sqrt(b*d) *(2*d*x + 2*c - 1)*sqrt(d*x + c)*sqrt((b*d*x + b*c - b)/d) - 8*b*c + b)/(b *d), -sqrt(-b*d)*arctan(1/2*sqrt(-b*d)*(2*d*x + 2*c - 1)*sqrt(d*x + c)*sqr t((b*d*x + b*c - b)/d)/(b*d^2*x^2 + b*c^2 + (2*b*c - b)*d*x - b*c))/(b*d)]
\[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\int \frac {1}{\sqrt {b \left (\frac {c}{d} + x - \frac {1}{d}\right )} \sqrt {c + d x}}\, dx \] Input:
integrate(1/((b*c-b)/d+b*x)**(1/2)/(d*x+c)**(1/2),x)
Output:
Integral(1/(sqrt(b*(c/d + x - 1/d))*sqrt(c + d*x)), x)
Exception generated. \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\text {Exception raised: ValueError} \] Input:
integrate(1/((b*c-b)/d+b*x)^(1/2)/(d*x+c)^(1/2),x, algorithm="maxima")
Output:
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(2*c-1>0)', see `assume?` for mor e details)
Leaf count of result is larger than twice the leaf count of optimal. 67 vs. \(2 (30) = 60\).
Time = 0.16 (sec) , antiderivative size = 67, normalized size of antiderivative = 1.56 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=-\frac {2 \, {\left | b \right |} \log \left ({\left | -\sqrt {b d^{2} x + b c d - b d} \sqrt {b d} + \sqrt {b^{2} d^{2} + {\left (b d^{2} x + b c d - b d\right )} b d} \right |}\right )}{\sqrt {b d} b} \] Input:
integrate(1/((b*c-b)/d+b*x)^(1/2)/(d*x+c)^(1/2),x, algorithm="giac")
Output:
-2*abs(b)*log(abs(-sqrt(b*d^2*x + b*c*d - b*d)*sqrt(b*d) + sqrt(b^2*d^2 + (b*d^2*x + b*c*d - b*d)*b*d)))/(sqrt(b*d)*b)
Time = 0.29 (sec) , antiderivative size = 66, normalized size of antiderivative = 1.53 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\frac {4\,\mathrm {atan}\left (-\frac {d\,\left (\sqrt {b\,x-\frac {b-b\,c}{d}}-\sqrt {-\frac {b-b\,c}{d}}\right )}{\sqrt {-b\,d}\,\left (\sqrt {c+d\,x}-\sqrt {c}\right )}\right )}{\sqrt {-b\,d}} \] Input:
int(1/((b*x - (b - b*c)/d)^(1/2)*(c + d*x)^(1/2)),x)
Output:
(4*atan(-(d*((b*x - (b - b*c)/d)^(1/2) - (-(b - b*c)/d)^(1/2)))/((-b*d)^(1 /2)*((c + d*x)^(1/2) - c^(1/2)))))/(-b*d)^(1/2)
Time = 0.16 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.63 \[ \int \frac {1}{\sqrt {\frac {-b+b c}{d}+b x} \sqrt {c+d x}} \, dx=\frac {2 \sqrt {d}\, \sqrt {b}\, \mathrm {log}\left (\sqrt {d x +c -1}+\sqrt {d x +c}\right )}{b d} \] Input:
int(1/((b*c-b)/d+b*x)^(1/2)/(d*x+c)^(1/2),x)
Output:
(2*sqrt(d)*sqrt(b)*log(sqrt(c + d*x - 1) + sqrt(c + d*x)))/(b*d)