Integrand size = 15, antiderivative size = 232 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=-\frac {b^8 (8 b c-9 a d) x}{d^9}+\frac {b^9 x^2}{2 d^8}+\frac {(b c-a d)^9}{7 d^{10} (c+d x)^7}-\frac {3 b (b c-a d)^8}{2 d^{10} (c+d x)^6}+\frac {36 b^2 (b c-a d)^7}{5 d^{10} (c+d x)^5}-\frac {21 b^3 (b c-a d)^6}{d^{10} (c+d x)^4}+\frac {42 b^4 (b c-a d)^5}{d^{10} (c+d x)^3}-\frac {63 b^5 (b c-a d)^4}{d^{10} (c+d x)^2}+\frac {84 b^6 (b c-a d)^3}{d^{10} (c+d x)}+\frac {36 b^7 (b c-a d)^2 \log (c+d x)}{d^{10}} \] Output:
-b^8*(-9*a*d+8*b*c)*x/d^9+1/2*b^9*x^2/d^8+1/7*(-a*d+b*c)^9/d^10/(d*x+c)^7- 3/2*b*(-a*d+b*c)^8/d^10/(d*x+c)^6+36/5*b^2*(-a*d+b*c)^7/d^10/(d*x+c)^5-21* b^3*(-a*d+b*c)^6/d^10/(d*x+c)^4+42*b^4*(-a*d+b*c)^5/d^10/(d*x+c)^3-63*b^5* (-a*d+b*c)^4/d^10/(d*x+c)^2+84*b^6*(-a*d+b*c)^3/d^10/(d*x+c)+36*b^7*(-a*d+ b*c)^2*ln(d*x+c)/d^10
Leaf count is larger than twice the leaf count of optimal. \(584\) vs. \(2(232)=464\).
Time = 0.15 (sec) , antiderivative size = 584, normalized size of antiderivative = 2.52 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=-\frac {10 a^9 d^9+15 a^8 b d^8 (c+7 d x)+24 a^7 b^2 d^7 \left (c^2+7 c d x+21 d^2 x^2\right )+42 a^6 b^3 d^6 \left (c^3+7 c^2 d x+21 c d^2 x^2+35 d^3 x^3\right )+84 a^5 b^4 d^5 \left (c^4+7 c^3 d x+21 c^2 d^2 x^2+35 c d^3 x^3+35 d^4 x^4\right )+210 a^4 b^5 d^4 \left (c^5+7 c^4 d x+21 c^3 d^2 x^2+35 c^2 d^3 x^3+35 c d^4 x^4+21 d^5 x^5\right )+840 a^3 b^6 d^3 \left (c^6+7 c^5 d x+21 c^4 d^2 x^2+35 c^3 d^3 x^3+35 c^2 d^4 x^4+21 c d^5 x^5+7 d^6 x^6\right )-6 a^2 b^7 c d^2 \left (1089 c^6+7203 c^5 d x+20139 c^4 d^2 x^2+30625 c^3 d^3 x^3+26950 c^2 d^4 x^4+13230 c d^5 x^5+2940 d^6 x^6\right )+6 a b^8 d \left (1443 c^8+9261 c^7 d x+24843 c^6 d^2 x^2+35525 c^5 d^3 x^3+28175 c^4 d^4 x^4+11025 c^3 d^5 x^5+735 c^2 d^6 x^6-735 c d^7 x^7-105 d^8 x^8\right )-b^9 \left (3349 c^9+20923 c^8 d x+53949 c^7 d^2 x^2+72275 c^6 d^3 x^3+50225 c^5 d^4 x^4+12495 c^4 d^5 x^5-4655 c^3 d^6 x^6-3185 c^2 d^7 x^7-315 c d^8 x^8+35 d^9 x^9\right )-2520 b^7 (b c-a d)^2 (c+d x)^7 \log (c+d x)}{70 d^{10} (c+d x)^7} \] Input:
Integrate[(a + b*x)^9/(c + d*x)^8,x]
Output:
-1/70*(10*a^9*d^9 + 15*a^8*b*d^8*(c + 7*d*x) + 24*a^7*b^2*d^7*(c^2 + 7*c*d *x + 21*d^2*x^2) + 42*a^6*b^3*d^6*(c^3 + 7*c^2*d*x + 21*c*d^2*x^2 + 35*d^3 *x^3) + 84*a^5*b^4*d^5*(c^4 + 7*c^3*d*x + 21*c^2*d^2*x^2 + 35*c*d^3*x^3 + 35*d^4*x^4) + 210*a^4*b^5*d^4*(c^5 + 7*c^4*d*x + 21*c^3*d^2*x^2 + 35*c^2*d ^3*x^3 + 35*c*d^4*x^4 + 21*d^5*x^5) + 840*a^3*b^6*d^3*(c^6 + 7*c^5*d*x + 2 1*c^4*d^2*x^2 + 35*c^3*d^3*x^3 + 35*c^2*d^4*x^4 + 21*c*d^5*x^5 + 7*d^6*x^6 ) - 6*a^2*b^7*c*d^2*(1089*c^6 + 7203*c^5*d*x + 20139*c^4*d^2*x^2 + 30625*c ^3*d^3*x^3 + 26950*c^2*d^4*x^4 + 13230*c*d^5*x^5 + 2940*d^6*x^6) + 6*a*b^8 *d*(1443*c^8 + 9261*c^7*d*x + 24843*c^6*d^2*x^2 + 35525*c^5*d^3*x^3 + 2817 5*c^4*d^4*x^4 + 11025*c^3*d^5*x^5 + 735*c^2*d^6*x^6 - 735*c*d^7*x^7 - 105* d^8*x^8) - b^9*(3349*c^9 + 20923*c^8*d*x + 53949*c^7*d^2*x^2 + 72275*c^6*d ^3*x^3 + 50225*c^5*d^4*x^4 + 12495*c^4*d^5*x^5 - 4655*c^3*d^6*x^6 - 3185*c ^2*d^7*x^7 - 315*c*d^8*x^8 + 35*d^9*x^9) - 2520*b^7*(b*c - a*d)^2*(c + d*x )^7*Log[c + d*x])/(d^10*(c + d*x)^7)
Time = 0.53 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {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+b x)^9}{(c+d x)^8} \, dx\) |
\(\Big \downarrow \) 49 |
\(\displaystyle \int \left (-\frac {b^8 (8 b c-9 a d)}{d^9}+\frac {36 b^7 (b c-a d)^2}{d^9 (c+d x)}-\frac {84 b^6 (b c-a d)^3}{d^9 (c+d x)^2}+\frac {126 b^5 (b c-a d)^4}{d^9 (c+d x)^3}-\frac {126 b^4 (b c-a d)^5}{d^9 (c+d x)^4}+\frac {84 b^3 (b c-a d)^6}{d^9 (c+d x)^5}-\frac {36 b^2 (b c-a d)^7}{d^9 (c+d x)^6}+\frac {9 b (b c-a d)^8}{d^9 (c+d x)^7}+\frac {(a d-b c)^9}{d^9 (c+d x)^8}+\frac {b^9 x}{d^8}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {b^8 x (8 b c-9 a d)}{d^9}+\frac {36 b^7 (b c-a d)^2 \log (c+d x)}{d^{10}}+\frac {84 b^6 (b c-a d)^3}{d^{10} (c+d x)}-\frac {63 b^5 (b c-a d)^4}{d^{10} (c+d x)^2}+\frac {42 b^4 (b c-a d)^5}{d^{10} (c+d x)^3}-\frac {21 b^3 (b c-a d)^6}{d^{10} (c+d x)^4}+\frac {36 b^2 (b c-a d)^7}{5 d^{10} (c+d x)^5}-\frac {3 b (b c-a d)^8}{2 d^{10} (c+d x)^6}+\frac {(b c-a d)^9}{7 d^{10} (c+d x)^7}+\frac {b^9 x^2}{2 d^8}\) |
Input:
Int[(a + b*x)^9/(c + d*x)^8,x]
Output:
-((b^8*(8*b*c - 9*a*d)*x)/d^9) + (b^9*x^2)/(2*d^8) + (b*c - a*d)^9/(7*d^10 *(c + d*x)^7) - (3*b*(b*c - a*d)^8)/(2*d^10*(c + d*x)^6) + (36*b^2*(b*c - a*d)^7)/(5*d^10*(c + d*x)^5) - (21*b^3*(b*c - a*d)^6)/(d^10*(c + d*x)^4) + (42*b^4*(b*c - a*d)^5)/(d^10*(c + d*x)^3) - (63*b^5*(b*c - a*d)^4)/(d^10* (c + d*x)^2) + (84*b^6*(b*c - a*d)^3)/(d^10*(c + d*x)) + (36*b^7*(b*c - a* d)^2*Log[c + d*x])/d^10
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]
Leaf count of result is larger than twice the leaf count of optimal. \(704\) vs. \(2(224)=448\).
Time = 0.14 (sec) , antiderivative size = 705, normalized size of antiderivative = 3.04
method | result | size |
default | \(\frac {b^{8} \left (\frac {1}{2} b d \,x^{2}+9 a d x -8 b c x \right )}{d^{9}}-\frac {3 b \left (a^{8} d^{8}-8 a^{7} b c \,d^{7}+28 a^{6} b^{2} c^{2} d^{6}-56 a^{5} b^{3} d^{5} c^{3}+70 a^{4} b^{4} d^{4} c^{4}-56 a^{3} b^{5} d^{3} c^{5}+28 a^{2} b^{6} c^{6} d^{2}-8 a \,b^{7} c^{7} d +c^{8} b^{8}\right )}{2 d^{10} \left (x d +c \right )^{6}}-\frac {36 b^{2} \left (a^{7} d^{7}-7 a^{6} b c \,d^{6}+21 a^{5} b^{2} c^{2} d^{5}-35 a^{4} b^{3} c^{3} d^{4}+35 a^{3} b^{4} c^{4} d^{3}-21 a^{2} b^{5} c^{5} d^{2}+7 a \,b^{6} c^{6} d -b^{7} c^{7}\right )}{5 d^{10} \left (x d +c \right )^{5}}-\frac {84 b^{6} \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^{10} \left (x d +c \right )}+\frac {36 b^{7} \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \ln \left (x d +c \right )}{d^{10}}-\frac {a^{9} d^{9}-9 a^{8} b \,d^{8} c +36 a^{7} b^{2} c^{2} d^{7}-84 a^{6} b^{3} d^{6} c^{3}+126 a^{5} b^{4} d^{5} c^{4}-126 a^{4} b^{5} d^{4} c^{5}+84 a^{3} b^{6} d^{3} c^{6}-36 a^{2} b^{7} c^{7} d^{2}+9 a \,b^{8} c^{8} d -b^{9} c^{9}}{7 d^{10} \left (x d +c \right )^{7}}-\frac {63 b^{5} \left (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}\right )}{d^{10} \left (x d +c \right )^{2}}-\frac {21 b^{3} \left (a^{6} d^{6}-6 a^{5} b c \,d^{5}+15 a^{4} b^{2} c^{2} d^{4}-20 a^{3} b^{3} c^{3} d^{3}+15 a^{2} b^{4} c^{4} d^{2}-6 a \,b^{5} c^{5} d +c^{6} b^{6}\right )}{d^{10} \left (x d +c \right )^{4}}-\frac {42 b^{4} \left (a^{5} d^{5}-5 a^{4} b c \,d^{4}+10 a^{3} b^{2} c^{2} d^{3}-10 a^{2} b^{3} c^{3} d^{2}+5 a \,b^{4} c^{4} d -c^{5} b^{5}\right )}{d^{10} \left (x d +c \right )^{3}}\) | \(705\) |
norman | \(\frac {-\frac {10 a^{9} d^{9}+15 a^{8} b \,d^{8} c +24 a^{7} b^{2} c^{2} d^{7}+42 a^{6} b^{3} d^{6} c^{3}+84 a^{5} b^{4} d^{5} c^{4}+210 a^{4} b^{5} d^{4} c^{5}+840 a^{3} b^{6} d^{3} c^{6}-6534 a^{2} b^{7} c^{7} d^{2}+13068 a \,b^{8} c^{8} d -6534 b^{9} c^{9}}{70 d^{10}}+\frac {b^{9} x^{9}}{2 d}-\frac {7 \left (12 a^{3} b^{6} d^{3}-36 a^{2} b^{7} c \,d^{2}+72 a \,b^{8} c^{2} d -36 b^{9} c^{3}\right ) x^{6}}{d^{4}}-\frac {21 \left (3 a^{4} b^{5} d^{4}+12 a^{3} b^{6} c \,d^{3}-54 a^{2} b^{7} c^{2} d^{2}+108 a \,b^{8} c^{3} d -54 b^{9} c^{4}\right ) x^{5}}{d^{5}}-\frac {7 \left (6 a^{5} b^{4} d^{5}+15 a^{4} b^{5} c \,d^{4}+60 a^{3} b^{6} c^{2} d^{3}-330 a^{2} b^{7} c^{3} d^{2}+660 a \,b^{8} c^{4} d -330 b^{9} c^{5}\right ) x^{4}}{d^{6}}-\frac {7 \left (3 a^{6} b^{3} d^{6}+6 a^{5} b^{4} c \,d^{5}+15 a^{4} b^{5} c^{2} d^{4}+60 a^{3} b^{6} c^{3} d^{3}-375 a^{2} b^{7} c^{4} d^{2}+750 a \,b^{8} c^{5} d -375 b^{9} c^{6}\right ) x^{3}}{d^{7}}-\frac {3 \left (12 a^{7} b^{2} d^{7}+21 a^{6} b^{3} c \,d^{6}+42 a^{5} b^{4} c^{2} d^{5}+105 a^{4} b^{5} c^{3} d^{4}+420 a^{3} b^{6} c^{4} d^{3}-2877 a^{2} b^{7} c^{5} d^{2}+5754 a \,b^{8} c^{6} d -2877 b^{9} c^{7}\right ) x^{2}}{5 d^{8}}-\frac {\left (15 a^{8} b \,d^{8}+24 a^{7} b^{2} c \,d^{7}+42 a^{6} b^{3} d^{6} c^{2}+84 a^{5} b^{4} d^{5} c^{3}+210 a^{4} b^{5} d^{4} c^{4}+840 a^{3} b^{6} d^{3} c^{5}-6174 a^{2} b^{7} c^{6} d^{2}+12348 a \,b^{8} c^{7} d -6174 b^{9} c^{8}\right ) x}{10 d^{9}}+\frac {9 b^{8} \left (2 a d -b c \right ) x^{8}}{2 d^{2}}}{\left (x d +c \right )^{7}}+\frac {36 b^{7} \left (a^{2} d^{2}-2 a b c d +b^{2} c^{2}\right ) \ln \left (x d +c \right )}{d^{10}}\) | \(709\) |
risch | \(\frac {b^{9} x^{2}}{2 d^{8}}+\frac {9 b^{8} a x}{d^{8}}-\frac {8 b^{9} c x}{d^{9}}+\frac {\left (-84 a^{3} b^{6} d^{8}+252 a^{2} b^{7} c \,d^{7}-252 a \,b^{8} c^{2} d^{6}+84 b^{9} c^{3} d^{5}\right ) x^{6}-63 b^{5} d^{4} \left (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}\right ) x^{5}-21 b^{4} d^{3} \left (2 a^{5} d^{5}+5 a^{4} b c \,d^{4}+20 a^{3} b^{2} c^{2} d^{3}-110 a^{2} b^{3} c^{3} d^{2}+130 a \,b^{4} c^{4} d -47 c^{5} b^{5}\right ) x^{4}-21 b^{3} d^{2} \left (a^{6} d^{6}+2 a^{5} b c \,d^{5}+5 a^{4} b^{2} c^{2} d^{4}+20 a^{3} b^{3} c^{3} d^{3}-125 a^{2} b^{4} c^{4} d^{2}+154 a \,b^{5} c^{5} d -57 c^{6} b^{6}\right ) x^{3}-\frac {9 b^{2} d \left (4 a^{7} d^{7}+7 a^{6} b c \,d^{6}+14 a^{5} b^{2} c^{2} d^{5}+35 a^{4} b^{3} c^{3} d^{4}+140 a^{3} b^{4} c^{4} d^{3}-959 a^{2} b^{5} c^{5} d^{2}+1218 a \,b^{6} c^{6} d -459 b^{7} c^{7}\right ) x^{2}}{5}-\frac {3 b \left (5 a^{8} d^{8}+8 a^{7} b c \,d^{7}+14 a^{6} b^{2} c^{2} d^{6}+28 a^{5} b^{3} d^{5} c^{3}+70 a^{4} b^{4} d^{4} c^{4}+280 a^{3} b^{5} d^{3} c^{5}-2058 a^{2} b^{6} c^{6} d^{2}+2676 a \,b^{7} c^{7} d -1023 c^{8} b^{8}\right ) x}{10}-\frac {10 a^{9} d^{9}+15 a^{8} b \,d^{8} c +24 a^{7} b^{2} c^{2} d^{7}+42 a^{6} b^{3} d^{6} c^{3}+84 a^{5} b^{4} d^{5} c^{4}+210 a^{4} b^{5} d^{4} c^{5}+840 a^{3} b^{6} d^{3} c^{6}-6534 a^{2} b^{7} c^{7} d^{2}+8658 a \,b^{8} c^{8} d -3349 b^{9} c^{9}}{70 d}}{d^{9} \left (x d +c \right )^{7}}+\frac {36 b^{7} \ln \left (x d +c \right ) a^{2}}{d^{8}}-\frac {72 b^{8} \ln \left (x d +c \right ) a c}{d^{9}}+\frac {36 b^{9} \ln \left (x d +c \right ) c^{2}}{d^{10}}\) | \(711\) |
parallelrisch | \(\text {Expression too large to display}\) | \(1233\) |
Input:
int((b*x+a)^9/(d*x+c)^8,x,method=_RETURNVERBOSE)
Output:
b^8/d^9*(1/2*b*d*x^2+9*a*d*x-8*b*c*x)-3/2/d^10*b*(a^8*d^8-8*a^7*b*c*d^7+28 *a^6*b^2*c^2*d^6-56*a^5*b^3*c^3*d^5+70*a^4*b^4*c^4*d^4-56*a^3*b^5*c^5*d^3+ 28*a^2*b^6*c^6*d^2-8*a*b^7*c^7*d+b^8*c^8)/(d*x+c)^6-36/5*b^2/d^10*(a^7*d^7 -7*a^6*b*c*d^6+21*a^5*b^2*c^2*d^5-35*a^4*b^3*c^3*d^4+35*a^3*b^4*c^4*d^3-21 *a^2*b^5*c^5*d^2+7*a*b^6*c^6*d-b^7*c^7)/(d*x+c)^5-84*b^6/d^10*(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)+36*b^7/d^10*(a^2*d^2-2*a*b*c*d+b ^2*c^2)*ln(d*x+c)-1/7/d^10*(a^9*d^9-9*a^8*b*c*d^8+36*a^7*b^2*c^2*d^7-84*a^ 6*b^3*c^3*d^6+126*a^5*b^4*c^4*d^5-126*a^4*b^5*c^5*d^4+84*a^3*b^6*c^6*d^3-3 6*a^2*b^7*c^7*d^2+9*a*b^8*c^8*d-b^9*c^9)/(d*x+c)^7-63*b^5/d^10*(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*x+c)^2-21*b^3/d^10 *(a^6*d^6-6*a^5*b*c*d^5+15*a^4*b^2*c^2*d^4-20*a^3*b^3*c^3*d^3+15*a^2*b^4*c ^4*d^2-6*a*b^5*c^5*d+b^6*c^6)/(d*x+c)^4-42*b^4/d^10*(a^5*d^5-5*a^4*b*c*d^4 +10*a^3*b^2*c^2*d^3-10*a^2*b^3*c^3*d^2+5*a*b^4*c^4*d-b^5*c^5)/(d*x+c)^3
Leaf count of result is larger than twice the leaf count of optimal. 1093 vs. \(2 (224) = 448\).
Time = 0.08 (sec) , antiderivative size = 1093, normalized size of antiderivative = 4.71 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx =\text {Too large to display} \] Input:
integrate((b*x+a)^9/(d*x+c)^8,x, algorithm="fricas")
Output:
1/70*(35*b^9*d^9*x^9 + 3349*b^9*c^9 - 8658*a*b^8*c^8*d + 6534*a^2*b^7*c^7* d^2 - 840*a^3*b^6*c^6*d^3 - 210*a^4*b^5*c^5*d^4 - 84*a^5*b^4*c^4*d^5 - 42* a^6*b^3*c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^2*b ^7*c*d^8)*x^6 + 21*(b^9*c^4*d^5 - 2*a*b^8*c^3*d^6 + a^2*b^7*c^2*d^7)*x^5 + 35*(b^9*c^5*d^4 - 2*a*b^8*c^4*d^5 + a^2*b^7*c^3*d^6)*x^4 + 35*(b^9*c^6*d^ 3 - 2*a*b^8*c^5*d^4 + a^2*b^7*c^4*d^5)*x^3 + 21*(b^9*c^7*d^2 - 2*a*b^8*...
Timed out. \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=\text {Timed out} \] Input:
integrate((b*x+a)**9/(d*x+c)**8,x)
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 786 vs. \(2 (224) = 448\).
Time = 0.10 (sec) , antiderivative size = 786, normalized size of antiderivative = 3.39 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=\frac {3349 \, b^{9} c^{9} - 8658 \, a b^{8} c^{8} d + 6534 \, a^{2} b^{7} c^{7} d^{2} - 840 \, a^{3} b^{6} c^{6} d^{3} - 210 \, a^{4} b^{5} c^{5} d^{4} - 84 \, a^{5} b^{4} c^{4} d^{5} - 42 \, a^{6} b^{3} c^{3} d^{6} - 24 \, a^{7} b^{2} c^{2} d^{7} - 15 \, a^{8} b c d^{8} - 10 \, a^{9} d^{9} + 5880 \, {\left (b^{9} c^{3} d^{6} - 3 \, a b^{8} c^{2} d^{7} + 3 \, a^{2} b^{7} c d^{8} - a^{3} b^{6} d^{9}\right )} x^{6} + 4410 \, {\left (7 \, b^{9} c^{4} d^{5} - 20 \, a b^{8} c^{3} d^{6} + 18 \, a^{2} b^{7} c^{2} d^{7} - 4 \, a^{3} b^{6} c d^{8} - a^{4} b^{5} d^{9}\right )} x^{5} + 1470 \, {\left (47 \, b^{9} c^{5} d^{4} - 130 \, a b^{8} c^{4} d^{5} + 110 \, a^{2} b^{7} c^{3} d^{6} - 20 \, a^{3} b^{6} c^{2} d^{7} - 5 \, a^{4} b^{5} c d^{8} - 2 \, a^{5} b^{4} d^{9}\right )} x^{4} + 1470 \, {\left (57 \, b^{9} c^{6} d^{3} - 154 \, a b^{8} c^{5} d^{4} + 125 \, a^{2} b^{7} c^{4} d^{5} - 20 \, a^{3} b^{6} c^{3} d^{6} - 5 \, a^{4} b^{5} c^{2} d^{7} - 2 \, a^{5} b^{4} c d^{8} - a^{6} b^{3} d^{9}\right )} x^{3} + 126 \, {\left (459 \, b^{9} c^{7} d^{2} - 1218 \, a b^{8} c^{6} d^{3} + 959 \, a^{2} b^{7} c^{5} d^{4} - 140 \, a^{3} b^{6} c^{4} d^{5} - 35 \, a^{4} b^{5} c^{3} d^{6} - 14 \, a^{5} b^{4} c^{2} d^{7} - 7 \, a^{6} b^{3} c d^{8} - 4 \, a^{7} b^{2} d^{9}\right )} x^{2} + 21 \, {\left (1023 \, b^{9} c^{8} d - 2676 \, a b^{8} c^{7} d^{2} + 2058 \, a^{2} b^{7} c^{6} d^{3} - 280 \, a^{3} b^{6} c^{5} d^{4} - 70 \, a^{4} b^{5} c^{4} d^{5} - 28 \, a^{5} b^{4} c^{3} d^{6} - 14 \, a^{6} b^{3} c^{2} d^{7} - 8 \, a^{7} b^{2} c d^{8} - 5 \, a^{8} b d^{9}\right )} x}{70 \, {\left (d^{17} x^{7} + 7 \, c d^{16} x^{6} + 21 \, c^{2} d^{15} x^{5} + 35 \, c^{3} d^{14} x^{4} + 35 \, c^{4} d^{13} x^{3} + 21 \, c^{5} d^{12} x^{2} + 7 \, c^{6} d^{11} x + c^{7} d^{10}\right )}} + \frac {b^{9} d x^{2} - 2 \, {\left (8 \, b^{9} c - 9 \, a b^{8} d\right )} x}{2 \, d^{9}} + \frac {36 \, {\left (b^{9} c^{2} - 2 \, a b^{8} c d + a^{2} b^{7} d^{2}\right )} \log \left (d x + c\right )}{d^{10}} \] Input:
integrate((b*x+a)^9/(d*x+c)^8,x, algorithm="maxima")
Output:
1/70*(3349*b^9*c^9 - 8658*a*b^8*c^8*d + 6534*a^2*b^7*c^7*d^2 - 840*a^3*b^6 *c^6*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)/d^9 + 36*(b^9*c^2 - 2*a*b^8*c*d + a^2*b^7*d^2)*log(d*x + c)/d^10
Leaf count of result is larger than twice the leaf count of optimal. 723 vs. \(2 (224) = 448\).
Time = 0.13 (sec) , antiderivative size = 723, normalized size of antiderivative = 3.12 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=\frac {36 \, {\left (b^{9} c^{2} - 2 \, a b^{8} c d + a^{2} b^{7} d^{2}\right )} \log \left ({\left | d x + c \right |}\right )}{d^{10}} + \frac {b^{9} d^{8} x^{2} - 16 \, b^{9} c d^{7} x + 18 \, a b^{8} d^{8} x}{2 \, d^{16}} + \frac {3349 \, b^{9} c^{9} - 8658 \, a b^{8} c^{8} d + 6534 \, a^{2} b^{7} c^{7} d^{2} - 840 \, a^{3} b^{6} c^{6} d^{3} - 210 \, a^{4} b^{5} c^{5} d^{4} - 84 \, a^{5} b^{4} c^{4} d^{5} - 42 \, a^{6} b^{3} c^{3} d^{6} - 24 \, a^{7} b^{2} c^{2} d^{7} - 15 \, a^{8} b c d^{8} - 10 \, a^{9} d^{9} + 5880 \, {\left (b^{9} c^{3} d^{6} - 3 \, a b^{8} c^{2} d^{7} + 3 \, a^{2} b^{7} c d^{8} - a^{3} b^{6} d^{9}\right )} x^{6} + 4410 \, {\left (7 \, b^{9} c^{4} d^{5} - 20 \, a b^{8} c^{3} d^{6} + 18 \, a^{2} b^{7} c^{2} d^{7} - 4 \, a^{3} b^{6} c d^{8} - a^{4} b^{5} d^{9}\right )} x^{5} + 1470 \, {\left (47 \, b^{9} c^{5} d^{4} - 130 \, a b^{8} c^{4} d^{5} + 110 \, a^{2} b^{7} c^{3} d^{6} - 20 \, a^{3} b^{6} c^{2} d^{7} - 5 \, a^{4} b^{5} c d^{8} - 2 \, a^{5} b^{4} d^{9}\right )} x^{4} + 1470 \, {\left (57 \, b^{9} c^{6} d^{3} - 154 \, a b^{8} c^{5} d^{4} + 125 \, a^{2} b^{7} c^{4} d^{5} - 20 \, a^{3} b^{6} c^{3} d^{6} - 5 \, a^{4} b^{5} c^{2} d^{7} - 2 \, a^{5} b^{4} c d^{8} - a^{6} b^{3} d^{9}\right )} x^{3} + 126 \, {\left (459 \, b^{9} c^{7} d^{2} - 1218 \, a b^{8} c^{6} d^{3} + 959 \, a^{2} b^{7} c^{5} d^{4} - 140 \, a^{3} b^{6} c^{4} d^{5} - 35 \, a^{4} b^{5} c^{3} d^{6} - 14 \, a^{5} b^{4} c^{2} d^{7} - 7 \, a^{6} b^{3} c d^{8} - 4 \, a^{7} b^{2} d^{9}\right )} x^{2} + 21 \, {\left (1023 \, b^{9} c^{8} d - 2676 \, a b^{8} c^{7} d^{2} + 2058 \, a^{2} b^{7} c^{6} d^{3} - 280 \, a^{3} b^{6} c^{5} d^{4} - 70 \, a^{4} b^{5} c^{4} d^{5} - 28 \, a^{5} b^{4} c^{3} d^{6} - 14 \, a^{6} b^{3} c^{2} d^{7} - 8 \, a^{7} b^{2} c d^{8} - 5 \, a^{8} b d^{9}\right )} x}{70 \, {\left (d x + c\right )}^{7} d^{10}} \] Input:
integrate((b*x+a)^9/(d*x+c)^8,x, algorithm="giac")
Output:
36*(b^9*c^2 - 2*a*b^8*c*d + a^2*b^7*d^2)*log(abs(d*x + c))/d^10 + 1/2*(b^9 *d^8*x^2 - 16*b^9*c*d^7*x + 18*a*b^8*d^8*x)/d^16 + 1/70*(3349*b^9*c^9 - 86 58*a*b^8*c^8*d + 6534*a^2*b^7*c^7*d^2 - 840*a^3*b^6*c^6*d^3 - 210*a^4*b^5* c^5*d^4 - 84*a^5*b^4*c^4*d^5 - 42*a^6*b^3*c^3*d^6 - 24*a^7*b^2*c^2*d^7 - 1 5*a^8*b*c*d^8 - 10*a^9*d^9 + 5880*(b^9*c^3*d^6 - 3*a*b^8*c^2*d^7 + 3*a^2*b ^7*c*d^8 - a^3*b^6*d^9)*x^6 + 4410*(7*b^9*c^4*d^5 - 20*a*b^8*c^3*d^6 + 18* a^2*b^7*c^2*d^7 - 4*a^3*b^6*c*d^8 - a^4*b^5*d^9)*x^5 + 1470*(47*b^9*c^5*d^ 4 - 130*a*b^8*c^4*d^5 + 110*a^2*b^7*c^3*d^6 - 20*a^3*b^6*c^2*d^7 - 5*a^4*b ^5*c*d^8 - 2*a^5*b^4*d^9)*x^4 + 1470*(57*b^9*c^6*d^3 - 154*a*b^8*c^5*d^4 + 125*a^2*b^7*c^4*d^5 - 20*a^3*b^6*c^3*d^6 - 5*a^4*b^5*c^2*d^7 - 2*a^5*b^4* c*d^8 - a^6*b^3*d^9)*x^3 + 126*(459*b^9*c^7*d^2 - 1218*a*b^8*c^6*d^3 + 959 *a^2*b^7*c^5*d^4 - 140*a^3*b^6*c^4*d^5 - 35*a^4*b^5*c^3*d^6 - 14*a^5*b^4*c ^2*d^7 - 7*a^6*b^3*c*d^8 - 4*a^7*b^2*d^9)*x^2 + 21*(1023*b^9*c^8*d - 2676* a*b^8*c^7*d^2 + 2058*a^2*b^7*c^6*d^3 - 280*a^3*b^6*c^5*d^4 - 70*a^4*b^5*c^ 4*d^5 - 28*a^5*b^4*c^3*d^6 - 14*a^6*b^3*c^2*d^7 - 8*a^7*b^2*c*d^8 - 5*a^8* b*d^9)*x)/((d*x + c)^7*d^10)
Time = 0.16 (sec) , antiderivative size = 784, normalized size of antiderivative = 3.38 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx=x\,\left (\frac {9\,a\,b^8}{d^8}-\frac {8\,b^9\,c}{d^9}\right )-\frac {\frac {10\,a^9\,d^9+15\,a^8\,b\,c\,d^8+24\,a^7\,b^2\,c^2\,d^7+42\,a^6\,b^3\,c^3\,d^6+84\,a^5\,b^4\,c^4\,d^5+210\,a^4\,b^5\,c^5\,d^4+840\,a^3\,b^6\,c^6\,d^3-6534\,a^2\,b^7\,c^7\,d^2+8658\,a\,b^8\,c^8\,d-3349\,b^9\,c^9}{70\,d}+x\,\left (\frac {3\,a^8\,b\,d^8}{2}+\frac {12\,a^7\,b^2\,c\,d^7}{5}+\frac {21\,a^6\,b^3\,c^2\,d^6}{5}+\frac {42\,a^5\,b^4\,c^3\,d^5}{5}+21\,a^4\,b^5\,c^4\,d^4+84\,a^3\,b^6\,c^5\,d^3-\frac {3087\,a^2\,b^7\,c^6\,d^2}{5}+\frac {4014\,a\,b^8\,c^7\,d}{5}-\frac {3069\,b^9\,c^8}{10}\right )+x^3\,\left (21\,a^6\,b^3\,d^8+42\,a^5\,b^4\,c\,d^7+105\,a^4\,b^5\,c^2\,d^6+420\,a^3\,b^6\,c^3\,d^5-2625\,a^2\,b^7\,c^4\,d^4+3234\,a\,b^8\,c^5\,d^3-1197\,b^9\,c^6\,d^2\right )+x^2\,\left (\frac {36\,a^7\,b^2\,d^8}{5}+\frac {63\,a^6\,b^3\,c\,d^7}{5}+\frac {126\,a^5\,b^4\,c^2\,d^6}{5}+63\,a^4\,b^5\,c^3\,d^5+252\,a^3\,b^6\,c^4\,d^4-\frac {8631\,a^2\,b^7\,c^5\,d^3}{5}+\frac {10962\,a\,b^8\,c^6\,d^2}{5}-\frac {4131\,b^9\,c^7\,d}{5}\right )+x^5\,\left (63\,a^4\,b^5\,d^8+252\,a^3\,b^6\,c\,d^7-1134\,a^2\,b^7\,c^2\,d^6+1260\,a\,b^8\,c^3\,d^5-441\,b^9\,c^4\,d^4\right )+x^4\,\left (42\,a^5\,b^4\,d^8+105\,a^4\,b^5\,c\,d^7+420\,a^3\,b^6\,c^2\,d^6-2310\,a^2\,b^7\,c^3\,d^5+2730\,a\,b^8\,c^4\,d^4-987\,b^9\,c^5\,d^3\right )+x^6\,\left (84\,a^3\,b^6\,d^8-252\,a^2\,b^7\,c\,d^7+252\,a\,b^8\,c^2\,d^6-84\,b^9\,c^3\,d^5\right )}{c^7\,d^9+7\,c^6\,d^{10}\,x+21\,c^5\,d^{11}\,x^2+35\,c^4\,d^{12}\,x^3+35\,c^3\,d^{13}\,x^4+21\,c^2\,d^{14}\,x^5+7\,c\,d^{15}\,x^6+d^{16}\,x^7}+\frac {b^9\,x^2}{2\,d^8}+\frac {\ln \left (c+d\,x\right )\,\left (36\,a^2\,b^7\,d^2-72\,a\,b^8\,c\,d+36\,b^9\,c^2\right )}{d^{10}} \] Input:
int((a + b*x)^9/(c + d*x)^8,x)
Output:
x*((9*a*b^8)/d^8 - (8*b^9*c)/d^9) - ((10*a^9*d^9 - 3349*b^9*c^9 - 6534*a^2 *b^7*c^7*d^2 + 840*a^3*b^6*c^6*d^3 + 210*a^4*b^5*c^5*d^4 + 84*a^5*b^4*c^4* d^5 + 42*a^6*b^3*c^3*d^6 + 24*a^7*b^2*c^2*d^7 + 8658*a*b^8*c^8*d + 15*a^8* b*c*d^8)/(70*d) + x*((3*a^8*b*d^8)/2 - (3069*b^9*c^8)/10 + (12*a^7*b^2*c*d ^7)/5 - (3087*a^2*b^7*c^6*d^2)/5 + 84*a^3*b^6*c^5*d^3 + 21*a^4*b^5*c^4*d^4 + (42*a^5*b^4*c^3*d^5)/5 + (21*a^6*b^3*c^2*d^6)/5 + (4014*a*b^8*c^7*d)/5) + x^3*(21*a^6*b^3*d^8 - 1197*b^9*c^6*d^2 + 3234*a*b^8*c^5*d^3 + 42*a^5*b^ 4*c*d^7 - 2625*a^2*b^7*c^4*d^4 + 420*a^3*b^6*c^3*d^5 + 105*a^4*b^5*c^2*d^6 ) + x^2*((36*a^7*b^2*d^8)/5 - (4131*b^9*c^7*d)/5 + (10962*a*b^8*c^6*d^2)/5 + (63*a^6*b^3*c*d^7)/5 - (8631*a^2*b^7*c^5*d^3)/5 + 252*a^3*b^6*c^4*d^4 + 63*a^4*b^5*c^3*d^5 + (126*a^5*b^4*c^2*d^6)/5) + x^5*(63*a^4*b^5*d^8 - 441 *b^9*c^4*d^4 + 1260*a*b^8*c^3*d^5 + 252*a^3*b^6*c*d^7 - 1134*a^2*b^7*c^2*d ^6) + x^4*(42*a^5*b^4*d^8 - 987*b^9*c^5*d^3 + 2730*a*b^8*c^4*d^4 + 105*a^4 *b^5*c*d^7 - 2310*a^2*b^7*c^3*d^5 + 420*a^3*b^6*c^2*d^6) + x^6*(84*a^3*b^6 *d^8 - 84*b^9*c^3*d^5 + 252*a*b^8*c^2*d^6 - 252*a^2*b^7*c*d^7))/(c^7*d^9 + d^16*x^7 + 7*c^6*d^10*x + 7*c*d^15*x^6 + 21*c^5*d^11*x^2 + 35*c^4*d^12*x^ 3 + 35*c^3*d^13*x^4 + 21*c^2*d^14*x^5) + (b^9*x^2)/(2*d^8) + (log(c + d*x) *(36*b^9*c^2 + 36*a^2*b^7*d^2 - 72*a*b^8*c*d))/d^10
Time = 0.17 (sec) , antiderivative size = 1231, normalized size of antiderivative = 5.31 \[ \int \frac {(a+b x)^9}{(c+d x)^8} \, dx =\text {Too large to display} \] Input:
int((b*x+a)^9/(d*x+c)^8,x)
Output:
(2520*log(c + d*x)*a**2*b**7*c**8*d**2 + 17640*log(c + d*x)*a**2*b**7*c**7 *d**3*x + 52920*log(c + d*x)*a**2*b**7*c**6*d**4*x**2 + 88200*log(c + d*x) *a**2*b**7*c**5*d**5*x**3 + 88200*log(c + d*x)*a**2*b**7*c**4*d**6*x**4 + 52920*log(c + d*x)*a**2*b**7*c**3*d**7*x**5 + 17640*log(c + d*x)*a**2*b**7 *c**2*d**8*x**6 + 2520*log(c + d*x)*a**2*b**7*c*d**9*x**7 - 5040*log(c + d *x)*a*b**8*c**9*d - 35280*log(c + d*x)*a*b**8*c**8*d**2*x - 105840*log(c + d*x)*a*b**8*c**7*d**3*x**2 - 176400*log(c + d*x)*a*b**8*c**6*d**4*x**3 - 176400*log(c + d*x)*a*b**8*c**5*d**5*x**4 - 105840*log(c + d*x)*a*b**8*c** 4*d**6*x**5 - 35280*log(c + d*x)*a*b**8*c**3*d**7*x**6 - 5040*log(c + d*x) *a*b**8*c**2*d**8*x**7 + 2520*log(c + d*x)*b**9*c**10 + 17640*log(c + d*x) *b**9*c**9*d*x + 52920*log(c + d*x)*b**9*c**8*d**2*x**2 + 88200*log(c + d* x)*b**9*c**7*d**3*x**3 + 88200*log(c + d*x)*b**9*c**6*d**4*x**4 + 52920*lo g(c + d*x)*b**9*c**5*d**5*x**5 + 17640*log(c + d*x)*b**9*c**4*d**6*x**6 + 2520*log(c + d*x)*b**9*c**3*d**7*x**7 - 10*a**9*c*d**9 - 15*a**8*b*c**2*d* *8 - 105*a**8*b*c*d**9*x - 24*a**7*b**2*c**3*d**7 - 168*a**7*b**2*c**2*d** 8*x - 504*a**7*b**2*c*d**9*x**2 - 42*a**6*b**3*c**4*d**6 - 294*a**6*b**3*c **3*d**7*x - 882*a**6*b**3*c**2*d**8*x**2 - 1470*a**6*b**3*c*d**9*x**3 - 8 4*a**5*b**4*c**5*d**5 - 588*a**5*b**4*c**4*d**6*x - 1764*a**5*b**4*c**3*d* *7*x**2 - 2940*a**5*b**4*c**2*d**8*x**3 - 2940*a**5*b**4*c*d**9*x**4 - 210 *a**4*b**5*c**6*d**4 - 1470*a**4*b**5*c**5*d**5*x - 4410*a**4*b**5*c**4...