In a dynamical system, bistability means the system has two stable equilibrium states. Something that is bistable can be resting in either of two states. These rest states need not be symmetric with respect to stored energy. An example of a mechanical device which is bistable is a light switch. The switch lever is designed to rest in the 'on' or 'off' position, but not between the two. Bistable behavior can occur in mechanical linkages, electronic circuits, nonlinear optical systems, chemical reactions, and physiological and biological systems. In a conservative force field, bistability stems from the fact that the potential energy has two local minima, which are the stable equilibrium points. By mathematical arguments, a local maximum, an unstable equilibrium point, must lie between the two minima. At rest, a particle will be in one of the minimum equilibrium positions, because that corresponds to the state of lowest energy. The maximum can be visualized as a barrier between them. A system can transition from one state of minimal energy to the other if it is given enough activation energy to penetrate the barrier (compare activation energy and Arrhenius equation for the chemical case). After the barrier has been reached, the system will relax into the other minimum state in a time called the relaxation time. Bistability is widely used in digital electronics devices to store binary data. It is the essential characteristic of the flip-flop, a circuit widely used in latches and some types of semiconductor memory. A bistable device can store one bit of binary data, with one state representing a '0' and the other state a '1'. It is also used in relaxation oscillators, multivibrators, and the Schmitt trigger.Optical bistability is an attribute of certain optical devices where two resonant transmissions states are possible and stable, dependent on the input.Bistability can also arise in biochemical systems, where it creates digital, switch-like outputs from the constituent chemical concentrations and activities. It is often associated with hysteresis in such systems. In the mathematical language of dynamic systems analysis, one of the simplest bistable systems is This system describes a ball rolling down a curve with shape y 4 4 − y 2 2 {displaystyle {frac {y^{4}}{4}}-{frac {y^{2}}{2}}} , and has three steady-states: y = 1 {displaystyle y=1} , y = 0 {displaystyle y=0} , and y = − 1 {displaystyle y=-1} . The middle steady-state y = 0 {displaystyle y=0} is unstable, while the other two states are stable. The direction of change of y ( t ) {displaystyle y(t)} over time depends on the initial condition y ( 0 ) {displaystyle y(0)} . If the initial condition is positive ( y ( 0 ) > 0 {displaystyle y(0)>0} ), then the solution y ( t ) {displaystyle y(t)} approaches 1 over time, but if the initial condition is negative ( y ( 0 ) < 0 {displaystyle y(0)<0} ), then y ( t ) {displaystyle y(t)} approaches −1 over time. Thus, the dynamics are 'bistable'. The final state of the system can be either y = 1 {displaystyle y=1} or y = − 1 {displaystyle y=-1} , depending on the initial conditions. The appearance of a bistable region can be understood for the model system d y d t = y ( r − y 2 ) {displaystyle {frac {dy}{dt}}=y(r-y^{2})} which undergoes a supercritical pitchfork bifurcation with bifurcation parameter r {displaystyle r} . Bistability is key for understanding basic phenomena of cellular functioning, such as decision-making processes in cell cycle progression, cellular differentiation, and apoptosis. It is also involved in loss of cellular homeostasis associated with early events in cancer onset and in prion diseases as well as in the origin of new species (speciation).