Integrand size = 18, antiderivative size = 153 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=\frac {a^7 p \sqrt {x}}{4 b^7}-\frac {a^6 p x}{8 b^6}+\frac {a^5 p x^{3/2}}{12 b^5}-\frac {a^4 p x^2}{16 b^4}+\frac {a^3 p x^{5/2}}{20 b^3}-\frac {a^2 p x^3}{24 b^2}+\frac {a p x^{7/2}}{28 b}-\frac {p x^4}{32}-\frac {a^8 p \log \left (a+b \sqrt {x}\right )}{4 b^8}+\frac {1}{4} x^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \] Output:
1/4*a^7*p*x^(1/2)/b^7-1/8*a^6*p*x/b^6+1/12*a^5*p*x^(3/2)/b^5-1/16*a^4*p*x^ 2/b^4+1/20*a^3*p*x^(5/2)/b^3-1/24*a^2*p*x^3/b^2+1/28*a*p*x^(7/2)/b-1/32*p* x^4-1/4*a^8*p*ln(a+b*x^(1/2))/b^8+1/4*x^4*ln(c*(a+b*x^(1/2))^p)
Time = 0.15 (sec) , antiderivative size = 133, normalized size of antiderivative = 0.87 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=-\frac {p \left (-840 a^7 b \sqrt {x}+420 a^6 b^2 x-280 a^5 b^3 x^{3/2}+210 a^4 b^4 x^2-168 a^3 b^5 x^{5/2}+140 a^2 b^6 x^3-120 a b^7 x^{7/2}+105 b^8 x^4+840 a^8 \log \left (a+b \sqrt {x}\right )\right )}{3360 b^8}+\frac {1}{4} x^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \] Input:
Integrate[x^3*Log[c*(a + b*Sqrt[x])^p],x]
Output:
-1/3360*(p*(-840*a^7*b*Sqrt[x] + 420*a^6*b^2*x - 280*a^5*b^3*x^(3/2) + 210 *a^4*b^4*x^2 - 168*a^3*b^5*x^(5/2) + 140*a^2*b^6*x^3 - 120*a*b^7*x^(7/2) + 105*b^8*x^4 + 840*a^8*Log[a + b*Sqrt[x]]))/b^8 + (x^4*Log[c*(a + b*Sqrt[x ])^p])/4
Time = 0.54 (sec) , antiderivative size = 151, normalized size of antiderivative = 0.99, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2904, 2842, 49, 2009}
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 x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx\) |
\(\Big \downarrow \) 2904 |
\(\displaystyle 2 \int x^{7/2} \log \left (c \left (a+b \sqrt {x}\right )^p\right )d\sqrt {x}\) |
\(\Big \downarrow \) 2842 |
\(\displaystyle 2 \left (\frac {1}{8} x^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right )-\frac {1}{8} b p \int \frac {x^4}{a+b \sqrt {x}}d\sqrt {x}\right )\) |
\(\Big \downarrow \) 49 |
\(\displaystyle 2 \left (\frac {1}{8} x^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right )-\frac {1}{8} b p \int \left (\frac {a^8}{b^8 \left (a+b \sqrt {x}\right )}-\frac {a^7}{b^8}+\frac {\sqrt {x} a^6}{b^7}-\frac {x a^5}{b^6}+\frac {x^{3/2} a^4}{b^5}-\frac {x^2 a^3}{b^4}+\frac {x^{5/2} a^2}{b^3}-\frac {x^3 a}{b^2}+\frac {x^{7/2}}{b}\right )d\sqrt {x}\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle 2 \left (\frac {1}{8} x^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right )-\frac {1}{8} b p \left (\frac {a^8 \log \left (a+b \sqrt {x}\right )}{b^9}-\frac {a^7 \sqrt {x}}{b^8}+\frac {a^6 x}{2 b^7}-\frac {a^5 x^{3/2}}{3 b^6}+\frac {a^4 x^2}{4 b^5}-\frac {a^3 x^{5/2}}{5 b^4}+\frac {a^2 x^3}{6 b^3}-\frac {a x^{7/2}}{7 b^2}+\frac {x^4}{8 b}\right )\right )\) |
Input:
Int[x^3*Log[c*(a + b*Sqrt[x])^p],x]
Output:
2*(-1/8*(b*p*(-((a^7*Sqrt[x])/b^8) + (a^6*x)/(2*b^7) - (a^5*x^(3/2))/(3*b^ 6) + (a^4*x^2)/(4*b^5) - (a^3*x^(5/2))/(5*b^4) + (a^2*x^3)/(6*b^3) - (a*x^ (7/2))/(7*b^2) + x^4/(8*b) + (a^8*Log[a + b*Sqrt[x]])/b^9)) + (x^4*Log[c*( a + b*Sqrt[x])^p])/8)
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[m + n + 2, 0]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_ ))^(q_.), x_Symbol] :> Simp[(f + g*x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/( g*(q + 1))), x] - Simp[b*e*(n/(g*(q + 1))) Int[(f + g*x)^(q + 1)/(d + e*x ), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m _.), x_Symbol] :> Simp[1/n Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*L og[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p, q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) & & !(EqQ[q, 1] && ILtQ[n, 0] && IGtQ[m, 0])
Time = 0.85 (sec) , antiderivative size = 121, normalized size of antiderivative = 0.79
method | result | size |
parts | \(\frac {x^{4} \ln \left (c \left (a +b \sqrt {x}\right )^{p}\right )}{4}-\frac {p b \left (-\frac {2 \left (-\frac {x^{4} b^{7}}{8}+\frac {a \,x^{\frac {7}{2}} b^{6}}{7}-\frac {a^{2} x^{3} b^{5}}{6}+\frac {a^{3} x^{\frac {5}{2}} b^{4}}{5}-\frac {x^{2} a^{4} b^{3}}{4}+\frac {a^{5} x^{\frac {3}{2}} b^{2}}{3}-\frac {a^{6} b x}{2}+a^{7} \sqrt {x}\right )}{b^{8}}+\frac {2 a^{8} \ln \left (a +b \sqrt {x}\right )}{b^{9}}\right )}{8}\) | \(121\) |
Input:
int(x^3*ln(c*(a+b*x^(1/2))^p),x,method=_RETURNVERBOSE)
Output:
1/4*x^4*ln(c*(a+b*x^(1/2))^p)-1/8*p*b*(-2/b^8*(-1/8*x^4*b^7+1/7*a*x^(7/2)* b^6-1/6*a^2*x^3*b^5+1/5*a^3*x^(5/2)*b^4-1/4*x^2*a^4*b^3+1/3*a^5*x^(3/2)*b^ 2-1/2*a^6*b*x+a^7*x^(1/2))+2*a^8/b^9*ln(a+b*x^(1/2)))
Time = 0.09 (sec) , antiderivative size = 129, normalized size of antiderivative = 0.84 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=-\frac {105 \, b^{8} p x^{4} - 840 \, b^{8} x^{4} \log \left (c\right ) + 140 \, a^{2} b^{6} p x^{3} + 210 \, a^{4} b^{4} p x^{2} + 420 \, a^{6} b^{2} p x - 840 \, {\left (b^{8} p x^{4} - a^{8} p\right )} \log \left (b \sqrt {x} + a\right ) - 8 \, {\left (15 \, a b^{7} p x^{3} + 21 \, a^{3} b^{5} p x^{2} + 35 \, a^{5} b^{3} p x + 105 \, a^{7} b p\right )} \sqrt {x}}{3360 \, b^{8}} \] Input:
integrate(x^3*log(c*(a+b*x^(1/2))^p),x, algorithm="fricas")
Output:
-1/3360*(105*b^8*p*x^4 - 840*b^8*x^4*log(c) + 140*a^2*b^6*p*x^3 + 210*a^4* b^4*p*x^2 + 420*a^6*b^2*p*x - 840*(b^8*p*x^4 - a^8*p)*log(b*sqrt(x) + a) - 8*(15*a*b^7*p*x^3 + 21*a^3*b^5*p*x^2 + 35*a^5*b^3*p*x + 105*a^7*b*p)*sqrt (x))/b^8
Time = 9.66 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.95 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=- \frac {b p \left (\frac {2 a^{8} \left (\begin {cases} \frac {\sqrt {x}}{a} & \text {for}\: b = 0 \\\frac {\log {\left (a + b \sqrt {x} \right )}}{b} & \text {otherwise} \end {cases}\right )}{b^{8}} - \frac {2 a^{7} \sqrt {x}}{b^{8}} + \frac {a^{6} x}{b^{7}} - \frac {2 a^{5} x^{\frac {3}{2}}}{3 b^{6}} + \frac {a^{4} x^{2}}{2 b^{5}} - \frac {2 a^{3} x^{\frac {5}{2}}}{5 b^{4}} + \frac {a^{2} x^{3}}{3 b^{3}} - \frac {2 a x^{\frac {7}{2}}}{7 b^{2}} + \frac {x^{4}}{4 b}\right )}{8} + \frac {x^{4} \log {\left (c \left (a + b \sqrt {x}\right )^{p} \right )}}{4} \] Input:
integrate(x**3*ln(c*(a+b*x**(1/2))**p),x)
Output:
-b*p*(2*a**8*Piecewise((sqrt(x)/a, Eq(b, 0)), (log(a + b*sqrt(x))/b, True) )/b**8 - 2*a**7*sqrt(x)/b**8 + a**6*x/b**7 - 2*a**5*x**(3/2)/(3*b**6) + a* *4*x**2/(2*b**5) - 2*a**3*x**(5/2)/(5*b**4) + a**2*x**3/(3*b**3) - 2*a*x** (7/2)/(7*b**2) + x**4/(4*b))/8 + x**4*log(c*(a + b*sqrt(x))**p)/4
Time = 0.03 (sec) , antiderivative size = 120, normalized size of antiderivative = 0.78 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=\frac {1}{4} \, x^{4} \log \left ({\left (b \sqrt {x} + a\right )}^{p} c\right ) - \frac {1}{3360} \, b p {\left (\frac {840 \, a^{8} \log \left (b \sqrt {x} + a\right )}{b^{9}} + \frac {105 \, b^{7} x^{4} - 120 \, a b^{6} x^{\frac {7}{2}} + 140 \, a^{2} b^{5} x^{3} - 168 \, a^{3} b^{4} x^{\frac {5}{2}} + 210 \, a^{4} b^{3} x^{2} - 280 \, a^{5} b^{2} x^{\frac {3}{2}} + 420 \, a^{6} b x - 840 \, a^{7} \sqrt {x}}{b^{8}}\right )} \] Input:
integrate(x^3*log(c*(a+b*x^(1/2))^p),x, algorithm="maxima")
Output:
1/4*x^4*log((b*sqrt(x) + a)^p*c) - 1/3360*b*p*(840*a^8*log(b*sqrt(x) + a)/ b^9 + (105*b^7*x^4 - 120*a*b^6*x^(7/2) + 140*a^2*b^5*x^3 - 168*a^3*b^4*x^( 5/2) + 210*a^4*b^3*x^2 - 280*a^5*b^2*x^(3/2) + 420*a^6*b*x - 840*a^7*sqrt( x))/b^8)
Leaf count of result is larger than twice the leaf count of optimal. 339 vs. \(2 (121) = 242\).
Time = 0.13 (sec) , antiderivative size = 339, normalized size of antiderivative = 2.22 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=\frac {840 \, b x^{4} \log \left (c\right ) + {\left (\frac {840 \, {\left (b \sqrt {x} + a\right )}^{8} \log \left (b \sqrt {x} + a\right )}{b^{7}} - \frac {6720 \, {\left (b \sqrt {x} + a\right )}^{7} a \log \left (b \sqrt {x} + a\right )}{b^{7}} + \frac {23520 \, {\left (b \sqrt {x} + a\right )}^{6} a^{2} \log \left (b \sqrt {x} + a\right )}{b^{7}} - \frac {47040 \, {\left (b \sqrt {x} + a\right )}^{5} a^{3} \log \left (b \sqrt {x} + a\right )}{b^{7}} + \frac {58800 \, {\left (b \sqrt {x} + a\right )}^{4} a^{4} \log \left (b \sqrt {x} + a\right )}{b^{7}} - \frac {47040 \, {\left (b \sqrt {x} + a\right )}^{3} a^{5} \log \left (b \sqrt {x} + a\right )}{b^{7}} + \frac {23520 \, {\left (b \sqrt {x} + a\right )}^{2} a^{6} \log \left (b \sqrt {x} + a\right )}{b^{7}} - \frac {6720 \, {\left (b \sqrt {x} + a\right )} a^{7} \log \left (b \sqrt {x} + a\right )}{b^{7}} - \frac {105 \, {\left (b \sqrt {x} + a\right )}^{8}}{b^{7}} + \frac {960 \, {\left (b \sqrt {x} + a\right )}^{7} a}{b^{7}} - \frac {3920 \, {\left (b \sqrt {x} + a\right )}^{6} a^{2}}{b^{7}} + \frac {9408 \, {\left (b \sqrt {x} + a\right )}^{5} a^{3}}{b^{7}} - \frac {14700 \, {\left (b \sqrt {x} + a\right )}^{4} a^{4}}{b^{7}} + \frac {15680 \, {\left (b \sqrt {x} + a\right )}^{3} a^{5}}{b^{7}} - \frac {11760 \, {\left (b \sqrt {x} + a\right )}^{2} a^{6}}{b^{7}} + \frac {6720 \, {\left (b \sqrt {x} + a\right )} a^{7}}{b^{7}}\right )} p}{3360 \, b} \] Input:
integrate(x^3*log(c*(a+b*x^(1/2))^p),x, algorithm="giac")
Output:
1/3360*(840*b*x^4*log(c) + (840*(b*sqrt(x) + a)^8*log(b*sqrt(x) + a)/b^7 - 6720*(b*sqrt(x) + a)^7*a*log(b*sqrt(x) + a)/b^7 + 23520*(b*sqrt(x) + a)^6 *a^2*log(b*sqrt(x) + a)/b^7 - 47040*(b*sqrt(x) + a)^5*a^3*log(b*sqrt(x) + a)/b^7 + 58800*(b*sqrt(x) + a)^4*a^4*log(b*sqrt(x) + a)/b^7 - 47040*(b*sqr t(x) + a)^3*a^5*log(b*sqrt(x) + a)/b^7 + 23520*(b*sqrt(x) + a)^2*a^6*log(b *sqrt(x) + a)/b^7 - 6720*(b*sqrt(x) + a)*a^7*log(b*sqrt(x) + a)/b^7 - 105* (b*sqrt(x) + a)^8/b^7 + 960*(b*sqrt(x) + a)^7*a/b^7 - 3920*(b*sqrt(x) + a) ^6*a^2/b^7 + 9408*(b*sqrt(x) + a)^5*a^3/b^7 - 14700*(b*sqrt(x) + a)^4*a^4/ b^7 + 15680*(b*sqrt(x) + a)^3*a^5/b^7 - 11760*(b*sqrt(x) + a)^2*a^6/b^7 + 6720*(b*sqrt(x) + a)*a^7/b^7)*p)/b
Time = 15.11 (sec) , antiderivative size = 121, normalized size of antiderivative = 0.79 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=\frac {x^4\,\ln \left (c\,{\left (a+b\,\sqrt {x}\right )}^p\right )}{4}-\frac {p\,x^4}{32}-\frac {a^8\,p\,\ln \left (a+b\,\sqrt {x}\right )}{4\,b^8}-\frac {a^2\,p\,x^3}{24\,b^2}-\frac {a^4\,p\,x^2}{16\,b^4}+\frac {a^3\,p\,x^{5/2}}{20\,b^3}+\frac {a^5\,p\,x^{3/2}}{12\,b^5}+\frac {a^7\,p\,\sqrt {x}}{4\,b^7}+\frac {a\,p\,x^{7/2}}{28\,b}-\frac {a^6\,p\,x}{8\,b^6} \] Input:
int(x^3*log(c*(a + b*x^(1/2))^p),x)
Output:
(x^4*log(c*(a + b*x^(1/2))^p))/4 - (p*x^4)/32 - (a^8*p*log(a + b*x^(1/2))) /(4*b^8) - (a^2*p*x^3)/(24*b^2) - (a^4*p*x^2)/(16*b^4) + (a^3*p*x^(5/2))/( 20*b^3) + (a^5*p*x^(3/2))/(12*b^5) + (a^7*p*x^(1/2))/(4*b^7) + (a*p*x^(7/2 ))/(28*b) - (a^6*p*x)/(8*b^6)
Time = 0.15 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.86 \[ \int x^3 \log \left (c \left (a+b \sqrt {x}\right )^p\right ) \, dx=\frac {840 \sqrt {x}\, a^{7} b p +280 \sqrt {x}\, a^{5} b^{3} p x +168 \sqrt {x}\, a^{3} b^{5} p \,x^{2}+120 \sqrt {x}\, a \,b^{7} p \,x^{3}-840 \,\mathrm {log}\left (\left (\sqrt {x}\, b +a \right )^{p} c \right ) a^{8}+840 \,\mathrm {log}\left (\left (\sqrt {x}\, b +a \right )^{p} c \right ) b^{8} x^{4}-420 a^{6} b^{2} p x -210 a^{4} b^{4} p \,x^{2}-140 a^{2} b^{6} p \,x^{3}-105 b^{8} p \,x^{4}}{3360 b^{8}} \] Input:
int(x^3*log(c*(a+b*x^(1/2))^p),x)
Output:
(840*sqrt(x)*a**7*b*p + 280*sqrt(x)*a**5*b**3*p*x + 168*sqrt(x)*a**3*b**5* p*x**2 + 120*sqrt(x)*a*b**7*p*x**3 - 840*log((sqrt(x)*b + a)**p*c)*a**8 + 840*log((sqrt(x)*b + a)**p*c)*b**8*x**4 - 420*a**6*b**2*p*x - 210*a**4*b** 4*p*x**2 - 140*a**2*b**6*p*x**3 - 105*b**8*p*x**4)/(3360*b**8)