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 = 0.71853 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 | 0.66406 | 0.05447 |
| 8 | 0.70434 | 0.01419 |
| 16 | 0.71495 | 0.00358 |
| 32 | 0.71763 | 0.00090 |
With h = 0.5, 0.39% 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.