Astronomers announced on Monday that they had seen and heard a pair of dead stars collide, giving them their first glimpse of the violent process by which most of the gold and silver in the universe was created.

The collision, known as a kilonova, rattled the galaxy in which it happened 130 million light-years from here in the southern constellation of Hydra, and sent fireworks across the universe. On Aug. 17, the event set off sensors in space and on Earth, as well as producing a loud chirp in antennas designed to study ripples in the cosmic fabric. It sent astronomers stampeding to their telescopes, in hopes of answering one of the long-sought mysteries of the universe.

Such explosions, astronomers have long suspected, produced many of the heavier elements in the universe, including precious metals like gold, silver and uranium. All the atoms in your wedding band, in the pharaoh’s treasures and the bombs that destroyed Hiroshima and still threaten us all, so the story goes, have been formed in cosmic gong shows that reverberated across the heavens.

This gong show happened when a pair of neutron stars, the shrunken dense cores of stars that have exploded and died, collided at nearly the speed of light. These stars are masses as great as the sun packed into a region the size of Manhattan brimming with magnetic and gravitational fields.

Photo

An artist’s rendering of the merger of two neutron stars from Aug. 17.Credit
Robin Dienel/The Carnegie Institution for Science

Studying the fireball from this explosion, astronomers have concluded that it had created a cloud of gold dust many times more massive than the Earth, confirming kilonovas as agents of ancient cosmic alchemy.

She was one of thousands of astronomers that reported their results Monday in a globe-girdling set of news conferences and academic conferences.

A blizzard of papers is being published, including one in Astrophysical Journal Letters that has some 4,000 authors . “That paper almost killed the paperwriting team,” said Dr. Kalogera, one of 10 people who did the actual writing.

An artist’s rendering of a neutron star compared with the skyline of Chicago. Neutron stars are about 12 miles in diameter and are extremely dense.Credit
Daniel Schwen/Northwestern, via LIGO-Virgo

More papers are appearing in Nature, Physical Review Letters and in Science, on topics including nuclear physics and cosmology.

“It’s the greatest fireworks show in the universe,” said David Reitze of the California Institute of Technology and the executive director of the Laser Interferometer Gravitational-Wave Observatory, or LIGO.

Daniel Holz, an astrophysicist at the University of Chicago and a member of the LIGO Scientific Collaboration, a larger group that studies gravitational waves, said, “I can’t think of a similar situation in the field of science in my lifetime, where a single event provides so many staggering insights about our universe.”

The key to the discovery was the detection of gravitational waves, emanating like ripples in a pond vibrating the cosmic fabric, from the distant galaxy. It was a century ago that Albert Einstein predicted that space and time could shake like a bowl of jelly when massive things like black holes moved around. But such waves were finally confirmed only in 2016, when LIGO recorded the sound of two giant black holes colliding, causing a sensation that eventually led this month to a Nobel Prize.

Photo

Credit
National Optical Astronomy Observatory

For the researchers, this is in some ways an even bigger bonanza than the original discovery. This is the first time they have discovered anything that regular astronomers could see and study. All of LIGO’s previous discoveries have involved colliding black holes, which are composed of empty tortured space-time — there is nothing for the eye or the telescope to see.

But neutron stars are full of stuff, matter packed at the density of Mount Everest in a teaspoon. When neutron stars slam together, all kinds of things burst out: gamma rays, X-rays, radio waves. Something for everyone who has a window on the sky.

“Joy for all,” said David Shoemaker, a physicist at the Massachusetts Institute of Technology who is the spokesman for the LIGO Scientific Collaboration.

This is the story of a gold rush in the sky.

It began on the morning of Aug. 17, Eastern time. Dr. Shoemaker was on a Skype call when alarms went off. One of the LIGO antennas, in Hanford, Wash., had recorded an auspicious signal and sent out an automatic alert. Twin antennas, in Washington and Livingston, Louisiana, monitor the distance between a pair of mirrors to detect the submicroscopic stretching and squeezing of space caused by a passing gravitational wave. Transformed into sound, the Hanford signal was a long 100-second chirp, that ended in a sudden whoop to 1000 cycles per second, two octaves above middle C. Such a high frequency indicated that whatever was zooming around was lighter than a black hole.

Checking the data from Livingston to find out why it had not also phoned in an alert, Dr. Shoemaker and his colleagues found a big glitch partly obscuring the same chirp.

Meanwhile, the Fermi Gamma-Ray Space Telescope, which orbits Earth looking at the highest-energy radiation in the universe, recorded a brief flash of gamma rays just two seconds after the LIGO chirp. Fermi sent out its own alert. The gamma-ray burst lasted about two seconds, which put it in a category of short gamma ray bursts, which astronomers suspect are neutron stars colliding.

“When we saw that,” Dr. Shoemaker said, “the adrenaline hit.”

Dr. Kalogera, who was in Utah hiking and getting ready for August’s total solar eclipse when she got the alarm, recalled thinking: “Oh my God, this is it. This 50-year-old mystery, the holy grail, is solved.”

Together the two signals told a tale of a pair of neutron stars spiraling around each other like the blades of a kitchen blender.

Photo

From left, France A. Córdova, the director of the National Science Foundation; David Reitze, executive director of the LIGO Laboratory; David Shoemaker, an M.I.T. physicist and spokesman for the LIGO Scientific Collaboration; Jo van den Brand, spokesman of the Virgo Collaboration; and Vicky Kalogera, a Northwestern University astrophysicist, held a news conference to discuss developments in gravitational-wave astronomy at the National Press Club in Washington on Monday.Credit
Alex Wroblewski for The New York Times

But where?

Luckily the European Virgo antenna had joined the gravitational wave network only two weeks before, and it also showed a faint chirp at the same time. The fact that it was so weak allowed the group to localize the signal to a small region of the sky in the Hydra constellation that was in Virgo’s blind spot.

The hunt was on. By then Hydra was setting in the southern sky. It would be 11 hours before astronomers in Chile could take up the chase.

One of them was Ryan Foley, who was working with a team on the Swope telescope run by the Carnegie Institution on Cerro Las Campanas in Chile. His team made a list of the biggest galaxies in that region and set off to photograph them all systematically.

The fireball showed up in the ninth galaxy photographed, as a new bluish pinprick of light in the outer regions of NGC 4993, a swirl of stars about 130 million light-years from here. “These are the first optical photons from a kilonova humankind has ever collected,” Dr. Foley said.

Within 10 minutes, another group of astronomers, led by Marcelle Soares-Santos of Brandeis University and using the Dark Energy Camera, which could photograph large parts of the sky with a telescope at the nearby Cerro Tololo Interamerican Observatory, had also spotted the same speck of light.

Emails went flying about in the Chilean night.

When it was first identified, the fireball of 8,000-degree gas was about the size of Neptune’s orbit and radiating about 200 million times as much energy as the sun.

Nine days later, the orbiting Chandra X-ray Observatory detected X-rays coming from the location of the burst, and a week after that, the Very Large Array in New Mexico recorded radio emissions. By then the fireball faded from blue to red.

From all this, scientists have begun patching together a tentative story of what happened in the NGC 4993 galaxy.

Photo

Images taken by the Hubble telescope showing the fireball emitted from a gamma ray burst in 2013.Credit
NASA/ESA

“It’s actually surprising how well we were able to anticipate what we’re seeing,” said Brian David Metzger, a theorist at Columbia University who coined the term kilonova back in 2010.

As they tell it, the merging objects were probably survivors of stars that had been orbiting each other and had each puffed up and then died in the supernova explosions in which massive stars end their luminous lives some 11 billion years ago, according to an analysis by Dr. Kalogera. Making reasonable assumptions about their spins, these neutron stars were about 1.1 and 1.6 times as massive as the sun, smack in the known range of neutron stars.

As they approached each other swirling a thousand times a second, tidal forces bulged their surfaces outward. Quite a bit of what Dr. Metzger called “neutron star guts” were ejected and formed a fat doughnut around the merging stars.

At the moment they touched , a shock wave squeezed more material out of their polar regions, but the doughnut and extreme magnetic fields confined the material into an ultra-high-speed jet emitting a blitzkrieg of radiation, the gamma rays.

By Michael Roston. Produced by Britt Binler and Gray Beltran. Video by NASA, ESA, and G. Bacon (STScI).

As the jet slowed down, encountering interstellar gas in the galaxy, it began to glow in X-rays and then radio waves.

The subatomic nuggets known as neutrons meanwhile were working their cosmic alchemy. The atoms in normal matter are mostly empty space: a teeny tiny nucleus of positively charged protons and electrically neutral neutrons enveloped in a fluffy cloud of negatively charged electrons. Under the enormous pressures of a supernova explosion, however, the electrons get squeezed back into the protons turning them into neutrons packed into a ball denser than an atomic nucleus.

The big splat liberates these neutrons into space where they inundate the surrounding atoms, transmuting them into heavy elements. The radioactivity of these newly created elements keeps the fireball hot and glowing.

Dr. Metzger estimated that an amount of gold equal to 40 to 100 times the mass of the Earth could have been produced over a few days and blown into space. In the coming eons, it could be incorporated into new stars and planets and in some far, far day become the material for an alien generation’s jewels.

The discovery filled a long-known chink in the accepted explanation of how the chemistry of the universe evolved from pure hydrogen and helium into the diverse place it is today. Stars and supernovas could manufacture the elements up to iron or so, according to classic papers in the 1950s but heavier elements required a different thermonuclear chemistry called r-process and lots of free neutrons floating around. Where would they have come from?

One idea was neutron star collisions, or kilonovas, which now seem destined to take their place on the laundry list of cosmic catastrophes along with the supernova explosions and black hole collisions that have shaped the history of the universe.

Until now there was only indirect evidence of kilonovas. Astronomers found a fireball from a gamma-ray burst in 2013, but there was no proof that neutron stars were involved. Now astronomers know they are, completing the picture of the origin of bling.

One burning question is what happened to the remnant of this collision. According to the LIGO measurements, it was about as massive as 2.6 suns. Scientists say that for now they are unable to tell whether it collapsed straight into a black hole, formed a fat neutron star that hung around in this universe for a few seconds before vanishing, or remained as a neutron star. They may never know, Dr. Kalogera said.

Neutron stars are the densest form of stable matter known. Adding any more mass over a certain limit will cause one to collapse into a black hole, but nobody knows what that limit is.

Future observations of more kilonovas could help physicists understand where the line of no return actually is.

Dr. Holz, the University of Chicago astrophysicist, said, “I still can’t believe how lucky we all are,” reciting a list of fortuitous circumstances. They had three detectors running for only a few weeks, and it was the closest gamma-ray burst ever recorded and the loudest gravitational wave yet recorded. “It’s all just too good to be true. But as far as we can tell it’s really true. We’re living the dream.”

Correction: October 16, 2017

An earlier version of this article misstated the number of authors of a paper published in an astronomy journal. It is 3,500 authors, not 4,500.

Correction: October 18, 2017

An article on Monday about the detection of a collision of neutron stars misidentified the journal in which a paper written by thousands of authors describing the event appeared. It was in Astrophysical Journal Letters, not Physical Review Letters.

A version of this article appears in print on October 17, 2017, on Page A1 of the New York edition with the headline: Dead Stars Collide, Unsealing Clues to Universe. Order Reprints|Today's Paper|Subscribe