Evaluating $\int_1^e{\sqrt{\ln x}}dx$ by finding volume

134 Views Asked by At

$$\int_1^e\sqrt{\ln x}\;\mathrm{d}x$$

WolframAlpha provides an answer to the integral in terms of the imaginary error function. However, I was wondering why the method I employed did not work:

I can construct a solid formed by rotating $\sqrt{\ln x} \,\,(1\leq x\leq e)$ around the $x$-axis, whose volume is given by $\pi\displaystyle\int_1^e \big(\sqrt{\ln x}\big)^2dx$, which is equal to $\pi$. I can compare this volume to that of a cylinder with height $e-1$, and I solve for the radius which can used to find half the cross-sectional area. $\pi r^2(e-1)=\pi\implies r=\frac{1}{\sqrt{e-1}}$, and half the area of the cross-sectional area is $r\cdot(e-1)=\color{blue}{\sqrt{e-1}}$. And my picture (below) should imply that the cross-sectional area is equal to the integral, right?

Cylinder-Logarithm

I believe my thoughts were somewhat along the lines of Cavalieri's principle, but I can't exactly formulate the words. Obviously, my method is wrong here (by WolframAlpha), so I would like to know where my mistake exactly is, and another way of solving the integral.

2

There are 2 best solutions below

0
On BEST ANSWER

In general the (signed) cross-sectional area cannot be determined from the volume of the solid of revolution it generates, that is, the definite integral $\int_a^b f \,dx$ cannot in general be determined from $\int_a^b f^2 \,dx$.

For example, the functions $f(x) := \sqrt 3 x$ and $g(x) = 1$ satisfy (over the interval $[a, b] = [0, 1]$) $$\int_0^1 f^2 \,dx = 1 = \int_0^1 g^2 \,dx$$ but $$\int_0^1 f \,dx = \frac{\sqrt 3}2 \qquad \textrm{and} \qquad \int_0^1 g \,dx = 1.$$


As for the integral itself, substituting $x = e^{y^2}$ yields $$\int_1^e \sqrt{\ln x} \,dx = 2 \int_0^1 y^2 e^{y^2} \,du ,$$ and integrating by parts with $u = y$, $dv = 2 y e^{y^2}$ gives $$\left.y e^{y^2}\right\vert_0^1 - \int_0^1 e^{u^2} \,du = e - \int_0^1 e^{u^2} \,du.$$ The integrand $e^{u^2}$ does not have an antiderivative expressible in closed form in terms of terms of elementary functions, but in terms of the purpose-built imaginary error function, $$\operatorname{erfi} x := -i \operatorname{erf} ix = \frac2{\sqrt \pi} \int_0^x e^{u^2} \,du,$$ we have $$\int_1^e \sqrt{\ln x} \,dx = e - \frac{\sqrt \pi}2 \operatorname{erfi} 1 = 1.25563\ldots .$$

0
On

Another approach for getting the answer without referring directly to special functions...

$$\int_{1}^{e}\sqrt{\ln(x)}\space dx = \int_{0}^{1}e^u\sqrt{u}\space du$$

$$=\sum_{k=0}^{\infty}\frac{1}{k!} \int_{0}^{1}u^{k+\frac{1}{2}}\space du$$

$$=\sum_{k=0}^{\infty}\frac{1}{k!(k+\frac{3}{2})} \approx 1.25563 $$