PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 44 in Biophysics, Fluids & Geoscience.

View category →
NewUniversity / research

Circadian Oscillator (Goodwin Clock)

Launch Simulator

Goodwin-style molecular clock: delayed negative transcriptional feedback, mRNA/protein/repressor phase lag, period readout, and light-pulse phase advance or delay.

NewUniversity / research

Rossby Waves on a Beta-Plane

Launch Simulator

Linear planetary wave ψ = A cos(kx+ly−ωt) with ω = −βk/(k²+l²+Rd⁻²): streamfunction bands and geostrophic arrows show westward phase propagation.

NewUniversity / research

Hardy-Weinberg Population Genetics

Launch Simulator

Allele frequency p, p²/2pq/q² genotype frequencies, plus selection, mutation, and genetic drift toy trajectories.

NewSchool

0-D Energy Balance & Ice–Albedo

Launch Simulator

Budyko-style (1−α)S/4 = εσT⁴ with icy vs clear albedo, freeze/melt hysteresis when S is swept, and optional smooth α(T) relaxation.

NewUniversity / research

Kelvin–Helmholtz Shear Instability

Launch Simulator

Two parallel flows with slip U: Fourier-mode growth rate sketch and animated interface billows (linear toy model).

NewUniversity / research

Infinite Slope Stability

Launch Simulator

Limit-equilibrium factor of safety for a shallow planar slide: slope angle, cohesion, friction, depth, and rainfall-driven pore pressure set the landslide threshold.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Biophysics, Fluids & Geoscience/Gene Regulatory Toggle Switch

Gene Regulatory Toggle Switch

Two mutually repressing genes with Hill cooperativity: bistable A-high/B-high attractors, phase-plane nullclines, hysteresis under inducer sweeps, and noise-driven switching.

Toggle switch

4
3
0
0.05
0.02
7

Two genes mutually repress each other: dA/dt = leak + α_A/(1+B^n) − A and dB/dt = leak + α_B/(1+A^n) − B. Cooperative repression (large n) creates two stable expression states.

Measured values

final stateA-high / B-low
final A / B4.04 / 0.14
noise switches0
hysteresis width0.90 bias

The phase portrait shows why memory appears: two attractors coexist when nullclines intersect on stable outer branches. The hysteresis panel keeps the previous state while bias is swept.

Live graphs

About this model

The genetic toggle switch is a minimal synthetic biology motif: two genes encode repressors A and B, and each repressor inhibits expression of the other gene. This simulator uses nondimensional Hill equations dA/dt = β + α_A/(1+Bⁿ) − A and dB/dt = β + α_B/(1+Aⁿ) − B. When repression is cooperative enough, the phase-plane nullclines intersect so that two stable attractors coexist: A-high/B-low and B-high/A-low. The current inducer bias changes the relative expression strengths α_A and α_B. The time-series panel shows deterministic relaxation plus optional expression noise, the phase portrait overlays the trajectory with both nullclines, and the hysteresis panel sweeps the bias upward and downward to show memory: the switch flips at different thresholds depending on its previous state.

Who it's for: Students in systems biology, synthetic biology, nonlinear dynamics, or biophysics learning gene circuits, bistability, and stochastic switching.

Key terms

  • Genetic toggle switch
  • Mutual repression
  • Hill function
  • Bistability
  • Hysteresis
  • Nullcline
  • Attractor
  • Noise-driven switching

How it works

A mutual-repression genetic toggle switch: cooperative Hill repression creates bistability, hysteresis under inducer sweeps, and noise-driven switching between expression states.

Key equations

dA/dt = β + α_A/(1+Bⁿ) − A, dB/dt = β + α_B/(1+Aⁿ) − B, with inducer bias setting α_A = αeˢ, α_B = αe⁻ˢ. Noise is additive Langevin-style expression noise.

Frequently asked questions

Why is Hill cooperativity important?
Without a sufficiently steep repression curve, the nullclines usually intersect in only one stable state. Cooperative binding makes the response switch-like, allowing two stable expression states to coexist.
What does the hysteresis loop mean biologically?
It means the circuit has memory. The inducer level needed to flip from B-high to A-high differs from the level needed to flip back, so cells can remember a past stimulus after the bias is partially removed.
How does noise cause switching?
Expression noise randomly perturbs A and B. If a fluctuation is large enough to cross the separatrix between basins of attraction, the deterministic dynamics carry the circuit into the other stable state.