Calculus · real student question

Evaluate the integral from 0 to 1 of ln(x) divided by (x to the 0.9 times (1 − x) to the 0.1), with respect to x.

Question

Evaluate

I=01lnxx0.9(1x)0.1dxI = \int_0^1 \frac{\ln x}{x^{0.9}(1-x)^{0.1}}\,dx

Step-by-step solution

  1. Put the integrand in Beta-function shape. Rewrite it as

    I=01x0.9(1x)0.1lnxdxI = \int_0^1 x^{-0.9}(1-x)^{-0.1}\ln x\,dx

    and compare with

    B(a,b)=01xa1(1x)b1dxB(a,b) = \int_0^1 x^{a-1}(1-x)^{b-1}dx

    Matching exponents gives a1=0.9a - 1 = -0.9 so a=0.1a = 0.1, and b1=0.1b - 1 = -0.1 so b=0.9b = 0.9. Both exponents exceed 1-1, so the integral converges at each endpoint despite the singularities.

  2. Produce the logarithm by differentiating in a. Differentiating under the integral sign brings down exactly lnx\ln x:

    aB(a,b)=01xa1(1x)b1lnxdx\frac{\partial}{\partial a}B(a,b) = \int_0^1 x^{a-1}(1-x)^{b-1}\ln x\,dx

    so I=aB(a,b)a=0.1,b=0.9I = \left.\partial_a B(a,b)\right|_{a=0.1,\,b=0.9}.

  3. Differentiate correctly — the trap is the third gamma. From B(a,b)=Γ(a)Γ(b)Γ(a+b)B(a,b) = \dfrac{\Gamma(a)\Gamma(b)}{\Gamma(a+b)}, logarithmic differentiation with bb held fixed gives

    aB(a,b)=B(a,b)[ψ(a)ψ(a+b)]\frac{\partial}{\partial a}B(a,b) = B(a,b)\bigl[\psi(a) - \psi(a+b)\bigr]

    It is tempting to note a+b=1a + b = 1 at the evaluation point and write B=Γ(a)Γ(b)B = \Gamma(a)\Gamma(b) before differentiating — but a+ba+b is not constant as aa varies, so dropping Γ(a+b)\Gamma(a+b) loses the entire ψ(a+b)-\psi(a+b) term.

  4. Evaluate the Beta value with the reflection formula. At a=0.1a = 0.1, b=0.9b = 0.9 we do have a+b=1a + b = 1, so Γ(a+b)=Γ(1)=1\Gamma(a+b) = \Gamma(1) = 1 and

    B(0.1,0.9)=Γ(0.1)Γ(0.9)=πsin(0.1π)=πsin(π/10)10.16640B(0.1, 0.9) = \Gamma(0.1)\Gamma(0.9) = \frac{\pi}{\sin(0.1\pi)} = \frac{\pi}{\sin(\pi/10)} \approx 10.16640

  5. Assemble the digamma factor. With ψ(1)=γ\psi(1) = -\gamma (Euler-Mascheroni, γ0.5772157\gamma \approx 0.5772157) and ψ(0.1)10.4237549\psi(0.1) \approx -10.4237549:

    ψ(0.1)ψ(1)=10.4237549+0.5772157=9.8465392\psi(0.1) - \psi(1) = -10.4237549 + 0.5772157 = -9.8465392

    so

    I=πsin(π/10)(ψ(0.1)+γ)I = \frac{\pi}{\sin(\pi/10)}\bigl(\psi(0.1) + \gamma\bigr)

  6. Compute and verify numerically.

    I10.16640×(9.8465392)100.1033I \approx 10.16640 \times (-9.8465392) \approx -100.1033

    Independent numerical integration — substituting x=u10x = u^{10} near 00 and x=1v10x = 1 - v^{10} near 11 to tame both singularities, then applying 300300-node Gauss-Legendre — gives 100.10328-100.10328, confirming the closed form. (Omitting the ψ(a+b)-\psi(a+b) term would have given 105.97-105.97, about 6%6\% too negative.) The result is negative because lnx<0\ln x < 0 on the whole interval.

Answer

πsin(π/10)(ψ(0.1)+γ)100.103\frac{\pi}{\sin(\pi/10)}\bigl(\psi(0.1) + \gamma\bigr) \approx -100.103

Need to solve a different problem like this? Open the solver →