“The sun’s black body Planck spectrum peaks in the visible range.” Have you heard that before? Is it true? Want to follow me into a rabbit hole about densities and transformation laws? Then buckle up for another colorful physics/math thread!

1/24
Let’s make sure we’re all on the same page: the sun is hot, and that’s why it emits light. Not the same amount, though, for each color. How much light is emitted at what color is called a "spectrum". For the sun, it’s mostly the famous “black body spectrum”.

2/24
So why don’t we just plot it to answer our question? Sure—here we go: the attached image shows the sun’s Planck spectrum (more precisely: the spectral energy density) as a function of wavelength. I indicated the visible range by a rainbow-band.

3/24
Uh, well, aren’t we done here? It obviously peaks in the visible range, decaying both towards lower wavelengths (“ultraviolet”) and higher ones (“infrared”). Why the fuss?

Bear with me, this is more interesting than you might think!

4/24
A good place to start is to check the units of the spectral energy density: J/m³/μm. Or, in other words: energy per length to the fourth power. This looks odd. Why the fourth power? Why is the energy density not just energy per volume?

5/24
Ah, because it’s a *spectrally resolved* energy density! To get something of the units “energy per volume”, we need to *integrate* this function over a range of wavelengths, and what we find is the total energy density over that range. This will become important.

6/24
Let’s now open the Pandora box and ask what this spectrally resolved energy density will look like if we instead plot it as a function of the light’s frequency. Well, here it is:

7/24
Well—whoopsie. This function does definitely NOT peak in the visible; its maximum is in the infrared, and the center of the visible range is almost a factor 2 off in terms of frequency. Why did this happen? Or better: How COULD this even happen???

8/24
Students tend to be justifiably surprised (sometimes upset) when this conundrum first dawns upon them. The obvious expectation is that if we transform from wavelength λ to frequency f=c/λ, the λ-maximum of the spectrum gets mapped to the f-maximum. Well, not so!

9/24
Why is that so? Well, this is related to the fact that both these functions are *spectral densities*. You only get an “ordinary” energy density after integrating the spectral density either over a wavelength range or a frequency range.

10/24
It’s now important to appreciate that it’s that *integrated* energy density that is physically important, and which we must make sure we “preserve” upon transforming. The common way to indicate this is to talk about the energy density within a tiny spectral range.

11/24
Let us call the wavelength resolved spectral function uλ (think of the “λ” as a subscript), and it depends on the wavelength as its argument: uλ(λ). (Why two lambdas? Because the name of a function and the symbol for its argument are not the same thing!)

12/24
The frequency resolved function is then uf(f). Naively, we might think that since λ=c/f, we could just transform via uf(f)=uλ(c/f). If that were true, the maximum of uλ would indeed map to the maximum of uf, as expected, but this transformation is wrong!

13/24
It is wrong because it doesn’t shove the right amount of energy density contained between λ and λ+dλ into the transformed region between f and f+df. To insist on that, we can write down an equation that does this:

uf(f) df = uλ(λ) dλ.

14/24
This equation, by construction, takes the energy density in a “λ-bin” and transports it into an “f-bin”. We can easily solve it for the frequency resolved spectral energy density:

uf(f) = uλ(c/f) dλ/df

but behold: WE GET A JACOBIAN!

15/24
Actually, since the sign of that derivative doesn’t matter, we typically put the Jacobian under a modulus:

uf(f) = uλ(c/f) |dλ/df|

This makes a HUGE difference! The Jacobian is a nontrivial function of f, multiplying our naively transformed spectrum.

16/24
Specifically, we get uf(f) = uλ(c/f) × (c/f²), and that extra factor c/f² of course messes with the location of the peak.

So the mathematics is clear. But can we still get a bit more intuition, maybe? Please?

17/24
OK, I’ll try! The following picture illustrates how the λ-spectrum gets “bounced off” the nonlinear transformation from λ→f to give you the f-spectrum (plotted wonkily on the lower right). Crucially, you can see how the width of the λ- and f-bins is itself λ-dependent!

18/24
This means that as we increase λ from small to large values, the corresponding f-spectrum doesn’t just inherit this info. It also notices that fixed λ-bins turn into increasingly smaller f-bins, and so we must additionally increase the height of uf to preserve the area!

19/24
These two effects combine into a shift of the new maximum in uf(f) away from where the old function uλ(λ) had its maximum.

20/24
And for those of you who love animations, I’ve also tried my best to do that here—moving the λ-value around, keeping the λ-bins at a fixed size, and then see what happens to the f-bins. How gut-feeling “convincing” this is of course depends on your take.

21/24
So does the sun’s spectrum peak in the visible range? Well, it depends on how you plot it! But the maybe even better answer is that this question doesn’t make much sense in isolation. I can shift the maximum ANYWHERE by suitably devious plotting!

22/24
Let me close by saying that these kinds of shenanigans ALWAYS happen when you transform densities. A rather prominent example are probability densities that you wish to express in new variables. And forgetting the Jacobian is a VERY common mistake!

23/24
OK, we’re done here! Thanks for sticking to the end! And as always, if you found this lesson interesting or valuable (or, ideally, both!), I’d be grateful for a re-tweet, so that others can share in the fun! 🙏

Bye, until next time! 👋

24/24 and end

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Markus Deserno

Markus Deserno Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MarkusDeserno

Sep 6
Heya, I’m dropping another relativity thread! This time I try to explain how Einstein’s two postulates, on which Special Relativity rests, spell doom for the notion of a universal time, and in particular the concept of simultaneity. Interested? Hop on board!

1/30 Picture of tombstone that s...
Great, welcome aboard! Let’s begin by understanding what we will bury!

When we describe physical events, we often assign coordinates to them—numbers that specify WHEN and WHERE something happens. They are important, but to some extent arbitrary.

2/30
Different people could use different coordinate systems to describe the same events, and these systems could even be in (constant) relative motion with respect to one another. Surely, they’d get different numbers! So how is this even useful?

3/30
Read 30 tweets
Jul 10
I’ve been the proud owner of an e-scooter for about 6 weeks, and it’s time to share a few thoughts. The main message is: I love it, and it’s been fantastic for commuting. Whether it works for you as well depends on many things, but it’s worth thinking about it. A short 🧵.

1/10 Image
Purchasing took quite a bit of research! The market is surprisingly diverse (a good thing!), and there are multiple axes along which to optimize, such as weight, range, speed, compactness, built, comfort, convenience, and of course price.

2/10
For me, a big part was weight (mine weighs just 30 pounds / 13 kg), which means I can easily carry it up into my apartment. It can also be folded up super compactly, so it fits easily in the trunk of a car or under the table in a restaurant.

3/10 Image
Read 10 tweets
Jul 2
Why does increasing atmospheric CO₂ warm the planet?

The greenhouse effect, duh.

But do you know how that works? I can *almost* guarantee you that you don’t quite have the right picture in mind—in a way that actually matters.

Interested? Here’s a new physics thread!

1/29 How does the greenhouse effect work?
Our atmosphere is highly transparent to visible light. But when this light is absorbed by the ground, the ground warms up and then emits thermal (longer-wavelength, infrared) radiation. Turns out, our atmosphere is pretty opaque to that.

2/29
The reason for this is that certain molecules—methane, water vapor, carbon dioxide (basically anything that has at least 3 atoms)—have vibration modes that can absorb thermal radiation.

So isn’t that already the answer? Not by a long shot! Hang in there!

3/29
Read 29 tweets
May 10
When the Death Star destroyed Alderaan, would it have experienced a kick-back from its laser shot?

Absolutely!

Really? Light can cause a kick-back?

It sure can! If you wonder how much—buckle up for a new cute physics thread!
1/27 When Push Comes to Shove: The Momentum of Light  Image of th
First—let’s clarify what we mean by “kick-back”: if you shoot a gun, a bullet with a small mass m moves forward with some high velocity v. This gives it a momentum p = m∙v.
2/27
The funny thing about momentum is that it is “conserved”. It cannot change over time. Since before the shot nothing has been moving, the momentum was zero. And now there’s this bullet moving which has momentum! What gives?
3/27
Read 27 tweets
Apr 9
New Physics 🧵! Ludwig Boltzmann was not just a father of Statistical Physics but also a master of Thermodynamics. That’s how he got his name on the Stefan-Boltzmann law. If you allow me, I would love to walk you through a magic moment in physics history. /1
Let’s begin with the law itself, which says something about the light emitted by hot bodies—like glowing pokers or the sun. Specifically, let us look at the power (energy per time) such a body emits per unit area of its surface. That’s called the radiant emittance, j. /2
In 1879, Josef Stefan experimentally showed that this radiant emittance is proportional to the fourth power of the temperature: j = σT⁴. The hotter a body is, the very much more energy it emits. /3
Read 38 tweets
Feb 20
🧵 It’s the weekend, and I haven’t yet unloaded all my opinions on relativity! Today I’d like to regale you with the sibling of all relativity puzzles: the twin paradox! As usual, my goal is not to derive any formulas, but to give you some intuition for what’s going on.
The story is surely well known—but let’s nevertheless jog our memory: meet our two twins, Ashley and Mary-Kate. One of them (say Mary-Kate) will go on a journey at relativistic speed (i.e., some sizable fraction of the speed of light) to some distant star system.
When Mary-Kate returns a couple of years later and reunites with her sister Ashley, she finds that Ashley has aged more than she herself has. She finds that quite puzzling, but Ashley explains it to her:
Read 35 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(