Our new scientist consultants from the University of Maine have been hard at work helping us to make the most accurate simulations possible for the Minecraft worlds of Project WHIMC. We recently asked **Bryce Roix** to share some of his work process in determining how we should color the skies of our exoplanets with Datapacks.

## Convolution of the Blackbody Equation and the Rayleigh Scattering Equation for Molecules: Attempt #1

The purpose of this work is to determine the sky color of exoplanets. By using Planckβs Law, the blackbody equation, in conjunction with the Rayleigh Scattering Equation for molecules the intensity of scattered light can be calculated. This work will be done using arbitrary variables, specifically variables that are characteristic to the solar system in question, allowing us to apply this work in other scenarios. Units in this work are enclosed by square brackets [ ].

To begin, Planckβs Law in terms of wavelength states:

Constants in equation 1:

- π = 1. 38065 * 10
^{-23}[ J/K] Boltzmann constant - β = 6. 62607 * 10
^{-34}[Js] Planckβs constant- - π = 2. 99792 * 10
^{8 }[m/s]

Speed of light in a vacuumReader set variable: - π = temperature of host star [K]

Stars are essentially perfect blackbodies, equation 1 describes the spectral radiation emitted from a star. An explanation of units in equation 1: π΅(Ξ», π) represents the power [W]^{2} or [J/s] per unit area [1/π^{2}]per unit solid angle, ΞΈand Ο with units [1/πππ^{2}], per wavelength of light [1/π].

The Rayleigh scattering equation for molecules utilized properties of the molecule as well as the incident light intensity. The equation for Rayleigh scattering is represented in equation 2.

Rayleigh Scattering of Light for Molecules states:

- Constants in equation 2:
- Ξ» =wavelength of incoming light [m]
- Ξ± =polarizability of molecule [π
^{3}] - π· = distance from the observer to the location of scattering [m]
^{2} - πΌ β¦ = Intensity of incident light [π/π
^{2}]Reader specified variable: - ΞΈ = Angle of scattered light

A quick sketch of the light scattering process to help visualize the scattering angle ΞΈ and light interaction with molecules is drawn in figure 1.

The thought process for this work begins with the relating the blackbody equation to the intensity of incoming light πΌ β¦in equation 1, which is dependent on the temperature of the blackbody. A quick unit comparison between π΅(Ξ», π) [π/πππ^{2}π^{3}]and πΌ β¦ [π/π^{2}]. Equation 1 represents radiation emitted from a region of area on the surface of a sphere, in this case the sun. The distance between the sun and the Earth is much greater in comparison to the radius of the Earth leading to the use of the small angle approximation for the angle of incident light. This approximation allows us to assume that the photon emitted from the sun are parallel to one another. A drawing of parallel light striking a differential surface area on the Earthβs atmosphere is represented by figure 2.

Assuming the earth atmosphere is spherical, the equation for blackbody radiation has been integrated over the differential surface area of a hemisphere dS. The solid angles that form a hemisphere for ΞΈand Ο have the ranges: 0 β€ ΞΈ β€ Ο and 0 β€ Ο β€ 2Ο. The differential surface area value for dS is shown in equation 3, where we define a new variable, R the radius of the atmosphere in question. dS has units of [π2πππ2] The equation for integration of Planckβs Law is as follows. Note the units of the final metric.

Upon completion of the integration the units of this equation are [W/m]. We are attempting to manipulate equation 1 into the variable πΌβ¦, with units [π/π ], mentioned in equation 2 the Rayleigh scattering of molecules. To achieve the proper units, next we will differentiate equation 4 with respect to the wavelength of light Ξ» [m], to get the appropriate units of intensity [π/π ]. The derivative of equation 3 now, in theory, equates πΌ β¦ which is equation 4. WolframAlpha was used to perform this integration.

We can now take this differentiated equation for the variable πΌ β¦ and plug it into the equation for Rayleigh scattering. Doing so gives equation 5 with the proper units.

We now have an equation for Rayleigh scattering that is dependent on the temperature of the blackbody and the wavelength of the incoming light. Four variables in equation 5 are reader defined: π, ΞΈ, π , & π·. We are assigning these values as follows: π = 6000πΎ and ΞΈ = 45Β°. ΞΈ is arbitrarily defined as 45Β°.

The values of R and D are dependent on the atmospheric composition of the selected planet. For Earthβs atmosphere, the layer in which the atmosphere absorbs the most electromagnetic radiation is the Ozone layer. Specifically a layer of π_{3} molecules that has a thickness of 6 * 10 π. Located in Earthβs atmosphere, π_{3} absorbs and scatters radiation from the sun which is the primary reason for the blue color of the sky as viewed from Earthβs surface. The polarizability of π_{3} is Ξ± = 3. 079 * 10^{-26} π . Assuming that the Earth, as well as Earthβs atmosphere, are spherical we define R and D.

Atmospheric radius: π
= πππππ’π ππ π‘βπ ππππ‘β + πππ π‘ππππ π‘π ππ§πππ ππ’π‘ππ ππππ

Observation distance: π· = πππ π‘ππππ π‘π ππ§πππ ππ’π‘ππ ππππ

The next figure is a sketch of the location of scattering. Rayleigh scattering occurs at various locations at a depth in the atmosphere. For simplicity, the intensity of scattered light will be calculated on the outer edge of the Ozone layer. The next figure 3 helps visualize these lengths.

The observation distance is the length from the Earthβs surface to the outer edge of the

Ozone layer: π·_{ππ§} = 16 * 10^{3} π

Atmospheric radius of ozone layer: π
= 16 * 10^{3} + 6. 371 * 10^{6} π = 6. 387 * 10 π

Now we can plug in all defined variables into equation 2 to get the convolution for the intensity of scattered light with respect to the incident wavelength. Implementing the following constants π. β. π, π, ΞΈ, Ξ±, π , & π·. We get the following reduced metric from equation 2, represented in the following equation 5.

This equation is not inherently intuitive. The value of incident wavelength is unknown. The host star, our blackbody, emits all wavelengths of light. However there is a peak wavelength of light that is dependent on the temperature of the blackbody. This peak wavelength is defined using Weinβs displacement law. This law yields a maximum wavelength of light

emitted by the blackbody. Keeping the equation of scattered light intensity arbitrary in terms of incident wavelength, we can graph this function to get a visual representation of the scattered intensity in terms of incident wavelength. Graphing equation 5 yields the following images in figure 4. Graphing of equation 5 was done using Desmos graphing calculator.

Figure 4 shows two images of the same graph. Image A shows the asymptotic left side of the graph in the negative wavelength axis. Image B shows the right side of the graphs along the positive wavelength axis. There is a minimum located in the trough of the graph at the point (2 * 10^{-7}, β 4. 6873 * 10^{9}). The incident wavelength is Ξ» = 2 * 10^{-7} [π] using this value we can quickly calculate the incident intensity of a photon with the same wavelength using equation 6.

Performing this calculation the value of πΌβ¦ is:

We can now take this incident light intensity value πΌ β¦ , as well as the incident wavelength value Ξ» and plug both into equation 2. Where we expect to get the value of scattered light intensity at the peak wavelength, shown in figure 4B, with a value of:

Noting here that value of intensity is taken as an absolute value knowing that all variables in equation 6 are positive. Now performing the calculation from equation 2 with the new πΌ β¦ and Ξ», keeping all other variables the same as previous calculations we get the following value of intensity for scattered light.

This calculation of scattered light intensity does not equal the intensity value shown in the figure 4B graph, where at wavelengthΞ» = 2 * 10^{-7} [π] scattered light intensity is:

Although this work did not achieve the desired scattered light intensity, more attempts to relate Planckβs Law to the Rayleigh Scattering equation for Molecules. Each attempt will be documented and written similarly to the work done for this first attempt.