Introduction

Why Biophysics?

Life is physics. Every process in a living cell — from proteins folding in milliseconds to ions crossing membranes in microseconds — obeys the same laws of thermodynamics, mechanics, and electromagnetism that govern inanimate matter. Biophysics is the discipline that applies the quantitative tools of physics to understand how life works at the molecular and cellular level.

This course implements the core equations of biophysics in pure Python. No libraries — just the mathematics of living systems expressed as functions. Each lesson introduces one concept, explains the physics, and asks you to write the formula as code.

You will implement:

  • Diffusion & Brownian motion — the Stokes-Einstein relation and mean squared displacement
  • Nernst equation — electrochemical equilibrium and the Goldman equation for membrane potential
  • Michaelis-Menten kinetics — enzyme reaction rates, turnover numbers, and competitive inhibition
  • FRET — Förster resonance energy transfer efficiency and the R⁶ distance dependence
  • Worm-like chain — the Marko-Siggia force-extension model for DNA elasticity
  • Hill equation — cooperative binding, hemoglobin oxygen saturation, and the Hill coefficient
  • Osmotic pressure — van't Hoff equation and osmolarity calculations
  • Beer-Lambert law — optical absorbance, transmittance, and concentration measurement
  • Sedimentation — Svedberg coefficients and ultracentrifugation pelleting times
  • Cable equation — neuronal space constant, time constant, and signal propagation
  • Radiation biology — absorbed dose, equivalent dose, and the linear-quadratic survival model
  • Patch clamp — single-channel currents, Boltzmann open probability, and whole-cell current
  • Membrane elasticity — bending modulus, sphere bending energy, and lytic tension
  • Protein folding — two-state thermodynamics, melting temperature, and denaturant titration
  • Force spectroscopy — Bell-Evans rupture forces, optical trap fluctuations, and Stokes drag
Next →