University of Washington · Autumn 2026
Quantitative Physiology
Instructor: Beiyu Lin · syllabus
Contact Email: beiyulin@uw.edu;
Office Hours: Tu/Th 9–10 AM at Foege N210E;
Core or Elective: Core
TA: Jeffrey Pham; Email: jeffp12@uw.edu; Office Hours: M/W 4-5:30PM.
Grader: Noor Haidar; Email: noorh9@uw.edu; Office Hours: TBA.
First class: Thursday, October 1, 2026. Meets Tuesdays and Thursdays 10:00 – 11:20 AM at THO 101.
Class Philosophy
Explore how cells react, muscles move, blood delivers oxygen, and neurons communicate—and how mathematical models explain these processes. In the AI era, coding agents help bring these models to life as interactive simulations, while your understanding of physiology guides the questions you ask, the predictions you test, and the meaning you draw from the results.
What you will learn
Study reactions, transport, muscle, circulation, and electrical signaling by:
- Understand physiology: explain how biological systems work.
- Understand equations: explain how equations describe physiological phenomena, including their variables, parameters, and assumptions.
- Use AI coding tools and agents: implement physiological models, build simulations, explore parameter changes, and validate and interpret results.
10-week schedule
- Week 1
Get started
Physiology: Passive membrane voltage
Oct 6–8 · PracticeModel: Practice AI coding
- Weeks 2–3
Initial model
Physiology: Reactions & enzyme kinetics
Model: Build an initial model
Release W2 → Due W3
Written 1 + Demo 1 - Weeks 4–5
Extend
Physiology: Transport, motors & muscle
Model: Add a mechanism
Release W4 → Due W5
Written 2 + Demo 2 - Weeks 6–7
Integrate
Physiology: Circulation & oxygen transport
Model: Integrate & validate
Release W6 → Due W7
Written 3 + Demo 3 - Weeks 8–10
Refine & present
Physiology: Electrical signaling & synapses
Model: Refine & present
Presentation · Week 10
Dec 8–10
Oct 1: Course introduction
Dec 14: Written final exam · 10:30 AM–12:20 PM
3 written assignments + 3 connected demos → 1 final project. Each written assignment and demo share a release date and deadline.
Readings stay visible below. Keener & Sneyd may require a UW Libraries login. Exact assignment deadlines will be announced.
Reading key: A&P = OpenStax Anatomy and Physiology; ND = Neuronal Dynamics.
| Week / dates | Topic and activity | Reading | Assignments |
|---|---|---|---|
| First classThursday October 1, 2026 |
Introduction to Quantitative Physiology
Course overview and setup. Explore this topic
Prepare for October 6: choose a coding tool and follow the setup instructions provided in class. |
Lecture 1 slides and introductory notes (links to be posted). Additional reading |
Set up your AI coding tools |
| 1Tue Oct 6 · Thu Oct 8 |
AI coding agents: practical implementation studio
Practice with an AI coding agent. Explore this topicSpecification → context → tool call → execution → feedback → revision
Understand: Trace an agentic loop. Explain function-call schemas, structured outputs, and the MCP host–client–server architecture. Identify where the model’s equations, parameters, and validation requirements enter an agent’s implementation task. Use AI: Use a coding agent to create the passive membrane explorer described in the AI coding studio. Keep equations, solver, and interface in separate modules. Check: Compare the numerical trajectory with the supplied analytic solution. Review the code diff and document a correction. Milestone: Build the analytic-benchmark membrane explorer; reuse this workflow for every demo. |
AI coding tools & references Additional reading Reading guidanceread the resting-membrane-potential discussion. focus on the passive membrane circuit before adding a spike threshold. |
|
| 2Tue Oct 13 · Thu Oct 15 |
Chemical reactions, equilibrium & thermodynamics
Reaction rates, energy, and equilibrium. Explore this topicA + B ⇌ C; dc/dt = k₊ab − k₋c
ΔG = ΔG° + RT ln Q Understand: Explain how forward and reverse reaction terms change species concentrations while conserving total material. Interpret Kd = k₋/k₊ as a measure of binding affinity, and relate the sign of ΔG to reaction direction using dimensionless activities in Q. Use AI: Build a reversible-binding simulator with adjustable initial conditions and rate constants. Display transient concentrations and equilibrium predictions. Check: Confirm conserved totals and zero net reaction rate at equilibrium. Treat equilibrium and driven steady states distinctly. |
Keener & Sneyd I, Chapter 1: biochemical reactions. Additional reading Reading guidancereaction types, energy, and reaction rates. |
Release · Pair 1 Written 1 + Demo 1 What to submitWritten work: Reactions and enzyme kinetics: explain mass action, equilibrium, and enzyme saturation; interpret rate constants, Vmax, and Km; show calculations with units. Demo work: Initial model: choose your final-project physiological question, explain the equations, and implement a simple working simulation with a basic validation check. Released together in Week 2; both due in Week 3. |
| 3Tue Oct 20 · Thu Oct 22 |
Enzyme kinetics & model reduction
Enzyme saturation and simpler models. Explore this topicE + S ⇌ C → E + P
v = Vmax s/(Km + s); Km = (k₋₁ + k₂)/k₁ Understand: Interpret each term in the full enzyme-reaction model and the conservation relation e + c = e₀. Explain how Vmax and Km shape the Michaelis–Menten curve and when the quasi-steady-state approximation is appropriate. Use AI: Class activity: compare full and reduced enzyme models while changing substrate and enzyme concentrations. Check: Verify mass balance, positivity, and low- and high-substrate asymptotes. Identify a regime where the reduction fails. Milestone: Written 1 and Demo 1: initial model for your final project, including the project question and a validation check. |
Keener & Sneyd I, Chapter 1: enzymatic reactions. Additional reading Reading guidancerevisit catalysts and factors affecting reaction rates; use Keener & Sneyd for the quantitative enzyme model. |
Due · Pair 1 Written 1 + Demo 1 |
| 4Tue Oct 27 · Thu Oct 29 |
Membrane transport & molecular motors
Diffusion, transport, and motor motion. Explore this topicJ = −D∇c; ∂c/∂t = D∇²c
Steady slab: J = (D/L)(cL − cR) v = a(k₊ − k₋); D = a²(k₊ + k₋)/2
Understand: Membrane transport: Explain how concentration gradients, diffusivity, and membrane thickness determine flux. Interpret the diffusion equation as local mass conservation and explain carrier-state balances.
Use AI: Membrane transport & cellular homeostasis: Create a diffusion or carrier-transport explorer with explicit initial and boundary conditions.
Check: Membrane transport & cellular homeostasis: Check flux direction, boundary conditions, mass balance for the chosen boundaries, and spatial/time-step convergence. Milestone: Plan a relevant extension of your Demo 1 model for Demo 2. |
Keener & Sneyd I: cellular homeostasis. Keener & Sneyd II: molecular basis of muscle. Reading guidancepassive and active transport. focus on the cytoskeleton and intracellular transport. |
Release · Pair 2 Written 2 + Demo 2 What to submitWritten work: Transport, molecular motors, and muscle: interpret flux, stepping rates, and force–velocity relationships; calculate and predict parameter effects. Demo work: Extended model: build on Demo 1 by adding a relevant mechanism or interaction. Explore parameter effects and compare the extended model with the initial model. Released together in Week 4; both due in Week 5. |
| 5Tue Nov 3 · Thu Nov 5 |
Muscle mechanics: Hill & Huxley models
From molecular attachment to muscle force. Explore this topic(p + a)v = b(p₀ − p)
∂n/∂t − v ∂n/∂x = f(x)(1 − n) − g(x)n F = ρ ∫ r(x)n(x,t) dx
Understand: Hill model: Interpret the force–velocity curve, parameters, isometric limit, and zero-load limit. Explain the physiological scope of this phenomenological relation.
Use AI: Muscle mechanics: the Hill model: Build a force–velocity explorer. Compare parameter sets and compute mechanical power p·v.
Check: Muscle mechanics: the Hill model: Recover v = 0 at p = p₀ and identify the valid shortening regime. Check force and velocity units. Milestone: Written 2 and Demo 2: extended final-project model with parameter exploration and validation. |
Keener & Sneyd II: muscle, the Hill force–velocity relation, and cross-bridge models. | Due · Pair 2 Written 2 + Demo 2 |
| 6Tue Nov 10 · Thu Nov 12 |
Vascular networks & Windkessel dynamics
Blood flow, resistance, and compliance. Explore this topicQ = ΔP/R; R = 8μL/(πr⁴)
C dPc/dt = Q − Pc/Rv; P = RaQ + Pc
Understand: Vascular networks: Explain how pressure differences and resistance determine flow, why radius has a fourth-power effect, and how series and parallel vessels redistribute flow. Use AI: Class activity: use a worked resistance-network example and explore a Windkessel app with adjustable resistance, compliance, and pulse timing. For Demo 3, integrate and validate the components of your existing project.
Check: Circulation as a flow network: Conserve flow at each junction and verify the fourth-power radius dependence. State why real vessels can depart from this model. Milestone: Begin Demo 3: integrate the components of your final project and strengthen validation. |
Keener & Sneyd II: circulation, compliance, and arterial pressure. | Release · Pair 3 Written 3 + Demo 3 What to submitWritten work: Circulation and oxygen transport: interpret pressure, resistance, compliance, and oxygen-binding curves; calculate flow and saturation. Demo work: Integrated demo: bring your project components together, validate the results, and explain the physiological findings and limitations. Released together in Week 6; both due in Week 7. |
| 7Tue Nov 17 · Thu Nov 19 |
Oxygen binding, blood content & delivery
Oxygen binding and delivery. Explore this topiccdissolved = αp; Y = pʰ/(P₅₀ʰ + pʰ)
Understand: Distinguish dissolved oxygen concentration, partial pressure, saturation, and total oxygen content. Interpret α, P₅₀, and the Hill exponent h; explain how binding and cooperativity shape oxygen uptake and release. Use AI: Create a binding-curve explorer and calculate illustrative oxygen-content changes across a pressure range. Check: Recover Y → 0 and Y → 1 at the limits, with Y = 1/2 at P₅₀. Label illustrative parameter values. Milestone: Written 3 and Demo 3: integrated final-project demo with validation and physiological interpretation. |
Keener & Sneyd I: cooperative binding. Keener & Sneyd II: blood and respiration. Additional reading Reading guidancehemoglobin background. oxygen transport and binding. |
Due · Pair 3 Written 3 + Demo 3 |
| 8Tue Nov 24 |
Membrane potentials & passive electrical flow
Ion gradients and membrane voltage. No class Thursday, November 26 (Thanksgiving). Explore this topicEion = RT/(zF) ln(cout/cin)
C dV/dt = Σ gi(Ei − V) + Iapp Understand: Interpret the Nernst equation using ion concentrations, valence, temperature, and an inside-minus-outside voltage convention. Explain how capacitance, conductances, reversal potentials, and applied current determine membrane-voltage changes. Use AI: Extend the Week 01 app to multiple conductances; show how each changes the resting voltage and time constant. Check: For constant conductances and zero applied current, recover Vrest = ΣgiEi/Σgi and τ = C/Σgi. Milestone: Revisit and explain the Week 01 membrane explorer; no new standalone demo milestone. |
Keener & Sneyd I: membrane ion channels and passive electrical flow. Additional reading Reading guidanceresting potential and ion gradients. passive membrane dynamics. |
|
| 9Tue Dec 1 · Thu Dec 3 |
Channel gating & Morris–Lecar excitability
Channel gates, thresholds, and firing. Explore this topicdn/dt = α(V)(1 − n) − β(V)n = (n∞ − n)/τn
Understand: Explain α and β as opening and closing rates, n∞ as the steady-state open fraction, and τn as the response timescale. Interpret how voltage–recovery feedback and current signs produce rest, threshold behavior, and oscillations. Use AI: Create a Morris–Lecar phase-plane explorer with trajectories and nullclines. Vary input current and distinguish rest from repetitive firing. Check: Keep gates in [0,1], verify current signs, and compare behavior across solver tolerances. Milestone: Working final-project demo and peer validation review. |
Keener & Sneyd I: membrane ion channels and excitability. Additional reading Reading guidancevoltage-gated channels and threshold. focus on gate variables. use these methods to interpret the course’s Morris–Lecar example. |
|
| 10Tue Dec 8 · Thu Dec 10 |
Action potentials, propagation & synaptic coupling
Action potentials and synapses. Explore this topicCₘ dV/dt = Iapp − ḡNa m³h(V − ENa) − ḡK n⁴(V − EK) − gL(V − EL)
ds/dt = αT(1 − s) − βs Isyn,in = gsyn s(Esyn − Vpost)
Understand: Action potentials and propagation: Interpret the sodium, potassium, leak, and capacitive terms; explain activation, inactivation, and refractoriness. Explain how axial current coupling in the cable equation supports propagation. Use AI: Use an agent to implement a Hodgkin–Huxley stimulus-response example and add a prescribed synaptic input. Analyze the cable equation and coupled-cell formulation; full spatial simulation is optional. Peer-review final-project equations and numerical evidence.
Check: Action potentials & electrical propagation: Use a documented parameter set and voltage convention. Check gate bounds, refractory behavior, and time-step or spatial convergence. Milestone: Present the refined final-project demo developed through Demos 1–3. The single-cell example is a class activity; spatial propagation is an optional implementation. |
Keener & Sneyd I: excitability, wave propagation, and intercellular communication. Additional reading Reading guidanceoptional cable-equation extension. |
Final presentation Your refined project demo. Presentation checklistPresent the refined project built through Demos 1–3. Explain your physiological question, equations, assumptions, results, validation, and limitations. Demonstrate the model and describe how you used AI coding tools. |
Written Final Exam: Monday, December 14, 2026, 10:30 AM–12:20 PM at THO 101.
AI tools: Week 1
Learn how a coding agent reads a project, edits files, runs code, checks results, and repeats. Use this workflow for every course demo.
- Autocomplete to agents: from suggesting the next line to making coordinated changes across multiple files.
- Agentic loops and tool use: understand the cycle of reading, acting, checking, and revising.
- Function calling: an AI requests an action; application code runs it and returns a result.
- Structured outputs: use a defined format for parameters and results.
- Model Context Protocol basics: understand how hosts, clients, and servers connect AI applications to tools and data.
Tools we will discuss
Compare their documented architecture: how they gather context, use tools, execute code, and respond to feedback. Choose one for your work.
- Codex — a coding agent.
- Cursor — an editor with an agent that works across a codebase.
- Claude Code — a coding agent with file and command tools.
- Devin — delegated coding tasks in a managed workspace.
- Windsurf / Cascade — an editor-based agent; current Cascade documentation is under Devin Desktop.
First activity: model how medicine leaves the body over time using dA/dt = −kA, where A(t) is the amount of medicine in the body and k is the elimination rate. Use an AI coding agent to simulate how the amount changes over time and compare it with the analytical solution A(t) = A₀e−kt. Change the initial amount A₀ and elimination rate k, and explain how they affect how long the medicine remains in the body.
API references: OpenAI, Gemini, Claude & MCP
Choose the documentation for the tool you use. Compare how different providers support tool calling and structured outputs.
- OpenAI: Function calling · Structured outputs
- Google Gemini: Function calling · Structured outputs
- Anthropic Claude: Tool use · Structured outputs · How Claude Code works
- Model Context Protocol (MCP): Architecture and connecting agents to tools — a shared protocol, not specific to one model provider.
Readings
Core textbooks and supporting resources
- Keener & Sneyd, Mathematical Physiology, 2nd edition (2009): Volume I: cellular physiology and Volume II: systems physiology.
- Phillips, Kondev & Theriot, Physical Biology of the Cell, 1st edition (2009). The second edition adds Garcia as a coauthor; its companion resources are also useful.
Additional textbooks
- OpenStax, Anatomy and Physiology 2e: Download the free textbook PDF or read online. Use the section numbers listed each week for physiological background.
- Gerstner, Kistler, Naud & Paninski, Neuronal Dynamics: Read the free online textbook. Selected sections support the Week 1 simulation and Weeks 8–10. Sections marked with an asterisk in the book are advanced and optional unless specified.
Grading rubrics (tentative)
- Written Homework: 30%
- Demo: 30%
- Final Exam: 40%.
Lecture slides and handwritten notes support class discussion. File links will be added when available for distribution.