In astrophysics, a bow shock occurs when the magnetosphere of an astrophysical object interacts with the nearby flowing ambient plasma such as the solar wind. For Earth and other magnetized planets, it is the boundary at which the speed of the stellar wind abruptly drops as a result of its approach to the magnetopause. For stars, this boundary is typically the edge of the astrosphere, where the stellar wind meets the interstellar medium. Description The defining criterion of a shock wave is that the bulk velocity of the plasma drops from "supersonic" to "subsonic", where the speed of sound cs is defined by where is the ratio of specific heats, is the pressure, and is the density of the plasma. A common complication in astrophysics is the presence of a magnetic field. For instance, the charged particles making up the solar wind follow spiral paths along magnetic field lines. The velocity of each particle as it gyrates around a field line can be treated similarly to a thermal velocity in an ordinary gas, and in an ordinary gas the mean thermal velocity is roughly the speed of sound. At the bow shock, the bulk forward velocity of the wind (which is the component of the velocity parallel to the field lines about which the particles gyrate) drops below the speed at which the particles are gyrating. Around the Earth The best-studied example of a bow shock is that occurring where the Sun's wind encounters Earth's magnetopause, although bow shocks occur around all planets, both unmagnetized, such as Mars and Venus and magnetized, such as Jupiter or Saturn. Earth's bow shock is about thick and located about from the planet. At comets Bow shocks form at comets as a result of the interaction between the solar wind and the cometary ionosphere. Far away from the Sun, a comet is an icy boulder without an atmosphere. As it approaches the Sun, the heat of the sunlight causes gas to be released from the cometary nucleus, creating an atmosphere called a coma. The coma is partially ionized by the sunlight, and when the solar wind passes through this ion coma, the bow shock appears. The first observations were made in the 1980s and 90s as several spacecraft flew by comets 21P/Giacobini–Zinner, 1P/Halley, and 26P/Grigg–Skjellerup. It was then found that the bow shocks at comets are wider and more gradual than the sharp planetary