Starting point
One well-mixed compartment with constant fractional elimination.
Learning notes
How does the timescale of elimination change a concentration curve?
Start with first-order decay in one idealized compartment. Moving from concentration to response requires another model, observations and evidence.
Assume instantaneous mixing, no additional input and a constant elimination rate. Relative concentration follows C(t)/C(0) = 2−t/h, where h is the half-life in arbitrary time units. At t = h, one half remains.
The area under this normalized curve over four time units is h(1 − 2−4/h)/ln 2 = 2.16404 time units. Divide that interval into equal bins and evaluate each rectangle at its midpoint. Change the half-life above to compare results.
| Bins | Area | Absolute error |
|---|---|---|
| 4 | 2.15325 | 0.01079 |
| 8 | 2.16134 | 0.00271 |
| 16 | 2.16337 | 0.00068 |
| 32 | 2.16387 | 0.00017 |
With h = 2, 25.00% remains after four units. This teaching model uses no patient data and predicts neither dose nor clinical response.
Background reading · StatPearls, PharmacokineticsOne well-mixed compartment with constant fractional elimination.
The plotted curve is an analytical solution. It cannot describe absorption, multiple compartments or a person's response.
Compare the analytical solution with a forward-Euler approximation and report error as the step size changes.