Why Extreme Extraction Ratios Need Careful Calculation
Hepatic clearance calculations can be numerically fragile at the same limits where their physiological interpretation is often clearest. When extraction is very small, a formula that subtracts two nearly equal numbers can lose most or all meaningful digits. When extraction is nearly complete, clearance may round to hepatic blood flow, hiding a small but important residual fraction of drug leaving the liver.
This tutorial focuses on numerical evaluation, not on choosing among liver models. The standard model inputs used here are hepatic blood flow \(Q_h\), in L/h, and the effective intrinsic clearance \(x=f_{u,b}CL_{int}\), also in L/h, where \(f_{u,b}\) is the unbound fraction in blood and \(CL_{int}\) is intrinsic clearance on a compatible basis. Define the extraction ratio \(E_h\) as the fraction removed during one passage through the liver, and hepatic availability \(F_h=1-E_h\) as the fraction that escapes that passage.
The model assumptions still matter: these expressions describe a steady-state, linear liver model with the specified flow and effective intrinsic clearance. They do not, by themselves, account for concentration-dependent metabolism, changing flow during passage, or other departures from the chosen model. The earlier material on extraction ratios and liver-model limits provides the physiological interpretation; here the concern is whether the computer evaluates the equations faithfully.
Stable Forms for the Standard Liver Equations
For the well-stirred model, extraction and availability can be computed as complementary ratios:
When \(x\) is much larger than \(Q_h\), a useful equivalent clearance form is
This avoids forming a very large sum \(Q_h+x\) when the inputs differ greatly in scale. It also makes clear that clearance approaches, but does not exceed, \(Q_h\). The gap from flow is often more informative than the rounded clearance itself:
For the parallel-tube model, let \(z=x/Q_h\). Its outlet fraction is \(F_h=\exp(-z)\), so the direct expression for clearance is \(Q_h[1-\exp(-z)]\). At small \(z\), evaluating the bracket by ordinary subtraction is vulnerable to cancellation. Use the standard computational function expm1, which returns \(\exp(u)-1\) accurately when \(u\) is near zero:
At high extraction, retain \(F_h\) as its own quantity rather than trying to recover it by subtracting a rounded \(E_h\) from one. If the exponent is so negative that \(\exp(-z)\) underflows to zero in the computing system, that is a numerical limit on the representable outlet fraction—not evidence that the true fraction is exactly zero.
Why the Reformulations Work
The small-extraction problem is a direct consequence of the series for the exponential. For \(z\) near zero,
The true difference is approximately \(z\). But a computer first rounds \(\exp(-z)\) to a number close to one, then subtracts it from one. If the rounded exponential is exactly one, the computed difference is zero even though \(z>0\). expm1 evaluates the small difference directly, retaining the terms that subtraction can discard. Multiplying that difference by \(Q_h\) then gives clearance without first losing the extraction signal.
The same principle applies to the well-stirred model. For \(r=x/Q_h\), its clearance is \(Q_h r/(1+r)\). When \(r\) is very large, calculate the small complementary ratio \(1/r\) and use \(CL_h=Q_h/(1+1/r)\), rather than relying on a rounded extraction ratio and then subtracting it from one. These algebraic rearrangements do not change the model; they change the route used to evaluate it.
Worked Example: Tiny Parallel-Tube Extraction
Suppose a hypothetical liver has \(Q_h=90\) L/h and effective intrinsic clearance \(x=9.0\times10^{-16}\) L/h. Under the parallel-tube model, calculate \(CL_h\) using both the direct subtraction and the stable form.
First, \(z=x/Q_h=(9.0\times10^{-16})/90=1.0\times10^{-17}\). The direct formula is \(CL_h=90[1-\exp(-1.0\times10^{-17})]\) L/h. In ordinary double-precision arithmetic, \(\exp(-1.0\times10^{-17})\) can round to exactly 1, yielding a computed clearance of 0 L/h. That is a rounding artifact.
Using the stable formula, \(-\operatorname{expm1}(-z)\) is approximately \(1.0\times10^{-17}\), so \(CL_h=90(1.0\times10^{-17})=9.0\times10^{-16}\) L/h. This agrees with the low-extraction limit \(CL_h\approx x\). The model and units are consistent; the discrepancy comes from the evaluation method, not from a change in physiological assumptions.
Worked Example: Well-Stirred Clearance Near Hepatic Flow
For a hypothetical well-stirred liver, let \(Q_h=90\) L/h and \(x=9.0\times10^8\) L/h. Find the clearance and its small shortfall from flow.
Here \(x/Q_h=1.0\times10^7\), so the stable clearance form gives \(CL_h=90/(1+10^{-7})=89.9999910000009\) L/h. To calculate the shortfall directly, use \(Q_h-CL_h=Q_h(10^{-7})/(1+10^{-7})=8.9999991\times10^{-6}\) L/h.
Thus clearance is extremely close to the 90 L/h flow, while the residual gap is about \(9.00\times10^{-6}\) L/h. Reporting clearance to three significant figures gives 90.0 L/h; that rounded value must not be interpreted as proving the gap is zero. The well-stirred assumptions and positive finite inputs imply \(CL_h<Q_h\), a useful check on the calculation.
Stable Use of Outlet Fractions in Other Model Calculations
The dispersion model can be evaluated by a model-specific calculation of the outlet-to-inlet ratio \(F_h\). Whatever solver supplies that ratio, the conversion to clearance is still \(Q_h(1-F_h)\). If the solver can return the logarithm of the outlet ratio, \(\log F_h\), evaluate the extraction as \(-\operatorname{expm1}(\log F_h)\), rather than calculating \(\exp(\log F_h)\) and subtracting the result from one. This is particularly useful when \(F_h\) is very close to one. Conversely, when \(F_h\) is tiny, retain \(F_h\) directly if it is needed for first-pass availability or another downstream calculation.
A log-domain calculation is only as accurate as the underlying model solution. If a solver has already rounded a near-one outlet ratio to exactly one, taking its logarithm cannot recover the lost digits. Prefer a solver that exposes a log ratio, a directly calculated extraction, or sufficient internal precision. Check convergence by tightening solver tolerances or increasing precision; the resulting \(F_h\) and \(CL_h\) should stabilize at the precision being reported.
Worked Example: Dispersion-Model Output Near Zero Extraction
Suppose a hypothetical dispersion-model calculation with \(Q_h=75\) L/h returns \(\log F_h=-1.0\times10^{-12}\). Convert this output to extraction and clearance using a stable calculation.
The extraction is \(E_h=1-\exp(\log F_h)=-\operatorname{expm1}(-1.0\times10^{-12})\), approximately \(9.999999999995\times10^{-13}\). Therefore \(CL_h=75E_h=7.49999999999625\times10^{-11}\) L/h.
The result is positive and close to \(Q_hE_h\), as required. A direct subtraction of \(\exp(-10^{-12})\) from one may retain some digits in a particular implementation, but it is less reliable because it subtracts nearly equal values. If the model solver instead returned \(F_h=1\) after rounding, no rearrangement of that rounded output could recover the small extraction; the solver must preserve more information.
Worked Example: High Parallel-Tube Extraction and Residual Availability
For a hypothetical parallel-tube liver, let \(Q_h=100\) L/h and \(z=x/Q_h=30\). Calculate clearance and hepatic availability, keeping the small complement visible.
The availability is \(F_h=\exp(-30)=9.35762297\times10^{-14}\). Stable evaluation gives \(CL_h=100\{-\operatorname{expm1}(-30)\}=99.9999999999906\) L/h, with the clearance shortfall \(Q_h-CL_h=Q_hF_h=9.35762297\times10^{-12}\) L/h.
To three significant figures the clearance is 100 L/h, but the availability is not zero: it is approximately \(9.36\times10^{-14}\). Retaining \(F_h\) directly is essential if that small fraction is needed. Calculating \(F_h\) as \(1-E_h\) after \(E_h\) has rounded to 1 would incorrectly produce zero.
Diagnostics, Comparisons, and Limitations
Stable algebra improves numerical evaluation; it does not validate the biological inputs or select the correct liver model. A computed result should still pass basic checks. For positive \(Q_h\) and \(x\), extraction should lie between zero and one, availability should lie between zero and one, and clearance should lie between zero and \(Q_h\). In the low-extraction limit, well-stirred and parallel-tube clearance approach \(x\). At high extraction, their clearance approaches \(Q_h\), although the predicted residual availability can differ by model. A result outside the physical bounds, a negative clearance, or a value that changes materially with tighter solver tolerances signals an input, implementation, or numerical problem.
The main alternatives are to compute extraction first and multiply by flow, to compute clearance directly from a model-specific formula, or to calculate the complementary outlet fraction first. These are algebraically equivalent in exact arithmetic, but not equally robust in finite precision. Near zero extraction, a direct formula using \(1-\exp(-z)\) is less reliable than an expm1 form. Near complete extraction, a rounded extraction ratio can hide the remaining availability; computing and retaining \(F_h\) separately is safer. For well-stirred clearance near flow, the scaled ratio and direct shortfall are preferable when the distance from flow matters.
No algebraic rearrangement can restore information that was lost before the calculation, such as an input rounded to zero, an outlet ratio rounded to one, or a quantity below the computer’s representable range. Nor should extra digits be reported merely because software prints them. Round the final result to a precision justified by the inputs, but preserve small complementary quantities at adequate precision if they will be used in a later calculation.
Common pitfall: “The computed extraction is 1, so availability is exactly zero and clearance equals flow.” The correction is that a displayed extraction of 1 may be a rounded value. Calculate and retain availability directly, check whether the solver preserved the outlet fraction, and distinguish a numerical zero from a true model prediction of zero.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- For a parallel-tube model with \(Q_h=50\) L/h and \(z=2.0\times10^{-18}\), what stable expression should be used for clearance, and what is its approximate value?
- Why can computing \(F_h=1-E_h\) be unreliable when extraction is very high?
- A well-stirred calculation gives \(Q_h=40\) L/h and \(x/Q_h=10^6\). Give a stable expression for the clearance shortfall from flow.
- A dispersion solver returns \(\log F_h=-0.02\). Give a stable expression for \(E_h\) and state why it is preferable near zero extraction.
Solutions. (1) Use \(CL_h=Q_h\{-\operatorname{expm1}(-z)\}\). Since \(-\operatorname{expm1}(-z)\approx z\), clearance is approximately \(50(2.0\times10^{-18})=1.0\times10^{-16}\) L/h. (2) If \(E_h\) rounds to 1, subtraction returns zero even when the true outlet fraction is small and positive; calculate and retain \(F_h\) directly. (3) Here \(Q_h/x=10^{-6}\), so \(Q_h-CL_h=Q_h(10^{-6})/(1+10^{-6})\), approximately \(4.00\times10^{-5}\) L/h. (4) Use \(E_h=-\operatorname{expm1}(-0.02)\), approximately \(0.0198013\). It evaluates the small difference from one without subtracting two nearly equal numbers.