logoalt Hacker News

Why is the sky blue?

301 pointsby udit99today at 3:39 PM105 commentsview on HN

Comments

staplungtoday at 5:29 PM

In The Cuckoo's Egg Cliff Stoll recounts an episode from the oral defense of his astrophysics PhD thesis. A bunch of people ask questions but one prof holds back until...

""" “I’ve got just one question, Cliff,” he says, carving his way through the Eberhard-Faber. “Why is the sky blue?”

My mind is absolutely, profoundly blank. I have no idea. I look out the window at the sky with the primitive, uncomprehending wonder of a Neanderthal contemplating fire. I force myself to say something—anything. “Scattered light,” I reply. “Uh, yeah, scattered sunlight.”

“Could you be more specific?”

Well, words came from somewhere, out of some deep instinct of self-preservation. I babbled about the spectrum of sunlight, the upper atmosphere, and how light interacts with molecules of air.

“Could you be more specific?”

I’m describing how air molecules have dipole moments, the wave-particle duality of light, scribbling equations on the blackboard, and . . .

“Could you be more specific?”

An hour later, I’m sweating hard. His simple question—a five-year-old’s question—has drawn together oscillator theory, electricity and magnetism, thermodynamics, even quantum mechanics. Even in my miserable writhing, I admired the guy… """

show 1 reply
munificenttoday at 6:06 PM

Really cool article! Tangential:

> “Scattering” is the scientific term of art for molecules deflecting photons. Linguistically, it’s used somewhat inconsistently. You’ll hear both “blue light scatters more” (the subject is the light) and “atmospheric molecules scatter blue light more” (the subject is the molecule). In any case, they means the same thing

There's nothing ambiguous or inconsistent about this. In English a verb is transitive if it takes one or more objects in addition to the subject. In "Anna carries a book", "carries" is transitive. A verb is intransivite if it takes no object as with "jumps" in "The frog jumps.".

Many verbs in English are "ambitransitive" where they can either take an object or not, and the meaning often shifts depending on how it's used. There is a whole category of verbs called "labile verbs" where the subject of the intransitive form becomes the object of the transitive form:

* Intransitive: The bell rang.

* Transitive: John rang the bell.

"Scatter" is simply a labile verb:

* Intransitive: Blue light scatters.

* Transitive: Atmospheric molecules scatter blue light more.

show 4 replies
KellyCriteriontoday at 4:51 PM

Interesting here is: Actually, for most blue butterflies, it’s not even a pigment-it’s just a trick of the light. Since blue is so rare in the biological world (hardly any plants or animals can produce real blue chemicals), they evolved structural colors. Their wings have these microscopic ridges that reflect blue light while canceling out other colors.

It’s basically the same reason the sky looks blue, just built into a wing. If you were to look at the wings from a different angle or get them wet, the blue often disappears because you're messing with that physical structure

show 2 replies
thoughtledetoday at 9:22 PM

I think we can simplify the answer to this question for most audience and say "the air is blue".

If they say, the air appears to be clear when I stare at something other than sky, the answer is you need more of air to be able to see its blue-ness, in much the same way that a small amount of murky water in your palm appears clear, but a lot of it does not.

If they ask, why don't I see that blue-ness at dawn or dusk, the answer is that the light source is at a different angle. The color of most objects changes when the light source is at a flat angle. And sun lights hits at a flat angle at dawn and dusk.

If they ask, what exactly is the inside phenomenon to see the sky color to be blue, then explanations like this blog are relevant.

If they ask, what exactly is a color, the answer is that it is a fiction made up by our brain.

hintymadtoday at 8:21 PM

This level if geekiness is amazing. I hope more, a lot more, Americans can get into STEMS with this level of passion. It's sad that in the past few decades more and more people seemed to forget that STEM is a pillar of the modern civilization that we enjoy.

kazinatortoday at 6:49 PM

It's also not just why the setting or rising sun is red, but why it's yellow when high in the sky. The sun doesn't look yellow when viewed from outside the atmospheric veil.

justin_dashtoday at 5:08 PM

For the sunset example then, a natural question (for me) is then why isn't the sky green in the transition from blue sky to red sunset sky?

show 4 replies
oxag3ntoday at 7:05 PM

I have a related but deeper question about sun and colors:

Sunlight in space is considered white. When it reaches earth surface, it's considered a warmer color. Why human eyes that never (during evolution) saw sunlight without the atmosphere, consider it true white, and not colder color?

show 1 reply
awesomelybadtoday at 8:00 PM

Implementing an atmospheric shader in three.js is a fun way get an understanding of the interaction of the different scattering components, light, and observer’s position. Plus you get a pretty cool effect to play around with after you’re done.

show 1 reply
Darkphibretoday at 8:58 PM

I always loved this question when I played the 'Why' game with my kids: They ask why, and I'd ELI5. Then they'd ask why, and the process continued until I could excitedly say "We don't know for sure!! We think it might be XYZ, but we're still exploring that frontier."

manojldstoday at 9:20 PM

So are there animals that see a violet sky?

Jun8today at 6:55 PM

This was great as it went farther than Rayleigh scattering. On this topic you have to watch this fantastic undergrad physics lecture demonstration: https://www.youtube.com/watch?v=sJG-rXBbmCc&t=1674s

9devtoday at 8:02 PM

So, does that mean, and bear with me here, that… air is blue?

codeuliketoday at 5:53 PM

In terms of "qualia", its the other way round probably? Like the way we see colours would have evolved (within the available environment of wavelengths and scatterings and the possibilities with rods and cones) so that the things we want to see are more likely to stand out. So we see the sky as blue because leaves are green and berries are red.

show 1 reply
rob74today at 6:07 PM

Great article! I have to admit I had also heard of "Rayleigh scattering", but didn't really know more than that, until today.

Actually, I liked it so much that I went to the homepage of the blog, only to find out that this is the only article. Oh well... I hope there will be more to come!

show 1 reply
tehjokertoday at 9:38 PM

This is a really great piece, the bit at the end showing why IR works in smokey environments and guessing the planet's composition based on color was really good.

zkmontoday at 8:11 PM

Okay, why does visible light have that range of frequencies?

show 1 reply
archildresstoday at 5:37 PM

Anyone else immediately think of this commercial?

https://www.youtube.com/watch?v=PbKsC4GCT5k

*Since blue is the shortest wave length...*

retroflexzytoday at 5:39 PM

Back in my youth, after the Internet became common but before Wikipedia, I tried to discover the answer to this and came away disappointed again and again. Every article I could find simply stated "because light scattering", and barely much more.

How does scattering work? Why does light scatter? _What does scattering even mean in the context of light?_

show 1 reply
numpad0today at 5:56 PM

Funniest memory re: Rayleigh scattering: in anime show Aldnoah Zero, the uber-genius protagonist mansplains about it to a high profile girl, basically completely out of blue. An impostor of the girl later appears on an in-universe pirate broadcast, making an agitating environmentalism talking point using a technically incorrect explanation of the phenomenon that isn't consistent with the fact. The ever-right protagonist immediately notices it, having enlightened the girl previously on that exact topic, and it leads to actions.

Like, dude, as if anyone would care about such a highly technical point, like eg some React framework quirk or race condition mitigation for specific generation of Intel procesdor or a semi-well known edge cases with btrfs inode behavior, even if I had been on that exact camp.

TuringNYCtoday at 5:45 PM

Brilliant explanation and beautifully presented. I wish I had a technical writer who could write up our business case this well!

show 1 reply
oxag3ntoday at 6:56 PM

The same reason it's polarized.

ranger_dangertoday at 4:28 PM

Here is a wonderful lecture with real-world demonstrations of the effect:

https://www.youtube.com/watch?v=4a0FbQdH3dY

https://en.wikipedia.org/wiki/Rayleigh_scattering

I do have a question though.

The article says:

> blue and violet have the closest frequencies to a “resonant frequency” of nitrogen and oxygen molecules’s electron clouds

I thought it was more to do with the photon frequency matching the physical size of the air molecules? Or is that the same as its resonant frequency?

show 3 replies
IshKebabtoday at 8:25 PM

If you think about it "because air is blue when you look at it from the side" is about all the explanation we'd require if the sky was some normal object like an apple. Nobody asks "why is wood brown?" as if it's some deep question, but "why is the sky blue?" is somehow given greater gravitas, as if the reason is more mystical. I guess because the sky is so big and uniform?

show 1 reply
signa11today at 5:58 PM

didn’t cv raman prove just that via his raman-effect for which he got the noble prize ?

jama211today at 6:56 PM

Brilliant, thank you

yawpitchtoday at 7:57 PM

The sky isn’t blue. It’s transparent. That’s why you can see stars that aren’t blue at night. When struck by sunlight at the right angles it appears blue, but saying it is blue is like saying the ocean is green when a bucket of it clearly isn’t.

jonahxtoday at 5:18 PM

Going to be that guy, even though I think this is a really nice work overall...

But the winking and "cool guy" emojis are so grating. In general, technical explanations that apologize for themselves with constant reassurances like "don't worry" and "it's actually simple" undermine their own aim.

Your job -- if you're making content for people with double digit ages -- is to make the explanation as clear as you can, not to patronize and emotionally hand-hold the reader.

show 1 reply
mvdtnztoday at 7:08 PM

Some of the demonstrations are not working correctly, at least on my machine (Windows + MS Edge). Any demo with a "reference image" is not correctly updating the reference.

halistoday at 7:04 PM

Nitrogen.

deafpolygontoday at 7:02 PM

Very well explained. I love the in-depthness of the article.

aaroninsftoday at 6:10 PM

Not discussed but should be:

Prior to the great oxygenation event, Earth's sky was not blue; it was likely red-orange, carbon dioxide and methane being primary components.

alejohausnertoday at 5:39 PM

Air is mostly nitrogen. Nitrogen gas is blue.

There.

show 2 replies
RupertSalttoday at 4:51 PM

Obligatory xkcd: "Sky Color" https://m.xkcd.com/1145/

Obligatory xkcd[2]: "Rayleigh Scattering" https://m.xkcd.com/1818/

Others?

show 1 reply
FrogWizardMantoday at 7:04 PM

to piss me off, goddammit

dave_sidtoday at 4:36 PM

It’s not. It’s raining here.

show 1 reply
nemo1618today at 5:23 PM

Let's be real. The sky is blue because God thought it was a pretty color, simple as. All this stuff about wavelengths and resonant frequencies and human color perception got retconned into the physics engine at some point in the past millennium, that's why all these epicycles are needed.

show 2 replies