Link redshift with luminosity distance?

Click For Summary

Homework Help Overview

The discussion revolves around plotting luminosity distance as a function of redshift in the context of cosmology. The original poster presents equations related to luminosity distance and comoving distance, specifically in a flat and matter-dominant universe.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand how to incorporate the dummy variable z' in their calculations for plotting the integral in Python. Some participants clarify the nature of z' and suggest that it can be treated as a constant after evaluating the integral.

Discussion Status

Participants have provided clarification regarding the treatment of the dummy variable and have indicated that the integral can be evaluated to yield a constant for plotting. There is a general agreement on the approach to simplify the plotting process, though no explicit consensus on the final plotting method has been reached.

Contextual Notes

The discussion includes considerations of how to handle variables in programming and the implications of evaluating integrals in the context of plotting functions. The original poster's uncertainty about the variable z' reflects a common challenge in mathematical modeling.

June_cosmo
Messages
24
Reaction score
0

Homework Statement


Plot luminosity distance and redshift z

Homework Equations


$$d_L(z)=(1+z)r(z)$$
where d_L(z) is luminosity distance and r(z) is the comoving distance.
and we have
$$r(z)= \frac{H_0^{-1}}{\sqrt\Omega_K}*sinn[\sqrt{\Omega_K}\int_0^z\frac{dz'}{\sqrt{\Omega_M(1+z')^3}}]$$
where \Omega_Kis a measure of openness or closedness of the universe, sinn(x)=x in flat universe.
Suppose we consider a universe that is both flat and matter dominant, where \Omega_K=0,and \Omega_M=1.

The Attempt at a Solution


From the information given we know that
$$H_0d_L(z)=(1+z)\int_0^6\frac{dz'}{\sqrt{(1+z')^3}}$$
but I don't know how do I deal with z' when I plot it in, for example python? Since I don't know what z' equals to
 
Last edited:
Physics news on Phys.org
June_cosmo said:
$$H_0d_L(z)=(1+z)\int_0^6\frac{dz'}{\sqrt{(1+z')^3}}$$
but I don't know how do I deal with z' when I plot it in, for example python? Since I don't know what z' equals to
z' is not equal to anything. It's what's called a dummy variable, like a looping variable in Python.
Nor do you need to program the integral calculation. Just work out the definite integral and you'll get a number that does not change with z. Work out the number once, then hard-code it into your program as a constant.
 
andrewkirk said:
z' is not equal to anything. It's what's called a dummy variable, like a looping variable in Python.
Nor do you need to program the integral calculation. Just work out the definite integral and you'll get a number that does not change with z. Work out the number once, then hard-code it into your program as a constant.
Oh so you mean just work out
$$\int_0^6\frac{dz'}{\sqrt{(1+z')^3}}$$
which is approximate 1.24, then just plot
$$H_0d_L(z)=1.24(1+z)?$$
 
Yes, that's it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K