Modeling — Question 2

PDF ↗

Question 2

An idealized drug model has a central compartment and a peripheral compartment. Let x,yx,y be drug amounts in mg, with time in hours. Each hour, transfer from central to peripheral is 11 times the current central amount; reverse transfer is 11 times the peripheral amount. Elimination occurs only from the central compartment, at rate 11 times its amount per hour. Immediately after a bolus, (x(0),y(0))=(D,0)(x(0),y(0))=(D,0), where D>0D>0 is the numerical dose in mg; no further drug enters.

Tasks

  1. Derive the two amount equations and the rate of change of total drug. State which modeling assumptions justify linear transfer laws.

  2. Explain why nonnegative initial amounts remain nonnegative. Add an eliminated-drug state e(t)e(t) and find the conserved total, with e(0)=0e(0)=0.

  3. Solve the two-compartment IVP exactly in terms of DD. Verify the initial data and determine the limiting retained and eliminated amounts.

  4. Find ∫0∞x(t)dt\int_0^\infty x(t)\,dt and ∫0∞y(t)dt\int_0^\infty y(t)\,dt directly from the balance equations. Explain their units and why adding them does not count an eliminated mass twice.

Original worksheet page 1: question and worked solution for 5-12-002
Show solutionHide solution

Question 2 – Solution

Strategy. Distinguish retained mass from cumulative elimination; integrated compartment balances recover exposure without integrating long formulas.

Step 1: Write transfer and loss rates. Well-mixed compartments and constant, unsaturated first-order rate constants give x′=−2x+y,y′=x−y\boxed{x'=-2x+y,\ y'=x-y}. The numerical coefficients have units h−1^{-1}. Adding gives (x+y)′=−x(x+y)'=-x: internal transfers cancel, but central elimination removes drug. Amounts, rather than concentrations, are the states; no unspecified compartment volume is needed for these laws.

Step 2: Establish the physical state constraints. On x=0,y≥0x=0,y\ge 0, x′=y≥0x'=y\ge 0; on y=0,x≥0y=0,x\ge 0, y′=x≥0y'=x\ge 0. These inward boundary directions and uniqueness preserve the nonnegative quadrant. With e′=xe'=x, e(0)=0e(0)=0, x+y+e=D\boxed{x+y+e=D}. Thus retained amounts lie between 00 and DD, and ee is nondecreasing. The third state records removal, not return flow.

Step 3: Resolve the two decay modes. The roots are λ±=(−3±5)/2\lambda_\pm=(-3\pm\sqrt 5)/2, both negative. Solving for the constants gives, with r=5r=\sqrt 5, x=De−3t/2(cosh⁡(rt/2)−r−1sinh⁡(rt/2)),y=2Dre−3t/2sinh⁡(rt/2).\boxed{x=D e^{-3t/2}\bigl(\cosh(rt/2)-r^{-1}\sinh(rt/2)\bigr), \quad y=\frac{2D}{r}e^{-3t/2}\sinh(rt/2).} These give x(0)=D,y(0)=0,x′(0)=−2D,y′(0)=Dx(0)=D,y(0)=0,x'(0)=-2D,y'(0)=D. Differentiating the formulas gives x′=−2x+yx'=-2x+y and y′=x−yy'=x-y for all tt. Since r<3r<3, both modal exponentials decay: x,y→0x,y\to 0 and e→De\to D.

Step 4: Integrate the balances. Decay makes both integrals finite. Integrating (x+y)′=−x(x+y)'=-x gives ∫0∞xdt=D\int_0^\infty x\,dt=D numerically, and integrating y′=x−yy'=x-y then gives ∫0∞ydt=D\int_0^\infty y\,dt=D. Restoring the rate units, ∫0∞x(t)dt=∫0∞y(t)dt=D mg⋅h.\boxed{\int_0^\infty x(t)\,dt=\int_0^\infty y(t)\,dt=D\text{ mg}\cdot\text{h}.} These are amount–time exposures in mg⋅\cdoth, not eliminated masses. Their sum is 2D2D mg⋅\cdoth of total residence exposure, while the eliminated mass is only DD mg. A molecule can contribute residence time in both compartments.

Original worksheet page 2: question and worked solution for 5-12-002

Original worksheet layout. Use Enlarge or open the PDF for a closer view.