14.5 Logarithmic trapezoid rule
The logarithmic trapezoid assumes exponential change between two positive, unequal concentrations. Its area is
AUC₁₂ = (C₁ − C₂)(t₂ − t₁) / ln(C₁/C₂)
The expression is valid for rising or falling positive endpoints, although pharmacometric conventions usually reserve it for decline. It is exact when C(t) follows one exponential across the interval.
Interpolation
At a fraction f=(t−t₁)/(t₂−t₁) inside the segment, consistent exponential interpolation is
C(t) = C₁ × (C₂/C₁)^f
Partial areas and concentrations at τ must use this same curve. Mixing logarithmic area with linear boundary interpolation creates internal inconsistency.
Edge cases
If either endpoint is nonpositive or the endpoints are equal, the checked method falls back to a linear segment. This avoids division by log(1) and undefined logarithms. Very similar endpoints can be numerically delicate; a robust implementation avoids catastrophic cancellation through tested formulas/tolerances.
The first-moment logarithmic segment integrates t·C exactly under the exponential assumption. With k=ln(C₁/C₂)/Δt, the expression is (t₁C₁−t₂C₂)/k + (C₁−C₂)/k².
How to audit a log segment
First confirm that time increases and both concentrations are positive. Calculate the ratio and natural logarithm with full precision. Then compare the result with a linear trapezoid: during a genuine decline, the log-segment area should usually be smaller. An unexpected reversal often indicates swapped endpoints, a base-10 logarithm, or early rounding.
The formula approaches the linear result continuously as endpoints become equal, but its direct numerical form can lose precision near equality. Cross-software tests should therefore include both equal and almost-equal concentrations and record the fallback tolerance.
Common mistakes
- Applying the log rule to zero or negative concentrations.
- Confusing a log-axis plot with logarithmic trapezoid integration.
- Using a logarithmic decline across a distribution/absorption feature.
- Interpolating partial boundaries linearly after log integration.
Checklist
- Verify both concentrations are positive.
- Confirm exponential behavior is plausible for the segment.
- Use the same interpolation for partial areas.
- Test equal/nearly equal endpoints.
- Validate AUC and AUMC independently.
Further reading
See linear rule, combined conventions, and numerical stability.