I I have an error in integrating to calculate the age of the Universe

Click For Summary
The discussion focuses on the integration process to calculate the age of the Universe using specific cosmological parameters. The initial equation provided leads to a result of approximately 7.44 billion years, which is deemed incorrect. Participants emphasize the importance of using LaTeX for clarity and suggest simplifying the equations to improve readability. There is a consensus that the precision of numerical values should be reduced for better communication, and alternative approaches to the integral are proposed for more accurate results. The conversation highlights the need for clear formatting and understanding of mathematical principles in cosmological calculations.
Buzz Bloom
Gold Member
Messages
2,517
Reaction score
465
TL;DR
I am seeking help in finding my error. I am integrating the Friedmann equation (with just H_0, Ω_m, and Ω_Λ) expecting a result of about 13.8 x 10^9 years. My result and how I calculated it is in the main body of this post.
NOTE: I am attempting to convey the equations in this post into LaTerX format in Post #19.

My result is way off. It is about 7.44 x 10^9 years. The values I use are:
1/H_0 = 14.4 X 10^9 years,​
M = Ω_m = 0.3103, and​
L = Ω_Λ = 1 - Ω_m = 0.6897.​
The equation I start with is the following.

dt = (1/H_0) (1/(M/a^3 + L)^(1/2)) (da/a)
I make the following substitutions.
x = a^3 and a = x^(1/3),​
da = (1/3) dx / x^(2/3)​
Q = (1/2) M/L and M/L = 2Q​
This leads to the following equation.
dt = (1/3) (1/H_0) (1/L^1/2)) dx / (x^2 + 2Q x)^(1/2)
Integrating produces
t = (1/3) (1/H_0) (1/L^(1/2) [log ( x+Q + (x^2 + 2Qx)^(1/2) )].​
Note: I did differentiate the above integration result to confirm it leads to the previous differential equation.
Calculating the value of t uses the integration limits between x=a=0 and x=a=1. The result is the following.
t = (1/3) (1/H_0) (1/L^(1/2) log (W(1) / W(0)), where​
W(1) = 1+Q + (1+2Q)^(1/2), and​
W(0) = (Q+2Q)(1/2).​
Now comes the numerical calculations.
(1/3) (1/L^(1/2) (1/H_0) = (1/3) (1/0.6897)^1/2 14.4 x 10^9 years​
~= 5,780,000,000 years.​
W(1) ~= ~2.43​
W(0) ~= 0.896​
W(1)/W(0) = ~2.71​
log(W(1)/W(0)) =~1.00​
t = (1/3) (1/L^(1/2) (1/H_0) log (W(1) / W(0))​
~=5,780,000,000 years X ~1.00 ~=5,770,000,000 years​
 
Last edited:
Space news on Phys.org
Buzz Bloom said:
0.997656155687048

Of for goodness sake. You can start by making it easier on people who might want to help you by proper rounding. Make it easy for them, not hard.
 
@Buzz Bloom your post is unreadable because you are not using LaTeX to format your equations.
 
Hi @Vanadium 50:

I would much appreciate your specific suggestion about "rounding". I do not have any instinct about how much is enough.

Regards,
Buzz
 
Hi @PeterDonis:

It has been a very long time (years) since I last used LaTeX. My memory about it has vanished. Would you please tell me how I can find the instructions about how to use LaTeX?

Regards,
Buzz
 
Last edited:
You should know that those numbers have way too many digits of precision. If you don't, you need to take a step back and brush up on basic mathematics before tackling cosmology. Whether the correct number of digits is three or four or something else is less relevant that 156752675.6786876877686876876167861876 is clearly not right.

Peter is also right - a second reason that your post is unreadable is you didn't bother to make it clear by using LaTexX.

If you make it hard on the people who you want to help you, you will get less help.
 
Buzz Bloom said:
I do not have any instinct about how much is enough.
Age of the universe? Order of magnitude, second digit is excessive/hubris.
 
Hi @Vanadium:

I will take your advice and use 3 digits.

Regards,
Buzz
 
  • #10
Hi @Bystander:

Your comment "Order of magnitude, second digit is excessive/hubris," does not communicate to me at all. I just do not get what you are trying to tell me.

Regards,
Buzz
 
  • #11
Buzz Bloom said:
Would you please tell me how I can find the instructions about how to use LaTeX?
There's a "LaTeX Guide" link at the bottom left of the edit window when you're making a post.
 
  • Like
Likes Buzz Bloom
  • #12
Bystander said:
Age of the universe
Is 13,700,000,001 years old. I know that because last year I read it was 13.7 billion years old.
 
  • Like
  • Love
  • Haha
Likes Steve4Physics, malawi_glenn, timmdeeg and 3 others
  • #13
Hi @PeterDonis:

I am editing Post #1 to try to convert equations to LaTeX, but I am so far not able to succeed on my first equation. Can you help me?

Regards,
Buzz
 
  • #14
Buzz Bloom said:
I am editing Post #1
You know better than that! Write a new messgae - don't change messages that have already received replies.
 
  • Like
Likes Buzz Bloom and berkeman
  • #15
Buzz Bloom said:
I am editing Post #1 to try to convert equations to LaTeX, but I am so far not able to succeed on my first equation.
It looks like you already got a harder equation right. You just need to be patient.

Also, @Vanadium 50 is right that you should not be editing the OP. Instead add new posts with equations in LaTeX as you do them.
 
  • #17
Buzz Bloom said:
I make the following substitutions
That looks more complicated than necessary. Pulling the ##a## in the denominator (from ##a H_0##) inside the square root in your integrand gives for the integral (we can also pull ##H_0## out in front of the integral since it's a constant):

$$
t =\frac{1}{H_0} \int_0^1 \frac{da}{\sqrt{\frac{M}{a} + L a^2}}
$$

Evaluating this integral should give you a much closer answer.
 
  • #18
Hi @PeterDonis:

I very much appreciate your comments and your advice. I will start a new post with a gradual intent to attempt to use LaTeX to complete the sequence that explains the integration.. When I edited Post 1, I alternated editing and then posting so I could see if the LaTeX I used for an equation was OK. I ran into a problem in that when I posted the edit, it did not show the LaTeX form. I have decided that in order to see the result in Latex form, I will need to log out of the Physics Forums and then re-enter.

Regards,
Buzz
 
Last edited:
  • #19
THIS POST IS NOW COMPLETED.
Note that I have finally corrected my errors and have calculated an expected result.

$$dt = \frac {da} {H_0 a \sqrt {M/a3+L}} = \frac {{\sqrt {a}} da} {H_0 \sqrt {M+L a^3}}$$
I make the following substitutions.
##{x = a^3,}## ##{a = x^{1/3}},## ##{da = dx / 3x^{2/3}},## ##and## ##{M/L = 2Q}.##
$$dt = \frac {dx} {3H_0 \sqrt L \sqrt{x^2 + 2Qx} }$$
$$t = { \frac {1} {3H_0 \sqrt L}} {\ln ( {x+Q + \sqrt {x^2 + 2Qx} } ) }$$
NOTE: Post #28 shows the differentiation of the above resulting in the dt equation above.

Evaluating the numerical integration range is for x=a=0 to x=a=1.
$$t = {\frac {1} {3H_0 \sqrt L}} {\ln ( {\frac {1+Q + \sqrt {1 + 2Q} } {Q} ) }}$$
The values I use are:
##{1/H_0} =14.4 giga-years,##

##M = {Ω_m} = 0.3103 ##,

##L = {Ω_Λ} = {1 - Ω_m} = 0.6897, ##

## \sqrt {L} = 0.8305,## and

##Q = {M/2L} = 0.2250.##

##{\frac {1+Q + \sqrt {1 + 2Q} } {Q} } = \frac {{1.2250} + \sqrt {1.45}} {0.2250}## = 10.80

##{\ln ( { \frac {1+Q + \sqrt {1 + 2Q} } {Q} } )} = {2.38} ##

##t = {\frac {2.38} {3 H_0 0.8305}} = {\frac {2.38} {2.4915}} ({1/H_0}) = 0.9552 ({1/H_0})##

##t = {13.76}## giga-years
 
Last edited:
  • #20
  • Like
Likes Buzz Bloom
  • #21
Buzz Bloom said:
I have decided that in order to see the result in Latex form, I will need to log out of the Physics Forums and then re-enter.
No, just refresh the page with the little spinny arrow thingy:

1655772177768.png


PF uses an optimization called "lazy loading" for LaTeX (I think), which means that the LaTeX is not rendered until you refresh your browser at least once.

(It's a feature, not a bug...) :wink:
 
  • Like
Likes malawi_glenn and Buzz Bloom
  • #22
Hi @pbuk:

I am very familiar with the reference you posted. My first LaTeX equation in Post #19 is based on the equations in your reference, except I omit ##Ω_r## and ##Ω_k##.

Regards,
Buzz
 
  • #23
Buzz Bloom said:
I am very familiar with the reference you posted.
In that case you will have seen the derivations for approximations to ## a(t) ## neglecting all but one of ## \Omega_M, \Omega_R \text{ and } \Omega_\Lambda ## (as well as ## \Omega_k ##). There is no derivation neglecting only ## \Omega_M ## (as well as ## \Omega_k ##) because there is no analytic form for this integral.
 
  • #24
pbuk said:
In that case you will have seen the derivations for approximations to ## a(t) ## neglecting all but one of ## \Omega_M, \Omega_R \text{ and } \Omega_\Lambda ## (as well as ## \Omega_k ##). There is no derivation neglecting only ## \Omega_M ## (as well as ## \Omega_k ##) because there is no analytic form for this integral.
The case that @Buzz Bloom considers here, ##\Omega_R = 0## and ##\Omega_M + \Omega_\Lambda = 1##, does have invertible closed form analytic solutions, i.e., there are closed form expressions for both ##a\left(t\right)## and ##t\left(a\right)## in this case.
 
  • Like
Likes pbuk and PeterDonis
  • #25
Buzz Bloom said:
$$dt = \frac {dx} {3H_0 \sqrt L \sqrt{x^2 + 2Qx} }$$
$$t = { \frac {1} {3H_0 \sqrt L}} {\ln ( {x+Q + \sqrt {x + 2Q} } ) }$$

I have not checked anything else, but differentiating
$$t = \frac {1} {3H_0 \sqrt L} \ln \left( x+Q + \sqrt {x + 2Q} \right)$$
does not seem to give
$$dt = \frac {dx} {3H_0 \sqrt L \sqrt{x^2 + 2Qx} }.$$
 
  • #26
According to Dwight's book, formulae 380.001, the result of the integration is:

##t=\displaystyle\frac{1}{3H_0\sqrt{L}}\ln[2(x+Q+\sqrt{2Qx+x^2})]##
 
  • #27
Hi @George Jones:

Thank you for responding to my problem. I should have made clear that I have not completed the presentation I am working on in Post #19.. The equation with ##t = ## has errors due to my lack of experience using LaTeX I have not fixed yet. The equation should be
$$t = { \frac {1} {3H_0 \sqrt L}} {\ln ( {x+Q + \sqrt {x^2 + 2Qx} } ) }$$

Regards,
Buzz
 
  • #28
When I differentiate the
$$t = { \frac {1} {3H_0 \sqrt L}} {\ln ( {x+Q + \sqrt {x^2 + 2Qx} } ) }$$
equation, I get
$$ dt =({ \frac {1} {3H_0 \sqrt L}}) ({\frac {1} {x+Q + \sqrt {x^2 + 2Qx} }}) ({1 + {\frac {2x+2Q} {2{\sqrt {x^2 + 2Qx}}}}})$$
This simplifies to
$$ dt =({\frac {1} {3H_0 \sqrt L}}) ({\frac {1} {x+Q + \sqrt {x^2 + 2Qx}}})
({\frac {x+Q + \sqrt {x^2 + 2Qx}} { \sqrt {x^2 + 2Qx}} } )$$
and
$$ dt =({\frac {1} {3H_0 \sqrt L}}) ( {\frac {1} { \sqrt {x^2 + 2Qx}} } )$$
The above is the integrand I originally integrated.
 
Last edited:
  • #29
##t=\displaystyle\frac{1}{3H_0\sqrt{L}}\ln\frac{1+Q+\sqrt{1+2Q}}{Q}##
##L=0.6897## ##\sqrt{L}=0.8305##
##t=13.75## Gyr
 
  • #30
Hi @mbond:

Thank you for your post. I would much appreciate it you would post the reference of the integral with the x variable which leads to your "t = ..." equation. The equation I reached is
$$t = { \frac {1} {3H_0 \sqrt L}} {\ln ( {x+Q + \sqrt {x^2 + 2Qx} } ) }$$.
If this is wrong, can you tell me where my error is?
Keep in mind that the numerical integration is from x=0 to x=1.
Regards,
Buzz
 
Last edited:

Similar threads

Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
485
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
20
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K