The molecules in the air scatter the light coming from the sun.
However, they do not scatter the light with different frequencies equally
and blue light (high frequency) gets far more scattered in the sky, giving it its color.
To understand how this works, we are first going to need to do some refresh.
This image represents the Coulomb's Law defined by:
F=kr2q1q2er
Here, F represents the force applied by q1 on q2, k
is the Coulomb's constant equal to 4πε01
and er is the unit vector going from q1 to q2.
Note that if both charges are of the same sign, the force is going to be repulsive,
whereas if the charges have different sign, their product will be negative and the force will be atractive,
which is aligned with what we would expect.
From this force, we can derive the electric field created by q1:
We also need to recall the link between the electric field and the potential in the frame of electrostatics:
VE=−∫E.δl=−∇V
Note that the electric potential V is defined with an invariance to shifting by a constant,
(that is why we mostly care about differences of potentials)
most of the time we take that constant so that limr→∞V=0.
In the case of a single charged particle as before we get:
Now we are going to see what happens when we have two opposites charges affecting the field.
Note that here, O is a point with no charge in the middle of N and P,
we define r as the distance between O and the viewer in M.
Given the symmetry of the problem, the electric field has no part outside of the plane and does not depend on what plane containing the charges we are using. Thus, we can only define a single angle θ=(OP,OM)
Note that this graph is not at scale and actually represents a situation where r>>d,
which makes sense when we compare the distance between you and an air molecule in the atmosphere (which is going to act as the dipole) with the size of that molecule.
The electric field has the linearity propriety that makes it possible to calculate it as the sum of the two electric fields that would exist for each of both charged particle. To calculate it we are first going to compute the potential (also linear because integration is linear) and then derive the electrical field from that potential by taking the opposite of its gradient:
VV=V++V−=kq(PM1−NM1)
We are now going to use the fact that r>>d to approximate PM and NM.
Since we are very far from the dipole we are looking at, it is as we have parallel lines between the two poles and we can make the following approximation:
PM≈P′MNM≈N′M=OM−OP′=r−dcosθ=OM+ON′=r+dcosθ
Here P′ and N′ are, respectively, the projection of P and N on (OM). We can now have the potential in M with the dipolar moment p=2qd:
Rayleigh scattering is, in our case, the scattering of light coming from the Sun
by air molecules with a small size compared to the wavelength of the light they are scattering,
i.e. d<<λ.
We are going to see later why we need this hypothesis but let's see first if it is a reasonable assumption to make.
Well, the visible light has wavelengths in [400nm,800nm] and
the air is mainly homogeneous and composed of dinitrogen, dioxygen and water vapor which have sizes around 0.3nm.
Thus, it is pretty safe to say that d<<λ.
When the electromagnatic waves that are the light from the Sun hit the air molecules,
they excite them at their frequencies and the dipoles start oscillating at those same frequencies
radiating their own electromagnetic field coming from their dipolar moment.
In this case, it is as we replaced our charges q by q0cosωt and −q by −q0cosωt.
We have the charges oscillating at the frequency of the light f=2πω and here,
having d<<λ allows us to be sure that the excitation is pretty homogeneous at the scale of the dipole
and that the speed of the charges v<<c meaning that we don't have to take relativistic effects into account.
In M, we have then the following retarded potential
(taking into account the time we need to perceive the charges in N and P):
V=kq0(PMcosω(t−cPM)−NMcosω(t−cNM))
Now, using the approximation we previously made on PM and NM, we can simplify the cosines:
By plugging those approximations in the formula for V, we get a two kilometer long equation, which I'm going to spare you the details of, that simplifies to:
It's nice, however, in electrodynamics, V is not sufficient in order to derive E.
We also need to compute A, the magnetic potential. Note that ez is the unit vector in the direction NP.
I will also somewhat speed up the derivation here:
Now we can calculate B as ∇×A. Since A doesn't depend on φ
and has no component along eφ, the computation of the curl in spherical coordinates is simplified to the following:
Now that we have the full electromagnetic field radiated by the dipole,
we can compute the Poynting vector Π which defines a flux density of the energy radiated by an electromagnetic field.
Which averaged over time gives (since <cos2>=21):
<Π>=32π2r2cμ0p02ω4sin2θer
Notice that the radiated power density varies in sin2θ,
the power is zero along the axis of the dipole and is maximal along the equator.
We can see on the following graph the radiated power as the radius for a given angle
where the dipole is oscillating along the top-bottom axis
So, in order to get the power radiated, we need to integrate the density over a sphere of radius r:
To calculate the integral of sin3θ, we can separate it into sin2θ∗sinθ
which equals (1−cos2θ)sinθ. Now we define u=cosθ, so du=−sin(θ)dθ.
Thus the integral of sin3θ is:
We have P∝λ41.
We can see on the graph that in the visual spectrum [400nm,800nm],
the little wavelength (blues) get far more scattered than
wavelength at the other end of the spectrum (reds), thus giving the sky its color.