Integrand size = 23, antiderivative size = 228 \[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=-\frac {n \log \left (-\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}-\frac {n \log \left (-\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}-\frac {n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{e}-\frac {n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{e} \]
[Out]
Time = 0.27 (sec) , antiderivative size = 228, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2604, 2465, 2441, 2440, 2438} \[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=-\frac {n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{e}-\frac {n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{e}-\frac {n \log (d+e x) \log \left (-\frac {e \left (-\sqrt {b^2-4 a c}+b+2 c x\right )}{2 c d-e \left (b-\sqrt {b^2-4 a c}\right )}\right )}{e}-\frac {n \log (d+e x) \log \left (-\frac {e \left (\sqrt {b^2-4 a c}+b+2 c x\right )}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}\right )}{e}+\frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e} \]
[In]
[Out]
Rule 2438
Rule 2440
Rule 2441
Rule 2465
Rule 2604
Rubi steps \begin{align*} \text {integral}& = \frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}-\frac {n \int \frac {(b+2 c x) \log (d+e x)}{a+b x+c x^2} \, dx}{e} \\ & = \frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}-\frac {n \int \left (\frac {2 c \log (d+e x)}{b-\sqrt {b^2-4 a c}+2 c x}+\frac {2 c \log (d+e x)}{b+\sqrt {b^2-4 a c}+2 c x}\right ) \, dx}{e} \\ & = \frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}-\frac {(2 c n) \int \frac {\log (d+e x)}{b-\sqrt {b^2-4 a c}+2 c x} \, dx}{e}-\frac {(2 c n) \int \frac {\log (d+e x)}{b+\sqrt {b^2-4 a c}+2 c x} \, dx}{e} \\ & = -\frac {n \log \left (-\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}-\frac {n \log \left (-\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}+n \int \frac {\log \left (\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{-2 c d+\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{d+e x} \, dx+n \int \frac {\log \left (\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{-2 c d+\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{d+e x} \, dx \\ & = -\frac {n \log \left (-\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}-\frac {n \log \left (-\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}+\frac {n \text {Subst}\left (\int \frac {\log \left (1+\frac {2 c x}{-2 c d+\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{x} \, dx,x,d+e x\right )}{e}+\frac {n \text {Subst}\left (\int \frac {\log \left (1+\frac {2 c x}{-2 c d+\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{x} \, dx,x,d+e x\right )}{e} \\ & = -\frac {n \log \left (-\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}-\frac {n \log \left (-\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (d \left (a+b x+c x^2\right )^n\right )}{e}-\frac {n \text {Li}_2\left (\frac {2 c (d+e x)}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{e}-\frac {n \text {Li}_2\left (\frac {2 c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{e} \\ \end{align*}
Time = 0.27 (sec) , antiderivative size = 200, normalized size of antiderivative = 0.88 \[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\frac {\log (d+e x) \left (-n \log \left (\frac {e \left (-b+\sqrt {b^2-4 a c}-2 c x\right )}{2 c d-b e+\sqrt {b^2-4 a c} e}\right )-n \log \left (\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{-2 c d+\left (b+\sqrt {b^2-4 a c}\right ) e}\right )+\log \left (d (a+x (b+c x))^n\right )\right )-n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d+\left (-b+\sqrt {b^2-4 a c}\right ) e}\right )-n \operatorname {PolyLog}\left (2,\frac {2 c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{e} \]
[In]
[Out]
Time = 1.37 (sec) , antiderivative size = 300, normalized size of antiderivative = 1.32
method | result | size |
parts | \(\frac {\ln \left (e x +d \right ) \ln \left (d \left (c \,x^{2}+b x +a \right )^{n}\right )}{e}-\frac {n \left (\ln \left (e x +d \right ) \ln \left (\frac {-b e +2 c d -2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{-b e +2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )+\ln \left (e x +d \right ) \ln \left (\frac {b e -2 c d +2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{b e -2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )+\operatorname {dilog}\left (\frac {-b e +2 c d -2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{-b e +2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )+\operatorname {dilog}\left (\frac {b e -2 c d +2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{b e -2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )\right )}{e}\) | \(300\) |
risch | \(\frac {\ln \left (\left (c \,x^{2}+b x +a \right )^{n}\right ) \ln \left (e x +d \right )}{e}-\frac {n \ln \left (e x +d \right ) \ln \left (\frac {-b e +2 c d -2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{-b e +2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )}{e}-\frac {n \ln \left (e x +d \right ) \ln \left (\frac {b e -2 c d +2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{b e -2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )}{e}-\frac {n \operatorname {dilog}\left (\frac {-b e +2 c d -2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{-b e +2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )}{e}-\frac {n \operatorname {dilog}\left (\frac {b e -2 c d +2 c \left (e x +d \right )+\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}{b e -2 c d +\sqrt {-4 a c \,e^{2}+e^{2} b^{2}}}\right )}{e}+\frac {\left (\frac {i \pi \,\operatorname {csgn}\left (i \left (c \,x^{2}+b x +a \right )^{n}\right ) {\operatorname {csgn}\left (i d \left (c \,x^{2}+b x +a \right )^{n}\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i \left (c \,x^{2}+b x +a \right )^{n}\right ) \operatorname {csgn}\left (i d \left (c \,x^{2}+b x +a \right )^{n}\right ) \operatorname {csgn}\left (i d \right )}{2}-\frac {i \pi {\operatorname {csgn}\left (i d \left (c \,x^{2}+b x +a \right )^{n}\right )}^{3}}{2}+\frac {i \pi {\operatorname {csgn}\left (i d \left (c \,x^{2}+b x +a \right )^{n}\right )}^{2} \operatorname {csgn}\left (i d \right )}{2}+\ln \left (d \right )\right ) \ln \left (e x +d \right )}{e}\) | \(458\) |
[In]
[Out]
\[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\int { \frac {\log \left ({\left (c x^{2} + b x + a\right )}^{n} d\right )}{e x + d} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\int { \frac {\log \left ({\left (c x^{2} + b x + a\right )}^{n} d\right )}{e x + d} \,d x } \]
[In]
[Out]
\[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\int { \frac {\log \left ({\left (c x^{2} + b x + a\right )}^{n} d\right )}{e x + d} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\log \left (d \left (a+b x+c x^2\right )^n\right )}{d+e x} \, dx=\int \frac {\ln \left (d\,{\left (c\,x^2+b\,x+a\right )}^n\right )}{d+e\,x} \,d x \]
[In]
[Out]