What does Bistability, Lipolysis and Menu Math conclude, in numbers, about “Same Food, Two Patterns”?
Answer: Chapter 3 compares two patterns carrying the same energy and carbohydrate whose mean insulin differs by 0.8 pmol/L, and finds the eight-hour window spends 7.68 more hours below the threshold and releases 0.122 more.
Scope of the numbers: Its parameters are illustrative or synthetic; the samples of Chapter 4 are generated; all figures are produced by the programs printed in the book; the book is not medical advice and does not diagnose. Chapter 4 reaches an area of 0.9645 for the index against 0.9244 for the waist ratio on the same synthetic sample, so the blood test adds 0.0400, with a best index cutoff of 8.705.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 0.122, 0.8, 7.68
both patterns: 202 g of carbohydrate a day pattern meals peak mean hours below 50 eight-hour 2 351 91.7 14.73 spread out 6 174 90.9 7.05 fatty acid released a day, grams: pattern visceral subcutaneous together share eight-hour 69.4 118.3 187.8 0.370 spread out 61.9 92.0 153.9 0.402 visceral release, eight-hour minus spread out: +7.6 g a day as a share of the spread-out figure: +0.122 extra hours below 50 pmol/L: +7.68 mean insulin, eight-hour minus spread out: +0.8 pmol/L
Show the full program
# Chapter 3. p05: Two ways to eat the same food. Each meal raises insulin
# along a curve that peaks about fifty minutes after it and decays; the
# height of the peak is taken to be proportional to the meal's
# carbohydrate. Both patterns below carry the same energy and the same
# carbohydrate: one eats it in two meals inside an eight-hour window,
# the other spreads it over six meals across fourteen hours. The depot
# release curve is the one p04 fits. The grid is one minute wide.
BASE, KA, TP = 35.0, 3.12, 0.80 # pmol/L, pmol/L per g, hours
CARB_DAY = 202.0 # g of carbohydrate a day
VMAX = {"visceral": 2.30, "subcut": 1.00}
IC50 = {"visceral": 110.0, "subcut": 55.0}
MASS = {"visceral": 2.2, "subcut": 12.0}
HILL, PER_UNIT = 1.6, 0.84
LOWINS = 50.0 # pmol/L, below which release is free
E = 2.718281828459045
WINDOW = (12.0, 19.0) # two meals, eight-hour window
GRAZE = (7.0, 10.0, 13.0, 16.0, 19.0, 21.0)
def insulin(t, meals, carb_each):
v = BASE
for tm in meals:
d = t - tm
if d > 0.0:
v += KA * carb_each * (d / TP) * E ** (1.0 - d / TP)
return v
def release(depot, ins):
return MASS[depot] * VMAX[depot] / (1.0 + (ins / IC50[depot]) ** HILL)
def day(meals):
carb_each = CARB_DAY / len(meals)
n = 24 * 60
vis = sub = low = tot_ins = 0.0
peak = 0.0
for i in range(n):
t = 24.0 * i / n
ins = insulin(t, meals, carb_each)
peak = max(peak, ins)
tot_ins += ins
if ins < LOWINS:
low += 1.0
vis += release("visceral", ins)
sub += release("subcut", ins)
h = 24.0 / n
return {"peak": peak, "mean": tot_ins / n, "low_h": low * h,
"vis": vis * h * PER_UNIT, "sub": sub * h * PER_UNIT}
if __name__ == "__main__":
a, b = day(WINDOW), day(GRAZE)
print(" both patterns: {:.0f} g of carbohydrate a day"
.format(CARB_DAY))
print(" pattern meals peak mean hours below {:.0f}"
.format(LOWINS))
for name, meals, d in (("eight-hour", WINDOW, a),
("spread out", GRAZE, b)):
print(" {:<15}{:<8d}{:<7.0f}{:<7.1f}{:.2f}"
.format(name, len(meals), d["peak"], d["mean"], d["low_h"]))
print(" fatty acid released a day, grams:")
print(" pattern visceral subcutaneous together share")
for name, d in (("eight-hour", a), ("spread out", b)):
print(" {:<15}{:<11.1f}{:<15.1f}{:<11.1f}{:.3f}"
.format(name, d["vis"], d["sub"], d["vis"] + d["sub"],
d["vis"] / (d["vis"] + d["sub"])))
print(" visceral release, eight-hour minus spread out: {:+.1f} g a day"
.format(a["vis"] - b["vis"]))
print(" as a share of the spread-out figure: {:+.3f}"
.format(a["vis"] / b["vis"] - 1.0))
print(" extra hours below {:.0f} pmol/L: {:+.2f}"
.format(LOWINS, a["low_h"] - b["low_h"]))
print(" mean insulin, eight-hour minus spread out: {:+.1f} pmol/L"
.format(a["mean"] - b["mean"]))Single source and citation
Fan, Y. (2026). Insulin-Glucagon Bistability, Visceral Lipolysis Kinetics and Linear-Programming Diet Optimization (Version 1.0.0), Chapter 3: Same Food, Two Patterns. 5D Library. https://doi.org/10.5281/zenodo.24090248
DOI: 10.5281/zenodo.24090248 · Read the monograph · 5DL-B-095 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026095,
author = {Fan, Yafu},
title = {Insulin-Glucagon Bistability, Visceral Lipolysis Kinetics and Linear-Programming Diet Optimization},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090248},
url = {https://doi.org/10.5281/zenodo.24090248}
}Other chapter answers in this book
- Chapter 1 · The Switch: Where the Fourteen to Twenty Hours Come From
- Chapter 2 · The Lipase: Two Conditions, and an Overshoot
- Chapter 4 · Two Cheap Measurements
- Chapter 5 · The Mineral the Diet Takes Away
- Chapter 6 · The Diet Problem, Solved Twice
- Chapter 7 · What the Classics Were Warning About
- Chapter 8 · The Month, and the Gate