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

More from Biophysics, Fluids & Geoscience

Other simulators in this category — or see all 26.

View category →
NewUniversity / research

Circadian Oscillator (Goodwin Clock)

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

Launch Simulator
NewUniversity / research

Pharmacokinetics: 1-/2-Compartment

Linear IV PK simulator: bolus, infusion, and repeated dosing; central/peripheral concentration curves, terminal half-life, AUC, Cmax/Cmin, loading dose, and maintenance rate.

Launch Simulator
NewSchool

Oxygen-Hemoglobin Dissociation Curve

Hill-equation Hb saturation vs pO2 with effective P50 shifts from pH, CO2, and temperature; arterial/venous points, Bohr effect, and O2 content.

Launch Simulator
NewUniversity / research

Hodgkin-Huxley / FHN Neuron Network

Multi-node excitable network using FHN reductions of HH dynamics: chain/ring topology, sigmoidal synaptic coupling, propagation delay, pacer-driven waves, and bursting-like activity.

Launch Simulator
NewUniversity / research

Cable Equation on an Axon

1D passive cable ∂V/∂t = D∂²V/∂x² − (V−V_r)/τ + I; compare uniform fiber vs myelinated (higher D in internodes).

Launch Simulator
NewSchool

Coupled FitzHugh–Nagumo Neurons

Two excitable FHN units with diffusive coupling: phase plots, time traces, and synchronization vs coupling strength.

Launch Simulator
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

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

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

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

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.