do you know all the concepts from guyton and hall medical physiology textbook 13th edition ?

Yes! I have access to Guyton & Hall Medical Physiology (13th edition) through the medical library. Let me check what's available.
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Yes - the library has Guyton and Hall Textbook of Medical Physiology (ISBN: 9780443111013) fully indexed and searchable. Here's a breakdown of what's available:

What's in the Library

DetailInfo
BookGuyton and Hall Textbook of Medical Physiology
ISBN9780443111013
Total sections/headings2,055 indexed headings
Content blocks10 blocks (~38,000+ lines of text total)
SpecialityPhysiology

Coverage - Major Topic Areas

The textbook is fully searchable across all its classic units, including:
Unit I - Basic Cell Biology
  • Cell structure, membrane organization, organelles (ER, Golgi, mitochondria, lysosomes)
  • Homeostasis and control systems, negative/positive feedback
Unit II - Membrane Physiology & Nerve/Muscle
  • Ion transport, action potentials, neuromuscular junction
  • Skeletal, smooth, and cardiac muscle physiology
Unit III - Heart
  • Cardiac muscle, rhythmical excitation, ECG, cardiac output, cardiac failure
Unit IV - Circulation
  • Blood pressure regulation, microcirculation, lymphatic system, local/humoral control
Unit V - Blood
  • RBCs, hemoglobin, WBCs, immunity, blood groups, hemostasis/coagulation
Unit VI - Respiration
  • Pulmonary ventilation, gas exchange, transport of O2/CO2, regulation of respiration
Unit VII - Kidney & Body Fluids
  • Renal function, urine formation, acid-base balance, diuretics
Unit VIII - Nervous System
  • Sensory processing, motor control, cerebellum, basal ganglia, cerebral cortex, sleep, autonomic nervous system
Unit IX - Special Senses
  • Vision, hearing, taste, smell, somatic sensation, pain
Unit X - Endocrinology & Reproduction
  • Pituitary, thyroid, adrenal, pancreas/insulin, parathyroid, reproductive hormones
Unit XI - GI Physiology
  • Motility, secretion, digestion, absorption, GI blood flow
Unit XII - Metabolism & Temperature Regulation
  • Carbohydrate, fat, protein metabolism; body temperature regulation; nutrition
Unit XIII - Sports Physiology
  • Exercise physiology, performance limits

How I Can Help You

You can ask me any question from Guyton & Hall and I'll pull the exact content from the textbook to answer it. For example:
  • "Explain the Frank-Starling law of the heart"
  • "How does the kidney regulate acid-base balance?"
  • "What is the role of the hypothalamus in temperature regulation?"
  • "Describe the mechanism of action potential generation"
Just ask - I'll search the textbook directly and give you a thorough, cited answer!

So you have access and can read every line of this textbook's every units, and everything in this book?

Yes, exactly. Here's what that means in practice:

What I Can Do With This Textbook

Full text access - The entire book is stored in 10 content blocks totaling ~38,000+ lines of text. I can read any line from any block.
Two ways I search it:
  1. Keyword/topic search - I query a full-text search index across all paragraphs and headings. If you ask about "action potential" or "renin-angiotensin system," I find the exact sections and lines instantly.
  2. Direct reading - Once I locate a section, I read the raw text file at the precise line numbers - so I'm pulling the actual words from the book, not paraphrasing from training memory.

What This Means For You

  • I can quote exact passages from the textbook
  • I cite the source as Guyton and Hall Medical Physiology
  • If the book has diagrams or images, I can fetch and display those too
  • I can answer questions spanning multiple chapters/units by searching across the whole book simultaneously
  • My answers come from the textbook itself, not just my general training knowledge

One Honest Caveat

The edition in the library is listed under ISBN 9780443111013 - this corresponds to the 14th edition (2021), not the 13th (2016). The content is very similar across editions, but if you're studying from the 13th specifically, there may be minor differences in chapter organization or updated values. The core physiology concepts are identical.
So yes - ask me anything from Guyton & Hall. I'll read it straight from the source.

Teach me these topics Cardiac muscle; action potentials in cardiac muscle; the heart as a pump; cardiac cycle; regulation of heart pumping; function of the heart valves

Finding Sources
Finding Sources
Finding Sources
Finding Sources
Good - I found the Guyton content. Now let me read all the relevant sections simultaneously.
Reading File
Finding Sources
Finding Sources
Finding Sources
Reading File
I have the exact line numbers for all sections. Now let me read them all in parallel.
Reading File
Reading File
Reading File
Excellent - great content flowing in. Let me read the remaining sections on heart valves, regulation, and more of the cardiac cycle.
Reading File
Reading File
I now have all the content needed. Here is your full lesson directly from Guyton & Hall:

Cardiac Muscle, Action Potentials, the Heart as a Pump, Cardiac Cycle, Regulation, and Heart Valves

Guyton and Hall Textbook of Medical Physiology


TOPIC 1: Cardiac Muscle

Three Types of Cardiac Muscle

The heart is composed of three major types of cardiac muscle:
  1. Atrial muscle
  2. Ventricular muscle
  3. Specialized excitatory and conductive fibers (e.g., SA node, AV node, Purkinje fibers)
Atrial and ventricular muscle contract much like skeletal muscle, but with a much longer duration of contraction. The specialized conductive fibers contract feebly (few contractile fibrils) but instead provide automatic rhythmical electrical discharge - the heart's excitatory system.

Cardiac Muscle Anatomy

Striated, like skeletal muscle - Cardiac muscle has typical myofibrils with actin and myosin filaments that slide during contraction, identical in mechanism to skeletal muscle.
Latticework arrangement - Cardiac muscle fibers divide, recombine, and spread again, forming an interlocking network.
Left ventricular torsion (twisting motion):
  • The subepicardial (outer) layer spirals leftward; the subendocardial (inner) layer spirals rightward - a double helix arrangement.
  • During systole (contraction), the apex rotates counterclockwise and the base rotates clockwise (viewed apex-to-base), creating a wringing/twisting motion that pulls the base downward toward the apex.
  • At end-systole, the ventricle acts like a loaded spring - it recoils/untwists during diastole, rapidly drawing blood in.

Cardiac Muscle Is a Syncytium

The dark bands crossing cardiac fibers in histology are intercalated discs - cell membranes separating individual cardiac cells. At each intercalated disc, cell membranes fuse to form permeable gap junctions that allow rapid ion diffusion.
This means:
  • When one cardiac cell is excited, the action potential spreads to all other cells
  • The entire atrial mass contracts as a single unit (atrial syncytium)
  • The entire ventricular mass contracts as a single unit (ventricular syncytium)
  • The atrial and ventricular syncytia are electrically insulated from each other by the fibrous AV ring - the only pathway between them is the AV bundle (bundle of His)
This "all-or-nothing" behavior of the heart syncytia is fundamental - either the whole atria contract together, or none of it contracts.

TOPIC 2: Action Potentials in Cardiac Muscle

The Cardiac Action Potential vs. Skeletal Muscle

FeatureSkeletal MuscleVentricular Cardiac Muscle
Resting membrane potential-85 to -90 mV-85 to -90 mV
Peak overshoot+20 to +30 mV+20 mV
Duration1-5 milliseconds~0.2-0.3 seconds
PlateauAbsentPresent
The most striking feature of the cardiac action potential is its long plateau lasting 0.2 seconds in atrial muscle and 0.3 seconds in ventricular muscle.

Phases of the Cardiac Action Potential

Phase 0 - Rapid Depolarization:
  • Fast voltage-gated Na⁺ channels open suddenly
  • Na⁺ rushes in, membrane potential shoots from -90 mV to about +20 mV
  • These channels are almost identical to those in skeletal muscle
Phase 1 - Early Repolarization:
  • Fast Na⁺ channels close
  • Brief, small repolarization
Phase 2 - THE PLATEAU: This is the unique feature of cardiac muscle. Two simultaneous events:
  1. Slow ("L-type") Ca²⁺ channels open - Ca²⁺ flows in from extracellular fluid (slow inward current)
  2. K⁺ permeability decreases - unlike skeletal muscle, K⁺ channels partially close after depolarization
The inward Ca²⁺ current and reduced K⁺ efflux balance out - membrane voltage is maintained near 0 mV for 0.2-0.3 seconds. This plateau is what makes cardiac contraction long enough to effectively pump blood.
Phase 3 - Rapid Repolarization:
  • Slow Ca²⁺ channels close
  • K⁺ channels reopen, K⁺ rushes out
  • Membrane repolarizes rapidly back to resting potential
Phase 4 - Resting Membrane Potential: -85 to -90 mV

Why the Plateau Matters: Ca²⁺ and Contraction

The Ca²⁺ that enters during the plateau triggers additional Ca²⁺ release from the sarcoplasmic reticulum (calcium-induced calcium release). This activates the actin-myosin interaction and produces contraction.
Because the cardiac sarcoplasmic reticulum is less well developed than in skeletal muscle, cardiac muscle depends significantly on extracellular Ca²⁺ entering during the plateau. This is why:
  • Drugs that block Ca²⁺ channels (e.g., verapamil) reduce cardiac contractility
  • High extracellular Ca²⁺ strengthens contraction
  • Low extracellular Ca²⁺ weakens or stops the heart

The Absolute Refractory Period

The cardiac muscle cannot be re-excited during contraction because the action potential lasts almost as long as the contraction itself (~0.25-0.3 s). This absolute refractory period prevents tetanic contraction - which would be fatal because the heart would never relax to fill with blood.
"Duration of contraction of cardiac muscle is mainly a function of the duration of the action potential, including the plateau - about 0.2 second in atrial muscle and 0.3 second in ventricular muscle." - Guyton & Hall

TOPIC 3: The Heart as a Pump

Overview of Blood Flow Through the Heart

The heart functions as two pumps in series:
  • Right heart - pumps deoxygenated blood through the pulmonary circulation (low pressure, ~8 mm Hg)
  • Left heart - pumps oxygenated blood through the systemic circulation (high pressure, ~80 mm Hg)
Each side has an atrium (primer pump) and a ventricle (main pump).

Atria as Primer Pumps

The atria play three sequential roles in filling the ventricles:
  1. Reservoir phase - Blood flows from great veins/pulmonary veins into the atria
  2. Conduit phase (early diastole) - ~70-80% of blood flows directly through the atria into ventricles before the atria even contract
  3. Contractile phase - Atrial contraction provides the remaining 20-30% ventricular filling, acting as a "booster pump"
Atrial contraction increases ventricular pumping effectiveness by about 30%. However, the heart can operate without atrial contraction at rest (the ventricles normally have 300-400% reserve capacity). Atrial failure becomes noticeable mainly during exercise.

Left Ventricular Torsion (Wringing) Aids Ejection

As described above, the double-helix muscle architecture produces a twisting motion during systole. This:
  • Enhances ejection of blood by squeezing the ventricle from multiple angles
  • Stores elastic energy (like a spring)
  • Causes rapid untwisting in diastole, which actively sucks blood into the ventricle (diastolic suction)

TOPIC 4: The Cardiac Cycle

The cardiac cycle is all events from the beginning of one heartbeat to the beginning of the next. At 72 beats/min, one complete cycle lasts 0.833 seconds.
Each cycle is initiated by a spontaneous action potential from the SA node (superior lateral wall of right atrium, near the superior vena cava). This spreads through both atria, then with a 0.1 second delay through the AV node into the ventricles - the delay allows atria to contract first, filling the ventricles before ventricular contraction begins.

Phases of the Cardiac Cycle

DIASTOLE (Ventricular Filling)

1. Period of Rapid Filling (first 1/3 of diastole)
  • AV valves (mitral and tricuspid) open
  • Atrial pressure > ventricular pressure, so blood rushes in rapidly
  • Left ventricular volume rises steeply on the volume curve
2. Period of Slow Filling (middle 1/3 of diastole)
  • Blood continues flowing from veins → atria → ventricles (passive)
  • Only a small additional amount enters
3. Atrial Systole / "Atrial Kick" (last 1/3 of diastole)
  • Atria contract, giving a final thrust of blood into the ventricles
  • Adds 20-30% to ventricular end-diastolic volume (EDV)
  • Represented on ECG as the P wave
Note: With aging, hypertension, or cardiac fibrosis, ventricles stiffen - they rely more on atrial contraction to achieve adequate filling.

SYSTOLE (Ventricular Contraction & Ejection)

4. Period of Isovolumic Contraction (~0.02-0.03 seconds)
  • Ventricles begin contracting (QRS complex on ECG)
  • Ventricular pressure rises sharply
  • AV valves snap shut (produces first heart sound, S1)
  • Semilunar valves (aortic, pulmonary) are still closed - no blood ejected yet
  • Ventricular volume is unchanged (isovolumic = no volume change)
5. Period of Ejection
  • Left ventricular pressure exceeds ~80 mm Hg → aortic valve opens
  • Right ventricular pressure exceeds ~8 mm Hg → pulmonary valve opens
  • Rapid ejection (first 1/3): ~70% of ejected volume leaves
  • Slow ejection (last 2/3): remaining ~30% of ejected volume leaves
  • Ejection Fraction (EF) = ~60% of end-diastolic volume is ejected
End-diastolic volume (EDV) ≈ 110-120 mL; Stroke volume ≈ 70 mL; End-systolic volume (ESV) ≈ 40-50 mL
6. Period of Isovolumic Relaxation
  • Ventricular relaxation begins suddenly (T wave on ECG)
  • Arterial pressures push blood back toward ventricles
  • Semilunar valves snap shut (produces second heart sound, S2)
  • AV valves still closed - pressure falls rapidly with no volume change
  • Cycle then begins again with ventricular filling

Atrial Pressure Waves: a, c, and v

WaveCause
a waveAtrial contraction - right atrial pressure rises 4-6 mmHg; left atrial rises 7-8 mmHg
c waveAV valves bulge backward into atria at start of ventricular contraction
v waveVenous blood fills atria while AV valves are closed during ventricular systole
When ventricular contraction ends and AV valves reopen, the v wave disappears as atrial blood rushes into the ventricles.

Heart Rate Effects on Cardiac Cycle

When heart rate increases:
  • Total cycle duration decreases
  • Diastole is shortened more than systole
  • At 3x normal heart rate, systole = 65% of the cycle (vs. 40% at rest)
  • Very rapid rates don't allow adequate ventricular filling before the next contraction

TOPIC 5: Regulation of Heart Pumping

Intrinsic Regulation: The Frank-Starling Law

"The heart automatically pumps into the arterial system all the blood that comes to it from the veins."
The Frank-Starling Law states: The greater the heart is filled during diastole, the greater the force of contraction and the greater the amount of blood pumped.
Mechanism:
  • More venous return → more ventricular filling → cardiac muscle stretched to longer initial length
  • Overstretched actin-myosin filaments have more cross-bridge formation potential
  • Result: stronger contraction and greater stroke volume
This is entirely intrinsic - no nerves or hormones needed. It's a built-in self-regulating mechanism.
Why it matters:
  • If the right ventricle pumps slightly more blood into the lungs, the left ventricle automatically receives more blood, stretches more, and pumps out more - keeping outputs of both sides balanced second by second.

Preload and Afterload

Preload = The degree of ventricular filling before contraction = end-diastolic volume
  • Increased by: increased venous return, increased blood volume
  • More preload → more stretching → stronger contraction (Frank-Starling)
Afterload = The pressure the ventricle must overcome to eject blood = aortic/pulmonary pressure
  • Increased afterload → requires more force → if the heart cannot compensate, stroke volume falls

Extrinsic Regulation: Autonomic Nervous System

Sympathetic Stimulation

  • Increases heart rate (chronotropy): From 70 to 180-200 beats/min (up to 250 in rare cases)
  • Increases force of contraction (inotropy): Can double the force
  • Net effect: Cardiac output can increase 2-3 fold
  • Mechanism: Norepinephrine released → β₁ receptors → increased Ca²⁺ entry and faster Ca²⁺ cycling
Under normal resting conditions, sympathetic fibers discharge at a slow, continuous rate maintaining cardiac output about 30% above the zero-sympathetic baseline.

Parasympathetic (Vagal) Stimulation

  • Decreases heart rate dramatically: Strong vagal stimulation can briefly stop the heart; the heart then "escapes" and beats at 20-40 beats/min
  • Decreases contraction strength by 20-30%
  • Vagal fibers are distributed mainly to the atria, not the ventricles
  • Therefore, vagal effect is primarily on heart rate rather than contraction force
  • Combined effect can reduce ventricular pumping by 50% or more

Cardiac Function Curve (Starling Curve)

The cardiac function curve plots right atrial pressure (filling pressure) on the x-axis vs. cardiac output on the y-axis. Key points:
  • Normal curve: As right atrial pressure rises, cardiac output rises
  • Sympathetic stimulation: Shifts curve upward and to the left (more output at any given filling pressure)
  • Parasympathetic stimulation / heart failure: Shifts curve downward and to the right

TOPIC 6: Function of the Heart Valves

The heart has four valves that ensure one-way blood flow:
ValveLocationTypeOpens When...Closes When...
Mitral (bicuspid)Between left atrium and left ventricleAV valveVentricular pressure drops below atrial pressure (diastole)Ventricular pressure exceeds atrial pressure (systole)
TricuspidBetween right atrium and right ventricleAV valveSame as mitralSame as mitral
AorticBetween left ventricle and aortaSemilunar valveLV pressure exceeds ~80 mmHgAortic pressure exceeds LV pressure
PulmonaryBetween right ventricle and pulmonary arterySemilunar valveRV pressure exceeds ~8 mmHgPulmonary artery pressure exceeds RV pressure

Atrioventricular (AV) Valves: Mitral and Tricuspid

These valves prevent backflow from ventricles into atria during systole.
Structure:
  • Consist of fibrous leaflets attached to the fibrous ring of the heart
  • Connected to chordae tendineae (tendinous cords)
  • Chordae tendineae attach to papillary muscles on the inner ventricular walls
How they work:
  • When ventricular pressure rises and exceeds atrial pressure, leaflets swing upward to close
  • The chordae tendineae and papillary muscles prevent the leaflets from everting (popping back into the atrium under high pressure)
  • Papillary muscles contract simultaneously with the ventricle, keeping the chordae taut
  • If chordae rupture or papillary muscles fail → valve prolapses into atrium → mitral/tricuspid regurgitation

Semilunar Valves: Aortic and Pulmonary

Structure:
  • Each valve has three cup-shaped cusps (semilunar = half-moon shape)
  • No chordae tendineae needed - their cup shape allows them to self-seal
How they work:
  • When ventricular pressure drops at end of systole, blood starts flowing backward from the arteries
  • This backflow fills the cups of each cusp, causing the three cusps to come together in the midline and seal tightly
  • The valve snaps shut - producing S2 (second heart sound)
  • The cusps are extremely thin and can open/close with almost no resistance to forward flow and no regurgitation backward

Heart Sounds and Valves

SoundCauseTiming
S1 (lub)AV valves (mitral + tricuspid) snapping shutStart of ventricular systole
S2 (dub)Semilunar valves (aortic + pulmonary) snapping shutEnd of ventricular systole
S3 (pathological)Rapid ventricular filling in early diastole - blood hitting stiff wallsEarly diastole
S4 (pathological)Atrial contraction against a stiff ventricleLate diastole (just before S1)

Valve Dysfunction: Key Concepts

Stenosis = Narrowed valve that resists forward flow → increased pressure behind the valve, decreased output
Regurgitation (Insufficiency) = Valve fails to close properly → blood leaks backward
  • Mitral regurgitation: blood leaks into left atrium during systole
  • Aortic regurgitation: blood leaks back into left ventricle during diastole
Both conditions increase cardiac workload and, if severe, lead to cardiac hypertrophy and failure.

SUMMARY: The Big Picture

SA Node fires
      ↓
Atria depolarize (P wave) → Atria contract (atrial kick)
      ↓
AV Node delay (0.1 sec) → allows atrial filling of ventricles
      ↓
Bundle of His → Purkinje fibers → Ventricles depolarize (QRS)
      ↓
Isovolumic contraction → AV valves close (S1)
      ↓
Semilunar valves open → Ejection (stroke volume ~70 mL, EF ~60%)
      ↓
Isovolumic relaxation → Semilunar valves close (S2)
      ↓
AV valves open → Rapid filling → Slow filling → Atrial kick
      ↓
Next cycle begins
Regulation keeps output matched to demand:
  • Frank-Starling mechanism (intrinsic) - adjusts beat-by-beat based on filling
  • Sympathetic nerves - can boost output 2-3x
  • Parasympathetic (vagal) nerves - can reduce output by 50%+

All content from: Guyton and Hall Textbook of Medical Physiology (ISBN: 9780443111013), Chapters 9-10, pp. 121-134That's your complete lesson on all 6 topics, pulled directly from Guyton & Hall. Here's a quick recap of what was covered:
  1. Cardiac Muscle - Three types, striated anatomy, intercalated discs, gap junctions, syncytium concept, and the unique double-helix torsion of the left ventricle
  2. Action Potentials - The 4 phases, the critical plateau (Phase 2) caused by slow Ca²⁺ channels + reduced K⁺ permeability, why the long refractory period prevents tetany
  3. Heart as a Pump - Right vs. left heart, atria as primer pumps (3 phases of filling), the 300-400% cardiac reserve
  4. Cardiac Cycle - All phases of diastole and systole with exact pressures, volumes, and timing; the a/c/v atrial waves; ECG correlation
  5. Regulation - Frank-Starling law (intrinsic), preload vs. afterload, sympathetic (2-3x boost) and parasympathetic (50%+ reduction) control
  6. Heart Valves - Structure and mechanism of AV valves (with chordae/papillary muscles) and semilunar valves, heart sounds S1-S4, stenosis vs. regurgitation
Feel free to ask me to go deeper on any specific part - I can pull more detail from the textbook on any of these topics!

If i upload guyton and hall medical physiology 13th edition, are you able to open it and help me learnit?

Yes, absolutely! If you upload the PDF of Guyton & Hall 13th edition, I can open and read it directly. Here's what I can do with it:

What I Can Do With Your Uploaded PDF

Read the full text - I can extract every line of every chapter from the PDF and use it to answer your questions, explain concepts, and teach you topics exactly as written in the 13th edition specifically.
Teach any topic - Ask me about any chapter, unit, or concept and I'll read that section and explain it to you in a structured way, just like I did in our previous lesson.
Quiz you - I can generate MCQs, short answer questions, or clinical scenario questions based on specific chapters you're studying.
Summarize chapters - I can give you concise summaries of long chapters for quick revision.
Compare editions - Since I already have the 14th edition in the library, I can even point out differences between the two editions if needed.
Find specific facts - Need a specific value, mechanism, or definition? I can search through the uploaded PDF and find it.

How to Upload

Just drag and drop the PDF into the chat (or use the attachment/upload button). Once it's uploaded, tell me which topic or chapter you want to start with and I'll get to work reading it.
One note: very large PDFs (the full textbook can be 1000+ pages) are processed in sections, so I'll read the relevant parts based on your questions rather than the entire book at once. This actually works better for focused learning anyway!
Go ahead and upload it whenever you're ready.

Cardiac muscle is a syncytium,explain the concept according to guyton and hall textbook of medical physiology, in bulletpoints in simple way while keeping terminology intact

Reading File
Here is the concept explained in simple bullet points, exactly as Guyton & Hall describes it:

Cardiac Muscle Is a Syncytium

Guyton and Hall Textbook of Medical Physiology

What Is a Syncytium?

  • The word syncytium means a mass of cells that are so interconnected that they behave as one single unit
  • Cardiac muscle is called a syncytium because when one cell gets excited, the action potential rapidly spreads to ALL other cells
  • Think of it like a row of dominoes - one falls, and they all fall together

The Building Blocks: Intercalated Discs

  • Under a microscope, you can see dark bands crossing across cardiac muscle fibers - these are called intercalated discs
  • Intercalated discs are actually the cell membranes that separate one individual cardiac muscle cell from the next
  • So cardiac muscle fibers are made up of many individual cells connected in series and in parallel with one another - not one giant cell

The Key Structure: Gap Junctions

  • At each intercalated disc, the cell membranes fuse together to form special structures called gap junctions
  • Gap junctions are permeable communicating junctions - meaning ions can pass freely through them
  • Ions move with ease along the longitudinal axes (lengthwise direction) of the cardiac muscle fibers
  • Because ions flow freely → action potentials travel easily from one cardiac cell to the next, straight across the intercalated discs

The Two Syncytia of the Heart

The heart is not ONE syncytium but TWO separate syncytia:
  • Atrial syncytium - makes up the walls of the two atria (right and left atrium)
  • Ventricular syncytium - makes up the walls of the two ventricles (right and left ventricle)

How Are the Two Syncytia Separated?

  • The atria and ventricles are separated by a fibrous tissue that surrounds the atrioventricular (AV) valvular openings
  • This fibrous tissue is electrically non-conductive - action potentials cannot pass directly through it
  • So the atrial syncytium cannot directly excite the ventricular syncytium
  • The ONLY pathway for electrical conduction from atria to ventricles is through a specialized structure called the AV bundle (bundle of His) - a bundle of conductive fibers a few millimeters in diameter

Why Does This Division Matter? (The Functional Significance)

  • Because the atria and ventricles are electrically isolated from each other (except through the AV bundle), the atria can contract first and the ventricles contract slightly after
  • This sequential contraction - atria first, then ventricles - allows the atria to act as primer pumps, filling the ventricles with blood before the ventricles contract
  • If the two syncytia were not separate, both atria and ventricles would contract simultaneously - the atrial "boost" of blood would be lost

Summary in One Line

"Cardiac muscle is a syncytium of many heart muscle cells in which the cardiac cells are so interconnected that when one cell becomes excited, the action potential rapidly spreads to all of them." - Guyton & Hall

Key TermSimple Meaning
SyncytiumMany cells acting as one unit
Intercalated discsDark bands = cell membranes separating individual cardiac cells
Gap junctionsPores in the intercalated disc that let ions pass freely
Atrial syncytiumAll atrial muscle cells electrically connected
Ventricular syncytiumAll ventricular muscle cells electrically connected
AV bundleThe only electrical bridge between atria and ventricles
Fibrous tissueElectrically insulating barrier between atrial and ventricular syncytia
Source: Guyton and Hall Textbook of Medical Physiology (ISBN: 9780443111013), Chapter 9, p. 122

Explain how the AV bundle delay ensures proper atrial-to-ventricular timing

Finding Sources
Finding Sources
Finding Sources
Reading File
Finding Sources
Reading File
Reading File
All the content I need is here. Here is the full explanation:

How the AV Bundle Delay Ensures Proper Atrial-to-Ventricular Timing

Guyton and Hall Textbook of Medical Physiology

The Core Purpose - Why a Delay Is Needed

  • The cardiac impulse must NOT travel from the atria into the ventricles too rapidly
  • A deliberate delay is built into the system to give the atria time to empty their blood into the ventricles before ventricular contraction begins
  • The atria act as primer pumps - they must finish contracting and pushing blood into the ventricles first, and only then should the ventricles contract
  • Without this delay, the atria and ventricles would contract almost simultaneously - the atrial "boost" of blood would be lost

Step 1: Impulse Originates at the SA Node (Time = 0)

  • Every heartbeat begins with a spontaneous action potential generated in the sinoatrial (SA) node, located in the superior lateral wall of the right atrium near the opening of the superior vena cava
  • From here, the impulse spreads rapidly through both atria via internodal pathways
  • The atria depolarize and contract - this is the atrial kick
  • The impulse reaches the AV node about 0.03 second after leaving the SA node

Step 2: The AV Node - The Major Site of Delay

  • The AV node is located in the posterior wall of the right atrium, immediately behind the tricuspid valve
  • Once the impulse arrives at the AV node, it is held up (delayed) for about 0.09 second within the AV node itself before it can pass into the penetrating portion of the AV bundle
  • This is the single largest source of delay in the entire conduction system
Why is conduction so slow in the AV node?
  • The AV nodal fibers and transitional fibers have diminished numbers of gap junctions between successive cells
  • Fewer gap junctions = greater resistance to the flow of excitatory ions from one cell to the next
  • Therefore, each successive cell is slow to be excited, creating the delay

Step 3: Further Delay in the Penetrating AV Bundle

  • After the AV node, the impulse enters the penetrating portion of the AV bundle - a bundle of small conductive fascicles that pass through the fibrous tissue separating the atria from the ventricles
  • An additional delay of 0.04 second occurs here as the impulse travels through this fibrous barrier

The Total Delay: 0.16 Second

SegmentTime
SA node → AV node (via internodal pathways)0.03 sec
Delay within the AV node itself0.09 sec
Delay in the penetrating AV bundle0.04 sec
Total delay before ventricles are excited0.16 sec
  • This 0.16 second delay is enough time for the atria to contract completely and push blood into the ventricles before ventricular contraction even begins

Step 4: Rapid Transmission Through the Ventricular Purkinje System

  • Once the impulse clears the AV bundle and enters the ventricular Purkinje system, everything reverses - conduction becomes extremely fast
  • Purkinje fibers transmit action potentials at 1.5 to 4.0 m/sec - about 6 times the speed of normal ventricular muscle fibers, and 150 times the speed of some AV nodal fibers
  • Why so fast? Purkinje fibers have a very high level of permeability of gap junctions at their intercalated discs - ions pass from cell to cell with almost no resistance
  • The impulse travels from the bundle branches through the entire ventricular Purkinje network in just 0.03 second
  • Transmission through the ventricular muscle mass itself takes another 0.03 second
  • Total ventricular activation time = only 0.06 second - the entire ventricular muscle contracts almost simultaneously

The AV Bundle Is a One-Way Street

  • The AV bundle normally conducts only forward - from atria to ventricles
  • Action potentials cannot travel backward from ventricles to atria through the AV bundle
  • This prevents reentry of impulses from the ventricles back into the atria, which would cause dangerous arrhythmias
  • Everywhere except at the AV bundle, the atrial and ventricular muscles are separated by the continuous fibrous barrier - a complete electrical insulator
Exception: In rare cases, an abnormal accessory pathway (as in Wolff-Parkinson-White syndrome) penetrates the fibrous barrier at a point other than the AV bundle. This allows impulses to travel backward from ventricles to atria, causing serious cardiac arrhythmias.

The Big Picture: Timing Summary

SA Node fires (0.00 sec)
        ↓  [0.03 sec - fast, through atria]
AV Node arrives (0.03 sec) → ATRIA CONTRACT HERE
        ↓  [0.09 sec delay - slow, AV node]
Penetrating AV Bundle (0.12 sec)
        ↓  [0.04 sec delay - AV bundle fascicles]
Ventricular Purkinje system entered (0.16 sec)
        ↓  [0.03 sec - lightning fast, Purkinje fibers]
Entire ventricular muscle activated (0.19 sec) → VENTRICLES CONTRACT

Why This Design Is So Elegant

FeatureEffect
Slow AV nodal conduction (few gap junctions)Creates the critical 0.16 sec delay
Fast Purkinje conduction (many gap junctions)Entire ventricle contracts as one powerful unit
One-way conduction of AV bundlePrevents dangerous backward impulse reentry
Fibrous barrier between atria and ventriclesForces all impulses through the single AV bundle pathway
Sequential atrial then ventricular contractionAtria prime/fill ventricles before ventricles eject blood
"This delay allows the atria to contract ahead of ventricular contraction, thereby pumping blood into the ventricles before the strong ventricular contraction begins. Thus, the atria act as primer pumps for the ventricles." - Guyton & Hall

Source: Guyton and Hall Textbook of Medical Physiology (ISBN: 9780443111013), Chapters 9 & 10, pp. 122-138

Give me key points of everything in this chapter 9 with brief, easy-to-understand, explanation or detail

Finding Sources
Finding Sources
I have the full chapter structure. Now reading all sections in parallel.
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Here are all the key points of Chapter 9 - every section, in order, brief and clear:

Chapter 9: Cardiac Muscle; The Heart as a Pump and Function of the Heart Valves

Guyton and Hall Textbook of Medical Physiology - Complete Key Points


SECTION 1: Cardiac Muscle Physiology - Three Types

  • The heart has 3 types of cardiac muscle:
    1. Atrial muscle - contracts to push blood into ventricles
    2. Ventricular muscle - contracts to push blood into arteries
    3. Specialized excitatory and conductive fibers (SA node, AV node, Purkinje fibers) - these contract weakly but their real job is generating and conducting electrical signals
  • Atrial and ventricular muscle contract much like skeletal muscle, but for a much longer duration

SECTION 2: Cardiac Muscle Anatomy

  • Striated like skeletal muscle - has actin and myosin filaments that slide during contraction (same sliding filament mechanism)
  • Fibers are arranged in a latticework - they divide, recombine, and spread, forming an interlocking network
  • Left ventricular torsion: The LV muscle is arranged in a double helix (outer layer spirals left, inner layer spirals right). This causes a wringing/twisting motion during systole
    • The apex rotates counterclockwise, base rotates clockwise - like squeezing a wet towel
    • At end-systole the ventricle is like a loaded spring - it recoils during diastole, actively sucking blood in

Cardiac Muscle Is a Syncytium

  • Intercalated discs = dark bands seen in histology - these are cell membranes separating individual cardiac cells
  • At each intercalated disc, membranes fuse to form gap junctions - pores that let ions flow freely between cells
  • Result: when one cell is excited, the action potential spreads instantly to ALL cells - the entire atrial or ventricular mass contracts as one unit
  • The heart has TWO syncytia:
    • Atrial syncytium = all atrial cells connected
    • Ventricular syncytium = all ventricular cells connected
  • The two syncytia are electrically separated by a fibrous ring - the ONLY bridge between them is the AV bundle (bundle of His)
  • This separation means atria contract first → then ventricles contract (the correct pumping sequence)

SECTION 3: Action Potentials in Cardiac Muscle

  • Resting membrane potential = -85 mV; peaks at +20 mV during action potential
  • Total amplitude = 105 mV
  • The most important feature: there is a long PLATEAU lasting ~0.2 sec (atrial) to 0.3 sec (ventricular) - this makes cardiac contraction 15x longer than skeletal muscle

Why does the plateau exist? (Two reasons)

  1. Slow L-type Ca²⁺ channels (slow calcium channels) open during depolarization and stay open for several tenths of a second - Ca²⁺ and Na⁺ keep flowing in, maintaining depolarization
  2. K⁺ permeability decreases ~5-fold right after depolarization begins - K⁺ cannot rush out to repolarize the cell (this is the opposite of skeletal muscle)
  • Both effects together hold the membrane near 0 mV for a prolonged time = the plateau

Velocity of Conduction

  • Action potentials conduct through cardiac muscle at 0.3 to 0.5 m/sec - much slower than skeletal muscle

The Refractory Period

  • Cardiac muscle has a very long absolute refractory period (~0.2-0.25 sec) - the entire duration of contraction
  • This means cardiac muscle cannot be tetanized (cannot be re-stimulated while it's contracting)
  • This is essential - if the heart tetanized like skeletal muscle, it would never relax to fill with blood, and death would follow

SECTION 4: Excitation-Contraction Coupling - Ca²⁺ and T-Tubules

  • The process by which the action potential triggers contraction is called excitation-contraction coupling
  • When an action potential passes over the cardiac membrane, it spreads into the interior via transverse (T) tubules
  • T-tubule action potential → triggers Ca²⁺ release from sarcoplasmic reticulum (SR)
  • BUT cardiac muscle also gets extra Ca²⁺ from outside the cell through the T-tubule walls themselves (via voltage-dependent Ca²⁺ channels)
  • This extracellular Ca²⁺ then triggers more Ca²⁺ release from SR via ryanodine receptor channels (calcium-induced calcium release)
  • Final step: Ca²⁺ in sarcoplasm → binds troponin → cross-bridge formation → contraction

Why cardiac muscle depends on extracellular Ca²⁺:

  • The SR of cardiac muscle is less well developed than in skeletal muscle - it cannot store enough Ca²⁺ by itself for full contraction
  • So cardiac muscle must have extracellular Ca²⁺ to contract normally
  • The T-tubules in cardiac muscle are 5x wider (25x greater volume) than skeletal muscle T-tubules, and are coated with electronegative mucopolysaccharides that bind and store Ca²⁺ right next to the cell
  • A heart placed in calcium-free solution will quickly stop beating
  • More extracellular Ca²⁺ = stronger contraction; less Ca²⁺ = weaker contraction

Duration of Contraction

  • Cardiac muscle contraction lasts about 0.2 sec (atrial) and 0.3 sec (ventricular) - directly tied to the action potential plateau duration

SECTION 5: The Cardiac Cycle

  • The cardiac cycle = all events from one heartbeat to the beginning of the next
  • At 72 beats/min → each cycle = 0.833 seconds
  • Every cycle starts with an action potential from the SA node → spreads through atria → delayed at AV node → into ventricles

Systole vs. Diastole

  • Systole = ventricular contraction (~0.4 of cycle at rest)
  • Diastole = ventricular relaxation and filling (~0.6 of cycle at rest)
  • At high heart rates: diastole is shortened more than systole → ventricles don't fill completely

Atrial Pressure Waves: a, c, and v

WaveCause
a waveAtrial contraction (right atrium ↑4-6 mmHg; left atrium ↑7-8 mmHg)
c waveAV valves bulge backward into atria when ventricles begin contracting
v waveBlood fills atria from veins while AV valves are closed; disappears when AV valves open

SECTION 6: The Atria as Primer Pumps

  • Atrial filling occurs in 3 phases:
    1. Reservoir phase - blood flows in from great veins/pulmonary veins
    2. Conduit phase - ~70-80% of blood flows directly through atria into ventricles (passive, before atrial contraction)
    3. Contractile phase - atrial contraction pushes final 20-30% into ventricles (the "atrial kick")
  • Atria increase ventricular filling effectiveness by ~30%
  • Without atrial contraction: the person is fine at rest (heart has 300-400% reserve), but may develop shortness of breath during exercise

SECTION 7: Ventricles as Pumps

Diastole (Filling)

  • AV valves open → blood rushes in rapidly (period of rapid filling = first 1/3 of diastole)
  • Middle 1/3 = slow trickle from veins through atria
  • Last 1/3 = atrial contraction adds final boost

Systole (Ejection)

PhaseWhat Happens
Isovolumic contractionVentricles contract, pressure rises, AV valves snap shut (S1), semilunar valves still closed, no blood moves yet (0.02-0.03 sec)
Rapid ejectionLV pressure > 80 mmHg → aortic valve opens; ~70% of stroke volume ejected in first 1/3 of ejection period
Slow ejectionRemaining ~30% ejected in the last 2/3
Isovolumic relaxationVentricles relax, arterial pressure snaps semilunar valves shut (S2), AV valves still closed, pressure drops rapidly, no volume change (0.03-0.06 sec)

Key Volume Numbers

  • End-diastolic volume (EDV) = 110-120 mL (volume in ventricle at end of filling)
  • Stroke volume = ~70 mL (blood ejected per beat)
  • End-systolic volume (ESV) = ~40-50 mL (blood remaining after ejection)
  • Ejection fraction (EF) = ~60% (stroke volume ÷ EDV) - normally ~60%, falls in heart failure

SECTION 8: Heart Valves Prevent Backflow

AV Valves (Mitral and Tricuspid)

  • Prevent backflow from ventricles into atria during systole
  • Have chordae tendineae (string-like cords) attached to papillary muscles on the ventricular walls
  • When ventricles contract, papillary muscles also contract → pull chordae taut → prevent valve leaflets from everting back into the atria
  • If chordae rupture or papillary muscles fail → valve prolapses → regurgitation

Semilunar Valves (Aortic and Pulmonary)

  • Each has 3 cup-shaped cusps - no chordae needed
  • When ventricles relax and pressure drops, blood flows backward slightly from arteries → fills the cups → cusps push together and snap shut
  • Extremely efficient - open with almost no resistance, close with no leakage

Heart Sounds

SoundCauseTiming
S1 (lub)AV valves closingStart of systole
S2 (dub)Semilunar valves closingEnd of systole
  • Valves opening makes no sound (slow, gradual process)
  • Sounds come from vibration of valve leaflets + surrounding blood when valves snap shut

SECTION 9: Work Output of the Heart

  • Stroke work output = energy converted to work each beat, pumping blood from low-pressure veins to high-pressure arteries
  • Two components:
    1. Volume-pressure work (external work) - the major component; moving blood against pressure
    2. Kinetic energy - accelerating blood through valves; normally only ~1% of total work
    • Exception: in aortic stenosis, kinetic energy can be >50% of total work (blood forced through narrow valve at high velocity)
  • Right ventricle does ~1/6 the work of the left ventricle (because pulmonary pressure is ~1/6 systemic pressure)

SECTION 10: Ventricular Volume-Pressure Relationship

  • Diastolic pressure curve = how ventricular pressure rises as volume increases during filling
    • Below 150 mL: pressure stays low → blood fills easily
    • Above 150 mL: pressure rises sharply (fibrous tissue + pericardium can stretch no more)
  • Systolic pressure curve = pressure generated during contraction at each volume
    • Peaks at ~150-170 mL filling volume
    • If stretched beyond this, systolic pressure actually falls (actin-myosin filaments pulled too far apart, fewer cross-bridges form)
  • Physiological limits of cardiac output:
    • Maximum pumping occurs at optimal filling volume
    • Overfilling or underfilling both reduce efficiency

SECTION 11: Regulation of Heart Pumping

Intrinsic Regulation - The Frank-Starling Mechanism

  • The heart automatically pumps all the blood that comes to it from the veins
  • More blood in = heart muscle stretches more = contracts with greater force = pumps more out
  • Mechanism: stretching brings actin-myosin filaments to a more optimal overlap for cross-bridge formation → greater force
  • This keeps right and left ventricular outputs perfectly balanced - if one side pumps a little more, the other side gets more blood, stretches more, and catches up automatically
  • Bainbridge reflex: Stretch of the right atrium also directly increases heart rate by 10-20% (minor additional boost)

Ventricular Function Curves

  • Plotting stroke work output vs. mean atrial pressure gives the ventricular function curve (Starling curve)
  • As atrial pressure (filling pressure) rises → stroke work increases → demonstrates the Frank-Starling law graphically
  • Left ventricle works at much higher pressures than the right ventricle

SECTION 12: Nervous Control - Sympathetic and Parasympathetic

Sympathetic Stimulation

  • Increases heart rate (chronotropy): 70 → 180-200 beats/min (up to 250 in extremes)
  • Increases contractile force (inotropy): doubles force of contraction
  • Net result: cardiac output can increase 2-3 fold
  • At rest, sympathetic nerves fire continuously at a slow rate keeping output ~30% above zero-sympathetic baseline

Parasympathetic (Vagal) Stimulation

  • Strong stimulation can briefly stop the heartbeat, then heart "escapes" at 20-40 beats/min
  • Reduces contractile strength by 20-30%
  • Vagal fibers go mainly to the atria, not ventricles → effect is mainly on heart rate, not contraction strength
  • Combined effects can reduce ventricular pumping by 50% or more

Cardiac Function Curve (Whole Heart)

  • Plots right atrial pressure vs. cardiac output
  • Sympathetic stimulation shifts curve up and left (more output for same filling)
  • Parasympathetic stimulation shifts curve down and right (less output for same filling)

SECTION 13: Effect of Potassium Ions

  • Excess K⁺ (hyperkalemia): Heart becomes dilated, flaccid, slow
    • High extracellular K⁺ depolarizes the resting membrane (less negative potential)
    • This reduces action potential intensity → weaker contraction
    • K⁺ of 8-12 mEq/L (2-3x normal) can cause severe weakness, arrhythmia, and death
    • Can also block conduction through the AV bundle

SECTION 14: Effect of Calcium Ions

  • Excess Ca²⁺ (hypercalcemia): Opposite of K⁺ - heart moves toward spastic contraction
    • Directly activates the contractile process
  • Deficient Ca²⁺ (hypocalcemia): Cardiac weakness (similar to hyperkalemia)
  • Clinically, Ca²⁺ is tightly regulated in the blood → cardiac effects of abnormal Ca²⁺ are rarely a clinical concern

SECTION 15: Effect of Temperature

  • Fever / high temperature: Greatly increases heart rate (can double it)
    • Heat increases membrane permeability to ions → speeds up the self-excitation process
    • Moderate temperature rise (e.g., exercise) temporarily enhances contractile strength
    • Prolonged high temperature exhausts cardiac metabolic systems → weakens the heart
  • Hypothermia / low temperature: Greatly decreases heart rate → can fall to a few beats/min near death (60-70°F / 15-21°C)

SECTION 16: Arterial Pressure Load vs. Cardiac Output

  • Increasing aortic pressure does NOT reduce cardiac output - until arterial pressure rises above ~160 mmHg
  • In the normal range (80-140 mmHg systolic), cardiac output is determined almost entirely by how easily blood flows through the peripheral tissues (venous return), not by how hard the heart has to push against arterial pressure
  • The heart automatically compensates for increased pressure load via the Frank-Starling mechanism

QUICK REVISION TABLE

TopicKey Number / Fact
Action potential duration0.2 sec (atrial), 0.3 sec (ventricular)
Resting membrane potential-85 mV
Cardiac cycle at 72 bpm0.833 sec
Atrial kick contribution20-30% of ventricular filling
End-diastolic volume110-120 mL
Stroke volume~70 mL
Ejection fraction~60%
Isovolumic contraction time0.02-0.03 sec
Isovolumic relaxation time0.03-0.06 sec
LV pressure to open aortic valve>80 mmHg
RV pressure to open pulmonary valve>8 mmHg
Sympathetic: max heart rate180-200 (rarely 250) beats/min
Vagal stimulation effect on outputCan reduce by 50%+
Hyperkalemia danger zone8-12 mEq/L
Cardiac output at rest4-6 L/min
Exercise cardiac outputUp to 4-7x resting

Source: Guyton and Hall Textbook of Medical Physiology (ISBN: 9780443111013), Chapter 9, pp. 121-134That's every section of Chapter 9, covered in full. Here's a quick summary of what was included:
#SectionCore Idea
1Cardiac Muscle Types3 types: atrial, ventricular, conductive
2Cardiac Muscle AnatomyStriated, latticework, syncytium, torsion
3Action PotentialsPlateau, long refractory period, no tetany
4Excitation-Contraction CouplingCa²⁺ from T-tubules + SR, depends on extracellular Ca²⁺
5Cardiac Cycle0.833 sec, systole vs. diastole, a/c/v waves
6Atria as Primer Pumps3 phases, adds 20-30% filling
7Ventricles as PumpsIsovolumic contraction/relaxation, ejection, EDV/ESV/EF
8Heart ValvesAV valves (chordae), semilunar valves (cups), S1/S2
9Work OutputVolume-pressure work vs. kinetic energy
10Volume-Pressure RelationshipDiastolic vs. systolic pressure curves, optimal filling
11Frank-Starling MechanismMore stretch = more force = more output
12Nervous ControlSympathetic (+) vs. Parasympathetic (-), cardiac function curves
13Potassium EffectsHigh K⁺ = weak, slow, can be fatal
14Calcium EffectsHigh Ca²⁺ = spastic; Low Ca²⁺ = weak
15Temperature EffectsHeat = faster rate; Cold = slower rate
16Arterial Pressure vs. OutputPressure doesn't limit output until >160 mmHg
Ask me to go deeper on any section, quiz you on it, or move on to Chapter 10!

Create a study guide PDF of Chapter 9 key points for quick revision

Reading File
Running Command

ls -la /home/daytona/workspace/

Running Command

mkdir -p /home/daytona/workspace/guyton-ch9 && python3 -c "from reportlab.lib import colors; print('reportlab ok')"

Writing File

~/guyton-ch9/build_pdf.py

from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
    HRFlowable, KeepTogether
)
from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_JUSTIFY

OUTPUT = "/home/daytona/workspace/guyton-ch9/Guyton_Ch9_Study_Guide.pdf"

doc = SimpleDocTemplate(
    OUTPUT,
    pagesize=A4,
    rightMargin=2*cm, leftMargin=2*cm,
    topMargin=2*cm, bottomMargin=2*cm,
    title="Guyton & Hall Ch.9 Study Guide",
    author="Orris Medical Library"
)

# ── Colour palette ──────────────────────────────────────────────
NAVY    = colors.HexColor("#1a3a5c")
BLUE    = colors.HexColor("#2563eb")
LBLUE   = colors.HexColor("#dbeafe")
TEAL    = colors.HexColor("#0d9488")
LTEAL   = colors.HexColor("#ccfbf1")
GOLD    = colors.HexColor("#d97706")
LGOLD   = colors.HexColor("#fef3c7")
RED     = colors.HexColor("#dc2626")
LRED    = colors.HexColor("#fee2e2")
LGREY   = colors.HexColor("#f1f5f9")
MGREY   = colors.HexColor("#64748b")
WHITE   = colors.white
BLACK   = colors.HexColor("#1e293b")

styles = getSampleStyleSheet()

# ── Custom styles ────────────────────────────────────────────────
def S(name, **kw):
    return ParagraphStyle(name, **kw)

COVER_TITLE = S("CoverTitle", fontSize=28, textColor=WHITE,
                leading=34, alignment=TA_CENTER, fontName="Helvetica-Bold")
COVER_SUB   = S("CoverSub",   fontSize=14, textColor=colors.HexColor("#bfdbfe"),
                leading=20, alignment=TA_CENTER, fontName="Helvetica")
COVER_NOTE  = S("CoverNote",  fontSize=10, textColor=colors.HexColor("#93c5fd"),
                leading=14, alignment=TA_CENTER, fontName="Helvetica-Oblique")

SEC_HEAD    = S("SecHead", fontSize=13, textColor=WHITE,
                leading=17, fontName="Helvetica-Bold",
                spaceBefore=6, spaceAfter=4,
                leftIndent=0, borderPad=6)
SUBSEC      = S("SubSec", fontSize=11, textColor=NAVY,
                leading=15, fontName="Helvetica-Bold",
                spaceBefore=8, spaceAfter=2)
BODY        = S("Body", fontSize=9.5, textColor=BLACK,
                leading=14, fontName="Helvetica",
                spaceBefore=1, spaceAfter=1, alignment=TA_JUSTIFY)
BULLET      = S("Bullet", fontSize=9.5, textColor=BLACK,
                leading=14, fontName="Helvetica",
                leftIndent=14, firstLineIndent=-10,
                spaceBefore=1, spaceAfter=1)
SUBBULLET   = S("SubBullet", fontSize=9, textColor=MGREY,
                leading=13, fontName="Helvetica",
                leftIndent=28, firstLineIndent=-10,
                spaceBefore=0, spaceAfter=0)
HIGHLIGHT   = S("Highlight", fontSize=9.5, textColor=NAVY,
                leading=14, fontName="Helvetica-Bold",
                leftIndent=14, firstLineIndent=-10,
                spaceBefore=1, spaceAfter=1)
KEY_BOX     = S("KeyBox", fontSize=9, textColor=RED,
                leading=13, fontName="Helvetica-Bold",
                spaceBefore=1, spaceAfter=1, alignment=TA_CENTER)
TABLE_HDR   = S("TblHdr", fontSize=9, textColor=WHITE,
                leading=12, fontName="Helvetica-Bold", alignment=TA_CENTER)
TABLE_CELL  = S("TblCell", fontSize=9, textColor=BLACK,
                leading=12, fontName="Helvetica", alignment=TA_LEFT)
TABLE_CELLC = S("TblCellC", fontSize=9, textColor=BLACK,
                leading=12, fontName="Helvetica", alignment=TA_CENTER)
FOOTER_ST   = S("Footer", fontSize=8, textColor=MGREY,
                leading=10, alignment=TA_CENTER, fontName="Helvetica-Oblique")

# ── Helper functions ─────────────────────────────────────────────
def section_header(text, color=NAVY):
    tbl = Table([[Paragraph(text, SEC_HEAD)]], colWidths=[17*cm])
    tbl.setStyle(TableStyle([
        ("BACKGROUND", (0,0), (-1,-1), color),
        ("ROUNDEDCORNERS", [4,4,4,4]),
        ("TOPPADDING",    (0,0), (-1,-1), 6),
        ("BOTTOMPADDING", (0,0), (-1,-1), 6),
        ("LEFTPADDING",   (0,0), (-1,-1), 10),
    ]))
    return tbl

def colored_box(content_rows, bg=LBLUE, border=BLUE):
    """Wrap a list of flowables in a colored rounded box via a 1-cell table."""
    inner = Table([[r] for r in content_rows], colWidths=[15.5*cm])
    inner.setStyle(TableStyle([
        ("BACKGROUND",    (0,0), (-1,-1), bg),
        ("LEFTPADDING",   (0,0), (-1,-1), 10),
        ("RIGHTPADDING",  (0,0), (-1,-1), 8),
        ("TOPPADDING",    (0,0), (-1,-1), 4),
        ("BOTTOMPADDING", (0,0), (-1,-1), 4),
        ("BOX",           (0,0), (-1,-1), 1, border),
    ]))
    return inner

def b(text):   return Paragraph(f"• {text}", BULLET)
def bb(text):  return Paragraph(f"– {text}", SUBBULLET)
def h(text):   return Paragraph(text, HIGHLIGHT)
def p(text):   return Paragraph(text, BODY)
def sub(text): return Paragraph(text, SUBSEC)
def sp(n=4):   return Spacer(1, n)
def hr():      return HRFlowable(width="100%", thickness=0.5, color=colors.HexColor("#cbd5e1"), spaceAfter=4, spaceBefore=4)

def data_table(headers, rows, col_widths):
    data = [[Paragraph(h_, TABLE_HDR) for h_ in headers]]
    for row in rows:
        data.append([Paragraph(str(c), TABLE_CELLC if i > 0 else TABLE_CELL)
                     for i, c in enumerate(row)])
    tbl = Table(data, colWidths=col_widths)
    style = [
        ("BACKGROUND",    (0,0), (-1,0),  NAVY),
        ("BACKGROUND",    (0,1), (-1,-1), LGREY),
        ("ROWBACKGROUNDS",(0,1), (-1,-1), [WHITE, LGREY]),
        ("BOX",           (0,0), (-1,-1), 0.5, colors.HexColor("#94a3b8")),
        ("INNERGRID",     (0,0), (-1,-1), 0.3, colors.HexColor("#cbd5e1")),
        ("TOPPADDING",    (0,0), (-1,-1), 5),
        ("BOTTOMPADDING", (0,0), (-1,-1), 5),
        ("LEFTPADDING",   (0,0), (-1,-1), 6),
        ("RIGHTPADDING",  (0,0), (-1,-1), 6),
        ("VALIGN",        (0,0), (-1,-1), "MIDDLE"),
    ]
    tbl.setStyle(TableStyle(style))
    return tbl

# ── Build story ──────────────────────────────────────────────────
story = []

# ════════════════════ COVER PAGE ════════════════════
cover = Table(
    [[Paragraph("GUYTON & HALL", COVER_TITLE)],
     [Paragraph("Medical Physiology", COVER_SUB)],
     [Spacer(1, 12)],
     [Paragraph("CHAPTER 9", S("", fontSize=22, textColor=colors.HexColor("#fbbf24"),
                               leading=28, alignment=TA_CENTER, fontName="Helvetica-Bold"))],
     [Paragraph("Cardiac Muscle; The Heart as a Pump<br/>and Function of the Heart Valves",
                S("", fontSize=16, textColor=WHITE, leading=22, alignment=TA_CENTER,
                  fontName="Helvetica-Bold"))],
     [Spacer(1, 24)],
     [Paragraph("QUICK REVISION STUDY GUIDE", S("", fontSize=12,
                textColor=colors.HexColor("#bfdbfe"), leading=16, alignment=TA_CENTER,
                fontName="Helvetica-Bold"))],
     [Spacer(1, 8)],
     [Paragraph("16 Sections · All Key Points · Quick-Reference Tables",
                COVER_NOTE)],
     [Spacer(1, 32)],
     [Paragraph("Source: Guyton and Hall Textbook of Medical Physiology (ISBN 9780443111013)",
                COVER_NOTE)],
    ],
    colWidths=[17*cm]
)
cover.setStyle(TableStyle([
    ("BACKGROUND",    (0,0), (-1,-1), NAVY),
    ("ROUNDEDCORNERS",[8,8,8,8]),
    ("TOPPADDING",    (0,0), (-1,-1), 14),
    ("BOTTOMPADDING", (0,0), (-1,-1), 14),
    ("LEFTPADDING",   (0,0), (-1,-1), 20),
    ("RIGHTPADDING",  (0,0), (-1,-1), 20),
]))
story.append(cover)
story.append(Spacer(1, 20))

# ════════════════════ SECTION 1 ════════════════════
story.append(section_header("1. Cardiac Muscle Physiology — Three Types", NAVY))
story.append(sp(6))
story.append(b("Three major types of cardiac muscle:"))
story.append(bb("<b>Atrial muscle</b> — contracts to push blood into ventricles"))
story.append(bb("<b>Ventricular muscle</b> — contracts to push blood into arteries"))
story.append(bb("<b>Specialized excitatory & conductive fibers</b> (SA node, AV node, Purkinje) — few contractile fibrils; their job is generating and conducting electrical signals"))
story.append(b("Atrial and ventricular muscle contract <b>similarly to skeletal muscle</b> but with a much <b>longer duration</b>"))
story.append(sp())

# ════════════════════ SECTION 2 ════════════════════
story.append(section_header("2. Cardiac Muscle Anatomy", TEAL))
story.append(sp(6))
story.append(b("<b>Striated</b> like skeletal muscle — actin &amp; myosin filaments slide during contraction (sliding filament mechanism)"))
story.append(b("Fibers arranged in a <b>latticework</b> — divide, recombine, and spread"))
story.append(sp(4))
story.append(sub("Left Ventricular Torsion"))
story.append(b("Muscle arranged in a <b>double helix</b>: outer layer spirals left, inner layer spirals right"))
story.append(b("Creates a <b>wringing/twisting motion</b> during systole — like squeezing a wet towel"))
story.append(b("Apex rotates counterclockwise; base rotates clockwise"))
story.append(b("At end-systole the LV acts like a <b>loaded spring</b> → recoils in diastole, actively <b>sucking blood in</b>"))
story.append(sp(4))
story.append(sub("Cardiac Muscle Is a Syncytium"))
story.append(b("<b>Intercalated discs</b> = dark bands in histology; cell membranes separating individual cardiac cells"))
story.append(b("At each disc, membranes fuse → <b>gap junctions</b> (permeable pores) let ions flow freely"))
story.append(b("One cell excited → action potential spreads <b>instantly to ALL cells</b>"))
story.append(b("Two syncytia: <b>Atrial syncytium</b> &amp; <b>Ventricular syncytium</b>"))
story.append(b("Separated by a <b>fibrous ring</b> (electrical insulator) — only bridge = <b>AV bundle (bundle of His)</b>"))
story.append(b("Separation ensures atria contract <b>first</b>, then ventricles"))
story.append(sp())

# ════════════════════ SECTION 3 ════════════════════
story.append(section_header("3. Action Potentials in Cardiac Muscle", colors.HexColor("#7c3aed")))
story.append(sp(6))
story.append(b("Resting membrane potential = <b>−85 mV</b>; peaks at <b>+20 mV</b> → amplitude = <b>105 mV</b>"))
story.append(b("Key feature: a long <b>PLATEAU</b> lasting <b>~0.2 sec (atrial)</b> and <b>~0.3 sec (ventricular)</b>"))
story.append(b("Makes cardiac contraction <b>15× longer</b> than skeletal muscle contraction"))
story.append(sp(4))
story.append(sub("Why the Plateau Exists — Two Reasons"))
story.append(h("① Slow L-type Ca²⁺ channels (slow calcium channels) open and stay open for tenths of a second → Ca²⁺ &amp; Na⁺ keep flowing in → maintains depolarization"))
story.append(h("② K⁺ permeability decreases ~5-fold after depolarization → K⁺ cannot rush out to repolarize the cell"))
story.append(sp(4))
story.append(sub("The Absolute Refractory Period"))
story.append(b("Lasts ~<b>0.2–0.25 sec</b> = almost the entire contraction"))
story.append(b("Cardiac muscle <b>CANNOT be tetanized</b> — this is life-saving"))
story.append(b("If tetany were possible, the heart would never relax to fill → <b>death</b>"))
story.append(sp())

# ════════════════════ SECTION 4 ════════════════════
story.append(section_header("4. Excitation-Contraction Coupling & Ca²⁺", TEAL))
story.append(sp(6))
story.append(b("Action potential → spreads into cell interior via <b>T-tubules</b>"))
story.append(b("T-tubule action potential → Ca²⁺ released from <b>sarcoplasmic reticulum (SR)</b>"))
story.append(b("<b>Extra Ca²⁺ also enters from outside the cell</b> through T-tubule walls (voltage-dependent Ca²⁺ channels)"))
story.append(b("Extracellular Ca²⁺ triggers more SR release via <b>ryanodine receptor channels</b> (calcium-induced calcium release)"))
story.append(b("Ca²⁺ + troponin → cross-bridge formation → <b>contraction</b>"))
story.append(sp(4))

key_rows = [
    [Paragraph("<b>Why extracellular Ca²⁺ is essential:</b>", TABLE_CELL),
     Paragraph("Cardiac SR is <b>less developed</b> than skeletal muscle SR — not enough internal Ca²⁺ for full contraction", TABLE_CELL)],
    [Paragraph("<b>T-tubule size:</b>", TABLE_CELL),
     Paragraph("<b>5× wider</b> than skeletal muscle (25× volume); coated with mucopolysaccharides that bind Ca²⁺", TABLE_CELL)],
    [Paragraph("<b>No Ca²⁺ = no beat:</b>", TABLE_CELL),
     Paragraph("Heart in calcium-free solution <b>stops beating quickly</b>", TABLE_CELL)],
]
tbl = Table(key_rows, colWidths=[5.5*cm, 11*cm])
tbl.setStyle(TableStyle([
    ("BACKGROUND",    (0,0), (-1,-1), LTEAL),
    ("BOX",           (0,0), (-1,-1), 0.5, TEAL),
    ("INNERGRID",     (0,0), (-1,-1), 0.3, TEAL),
    ("TOPPADDING",    (0,0), (-1,-1), 5),
    ("BOTTOMPADDING", (0,0), (-1,-1), 5),
    ("LEFTPADDING",   (0,0), (-1,-1), 6),
    ("VALIGN",        (0,0), (-1,-1), "TOP"),
]))
story.append(tbl)
story.append(sp())

# ════════════════════ SECTION 5 ════════════════════
story.append(section_header("5. The Cardiac Cycle", BLUE))
story.append(sp(6))
story.append(b("All events from one heartbeat to the beginning of the next"))
story.append(b("At <b>72 beats/min</b> → one cycle = <b>0.833 seconds</b>"))
story.append(b("Initiated by SA node → atria → AV node delay → ventricles"))
story.append(sp(4))
story.append(sub("Atrial Pressure Waves"))
story.append(data_table(
    ["Wave", "Cause"],
    [["a wave", "Atrial contraction — RA ↑4–6 mmHg, LA ↑7–8 mmHg"],
     ["c wave", "AV valves bulge backward into atria at start of ventricular contraction"],
     ["v wave", "Blood fills atria from veins while AV valves are CLOSED; disappears when AV valves reopen"]],
    [3*cm, 13.5*cm]
))
story.append(sp())

# ════════════════════ SECTION 6 ════════════════════
story.append(section_header("6. Atria as Primer Pumps", colors.HexColor("#0891b2")))
story.append(sp(6))
story.append(b("Atrial filling occurs in <b>3 phases</b>:"))
story.append(bb("<b>Reservoir phase</b> — blood flows in from great veins / pulmonary veins"))
story.append(bb("<b>Conduit phase</b> — ~70–80% flows directly through atria into ventricles <i>before</i> atrial contraction"))
story.append(bb("<b>Contractile phase (atrial kick)</b> — contraction adds final 20–30% to ventricular filling"))
story.append(b("Atria increase ventricular filling effectiveness by ~<b>30%</b>"))
story.append(b("Without atrial contraction: OK at rest (heart has <b>300–400% reserve</b>), but exercise may cause shortness of breath"))
story.append(sp())

# ════════════════════ SECTION 7 ════════════════════
story.append(section_header("7. Ventricles as Pumps — Phases of Systole & Diastole", NAVY))
story.append(sp(6))
story.append(data_table(
    ["Phase", "What Happens", "Key Numbers"],
    [
        ["Rapid filling (diastole)", "AV valves open; blood rushes in — first ⅓ of diastole", "70–80% of filling"],
        ["Slow filling (diastole)", "Trickle from veins through atria — middle ⅓", "Small amount"],
        ["Atrial kick (diastole)", "Atria contract; final thrust — last ⅓", "20–30% of filling"],
        ["Isovolumic contraction", "Pressure ↑, AV valves close (S1), no blood ejected yet", "0.02–0.03 sec"],
        ["Rapid ejection (systole)", "Semilunar valves open; ~70% of SV ejected — first ⅓ of ejection", "LV >80 mmHg; RV >8 mmHg"],
        ["Slow ejection (systole)", "Remaining ~30% of SV ejected — last ⅔ of ejection", "EF ≈ 60%"],
        ["Isovolumic relaxation", "Semilunar valves snap shut (S2); pressure drops, no volume change", "0.03–0.06 sec"],
    ],
    [4.5*cm, 8.5*cm, 4.5*cm]
))
story.append(sp(6))
story.append(sub("Key Volume Numbers"))
story.append(data_table(
    ["Parameter", "Value"],
    [["End-Diastolic Volume (EDV)", "110–120 mL"],
     ["Stroke Volume (SV)", "~70 mL"],
     ["End-Systolic Volume (ESV)", "~40–50 mL"],
     ["Ejection Fraction (EF)", "~60%"]],
    [8.5*cm, 8.5*cm]
))
story.append(sp())

# ════════════════════ SECTION 8 ════════════════════
story.append(section_header("8. Heart Valves — Prevent Backflow", TEAL))
story.append(sp(6))
story.append(sub("AV Valves (Mitral &amp; Tricuspid)"))
story.append(b("Prevent backflow from ventricles → atria during systole"))
story.append(b("<b>Chordae tendineae</b> (tendon-like cords) connect valve leaflets to <b>papillary muscles</b>"))
story.append(b("Papillary muscles contract with ventricle → pull chordae taut → prevent leaflets everting into atria"))
story.append(b("Chordae rupture or papillary muscle failure → valve prolapse → <b>regurgitation</b>"))
story.append(sp(4))
story.append(sub("Semilunar Valves (Aortic &amp; Pulmonary)"))
story.append(b("Each has <b>3 cup-shaped cusps</b> — no chordae needed"))
story.append(b("When ventricle relaxes → backflow fills the cups → cusps meet → <b>snap shut</b>"))
story.append(b("Open with almost no resistance; close with no leakage"))
story.append(sp(4))
story.append(sub("Heart Sounds"))
story.append(data_table(
    ["Sound", "Cause", "Timing"],
    [["S1 (lub)", "AV valves closing", "Start of systole"],
     ["S2 (dub)", "Semilunar valves closing", "End of systole"],
     ["S3 (path.)", "Rapid ventricular filling against stiff walls", "Early diastole"],
     ["S4 (path.)", "Atrial contraction against stiff ventricle", "Late diastole (just before S1)"]],
    [3*cm, 9*cm, 5.5*cm]
))
story.append(sp())

# ════════════════════ SECTION 9 ════════════════════
story.append(section_header("9. Work Output of the Heart", colors.HexColor("#7c3aed")))
story.append(sp(6))
story.append(b("<b>Stroke work output</b> = energy converted to work each beat"))
story.append(b("Two components: <b>Volume-pressure work</b> (major — moving blood against pressure) &amp; <b>Kinetic energy</b> (minor — ~1% normally)"))
story.append(b("Right ventricle does ~<b>1/6</b> the work of the left ventricle (pulmonary pressure = 1/6 systemic)"))
story.append(b("In <b>aortic stenosis</b>: kinetic energy can exceed <b>50%</b> of total work (blood forced through narrow valve at high speed)"))
story.append(sp())

# ════════════════════ SECTION 10 ════════════════════
story.append(section_header("10. Ventricular Volume-Pressure Relationship", BLUE))
story.append(sp(6))
story.append(b("<b>Diastolic pressure curve:</b> below 150 mL → pressure stays low (fills easily); above 150 mL → pressure rises sharply (fibrous tissue + pericardium limits stretch)"))
story.append(b("<b>Systolic pressure curve:</b> peaks at ~150–170 mL filling; if overfilled, systolic pressure actually falls (actin-myosin filaments pulled too far apart, fewer cross-bridges)"))
story.append(b("Optimal cardiac output = optimal filling — both overfilling and underfilling reduce efficiency"))
story.append(sp())

# ════════════════════ SECTION 11 ════════════════════
story.append(section_header("11. Regulation — Frank-Starling Mechanism (Intrinsic)", TEAL))
story.append(sp(6))
box_items = [
    Paragraph("<b>Frank-Starling Law:</b> The more the heart is stretched during filling, the greater the force of contraction, and the more blood pumped into the aorta.", 
              S("", fontSize=10, textColor=NAVY, leading=15, fontName="Helvetica-Bold",
                leftIndent=4, spaceBefore=2, spaceAfter=2)),
    Paragraph("Within physiological limits — <i>the heart pumps ALL the blood that returns to it by way of the veins.</i>",
              S("", fontSize=9.5, textColor=BLACK, leading=14, fontName="Helvetica-Oblique",
                leftIndent=4, spaceBefore=2, spaceAfter=2)),
]
story.append(colored_box(box_items, bg=LBLUE, border=BLUE))
story.append(sp(6))
story.append(b("<b>Mechanism:</b> More filling → muscle stretched → more optimal actin-myosin overlap → greater cross-bridge force"))
story.append(b("Automatically <b>balances right and left ventricular output</b> second by second"))
story.append(b("<b>Bainbridge reflex:</b> Stretch of right atrium also increases heart rate by 10–20% (minor additional effect)"))
story.append(sp())

# ════════════════════ SECTION 12 ════════════════════
story.append(section_header("12. Nervous Control — Sympathetic & Parasympathetic", NAVY))
story.append(sp(6))
story.append(data_table(
    ["", "Sympathetic", "Parasympathetic (Vagal)"],
    [["Heart Rate", "70 → 180–200 bpm (up to 250)", "Can briefly stop heart; escapes at 20–40 bpm"],
     ["Contractile Force", "Doubles (inotropy ↑↑)", "Reduces by 20–30%"],
     ["Net Output Change", "2–3× increase", "50%+ decrease"],
     ["Main Target", "Atria + Ventricles", "Mainly Atria (→ mainly affects HR)"],
     ["Baseline (at rest)", "Maintains output ~30% above zero", "Balanced with sympathetic tone"]],
    [4*cm, 6.5*cm, 6.5*cm]
))
story.append(sp())

# ════════════════════ SECTION 13 ════════════════════
story.append(section_header("13. Effect of Potassium Ions (K⁺)", colors.HexColor("#b91c1c")))
story.append(sp(6))
story.append(b("<b>Excess K⁺ (hyperkalemia):</b> Heart becomes <b>dilated, flaccid, slow</b>"))
story.append(b("High extracellular K⁺ → <b>partially depolarizes</b> resting membrane (less negative) → weaker action potential → weaker contraction"))
story.append(b("Can also <b>block AV conduction</b>"))
story.append(b("<b>Danger zone: 8–12 mEq/L</b> (2–3× normal) → severe weakness, arrhythmia, <b>death</b>"))
story.append(sp())

# ════════════════════ SECTION 14 ════════════════════
story.append(section_header("14. Effect of Calcium Ions (Ca²⁺)", TEAL))
story.append(sp(6))
story.append(b("<b>Excess Ca²⁺ (hypercalcemia):</b> Opposite of K⁺ → heart moves toward <b>spastic contraction</b> (directly activates contractile process)"))
story.append(b("<b>Deficient Ca²⁺ (hypocalcemia):</b> Cardiac weakness (similar to hyperkalemia)"))
story.append(b("Blood Ca²⁺ is tightly regulated → cardiac Ca²⁺ effects are <b>rarely a clinical concern</b> in isolation"))
story.append(sp())

# ════════════════════ SECTION 15 ════════════════════
story.append(section_header("15. Effect of Temperature", colors.HexColor("#0891b2")))
story.append(sp(6))
story.append(b("<b>High temperature / fever:</b>"))
story.append(bb("Greatly <b>increases heart rate</b> (can double it)"))
story.append(bb("Heat increases membrane permeability to ions → speeds self-excitation"))
story.append(bb("Moderate rise (exercise) temporarily enhances contractile strength"))
story.append(bb("Prolonged elevation exhausts cardiac metabolic systems → <b>weakens heart</b>"))
story.append(b("<b>Low temperature / hypothermia:</b>"))
story.append(bb("Greatly decreases heart rate → can fall to a few beats/min (60–70°F / 15–21°C)"))
story.append(sp())

# ════════════════════ SECTION 16 ════════════════════
story.append(section_header("16. Arterial Pressure Load vs. Cardiac Output", NAVY))
story.append(sp(6))
story.append(b("Increasing aortic pressure does <b>NOT reduce cardiac output</b> until arterial pressure exceeds <b>~160 mmHg</b>"))
story.append(b("In the normal range (80–140 mmHg), cardiac output is determined by <b>venous return</b> (ease of peripheral blood flow), not arterial pressure"))
story.append(b("The Frank-Starling mechanism compensates automatically for increased pressure load"))
story.append(sp())

# ════════════════════ QUICK REFERENCE TABLE ════════════════════
story.append(hr())
story.append(section_header("⚡  QUICK REFERENCE — KEY NUMBERS AT A GLANCE", GOLD))
story.append(sp(6))
story.append(data_table(
    ["Parameter", "Value"],
    [
        ["Action potential duration (ventricular)", "~0.3 sec (0.2 sec atrial)"],
        ["Resting membrane potential", "−85 mV"],
        ["Peak action potential", "+20 mV  (amplitude = 105 mV)"],
        ["Cardiac cycle at 72 bpm", "0.833 sec"],
        ["Atrial kick contribution to filling", "20–30%"],
        ["End-diastolic volume (EDV)", "110–120 mL"],
        ["Stroke volume (SV)", "~70 mL"],
        ["End-systolic volume (ESV)", "~40–50 mL"],
        ["Ejection fraction (EF)", "~60%"],
        ["Isovolumic contraction time", "0.02–0.03 sec"],
        ["Isovolumic relaxation time", "0.03–0.06 sec"],
        ["LV pressure to open aortic valve", ">80 mmHg"],
        ["RV pressure to open pulmonary valve", ">8 mmHg"],
        ["Sympathetic — max heart rate", "180–200 bpm (rarely 250)"],
        ["Vagal stimulation — output reduction", "50%+ decrease"],
        ["Hyperkalemia danger zone", "8–12 mEq/L"],
        ["Cardiac output at rest", "4–6 L/min"],
        ["Cardiac output during exercise", "Up to 4–7× resting"],
        ["Arterial pressure limit (output drops beyond)", ">160 mmHg"],
        ["Atrial primer pump reserve", "300–400% cardiac reserve at rest"],
    ],
    [9*cm, 8.5*cm]
))
story.append(sp(8))

# Footer note
story.append(Paragraph(
    "Source: Guyton and Hall Textbook of Medical Physiology, ISBN 9780443111013, Chapter 9 (pp. 121–134) · Study guide compiled by Orris",
    FOOTER_ST
))

# ── Build PDF ────────────────────────────────────────────────────
doc.build(story)
print("PDF created:", OUTPUT)
Running Command

cd /home/daytona/workspace/guyton-ch9 && python3 build_pdf.py

Running Command

ls -lh /home/daytona/workspace/guyton-ch9/Guyton_Ch9_Study_Guide.pdf

Your study guide PDF is ready! Here's what's inside:

Guyton Ch9 Study Guide

PDF Document · PDF


What's included in the PDF:

  • Cover page with title and chapter details
  • 16 color-coded sections covering every topic in Chapter 9:
    • Cardiac muscle types and anatomy
    • Syncytium and gap junctions
    • Action potentials and the plateau
    • Excitation-contraction coupling and Ca²⁺
    • The cardiac cycle (all phases)
    • Atria as primer pumps
    • Ventricular pumping phases with a full phase table
    • Heart valves and heart sounds
    • Work output, Frank-Starling, nervous control
    • Effects of K⁺, Ca²⁺, and temperature
  • Formatted tables throughout for easy scanning
  • Quick Reference table at the end - all 20 key numbers in one place (EDV, SV, EF, pressures, timing, rates)
Great for a last-minute revision before an exam. Want me to do the same for Chapter 10 (Rhythmical Excitation of the Heart)?
This is a shared conversation. Sign in to Orris to start your own chat.