Integrand size = 35, antiderivative size = 544 \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\frac {13 B^2 (b c-a d)^4 g^4 n^2 x}{30 b^4}+\frac {7 B^2 (b c-a d)^3 g^4 n^2 (c+d x)^2}{60 b^3 d}+\frac {B^2 (b c-a d)^2 g^4 n^2 (c+d x)^3}{30 b^2 d}-\frac {2 B (b c-a d)^4 g^4 n (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{5 b^5}-\frac {B (b c-a d)^3 g^4 n (c+d x)^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{5 b^3 d}-\frac {2 B (b c-a d)^2 g^4 n (c+d x)^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{15 b^2 d}-\frac {B (b c-a d) g^4 n (c+d x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{10 b d}+\frac {g^4 (c+d x)^5 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{5 d}+\frac {13 B^2 (b c-a d)^5 g^4 n^2 \log \left (\frac {a+b x}{c+d x}\right )}{30 b^5 d}+\frac {5 B^2 (b c-a d)^5 g^4 n^2 \log (c+d x)}{6 b^5 d}+\frac {2 B (b c-a d)^5 g^4 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log \left (1-\frac {b (c+d x)}{d (a+b x)}\right )}{5 b^5 d}-\frac {2 B^2 (b c-a d)^5 g^4 n^2 \operatorname {PolyLog}\left (2,\frac {b (c+d x)}{d (a+b x)}\right )}{5 b^5 d} \] Output:
13/30*B^2*(-a*d+b*c)^4*g^4*n^2*x/b^4+7/60*B^2*(-a*d+b*c)^3*g^4*n^2*(d*x+c) ^2/b^3/d+1/30*B^2*(-a*d+b*c)^2*g^4*n^2*(d*x+c)^3/b^2/d-2/5*B*(-a*d+b*c)^4* g^4*n*(b*x+a)*(A+B*ln(e*((b*x+a)/(d*x+c))^n))/b^5-1/5*B*(-a*d+b*c)^3*g^4*n *(d*x+c)^2*(A+B*ln(e*((b*x+a)/(d*x+c))^n))/b^3/d-2/15*B*(-a*d+b*c)^2*g^4*n *(d*x+c)^3*(A+B*ln(e*((b*x+a)/(d*x+c))^n))/b^2/d-1/10*B*(-a*d+b*c)*g^4*n*( d*x+c)^4*(A+B*ln(e*((b*x+a)/(d*x+c))^n))/b/d+1/5*g^4*(d*x+c)^5*(A+B*ln(e*( (b*x+a)/(d*x+c))^n))^2/d+13/30*B^2*(-a*d+b*c)^5*g^4*n^2*ln((b*x+a)/(d*x+c) )/b^5/d+5/6*B^2*(-a*d+b*c)^5*g^4*n^2*ln(d*x+c)/b^5/d+2/5*B*(-a*d+b*c)^5*g^ 4*n*(A+B*ln(e*((b*x+a)/(d*x+c))^n))*ln(1-b*(d*x+c)/d/(b*x+a))/b^5/d-2/5*B^ 2*(-a*d+b*c)^5*g^4*n^2*polylog(2,b*(d*x+c)/d/(b*x+a))/b^5/d
Time = 0.36 (sec) , antiderivative size = 533, normalized size of antiderivative = 0.98 \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\frac {g^4 \left ((c+d x)^5 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2-\frac {B (b c-a d) n \left (24 A b d (b c-a d)^3 x-12 B (b c-a d)^3 n (b d x+(b c-a d) \log (a+b x))-4 B (b c-a d)^2 n \left (2 b d (b c-a d) x+b^2 (c+d x)^2+2 (b c-a d)^2 \log (a+b x)\right )-B (b c-a d) n \left (6 b d (b c-a d)^2 x+3 b^2 (b c-a d) (c+d x)^2+2 b^3 (c+d x)^3+6 (b c-a d)^3 \log (a+b x)\right )+24 B d (b c-a d)^3 (a+b x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+12 b^2 (b c-a d)^2 (c+d x)^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )+8 b^3 (b c-a d) (c+d x)^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )+6 b^4 (c+d x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )+24 (b c-a d)^4 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )-24 B (b c-a d)^4 n \log (c+d x)-12 B (b c-a d)^4 n \left (\log (a+b x) \left (\log (a+b x)-2 \log \left (\frac {b (c+d x)}{b c-a d}\right )\right )-2 \operatorname {PolyLog}\left (2,\frac {d (a+b x)}{-b c+a d}\right )\right )\right )}{12 b^5}\right )}{5 d} \] Input:
Integrate[(c*g + d*g*x)^4*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2,x]
Output:
(g^4*((c + d*x)^5*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2 - (B*(b*c - a*d )*n*(24*A*b*d*(b*c - a*d)^3*x - 12*B*(b*c - a*d)^3*n*(b*d*x + (b*c - a*d)* Log[a + b*x]) - 4*B*(b*c - a*d)^2*n*(2*b*d*(b*c - a*d)*x + b^2*(c + d*x)^2 + 2*(b*c - a*d)^2*Log[a + b*x]) - B*(b*c - a*d)*n*(6*b*d*(b*c - a*d)^2*x + 3*b^2*(b*c - a*d)*(c + d*x)^2 + 2*b^3*(c + d*x)^3 + 6*(b*c - a*d)^3*Log[ a + b*x]) + 24*B*d*(b*c - a*d)^3*(a + b*x)*Log[e*((a + b*x)/(c + d*x))^n] + 12*b^2*(b*c - a*d)^2*(c + d*x)^2*(A + B*Log[e*((a + b*x)/(c + d*x))^n]) + 8*b^3*(b*c - a*d)*(c + d*x)^3*(A + B*Log[e*((a + b*x)/(c + d*x))^n]) + 6 *b^4*(c + d*x)^4*(A + B*Log[e*((a + b*x)/(c + d*x))^n]) + 24*(b*c - a*d)^4 *Log[a + b*x]*(A + B*Log[e*((a + b*x)/(c + d*x))^n]) - 24*B*(b*c - a*d)^4* n*Log[c + d*x] - 12*B*(b*c - a*d)^4*n*(Log[a + b*x]*(Log[a + b*x] - 2*Log[ (b*(c + d*x))/(b*c - a*d)]) - 2*PolyLog[2, (d*(a + b*x))/(-(b*c) + a*d)])) )/(12*b^5)))/(5*d)
Time = 1.97 (sec) , antiderivative size = 720, normalized size of antiderivative = 1.32, number of steps used = 20, number of rules used = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.543, Rules used = {2951, 2756, 2789, 2756, 54, 2009, 2789, 2756, 54, 2009, 2789, 2756, 54, 2009, 2789, 2751, 16, 2779, 2838}
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 (c g+d g x)^4 \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2 \, dx\) |
\(\Big \downarrow \) 2951 |
\(\displaystyle g^4 (b c-a d)^5 \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{\left (b-\frac {d (a+b x)}{c+d x}\right )^6}d\frac {a+b x}{c+d x}\) |
\(\Big \downarrow \) 2756 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^5}d\frac {a+b x}{c+d x}}{5 d}\right )\) |
\(\Big \downarrow \) 2789 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {d \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{\left (b-\frac {d (a+b x)}{c+d x}\right )^5}d\frac {a+b x}{c+d x}}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2756 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \int \frac {c+d x}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{4 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 54 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \int \left (\frac {d}{b^4 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {d}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {d}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^3}+\frac {d}{b \left (b-\frac {d (a+b x)}{c+d x}\right )^4}+\frac {c+d x}{b^4 (a+b x)}\right )d\frac {a+b x}{c+d x}}{4 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2789 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {d \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{\left (b-\frac {d (a+b x)}{c+d x}\right )^4}d\frac {a+b x}{c+d x}}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2756 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \int \frac {c+d x}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{3 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 54 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \int \left (\frac {d}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {d}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {d}{b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}+\frac {c+d x}{b^3 (a+b x)}\right )d\frac {a+b x}{c+d x}}{3 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2789 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {d \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{\left (b-\frac {d (a+b x)}{c+d x}\right )^3}d\frac {a+b x}{c+d x}}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2756 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \int \frac {c+d x}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{2 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 54 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \int \left (\frac {d}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {d}{b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {c+d x}{b^2 (a+b x)}\right )d\frac {a+b x}{c+d x}}{2 d}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2789 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {\frac {d \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{\left (b-\frac {d (a+b x)}{c+d x}\right )^2}d\frac {a+b x}{c+d x}}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2751 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {\frac {d \left (\frac {(a+b x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b (c+d x) \left (b-\frac {d (a+b x)}{c+d x}\right )}-\frac {B n \int \frac {1}{b-\frac {d (a+b x)}{c+d x}}d\frac {a+b x}{c+d x}}{b}\right )}{b}+\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )}d\frac {a+b x}{c+d x}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 16 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {\frac {\int \frac {(c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) \left (b-\frac {d (a+b x)}{c+d x}\right )}d\frac {a+b x}{c+d x}}{b}+\frac {d \left (\frac {(a+b x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b (c+d x) \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {B n \log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2779 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {\frac {\frac {B n \int \frac {(c+d x) \log \left (1-\frac {b (c+d x)}{d (a+b x)}\right )}{a+b x}d\frac {a+b x}{c+d x}}{b}-\frac {\log \left (1-\frac {b (c+d x)}{d (a+b x)}\right ) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b}}{b}+\frac {d \left (\frac {(a+b x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b (c+d x) \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {B n \log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
\(\Big \downarrow \) 2838 |
\(\displaystyle g^4 (b c-a d)^5 \left (\frac {\left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{5 d \left (b-\frac {d (a+b x)}{c+d x}\right )^5}-\frac {2 B n \left (\frac {\frac {\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{2 d \left (b-\frac {d (a+b x)}{c+d x}\right )^2}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^2}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^2}+\frac {1}{b \left (b-\frac {d (a+b x)}{c+d x}\right )}\right )}{2 d}\right )}{b}+\frac {\frac {\frac {B n \operatorname {PolyLog}\left (2,\frac {b (c+d x)}{d (a+b x)}\right )}{b}-\frac {\log \left (1-\frac {b (c+d x)}{d (a+b x)}\right ) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b}}{b}+\frac {d \left (\frac {(a+b x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{b (c+d x) \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {B n \log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b d}\right )}{b}}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{3 d \left (b-\frac {d (a+b x)}{c+d x}\right )^3}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^3}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^3}+\frac {1}{b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b \left (b-\frac {d (a+b x)}{c+d x}\right )^2}\right )}{3 d}\right )}{b}}{b}+\frac {d \left (\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A}{4 d \left (b-\frac {d (a+b x)}{c+d x}\right )^4}-\frac {B n \left (\frac {\log \left (\frac {a+b x}{c+d x}\right )}{b^4}-\frac {\log \left (b-\frac {d (a+b x)}{c+d x}\right )}{b^4}+\frac {1}{b^3 \left (b-\frac {d (a+b x)}{c+d x}\right )}+\frac {1}{2 b^2 \left (b-\frac {d (a+b x)}{c+d x}\right )^2}+\frac {1}{3 b \left (b-\frac {d (a+b x)}{c+d x}\right )^3}\right )}{4 d}\right )}{b}\right )}{5 d}\right )\) |
Input:
Int[(c*g + d*g*x)^4*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2,x]
Output:
(b*c - a*d)^5*g^4*((A + B*Log[e*((a + b*x)/(c + d*x))^n])^2/(5*d*(b - (d*( a + b*x))/(c + d*x))^5) - (2*B*n*((d*((A + B*Log[e*((a + b*x)/(c + d*x))^n ])/(4*d*(b - (d*(a + b*x))/(c + d*x))^4) - (B*n*(1/(3*b*(b - (d*(a + b*x)) /(c + d*x))^3) + 1/(2*b^2*(b - (d*(a + b*x))/(c + d*x))^2) + 1/(b^3*(b - ( d*(a + b*x))/(c + d*x))) + Log[(a + b*x)/(c + d*x)]/b^4 - Log[b - (d*(a + b*x))/(c + d*x)]/b^4))/(4*d)))/b + ((d*((A + B*Log[e*((a + b*x)/(c + d*x)) ^n])/(3*d*(b - (d*(a + b*x))/(c + d*x))^3) - (B*n*(1/(2*b*(b - (d*(a + b*x ))/(c + d*x))^2) + 1/(b^2*(b - (d*(a + b*x))/(c + d*x))) + Log[(a + b*x)/( c + d*x)]/b^3 - Log[b - (d*(a + b*x))/(c + d*x)]/b^3))/(3*d)))/b + ((d*((A + B*Log[e*((a + b*x)/(c + d*x))^n])/(2*d*(b - (d*(a + b*x))/(c + d*x))^2) - (B*n*(1/(b*(b - (d*(a + b*x))/(c + d*x))) + Log[(a + b*x)/(c + d*x)]/b^ 2 - Log[b - (d*(a + b*x))/(c + d*x)]/b^2))/(2*d)))/b + ((d*(((a + b*x)*(A + B*Log[e*((a + b*x)/(c + d*x))^n]))/(b*(c + d*x)*(b - (d*(a + b*x))/(c + d*x))) + (B*n*Log[b - (d*(a + b*x))/(c + d*x)])/(b*d)))/b + (-(((A + B*Log [e*((a + b*x)/(c + d*x))^n])*Log[1 - (b*(c + d*x))/(d*(a + b*x))])/b) + (B *n*PolyLog[2, (b*(c + d*x))/(d*(a + b*x))])/b)/b)/b)/b)/b))/(5*d))
Int[(c_.)/((a_.) + (b_.)*(x_)), x_Symbol] :> Simp[c*(Log[RemoveContent[a + b*x, x]]/b), x] /; FreeQ[{a, b, c}, x]
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[E xpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && ILtQ[m, 0] && IntegerQ[n] && !(IGtQ[n, 0] && LtQ[m + n + 2, 0])
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_) + (e_.)*(x_)^(r_.))^(q_), x _Symbol] :> Simp[x*(d + e*x^r)^(q + 1)*((a + b*Log[c*x^n])/d), x] - Simp[b* (n/d) Int[(d + e*x^r)^(q + 1), x], x] /; FreeQ[{a, b, c, d, e, n, q, r}, x] && EqQ[r*(q + 1) + 1, 0]
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_) + (e_.)*(x_))^(q_.), x_Symbol] :> Simp[(d + e*x)^(q + 1)*((a + b*Log[c*x^n])^p/(e*(q + 1))), x] - Simp[b*n*(p/(e*(q + 1))) Int[((d + e*x)^(q + 1)*(a + b*Log[c*x^n])^(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, n, p, q}, x] && GtQ[p, 0] && NeQ[q, -1] && (EqQ[p, 1] || (IntegersQ[2*p, 2*q] && !IGtQ[q, 0]) || (EqQ[p, 2] & & NeQ[q, 1]))
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_)^(r _.))), x_Symbol] :> Simp[(-Log[1 + d/(e*x^r)])*((a + b*Log[c*x^n])^p/(d*r)) , x] + Simp[b*n*(p/(d*r)) Int[Log[1 + d/(e*x^r)]*((a + b*Log[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, n, r}, x] && IGtQ[p, 0]
Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_) + (e_.)*(x_))^(q_))/ (x_), x_Symbol] :> Simp[1/d Int[(d + e*x)^(q + 1)*((a + b*Log[c*x^n])^p/x ), x], x] - Simp[e/d Int[(d + e*x)^q*(a + b*Log[c*x^n])^p, x], x] /; Free Q[{a, b, c, d, e, n}, x] && IGtQ[p, 0] && LtQ[q, -1] && IntegerQ[2*q]
Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2 , (-c)*e*x^n]/n, x] /; FreeQ[{c, d, e, n}, x] && EqQ[c*d, 1]
Int[((A_.) + Log[(e_.)*(((a_.) + (b_.)*(x_))/((c_.) + (d_.)*(x_)))^(n_.)]*( B_.))^(p_.)*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(b*c - a*d)^(m + 1)*(g/d)^m Subst[Int[(A + B*Log[e*x^n])^p/(b - d*x)^(m + 2), x], x, (a + b*x)/(c + d*x)], x] /; FreeQ[{a, b, c, d, e, f, g, A, B, n}, x] && NeQ[b*c - a*d, 0] && IntegersQ[m, p] && EqQ[d*f - c*g, 0] && (GtQ[p, 0] || LtQ[m, - 1])
\[\int \left (d g x +c g \right )^{4} {\left (A +B \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )\right )}^{2}d x\]
Input:
int((d*g*x+c*g)^4*(A+B*ln(e*((b*x+a)/(d*x+c))^n))^2,x)
Output:
int((d*g*x+c*g)^4*(A+B*ln(e*((b*x+a)/(d*x+c))^n))^2,x)
\[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\int { {\left (d g x + c g\right )}^{4} {\left (B \log \left (e \left (\frac {b x + a}{d x + c}\right )^{n}\right ) + A\right )}^{2} \,d x } \] Input:
integrate((d*g*x+c*g)^4*(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="f ricas")
Output:
integral(A^2*d^4*g^4*x^4 + 4*A^2*c*d^3*g^4*x^3 + 6*A^2*c^2*d^2*g^4*x^2 + 4 *A^2*c^3*d*g^4*x + A^2*c^4*g^4 + (B^2*d^4*g^4*x^4 + 4*B^2*c*d^3*g^4*x^3 + 6*B^2*c^2*d^2*g^4*x^2 + 4*B^2*c^3*d*g^4*x + B^2*c^4*g^4)*log(e*((b*x + a)/ (d*x + c))^n)^2 + 2*(A*B*d^4*g^4*x^4 + 4*A*B*c*d^3*g^4*x^3 + 6*A*B*c^2*d^2 *g^4*x^2 + 4*A*B*c^3*d*g^4*x + A*B*c^4*g^4)*log(e*((b*x + a)/(d*x + c))^n) , x)
Timed out. \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\text {Timed out} \] Input:
integrate((d*g*x+c*g)**4*(A+B*ln(e*((b*x+a)/(d*x+c))**n))**2,x)
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 2880 vs. \(2 (519) = 1038\).
Time = 0.58 (sec) , antiderivative size = 2880, normalized size of antiderivative = 5.29 \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\text {Too large to display} \] Input:
integrate((d*g*x+c*g)^4*(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="m axima")
Output:
2/5*A*B*d^4*g^4*x^5*log(e*(b*x/(d*x + c) + a/(d*x + c))^n) + 1/5*A^2*d^4*g ^4*x^5 + 2*A*B*c*d^3*g^4*x^4*log(e*(b*x/(d*x + c) + a/(d*x + c))^n) + A^2* c*d^3*g^4*x^4 + 4*A*B*c^2*d^2*g^4*x^3*log(e*(b*x/(d*x + c) + a/(d*x + c))^ n) + 2*A^2*c^2*d^2*g^4*x^3 + 4*A*B*c^3*d*g^4*x^2*log(e*(b*x/(d*x + c) + a/ (d*x + c))^n) + 2*A^2*c^3*d*g^4*x^2 + 1/30*A*B*d^4*g^4*n*(12*a^5*log(b*x + a)/b^5 - 12*c^5*log(d*x + c)/d^5 - (3*(b^4*c*d^3 - a*b^3*d^4)*x^4 - 4*(b^ 4*c^2*d^2 - a^2*b^2*d^4)*x^3 + 6*(b^4*c^3*d - a^3*b*d^4)*x^2 - 12*(b^4*c^4 - a^4*d^4)*x)/(b^4*d^4)) - 1/3*A*B*c*d^3*g^4*n*(6*a^4*log(b*x + a)/b^4 - 6*c^4*log(d*x + c)/d^4 + (2*(b^3*c*d^2 - a*b^2*d^3)*x^3 - 3*(b^3*c^2*d - a ^2*b*d^3)*x^2 + 6*(b^3*c^3 - a^3*d^3)*x)/(b^3*d^3)) + 2*A*B*c^2*d^2*g^4*n* (2*a^3*log(b*x + a)/b^3 - 2*c^3*log(d*x + c)/d^3 - ((b^2*c*d - a*b*d^2)*x^ 2 - 2*(b^2*c^2 - a^2*d^2)*x)/(b^2*d^2)) - 4*A*B*c^3*d*g^4*n*(a^2*log(b*x + a)/b^2 - c^2*log(d*x + c)/d^2 + (b*c - a*d)*x/(b*d)) + 2*A*B*c^4*g^4*n*(a *log(b*x + a)/b - c*log(d*x + c)/d) + 2*A*B*c^4*g^4*x*log(e*(b*x/(d*x + c) + a/(d*x + c))^n) + A^2*c^4*g^4*x - 1/30*(77*a*b^3*c^4*d*g^4*n^2 - 94*a^2 *b^2*c^3*d^2*g^4*n^2 + 54*a^3*b*c^2*d^3*g^4*n^2 - 12*a^4*c*d^4*g^4*n^2 - ( 25*g^4*n^2 - 12*g^4*n*log(e))*b^4*c^5)*B^2*log(d*x + c)/(b^4*d) - 2/5*(b^5 *c^5*g^4*n^2 - 5*a*b^4*c^4*d*g^4*n^2 + 10*a^2*b^3*c^3*d^2*g^4*n^2 - 10*a^3 *b^2*c^2*d^3*g^4*n^2 + 5*a^4*b*c*d^4*g^4*n^2 - a^5*d^5*g^4*n^2)*(log(b*x + a)*log((b*d*x + a*d)/(b*c - a*d) + 1) + dilog(-(b*d*x + a*d)/(b*c - a*...
Timed out. \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\text {Timed out} \] Input:
integrate((d*g*x+c*g)^4*(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="g iac")
Output:
Timed out
Timed out. \[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\int {\left (c\,g+d\,g\,x\right )}^4\,{\left (A+B\,\ln \left (e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n\right )\right )}^2 \,d x \] Input:
int((c*g + d*g*x)^4*(A + B*log(e*((a + b*x)/(c + d*x))^n))^2,x)
Output:
int((c*g + d*g*x)^4*(A + B*log(e*((a + b*x)/(c + d*x))^n))^2, x)
\[ \int (c g+d g x)^4 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \, dx=\text {too large to display} \] Input:
int((d*g*x+c*g)^4*(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x)
Output:
(g**4*(24*int((log(((a + b*x)**n*e)/(c + d*x)**n)*x)/(a*c + a*d*x + b*c*x + b*d*x**2),x)*a**5*b**2*d**6*n - 120*int((log(((a + b*x)**n*e)/(c + d*x)* *n)*x)/(a*c + a*d*x + b*c*x + b*d*x**2),x)*a**4*b**3*c*d**5*n + 240*int((l og(((a + b*x)**n*e)/(c + d*x)**n)*x)/(a*c + a*d*x + b*c*x + b*d*x**2),x)*a **3*b**4*c**2*d**4*n - 240*int((log(((a + b*x)**n*e)/(c + d*x)**n)*x)/(a*c + a*d*x + b*c*x + b*d*x**2),x)*a**2*b**5*c**3*d**3*n + 120*int((log(((a + b*x)**n*e)/(c + d*x)**n)*x)/(a*c + a*d*x + b*c*x + b*d*x**2),x)*a*b**6*c* *4*d**2*n - 24*int((log(((a + b*x)**n*e)/(c + d*x)**n)*x)/(a*c + a*d*x + b *c*x + b*d*x**2),x)*b**7*c**5*d*n + 24*log(c + d*x)*a**6*d**5*n - 120*log( c + d*x)*a**5*b*c*d**4*n - 50*log(c + d*x)*a**5*b*d**5*n**2 + 240*log(c + d*x)*a**4*b**2*c**2*d**3*n + 250*log(c + d*x)*a**4*b**2*c*d**4*n**2 - 240* log(c + d*x)*a**3*b**3*c**3*d**2*n - 500*log(c + d*x)*a**3*b**3*c**2*d**3* n**2 + 120*log(c + d*x)*a**2*b**4*c**4*d*n + 500*log(c + d*x)*a**2*b**4*c* *3*d**2*n**2 - 24*log(c + d*x)*a*b**5*c**5*n - 250*log(c + d*x)*a*b**5*c** 4*d*n**2 + 50*log(c + d*x)*b**6*c**5*n**2 - 12*log(((a + b*x)**n*e)/(c + d *x)**n)**2*a**4*b**2*c*d**4 + 48*log(((a + b*x)**n*e)/(c + d*x)**n)**2*a** 3*b**3*c**2*d**3 - 72*log(((a + b*x)**n*e)/(c + d*x)**n)**2*a**2*b**4*c**3 *d**2 + 48*log(((a + b*x)**n*e)/(c + d*x)**n)**2*a*b**5*c**4*d + 60*log((( a + b*x)**n*e)/(c + d*x)**n)**2*b**6*c**4*d*x + 120*log(((a + b*x)**n*e)/( c + d*x)**n)**2*b**6*c**3*d**2*x**2 + 120*log(((a + b*x)**n*e)/(c + d*x...