- 3,372
- 465
Homework Statement
For the problem see the attachment, I am trying to evaluate this integral... but the fun part is that I am getting totally different results
The Attempt at a Solution
First of all, I tried to put the integral in the Mathematica, but the first result contained logarithms rather than arcosh... Also let me write x instead of a...
Then I saw that the author points out the substitution x= \frac{\Omega_{0m}}{1-\Omega_{0m}} sinh^{2}(\psi/2)
So I said let's try setting:
x= \frac{\Omega_{0m}}{1-\Omega_{0m}} u^{2}
dx=\frac{\Omega_{0m}}{1-\Omega_{0m}} du^{2}
x=0 \rightarrow u^{2}=0 and x=1 \rightarrow u^{2}=\frac{\Omega_{0m}}{1-\Omega_{0m}}=A (I name it A in order to write nicely the integral here)
In that form the integral will be written:
\frac{1}{H_{0}} \int_{0}^{A} du^{2} \frac{\Omega_{0m}}{1-\Omega_{0m}} \frac{1}{\sqrt{1-\Omega_{0m}+ \frac{1-\Omega_{0m}}{u^{2}}}}
So far I don't think I am doing anything wrong, now in the denominator I can take out a 1- \Omega_{0m} to write it better:
\frac{1}{H_{0}} \int_{0}^{A} du^{2} \frac{\Omega_{0m}}{(1-\Omega_{0m})^{3/2}} \frac{1}{\sqrt{1+\frac{1}{u^{2}}}}= B \int_{0}^{A} du^{2} \frac{1}{\sqrt{1+\frac{1}{u^{2}}}}
Where, in the last equation, I just put all the constants in a B...
Nevermind, trying to solve that integral in the mathematica, I am getting this result:
\int \frac{dy}{\sqrt{1+\frac{1}{y}}}=\sqrt{y+y^{2}} - \frac{1}{2} ln(2\sqrt{y+y^{2}}+2y+1)
by setting y=u^{2}
Going even further, I tried to take the u^{-2} out of the square root:
B \int_{0}^{A} du^{2} \frac{1}{\sqrt{(1+u^{2})\frac{1}{u^{2}}}}
which can be written as:
B \int_{0}^{A} du^{2} \frac{u}{\sqrt{(1+u^{2})}}=B \int_{0}^{A} \frac{2u^{2}du}{\sqrt{(1+u^{2})}}
The mathematica for this same result, gives this answer:
\int \frac{2u^{2}du}{\sqrt{(1+u^{2})}}=u \sqrt{u^{2}+1}-sinh^{-1}(u)
which is again wrong comparing to what I need (as the attachment states I need the cosh-1...)
After that I even tried to put u=sinh(\psi/2) as indicated in the abstract...
B \int_{0}^{A} \frac{2sinh^{2}(\psi/2) dsinh(\psi/2)}{\sqrt{(1+sinh^{2}(\psi/2))}}
B \int_{0}^{A} \frac{2sinh^{2}(\psi/2) cosh(\psi/2) d(\psi/2)}{\sqrt{(1+sinh^{2}(\psi/2))}}
Mathematica gives:
\int \frac{2sinh^{2}(x) cosh(x) dx}{\sqrt{(1+sinh^{2}(x))}}= \frac{ cosh(x)[sinh(x)cosh(x)-x]}{\sqrt{cosh^{2}(x)}}=sinh(x)cosh(x)-x
What I am doing wrong?
Attachments
Last edited: