Integrand size = 155, antiderivative size = 29 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=\log \left (5-\frac {3}{x \left (\frac {6 x}{5}+\frac {e^x}{\log (x-\log (x))}\right )}\right ) \] Output:
ln(5-3/x/(exp(-ln(ln(x-ln(x)))+x)+6/5*x))
Leaf count is larger than twice the leaf count of optimal. \(63\) vs. \(2(29)=58\).
Time = 0.21 (sec) , antiderivative size = 63, normalized size of antiderivative = 2.17 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=3 \left (-\frac {\log (x)}{3}-\frac {1}{3} \log \left (5 e^x+6 x \log (x-\log (x))\right )+\frac {1}{3} \log \left (5 e^x x-3 \log (x-\log (x))+6 x^2 \log (x-\log (x))\right )\right ) \] Input:
Integrate[((-36*x^2 + 36*x*Log[x])*Log[x - Log[x]] + (E^x*(-15 + 15*x + (- 15*x - 15*x^2 + (15 + 15*x)*Log[x])*Log[x - Log[x]]))/Log[x - Log[x]])/(E^ x*(15*x^2 - 60*x^4 + (-15*x + 60*x^3)*Log[x]) + (E^(2*x)*(-25*x^3 + 25*x^2 *Log[x]))/Log[x - Log[x]] + (18*x^3 - 36*x^5 + (-18*x^2 + 36*x^4)*Log[x])* Log[x - Log[x]]),x]
Output:
3*(-1/3*Log[x] - Log[5*E^x + 6*x*Log[x - Log[x]]]/3 + Log[5*E^x*x - 3*Log[ x - Log[x]] + 6*x^2*Log[x - Log[x]]]/3)
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 {\left (36 x \log (x)-36 x^2\right ) \log (x-\log (x))+\frac {e^x \left (\left (-15 x^2-15 x+(15 x+15) \log (x)\right ) \log (x-\log (x))+15 x-15\right )}{\log (x-\log (x))}}{\frac {e^{2 x} \left (25 x^2 \log (x)-25 x^3\right )}{\log (x-\log (x))}+e^x \left (-60 x^4+\left (60 x^3-15 x\right ) \log (x)+15 x^2\right )+\left (-36 x^5+18 x^3+\left (36 x^4-18 x^2\right ) \log (x)\right ) \log (x-\log (x))} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {\log (x-\log (x)) \left (-\left (\left (36 x \log (x)-36 x^2\right ) \log (x-\log (x))\right )-\frac {e^x \left (\left (-15 x^2-15 x+(15 x+15) \log (x)\right ) \log (x-\log (x))+15 x-15\right )}{\log (x-\log (x))}\right )}{x (x-\log (x)) \left (36 x^3 \log ^2(x-\log (x))+60 e^x x^2 \log (x-\log (x))+25 e^{2 x} x-18 x \log ^2(x-\log (x))-15 e^x \log (x-\log (x))\right )}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (\frac {6 (x-1) (x \log (x-\log (x))-\log (x) \log (x-\log (x))-1)}{(x-\log (x)) \left (5 e^x+6 x \log (x-\log (x))\right )}-\frac {3 \left (2 x^4 \log (x-\log (x))-2 x^3-2 x^3 \log (x) \log (x-\log (x))-2 x^3 \log (x-\log (x))+2 x^2+2 x^2 \log (x) \log (x-\log (x))-x^2 \log (x-\log (x))+x+x \log (x) \log (x-\log (x))-x \log (x-\log (x))+\log (x) \log (x-\log (x))-1\right )}{x (x-\log (x)) \left (6 x^2 \log (x-\log (x))+5 e^x x-3 \log (x-\log (x))\right )}\right )dx\) |
\(\Big \downarrow \) 7239 |
\(\displaystyle \int \frac {3 \left (-5 e^x (x-1)+12 x (x-\log (x)) \log ^2(x-\log (x))+5 e^x (x+1) (x-\log (x)) \log (x-\log (x))\right )}{x (x-\log (x)) \left (5 e^x+6 x \log (x-\log (x))\right ) \left (\left (6 x^2-3\right ) \log (x-\log (x))+5 e^x x\right )}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle 3 \int \frac {12 x (x-\log (x)) \log ^2(x-\log (x))+5 e^x (x+1) (x-\log (x)) \log (x-\log (x))+5 e^x (1-x)}{x (x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right ) \left (5 e^x x-3 \left (1-2 x^2\right ) \log (x-\log (x))\right )}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle 3 \int \left (\frac {2 (x-1) (x \log (x-\log (x))-\log (x) \log (x-\log (x))-1)}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}-\frac {2 \log (x-\log (x)) x^4-2 \log (x) \log (x-\log (x)) x^3-2 \log (x-\log (x)) x^3-2 x^3+2 \log (x) \log (x-\log (x)) x^2-\log (x-\log (x)) x^2+2 x^2+\log (x) \log (x-\log (x)) x-\log (x-\log (x)) x+x+\log (x) \log (x-\log (x))-1}{x (x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle 3 \left (2 \int \frac {1}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx-2 \int \frac {x}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx-2 \int \frac {x \log (x-\log (x))}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx+2 \int \frac {x^2 \log (x-\log (x))}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx+2 \int \frac {\log (x) \log (x-\log (x))}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx-2 \int \frac {x \log (x) \log (x-\log (x))}{(x-\log (x)) \left (6 x \log (x-\log (x))+5 e^x\right )}dx-\int \frac {1}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+\int \frac {1}{x (x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx-2 \int \frac {x}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+2 \int \frac {x^2}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+\int \frac {\log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+\int \frac {x \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+2 \int \frac {x^2 \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx-2 \int \frac {x^3 \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx-\int \frac {\log (x) \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx-\int \frac {\log (x) \log (x-\log (x))}{x (x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx-2 \int \frac {x \log (x) \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx+2 \int \frac {x^2 \log (x) \log (x-\log (x))}{(x-\log (x)) \left (6 \log (x-\log (x)) x^2+5 e^x x-3 \log (x-\log (x))\right )}dx\right )\) |
Input:
Int[((-36*x^2 + 36*x*Log[x])*Log[x - Log[x]] + (E^x*(-15 + 15*x + (-15*x - 15*x^2 + (15 + 15*x)*Log[x])*Log[x - Log[x]]))/Log[x - Log[x]])/(E^x*(15* x^2 - 60*x^4 + (-15*x + 60*x^3)*Log[x]) + (E^(2*x)*(-25*x^3 + 25*x^2*Log[x ]))/Log[x - Log[x]] + (18*x^3 - 36*x^5 + (-18*x^2 + 36*x^4)*Log[x])*Log[x - Log[x]]),x]
Output:
$Aborted
Time = 271.27 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.62
method | result | size |
risch | \(\ln \left (\frac {{\mathrm e}^{x}}{\ln \left (x -\ln \left (x \right )\right )}+\frac {\frac {6 x^{2}}{5}-\frac {3}{5}}{x}\right )-\ln \left (\frac {{\mathrm e}^{x}}{\ln \left (x -\ln \left (x \right )\right )}+\frac {6 x}{5}\right )\) | \(47\) |
parallelrisch | \(-\ln \left (x +\frac {5 \,{\mathrm e}^{-\ln \left (\ln \left (x -\ln \left (x \right )\right )\right )+x}}{6}\right )+\ln \left (x^{2}+\frac {5 \,{\mathrm e}^{-\ln \left (\ln \left (x -\ln \left (x \right )\right )\right )+x} x}{6}-\frac {1}{2}\right )-\ln \left (x \right )\) | \(48\) |
Input:
int(((((15*x+15)*ln(x)-15*x^2-15*x)*ln(x-ln(x))+15*x-15)*exp(-ln(ln(x-ln(x )))+x)+(36*x*ln(x)-36*x^2)*ln(x-ln(x)))/((25*x^2*ln(x)-25*x^3)*ln(x-ln(x)) *exp(-ln(ln(x-ln(x)))+x)^2+((60*x^3-15*x)*ln(x)-60*x^4+15*x^2)*ln(x-ln(x)) *exp(-ln(ln(x-ln(x)))+x)+((36*x^4-18*x^2)*ln(x)-36*x^5+18*x^3)*ln(x-ln(x)) ),x,method=_RETURNVERBOSE)
Output:
ln(1/ln(x-ln(x))*exp(x)+3/5*(2*x^2-1)/x)-ln(1/ln(x-ln(x))*exp(x)+6/5*x)
Time = 0.12 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.76 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=-\log \left (6 \, x + 5 \, e^{\left (x - \log \left (\log \left (x - \log \left (x\right )\right )\right )\right )}\right ) + \log \left (\frac {6 \, x^{2} + 5 \, x e^{\left (x - \log \left (\log \left (x - \log \left (x\right )\right )\right )\right )} - 3}{x}\right ) \] Input:
integrate(((((15*x+15)*log(x)-15*x^2-15*x)*log(x-log(x))+15*x-15)*exp(-log (log(x-log(x)))+x)+(36*x*log(x)-36*x^2)*log(x-log(x)))/((25*x^2*log(x)-25* x^3)*log(x-log(x))*exp(-log(log(x-log(x)))+x)^2+((60*x^3-15*x)*log(x)-60*x ^4+15*x^2)*log(x-log(x))*exp(-log(log(x-log(x)))+x)+((36*x^4-18*x^2)*log(x )-36*x^5+18*x^3)*log(x-log(x))),x, algorithm="fricas")
Output:
-log(6*x + 5*e^(x - log(log(x - log(x))))) + log((6*x^2 + 5*x*e^(x - log(l og(x - log(x)))) - 3)/x)
Exception generated. \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=\text {Exception raised: PolynomialError} \] Input:
integrate(((((15*x+15)*ln(x)-15*x**2-15*x)*ln(x-ln(x))+15*x-15)*exp(-ln(ln (x-ln(x)))+x)+(36*x*ln(x)-36*x**2)*ln(x-ln(x)))/((25*x**2*ln(x)-25*x**3)*l n(x-ln(x))*exp(-ln(ln(x-ln(x)))+x)**2+((60*x**3-15*x)*ln(x)-60*x**4+15*x** 2)*ln(x-ln(x))*exp(-ln(ln(x-ln(x)))+x)+((36*x**4-18*x**2)*ln(x)-36*x**5+18 *x**3)*ln(x-ln(x))),x)
Output:
Exception raised: PolynomialError >> 1/(-5*_t0*x**2 + 5*x**3) contains an element of the set of generators.
Leaf count of result is larger than twice the leaf count of optimal. 70 vs. \(2 (29) = 58\).
Time = 0.12 (sec) , antiderivative size = 70, normalized size of antiderivative = 2.41 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=\log \left (2 \, x^{2} - 1\right ) - 2 \, \log \left (x\right ) + \log \left (\frac {5 \, x e^{x} + 3 \, {\left (2 \, x^{2} - 1\right )} \log \left (x - \log \left (x\right )\right )}{3 \, {\left (2 \, x^{2} - 1\right )}}\right ) - \log \left (\frac {6 \, x \log \left (x - \log \left (x\right )\right ) + 5 \, e^{x}}{6 \, x}\right ) \] Input:
integrate(((((15*x+15)*log(x)-15*x^2-15*x)*log(x-log(x))+15*x-15)*exp(-log (log(x-log(x)))+x)+(36*x*log(x)-36*x^2)*log(x-log(x)))/((25*x^2*log(x)-25* x^3)*log(x-log(x))*exp(-log(log(x-log(x)))+x)^2+((60*x^3-15*x)*log(x)-60*x ^4+15*x^2)*log(x-log(x))*exp(-log(log(x-log(x)))+x)+((36*x^4-18*x^2)*log(x )-36*x^5+18*x^3)*log(x-log(x))),x, algorithm="maxima")
Output:
log(2*x^2 - 1) - 2*log(x) + log(1/3*(5*x*e^x + 3*(2*x^2 - 1)*log(x - log(x )))/(2*x^2 - 1)) - log(1/6*(6*x*log(x - log(x)) + 5*e^x)/x)
Time = 0.29 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.76 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=\log \left (6 \, x^{2} \log \left (x - \log \left (x\right )\right ) + 5 \, x e^{x} - 3 \, \log \left (x - \log \left (x\right )\right )\right ) - \log \left (6 \, x \log \left (x - \log \left (x\right )\right ) + 5 \, e^{x}\right ) - \log \left (x\right ) \] Input:
integrate(((((15*x+15)*log(x)-15*x^2-15*x)*log(x-log(x))+15*x-15)*exp(-log (log(x-log(x)))+x)+(36*x*log(x)-36*x^2)*log(x-log(x)))/((25*x^2*log(x)-25* x^3)*log(x-log(x))*exp(-log(log(x-log(x)))+x)^2+((60*x^3-15*x)*log(x)-60*x ^4+15*x^2)*log(x-log(x))*exp(-log(log(x-log(x)))+x)+((36*x^4-18*x^2)*log(x )-36*x^5+18*x^3)*log(x-log(x))),x, algorithm="giac")
Output:
log(6*x^2*log(x - log(x)) + 5*x*e^x - 3*log(x - log(x))) - log(6*x*log(x - log(x)) + 5*e^x) - log(x)
Timed out. \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=-\int \frac {\ln \left (x-\ln \left (x\right )\right )\,\left (36\,x\,\ln \left (x\right )-36\,x^2\right )-{\mathrm {e}}^{x-\ln \left (\ln \left (x-\ln \left (x\right )\right )\right )}\,\left (\ln \left (x-\ln \left (x\right )\right )\,\left (15\,x-\ln \left (x\right )\,\left (15\,x+15\right )+15\,x^2\right )-15\,x+15\right )}{\ln \left (x-\ln \left (x\right )\right )\,\left (\ln \left (x\right )\,\left (18\,x^2-36\,x^4\right )-18\,x^3+36\,x^5\right )-{\mathrm {e}}^{2\,x-2\,\ln \left (\ln \left (x-\ln \left (x\right )\right )\right )}\,\ln \left (x-\ln \left (x\right )\right )\,\left (25\,x^2\,\ln \left (x\right )-25\,x^3\right )+{\mathrm {e}}^{x-\ln \left (\ln \left (x-\ln \left (x\right )\right )\right )}\,\ln \left (x-\ln \left (x\right )\right )\,\left (\ln \left (x\right )\,\left (15\,x-60\,x^3\right )-15\,x^2+60\,x^4\right )} \,d x \] Input:
int(-(log(x - log(x))*(36*x*log(x) - 36*x^2) - exp(x - log(log(x - log(x)) ))*(log(x - log(x))*(15*x - log(x)*(15*x + 15) + 15*x^2) - 15*x + 15))/(lo g(x - log(x))*(log(x)*(18*x^2 - 36*x^4) - 18*x^3 + 36*x^5) - exp(2*x - 2*l og(log(x - log(x))))*log(x - log(x))*(25*x^2*log(x) - 25*x^3) + exp(x - lo g(log(x - log(x))))*log(x - log(x))*(log(x)*(15*x - 60*x^3) - 15*x^2 + 60* x^4)),x)
Output:
-int((log(x - log(x))*(36*x*log(x) - 36*x^2) - exp(x - log(log(x - log(x)) ))*(log(x - log(x))*(15*x - log(x)*(15*x + 15) + 15*x^2) - 15*x + 15))/(lo g(x - log(x))*(log(x)*(18*x^2 - 36*x^4) - 18*x^3 + 36*x^5) - exp(2*x - 2*l og(log(x - log(x))))*log(x - log(x))*(25*x^2*log(x) - 25*x^3) + exp(x - lo g(log(x - log(x))))*log(x - log(x))*(log(x)*(15*x - 60*x^3) - 15*x^2 + 60* x^4)), x)
Time = 0.48 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.83 \[ \int \frac {\left (-36 x^2+36 x \log (x)\right ) \log (x-\log (x))+\frac {e^x \left (-15+15 x+\left (-15 x-15 x^2+(15+15 x) \log (x)\right ) \log (x-\log (x))\right )}{\log (x-\log (x))}}{e^x \left (15 x^2-60 x^4+\left (-15 x+60 x^3\right ) \log (x)\right )+\frac {e^{2 x} \left (-25 x^3+25 x^2 \log (x)\right )}{\log (x-\log (x))}+\left (18 x^3-36 x^5+\left (-18 x^2+36 x^4\right ) \log (x)\right ) \log (x-\log (x))} \, dx=\mathrm {log}\left (5 e^{x} x +6 \,\mathrm {log}\left (x -\mathrm {log}\left (x \right )\right ) x^{2}-3 \,\mathrm {log}\left (x -\mathrm {log}\left (x \right )\right )\right )-\mathrm {log}\left (5 e^{x}+6 \,\mathrm {log}\left (x -\mathrm {log}\left (x \right )\right ) x \right )-\mathrm {log}\left (x \right ) \] Input:
int(((((15*x+15)*log(x)-15*x^2-15*x)*log(x-log(x))+15*x-15)*exp(-log(log(x -log(x)))+x)+(36*x*log(x)-36*x^2)*log(x-log(x)))/((25*x^2*log(x)-25*x^3)*l og(x-log(x))*exp(-log(log(x-log(x)))+x)^2+((60*x^3-15*x)*log(x)-60*x^4+15* x^2)*log(x-log(x))*exp(-log(log(x-log(x)))+x)+((36*x^4-18*x^2)*log(x)-36*x ^5+18*x^3)*log(x-log(x))),x)
Output:
log(5*e**x*x + 6*log( - log(x) + x)*x**2 - 3*log( - log(x) + x)) - log(5*e **x + 6*log( - log(x) + x)*x) - log(x)