In physics, a transverse wave is a wave whose oscillations are perpendicular to the direction of the wave's advance. This is in contrast to a longitudinal wave which travels in the direction of its oscillations. Water waves are an example of transverse wave. A simple example is given by the waves that can be created on a horizontal length of string by anchoring one end and moving the other end up and down. Another example is the waves that are created on the membrane of a drum. The waves propagate in directions that are parallel to the membrane plane, but each point in the membrane itself gets displaced up and down, perpendicular to that plane. Light is another example of a transverse wave, where the oscillations are the electric and magnetic fields, which point at right angles to the ideal light rays that describe the direction of propagation. Transverse waves commonly occur in elastic solids due to the shear stress generated; the oscillations in this case are the displacement of the solid particles away from their relaxed position, in directions perpendicular to the propagation of the wave. These displacements correspond to a local shear deformation of the material. Hence a transverse wave of this nature is called a shear wave. Since fluids cannot resist shear forces while at rest, propagation of transverse waves inside the bulk of fluids is not possible. In seismology, shear waves are also called secondary waves or S-waves. Transverse waves are contrasted with longitudinal waves, where the oscillations occur in the direction of the wave. The standard example of a longitudinal wave is a sound wave or "pressure wave" in gases, liquids, or solids, whose oscillations cause compression and expansion of the material through which the wave is propagating. Pressure waves are called "primary waves", or "P-waves" in geophysics. Mathematical formulation Mathematically, the simplest kind of transverse wave is a plane linearly polarized sinusoidal one. "Plane" here means that the direction of propagation is unchanging and the same over the whole medium; "linearly polarized" means that the direction of displacement too is unchanging and the same over the whole medium; and the magnitude of the displacement is a sinusoidal function only of time and of position along the direction of propagation. The motion of such a wave can be expressed mathematically as follows. Let d be the direction of propagation (a vector with unit length), and