Integrand size = 46, antiderivative size = 103 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=-\frac {b^3 (3 b c-4 a d) x}{d^4}+\frac {b^4 x^2}{2 d^3}-\frac {(b c-a d)^4}{2 d^5 (c+d x)^2}+\frac {4 b (b c-a d)^3}{d^5 (c+d x)}+\frac {6 b^2 (b c-a d)^2 \log (c+d x)}{d^5} \] Output:
-b^3*(-4*a*d+3*b*c)*x/d^4+1/2*b^4*x^2/d^3-1/2*(-a*d+b*c)^4/d^5/(d*x+c)^2+4 *b*(-a*d+b*c)^3/d^5/(d*x+c)+6*b^2*(-a*d+b*c)^2*ln(d*x+c)/d^5
Time = 0.01 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.62 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {-a^4 d^4-4 a^3 b d^3 (c+2 d x)+6 a^2 b^2 c d^2 (3 c+4 d x)+4 a b^3 d \left (-5 c^3-4 c^2 d x+4 c d^2 x^2+2 d^3 x^3\right )+b^4 \left (7 c^4+2 c^3 d x-11 c^2 d^2 x^2-4 c d^3 x^3+d^4 x^4\right )+12 b^2 (b c-a d)^2 (c+d x)^2 \log (c+d x)}{2 d^5 (c+d x)^2} \] Input:
Integrate[(a^4 + 4*a^3*b*x + 6*a^2*b^2*x^2 + 4*a*b^3*x^3 + b^4*x^4)/(c + d *x)^3,x]
Output:
(-(a^4*d^4) - 4*a^3*b*d^3*(c + 2*d*x) + 6*a^2*b^2*c*d^2*(3*c + 4*d*x) + 4* a*b^3*d*(-5*c^3 - 4*c^2*d*x + 4*c*d^2*x^2 + 2*d^3*x^3) + b^4*(7*c^4 + 2*c^ 3*d*x - 11*c^2*d^2*x^2 - 4*c*d^3*x^3 + d^4*x^4) + 12*b^2*(b*c - a*d)^2*(c + d*x)^2*Log[c + d*x])/(2*d^5*(c + d*x)^2)
Time = 0.26 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {2006, 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 \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx\) |
\(\Big \downarrow \) 2006 |
\(\displaystyle \int \frac {(a+b x)^4}{(c+d x)^3}dx\) |
\(\Big \downarrow \) 49 |
\(\displaystyle \int \left (-\frac {b^3 (3 b c-4 a d)}{d^4}+\frac {6 b^2 (b c-a d)^2}{d^4 (c+d x)}-\frac {4 b (b c-a d)^3}{d^4 (c+d x)^2}+\frac {(a d-b c)^4}{d^4 (c+d x)^3}+\frac {b^4 x}{d^3}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {b^3 x (3 b c-4 a d)}{d^4}+\frac {6 b^2 (b c-a d)^2 \log (c+d x)}{d^5}+\frac {4 b (b c-a d)^3}{d^5 (c+d x)}-\frac {(b c-a d)^4}{2 d^5 (c+d x)^2}+\frac {b^4 x^2}{2 d^3}\) |
Input:
Int[(a^4 + 4*a^3*b*x + 6*a^2*b^2*x^2 + 4*a*b^3*x^3 + b^4*x^4)/(c + d*x)^3, x]
Output:
-((b^3*(3*b*c - 4*a*d)*x)/d^4) + (b^4*x^2)/(2*d^3) - (b*c - a*d)^4/(2*d^5* (c + d*x)^2) + (4*b*(b*c - a*d)^3)/(d^5*(c + d*x)) + (6*b^2*(b*c - a*d)^2* Log[c + d*x])/d^5
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[(u_.)*(Px_), x_Symbol] :> With[{a = Rt[Coeff[Px, x, 0], Expon[Px, x]], b = Rt[Coeff[Px, x, Expon[Px, x]], Expon[Px, x]]}, Int[u*(a + b*x)^Expon[Px , x], x] /; EqQ[Px, (a + b*x)^Expon[Px, x]]] /; PolyQ[Px, x] && GtQ[Expon[P x, x], 1] && NeQ[Coeff[Px, x, 0], 0] && !MatchQ[Px, (a_.)*(v_)^Expon[Px, x ] /; FreeQ[a, x] && LinearQ[v, x]]
Time = 0.10 (sec) , antiderivative size = 172, normalized size of antiderivative = 1.67
method | result | size |
default | \(\frac {b^{3} \left (\frac {1}{2} b d \,x^{2}+4 a d x -3 b c x \right )}{d^{4}}-\frac {4 b \left (a^{3} d^{3}-3 a^{2} b c \,d^{2}+3 a \,b^{2} c^{2} d -b^{3} c^{3}\right )}{d^{5} \left (x d +c \right )}+\frac {6 b^{2} \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \ln \left (x d +c \right )}{d^{5}}-\frac {d^{4} a^{4}-4 a^{3} b c \,d^{3}+6 a^{2} b^{2} c^{2} d^{2}-4 a \,b^{3} c^{3} d +c^{4} b^{4}}{2 d^{5} \left (x d +c \right )^{2}}\) | \(172\) |
norman | \(\frac {-\frac {d^{4} a^{4}+4 a^{3} b c \,d^{3}-18 a^{2} b^{2} c^{2} d^{2}+36 a \,b^{3} c^{3} d -18 c^{4} b^{4}}{2 d^{5}}+\frac {b^{4} x^{4}}{2 d}-\frac {2 \left (2 a^{3} b \,d^{3}-6 a^{2} b^{2} c \,d^{2}+12 a \,b^{3} c^{2} d -6 b^{4} c^{3}\right ) x}{d^{4}}+\frac {2 b^{3} \left (2 a d -b c \right ) x^{3}}{d^{2}}}{\left (x d +c \right )^{2}}+\frac {6 b^{2} \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \ln \left (x d +c \right )}{d^{5}}\) | \(178\) |
risch | \(\frac {b^{4} x^{2}}{2 d^{3}}+\frac {4 b^{3} a x}{d^{3}}-\frac {3 b^{4} c x}{d^{4}}+\frac {\left (-4 a^{3} b \,d^{3}+12 a^{2} b^{2} c \,d^{2}-12 a \,b^{3} c^{2} d +4 b^{4} c^{3}\right ) x -\frac {d^{4} a^{4}+4 a^{3} b c \,d^{3}-18 a^{2} b^{2} c^{2} d^{2}+20 a \,b^{3} c^{3} d -7 c^{4} b^{4}}{2 d}}{d^{4} \left (x d +c \right )^{2}}+\frac {6 b^{2} \ln \left (x d +c \right ) a^{2}}{d^{3}}-\frac {12 b^{3} \ln \left (x d +c \right ) a c}{d^{4}}+\frac {6 b^{4} \ln \left (x d +c \right ) c^{2}}{d^{5}}\) | \(192\) |
parallelrisch | \(\frac {d^{4} x^{4} b^{4}+12 \ln \left (x d +c \right ) x^{2} a^{2} b^{2} d^{4}-24 \ln \left (x d +c \right ) x^{2} a \,b^{3} c \,d^{3}+12 \ln \left (x d +c \right ) x^{2} b^{4} c^{2} d^{2}+8 a \,b^{3} d^{4} x^{3}-4 b^{4} c \,d^{3} x^{3}+24 \ln \left (x d +c \right ) x \,a^{2} b^{2} c \,d^{3}-48 \ln \left (x d +c \right ) x a \,b^{3} c^{2} d^{2}+24 \ln \left (x d +c \right ) x \,b^{4} c^{3} d +12 \ln \left (x d +c \right ) a^{2} b^{2} c^{2} d^{2}-24 \ln \left (x d +c \right ) a \,b^{3} c^{3} d +12 \ln \left (x d +c \right ) b^{4} c^{4}-8 a^{3} b \,d^{4} x +24 a^{2} b^{2} c \,d^{3} x -48 a \,b^{3} c^{2} d^{2} x +24 b^{4} c^{3} d x -d^{4} a^{4}-4 a^{3} b c \,d^{3}+18 a^{2} b^{2} c^{2} d^{2}-36 a \,b^{3} c^{3} d +18 c^{4} b^{4}}{2 d^{5} \left (x d +c \right )^{2}}\) | \(307\) |
Input:
int((b^4*x^4+4*a*b^3*x^3+6*a^2*b^2*x^2+4*a^3*b*x+a^4)/(d*x+c)^3,x,method=_ RETURNVERBOSE)
Output:
b^3/d^4*(1/2*b*d*x^2+4*a*d*x-3*b*c*x)-4/d^5*b*(a^3*d^3-3*a^2*b*c*d^2+3*a*b ^2*c^2*d-b^3*c^3)/(d*x+c)+6*b^2/d^5*(a^2*d^2-2*a*b*c*d+b^2*c^2)*ln(d*x+c)- 1/2*(a^4*d^4-4*a^3*b*c*d^3+6*a^2*b^2*c^2*d^2-4*a*b^3*c^3*d+b^4*c^4)/d^5/(d *x+c)^2
Leaf count of result is larger than twice the leaf count of optimal. 291 vs. \(2 (99) = 198\).
Time = 0.10 (sec) , antiderivative size = 291, normalized size of antiderivative = 2.83 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {b^{4} d^{4} x^{4} + 7 \, b^{4} c^{4} - 20 \, a b^{3} c^{3} d + 18 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} - a^{4} d^{4} - 4 \, {\left (b^{4} c d^{3} - 2 \, a b^{3} d^{4}\right )} x^{3} - {\left (11 \, b^{4} c^{2} d^{2} - 16 \, a b^{3} c d^{3}\right )} x^{2} + 2 \, {\left (b^{4} c^{3} d - 8 \, a b^{3} c^{2} d^{2} + 12 \, a^{2} b^{2} c d^{3} - 4 \, a^{3} b d^{4}\right )} x + 12 \, {\left (b^{4} c^{4} - 2 \, a b^{3} c^{3} d + a^{2} b^{2} c^{2} d^{2} + {\left (b^{4} c^{2} d^{2} - 2 \, a b^{3} c d^{3} + a^{2} b^{2} d^{4}\right )} x^{2} + 2 \, {\left (b^{4} c^{3} d - 2 \, a b^{3} c^{2} d^{2} + a^{2} b^{2} c d^{3}\right )} x\right )} \log \left (d x + c\right )}{2 \, {\left (d^{7} x^{2} + 2 \, c d^{6} x + c^{2} d^{5}\right )}} \] Input:
integrate((b^4*x^4+4*a*b^3*x^3+6*a^2*b^2*x^2+4*a^3*b*x+a^4)/(d*x+c)^3,x, a lgorithm="fricas")
Output:
1/2*(b^4*d^4*x^4 + 7*b^4*c^4 - 20*a*b^3*c^3*d + 18*a^2*b^2*c^2*d^2 - 4*a^3 *b*c*d^3 - a^4*d^4 - 4*(b^4*c*d^3 - 2*a*b^3*d^4)*x^3 - (11*b^4*c^2*d^2 - 1 6*a*b^3*c*d^3)*x^2 + 2*(b^4*c^3*d - 8*a*b^3*c^2*d^2 + 12*a^2*b^2*c*d^3 - 4 *a^3*b*d^4)*x + 12*(b^4*c^4 - 2*a*b^3*c^3*d + a^2*b^2*c^2*d^2 + (b^4*c^2*d ^2 - 2*a*b^3*c*d^3 + a^2*b^2*d^4)*x^2 + 2*(b^4*c^3*d - 2*a*b^3*c^2*d^2 + a ^2*b^2*c*d^3)*x)*log(d*x + c))/(d^7*x^2 + 2*c*d^6*x + c^2*d^5)
Time = 0.57 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.80 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {b^{4} x^{2}}{2 d^{3}} + \frac {6 b^{2} \left (a d - b c\right )^{2} \log {\left (c + d x \right )}}{d^{5}} + x \left (\frac {4 a b^{3}}{d^{3}} - \frac {3 b^{4} c}{d^{4}}\right ) + \frac {- a^{4} d^{4} - 4 a^{3} b c d^{3} + 18 a^{2} b^{2} c^{2} d^{2} - 20 a b^{3} c^{3} d + 7 b^{4} c^{4} + x \left (- 8 a^{3} b d^{4} + 24 a^{2} b^{2} c d^{3} - 24 a b^{3} c^{2} d^{2} + 8 b^{4} c^{3} d\right )}{2 c^{2} d^{5} + 4 c d^{6} x + 2 d^{7} x^{2}} \] Input:
integrate((b**4*x**4+4*a*b**3*x**3+6*a**2*b**2*x**2+4*a**3*b*x+a**4)/(d*x+ c)**3,x)
Output:
b**4*x**2/(2*d**3) + 6*b**2*(a*d - b*c)**2*log(c + d*x)/d**5 + x*(4*a*b**3 /d**3 - 3*b**4*c/d**4) + (-a**4*d**4 - 4*a**3*b*c*d**3 + 18*a**2*b**2*c**2 *d**2 - 20*a*b**3*c**3*d + 7*b**4*c**4 + x*(-8*a**3*b*d**4 + 24*a**2*b**2* c*d**3 - 24*a*b**3*c**2*d**2 + 8*b**4*c**3*d))/(2*c**2*d**5 + 4*c*d**6*x + 2*d**7*x**2)
Time = 0.05 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.85 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {7 \, b^{4} c^{4} - 20 \, a b^{3} c^{3} d + 18 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} - a^{4} d^{4} + 8 \, {\left (b^{4} c^{3} d - 3 \, a b^{3} c^{2} d^{2} + 3 \, a^{2} b^{2} c d^{3} - a^{3} b d^{4}\right )} x}{2 \, {\left (d^{7} x^{2} + 2 \, c d^{6} x + c^{2} d^{5}\right )}} + \frac {b^{4} d x^{2} - 2 \, {\left (3 \, b^{4} c - 4 \, a b^{3} d\right )} x}{2 \, d^{4}} + \frac {6 \, {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} \log \left (d x + c\right )}{d^{5}} \] Input:
integrate((b^4*x^4+4*a*b^3*x^3+6*a^2*b^2*x^2+4*a^3*b*x+a^4)/(d*x+c)^3,x, a lgorithm="maxima")
Output:
1/2*(7*b^4*c^4 - 20*a*b^3*c^3*d + 18*a^2*b^2*c^2*d^2 - 4*a^3*b*c*d^3 - a^4 *d^4 + 8*(b^4*c^3*d - 3*a*b^3*c^2*d^2 + 3*a^2*b^2*c*d^3 - a^3*b*d^4)*x)/(d ^7*x^2 + 2*c*d^6*x + c^2*d^5) + 1/2*(b^4*d*x^2 - 2*(3*b^4*c - 4*a*b^3*d)*x )/d^4 + 6*(b^4*c^2 - 2*a*b^3*c*d + a^2*b^2*d^2)*log(d*x + c)/d^5
Time = 0.12 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.78 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {6 \, {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} \log \left ({\left | d x + c \right |}\right )}{d^{5}} + \frac {b^{4} d^{3} x^{2} - 6 \, b^{4} c d^{2} x + 8 \, a b^{3} d^{3} x}{2 \, d^{6}} + \frac {7 \, b^{4} c^{4} - 20 \, a b^{3} c^{3} d + 18 \, a^{2} b^{2} c^{2} d^{2} - 4 \, a^{3} b c d^{3} - a^{4} d^{4} + 8 \, {\left (b^{4} c^{3} d - 3 \, a b^{3} c^{2} d^{2} + 3 \, a^{2} b^{2} c d^{3} - a^{3} b d^{4}\right )} x}{2 \, {\left (d x + c\right )}^{2} d^{5}} \] Input:
integrate((b^4*x^4+4*a*b^3*x^3+6*a^2*b^2*x^2+4*a^3*b*x+a^4)/(d*x+c)^3,x, a lgorithm="giac")
Output:
6*(b^4*c^2 - 2*a*b^3*c*d + a^2*b^2*d^2)*log(abs(d*x + c))/d^5 + 1/2*(b^4*d ^3*x^2 - 6*b^4*c*d^2*x + 8*a*b^3*d^3*x)/d^6 + 1/2*(7*b^4*c^4 - 20*a*b^3*c^ 3*d + 18*a^2*b^2*c^2*d^2 - 4*a^3*b*c*d^3 - a^4*d^4 + 8*(b^4*c^3*d - 3*a*b^ 3*c^2*d^2 + 3*a^2*b^2*c*d^3 - a^3*b*d^4)*x)/((d*x + c)^2*d^5)
Time = 0.04 (sec) , antiderivative size = 196, normalized size of antiderivative = 1.90 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=x\,\left (\frac {4\,a\,b^3}{d^3}-\frac {3\,b^4\,c}{d^4}\right )-\frac {\frac {a^4\,d^4+4\,a^3\,b\,c\,d^3-18\,a^2\,b^2\,c^2\,d^2+20\,a\,b^3\,c^3\,d-7\,b^4\,c^4}{2\,d}-x\,\left (-4\,a^3\,b\,d^3+12\,a^2\,b^2\,c\,d^2-12\,a\,b^3\,c^2\,d+4\,b^4\,c^3\right )}{c^2\,d^4+2\,c\,d^5\,x+d^6\,x^2}+\frac {b^4\,x^2}{2\,d^3}+\frac {\ln \left (c+d\,x\right )\,\left (6\,a^2\,b^2\,d^2-12\,a\,b^3\,c\,d+6\,b^4\,c^2\right )}{d^5} \] Input:
int((a^4 + b^4*x^4 + 4*a*b^3*x^3 + 6*a^2*b^2*x^2 + 4*a^3*b*x)/(c + d*x)^3, x)
Output:
x*((4*a*b^3)/d^3 - (3*b^4*c)/d^4) - ((a^4*d^4 - 7*b^4*c^4 - 18*a^2*b^2*c^2 *d^2 + 20*a*b^3*c^3*d + 4*a^3*b*c*d^3)/(2*d) - x*(4*b^4*c^3 - 4*a^3*b*d^3 + 12*a^2*b^2*c*d^2 - 12*a*b^3*c^2*d))/(c^2*d^4 + d^6*x^2 + 2*c*d^5*x) + (b ^4*x^2)/(2*d^3) + (log(c + d*x)*(6*b^4*c^2 + 6*a^2*b^2*d^2 - 12*a*b^3*c*d) )/d^5
Time = 0.16 (sec) , antiderivative size = 330, normalized size of antiderivative = 3.20 \[ \int \frac {a^4+4 a^3 b x+6 a^2 b^2 x^2+4 a b^3 x^3+b^4 x^4}{(c+d x)^3} \, dx=\frac {12 \,\mathrm {log}\left (d x +c \right ) a^{2} b^{2} c^{3} d^{2}+24 \,\mathrm {log}\left (d x +c \right ) a^{2} b^{2} c^{2} d^{3} x +12 \,\mathrm {log}\left (d x +c \right ) a^{2} b^{2} c \,d^{4} x^{2}-24 \,\mathrm {log}\left (d x +c \right ) a \,b^{3} c^{4} d -48 \,\mathrm {log}\left (d x +c \right ) a \,b^{3} c^{3} d^{2} x -24 \,\mathrm {log}\left (d x +c \right ) a \,b^{3} c^{2} d^{3} x^{2}+12 \,\mathrm {log}\left (d x +c \right ) b^{4} c^{5}+24 \,\mathrm {log}\left (d x +c \right ) b^{4} c^{4} d x +12 \,\mathrm {log}\left (d x +c \right ) b^{4} c^{3} d^{2} x^{2}-a^{4} c \,d^{4}+4 a^{3} b \,d^{5} x^{2}+6 a^{2} b^{2} c^{3} d^{2}-12 a^{2} b^{2} c \,d^{4} x^{2}-12 a \,b^{3} c^{4} d +24 a \,b^{3} c^{2} d^{3} x^{2}+8 a \,b^{3} c \,d^{4} x^{3}+6 b^{4} c^{5}-12 b^{4} c^{3} d^{2} x^{2}-4 b^{4} c^{2} d^{3} x^{3}+b^{4} c \,d^{4} x^{4}}{2 c \,d^{5} \left (d^{2} x^{2}+2 c d x +c^{2}\right )} \] Input:
int((b^4*x^4+4*a*b^3*x^3+6*a^2*b^2*x^2+4*a^3*b*x+a^4)/(d*x+c)^3,x)
Output:
(12*log(c + d*x)*a**2*b**2*c**3*d**2 + 24*log(c + d*x)*a**2*b**2*c**2*d**3 *x + 12*log(c + d*x)*a**2*b**2*c*d**4*x**2 - 24*log(c + d*x)*a*b**3*c**4*d - 48*log(c + d*x)*a*b**3*c**3*d**2*x - 24*log(c + d*x)*a*b**3*c**2*d**3*x **2 + 12*log(c + d*x)*b**4*c**5 + 24*log(c + d*x)*b**4*c**4*d*x + 12*log(c + d*x)*b**4*c**3*d**2*x**2 - a**4*c*d**4 + 4*a**3*b*d**5*x**2 + 6*a**2*b* *2*c**3*d**2 - 12*a**2*b**2*c*d**4*x**2 - 12*a*b**3*c**4*d + 24*a*b**3*c** 2*d**3*x**2 + 8*a*b**3*c*d**4*x**3 + 6*b**4*c**5 - 12*b**4*c**3*d**2*x**2 - 4*b**4*c**2*d**3*x**3 + b**4*c*d**4*x**4)/(2*c*d**5*(c**2 + 2*c*d*x + d* *2*x**2))