Integrand size = 30, antiderivative size = 115 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=4 \text {RootSum}\left [b-c^2-a c \text {$\#$1}+2 c \text {$\#$1}^2+a \text {$\#$1}^3-\text {$\#$1}^4\&,\frac {-c \log \left (\sqrt {c+\sqrt {b+a x}}-\text {$\#$1}\right ) \text {$\#$1}+\log \left (\sqrt {c+\sqrt {b+a x}}-\text {$\#$1}\right ) \text {$\#$1}^3}{a c-4 c \text {$\#$1}-3 a \text {$\#$1}^2+4 \text {$\#$1}^3}\&\right ] \]
Time = 0.00 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=4 \text {RootSum}\left [b-c^2-a c \text {$\#$1}+2 c \text {$\#$1}^2+a \text {$\#$1}^3-\text {$\#$1}^4\&,\frac {-c \log \left (\sqrt {c+\sqrt {b+a x}}-\text {$\#$1}\right ) \text {$\#$1}+\log \left (\sqrt {c+\sqrt {b+a x}}-\text {$\#$1}\right ) \text {$\#$1}^3}{a c-4 c \text {$\#$1}-3 a \text {$\#$1}^2+4 \text {$\#$1}^3}\&\right ] \]
4*RootSum[b - c^2 - a*c*#1 + 2*c*#1^2 + a*#1^3 - #1^4 & , (-(c*Log[Sqrt[c + Sqrt[b + a*x]] - #1]*#1) + Log[Sqrt[c + Sqrt[b + a*x]] - #1]*#1^3)/(a*c - 4*c*#1 - 3*a*#1^2 + 4*#1^3) & ]
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}{x-\sqrt {a x+b} \sqrt {\sqrt {a x+b}+c}} \, dx\) |
\(\Big \downarrow \) 7267 |
\(\displaystyle -2 \int \frac {\sqrt {b+a x}}{a \sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}-a x}d\sqrt {b+a x}\) |
\(\Big \downarrow \) 7267 |
\(\displaystyle -4 \int -\frac {(-b+c-a x) \sqrt {c+\sqrt {b+a x}}}{b-(-b+c-a x) \left (c+\sqrt {c+\sqrt {b+a x}} \left (a-\sqrt {c+\sqrt {b+a x}}\right )\right )}d\sqrt {c+\sqrt {b+a x}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle 4 \int \frac {(-b+c-a x) \sqrt {c+\sqrt {b+a x}}}{b-(-b+c-a x) \left (c+\sqrt {c+\sqrt {b+a x}} \left (a-\sqrt {c+\sqrt {b+a x}}\right )\right )}d\sqrt {c+\sqrt {b+a x}}\) |
\(\Big \downarrow \) 2525 |
\(\displaystyle -4 \left (\frac {1}{4} \int -\frac {a (c-3 (b+a x))}{b-(-b+c-a x) \left (c+\sqrt {c+\sqrt {b+a x}} \left (a-\sqrt {c+\sqrt {b+a x}}\right )\right )}d\sqrt {c+\sqrt {b+a x}}-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -4 \left (-\frac {1}{4} \int \frac {a (c-3 (b+a x))}{b-(-b+c-a x) \left (c+\sqrt {c+\sqrt {b+a x}} \left (a-\sqrt {c+\sqrt {b+a x}}\right )\right )}d\sqrt {c+\sqrt {b+a x}}-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle -4 \left (-\frac {1}{4} a \int \frac {c-3 (b+a x)}{b-(-b+c-a x) \left (c+\sqrt {c+\sqrt {b+a x}} \left (a-\sqrt {c+\sqrt {b+a x}}\right )\right )}d\sqrt {c+\sqrt {b+a x}}-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle -4 \left (-\frac {1}{4} a \int \frac {c-3 (b+a x)}{-c^2+2 (b+a x) c-a \sqrt {c+\sqrt {b+a x}} c-(b+a x)^2+a (b+a x)^{3/2}+b}d\sqrt {c+\sqrt {b+a x}}-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -4 \left (-\frac {1}{4} a \int \left (\frac {3 (b+a x)}{c^2-2 (b+a x) c+a \sqrt {c+\sqrt {b+a x}} c+(b+a x)^2-a (b+a x)^{3/2}-b}-\frac {c}{c^2-2 (b+a x) c+a \sqrt {c+\sqrt {b+a x}} c+(b+a x)^2-a (b+a x)^{3/2}-b}\right )d\sqrt {c+\sqrt {b+a x}}-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -4 \left (-\frac {1}{4} a \left (3 \int \frac {b+a x}{c^2-2 (b+a x) c+a \sqrt {c+\sqrt {b+a x}} c+(b+a x)^2-a (b+a x)^{3/2}-b}d\sqrt {c+\sqrt {b+a x}}-c \int \frac {1}{c^2-2 (b+a x) c+a \sqrt {c+\sqrt {b+a x}} c+(b+a x)^2-a (b+a x)^{3/2}-b}d\sqrt {c+\sqrt {b+a x}}\right )-\frac {1}{4} \log \left (b-(-a x-b+c) \left (\sqrt {\sqrt {a x+b}+c} \left (a-\sqrt {\sqrt {a x+b}+c}\right )+c\right )\right )\right )\) |
3.18.13.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[(Pm_)/(Qn_), x_Symbol] :> With[{m = Expon[Pm, x], n = Expon[Qn, x]}, Si mp[Coeff[Pm, x, m]*(Log[Qn]/(n*Coeff[Qn, x, n])), x] + Simp[1/(n*Coeff[Qn, x, n]) Int[ExpandToSum[n*Coeff[Qn, x, n]*Pm - Coeff[Pm, x, m]*D[Qn, x], x ]/Qn, x], x] /; EqQ[m, n - 1]] /; PolyQ[Pm, x] && PolyQ[Qn, x]
Int[u_, x_Symbol] :> With[{lst = SubstForFractionalPowerOfLinear[u, x]}, Si mp[lst[[2]]*lst[[4]] Subst[Int[lst[[1]], x], x, lst[[3]]^(1/lst[[2]])], x ] /; !FalseQ[lst] && SubstForFractionalPowerQ[u, lst[[3]], x]]
Time = 0.38 (sec) , antiderivative size = 80, normalized size of antiderivative = 0.70
method | result | size |
derivativedivides | \(-4 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{4}-a \,\textit {\_Z}^{3}-2 c \,\textit {\_Z}^{2}+a c \textit {\_Z} +c^{2}-b \right )}{\sum }\frac {\left (-\textit {\_R}^{3}+\textit {\_R} c \right ) \ln \left (\sqrt {c +\sqrt {a x +b}}-\textit {\_R} \right )}{4 \textit {\_R}^{3}-3 \textit {\_R}^{2} a -4 \textit {\_R} c +a c}\right )\) | \(80\) |
default | \(\text {Expression too large to display}\) | \(3139\) |
-4*sum((-_R^3+_R*c)/(4*_R^3-3*_R^2*a-4*_R*c+a*c)*ln((c+(a*x+b)^(1/2))^(1/2 )-_R),_R=RootOf(_Z^4-_Z^3*a-2*_Z^2*c+_Z*a*c+c^2-b))
Exception generated. \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=\text {Exception raised: AttributeError} \]
Not integrable
Time = 21.20 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.23 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=\int \frac {1}{x - \sqrt {c + \sqrt {a x + b}} \sqrt {a x + b}}\, dx \]
Not integrable
Time = 0.29 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.25 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=\int { -\frac {1}{\sqrt {a x + b} \sqrt {c + \sqrt {a x + b}} - x} \,d x } \]
Not integrable
Time = 0.51 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.25 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=\int { -\frac {1}{\sqrt {a x + b} \sqrt {c + \sqrt {a x + b}} - x} \,d x } \]
Not integrable
Time = 0.00 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.23 \[ \int \frac {1}{x-\sqrt {b+a x} \sqrt {c+\sqrt {b+a x}}} \, dx=\int \frac {1}{x-\sqrt {c+\sqrt {b+a\,x}}\,\sqrt {b+a\,x}} \,d x \]