Curious Minds

Clear answers to science and history questions

How an ECG Works: The Electrical Physics of Heartbeats

· 6 min read · Science

An electrocardiogram (ECG or EKG) works by detecting the minute electrical voltage changes on the skin that arise from the heart muscle's depolarization and repolarization during each cardiac cycle. Essentially, it acts as a voltmeter that measures the difference in electrical potential between two points on the body, capturing the summed electrical activity of millions of cardiac cells as they trigger the heart to contract and relax.

The Bioelectric Basis of the Heartbeat

To understand how an ECG works, one must first understand the physics of the cardiac cell. The heart does not require an external nerve impulse to beat; instead, it possesses an intrinsic electrical system. This is made possible by the movement of ions—specifically sodium, potassium, and calcium—across the cell membranes of cardiomyocytes.

In a resting state, a cardiac cell is polarized, meaning there is a difference in electrical charge between the inside and the outside of the cell. The interior is typically more negative than the exterior. When the heart's natural pacemaker, the sinoatrial (SA) node, fires, it triggers a wave of depolarization. During depolarization, ion channels open, allowing positively charged sodium ions to flood into the cell, rapidly flipping the internal charge from negative to positive.

This change in voltage does not stay isolated; it spreads from cell to cell via gap junctions, which are specialized protein channels that allow ions to flow freely between adjacent cells. This creates a moving wave of electricity, known as a depolarization wave, which travels across the atria and then the ventricles. Following this, the cells undergo repolarization, where potassium ions leave the cell to restore the original negative resting potential, preparing the heart for the next beat.

The Physics of Volume Conduction

A common misconception is that the ECG electrodes are "sending" electricity into the body. In reality, the ECG is a purely passive recording device. The physics that allows this is called volume conduction. Because the human body is composed largely of salt water and electrolytes, it acts as a conductor. The electrical currents generated by the heart are not confined to the heart muscle; they propagate through the surrounding tissues and fluids to the surface of the skin.

The ECG machine measures the potential difference between two electrodes. If a wave of depolarization (a positive charge) is moving toward a positive electrode, the machine records a positive deflection on the graph. If the electrical wave is moving away from the electrode, the machine records a negative deflection. By placing electrodes at specific locations on the limbs and chest, clinicians can create different "views" or leads of the heart's electrical axis.

Decoding the ECG Waveform

The resulting graph of an ECG consists of three primary components: the P wave, the QRS complex, and the T wave. Each corresponds to a specific electrical and mechanical event in the cardiac cycle:

  • The P Wave: This small bump represents atrial depolarization. It is the electrical signal that tells the two upper chambers (atria) to contract and push blood into the ventricles.
  • The QRS Complex: This is the most prominent part of the trace. It represents ventricular depolarization. Because the ventricles are much larger and more muscular than the atria, the electrical signal is significantly stronger. Interestingly, atrial repolarization happens during this time, but it is electrically "masked" by the massive signal of the ventricles.
  • The T Wave: This wave represents ventricular repolarization. This is the period where the ventricles recover their electrical charge, allowing the heart muscle to relax and the chambers to refill with blood.

The intervals between these waves are just as important as the waves themselves. For example, the PR interval measures the time it takes for the signal to travel from the SA node through the atrioventricular (AV) node. A delay here can indicate a "heart block," where the electrical signal is slowed or stopped before reaching the ventricles.

Lead Placement and the Vector Concept

In physics, electricity has both magnitude and direction; this is known as a vector. To fully map the heart's electrical activity, a single viewpoint is insufficient. This is why a standard ECG uses multiple leads. A "lead" is not the physical wire, but rather the calculated difference in voltage between two electrodes.

  1. Bipolar Limb Leads: These measure the difference between two specific limbs (e.g., Lead I measures the potential difference between the right arm and the left arm).
  2. Augmented Unipolar Leads: These use a combination of electrodes to create a reference point, allowing the machine to look at the heart from a specific angle (e.g., aVR, aVL, and aVF).
  3. Precordial (Chest) Leads: These six electrodes (V1-V6) are placed directly on the chest to provide a horizontal cross-section of the heart's electrical activity, which is crucial for identifying the location of a myocardial infarction (heart attack).

By analyzing these different vectors, a physician can determine the "electrical axis" of the heart. If the axis is shifted, it may suggest that one side of the heart is enlarged (hypertrophy), as a larger muscle mass generates a stronger electrical signal, pulling the vector toward it.

Common Interference and Signal Noise

Because the electrical signals the ECG is looking for are incredibly faint (measured in millivolts), the machine is highly susceptible to "noise" or artifacts. These are electrical signals that are not coming from the heart but are picked up by the electrodes.

  • Somatic Tremor: Muscle contractions from shivering or anxiety create high-frequency electrical noise that can blur the ECG trace.
  • 60Hz/50Hz Interference: Electrical currents from nearby power outlets or medical equipment can leak into the patient's body or the lead wires, creating a consistent, thick baseline wave known as AC interference.
  • Wandering Baseline: If the electrodes are not adhering well to the skin (often due to oily skin or hair), the baseline of the graph may drift up and down, making it difficult to measure the ST segment.

To mitigate these issues, conductive gels are used to lower the skin-electrode impedance, and filters are applied to the machine to strip away frequencies that do not match the expected range of cardiac activity.

Frequently Asked Questions

Does an ECG send electricity into my heart?

No. An ECG is a passive monitoring tool. It only listens to the electricity your heart is already producing. It does not deliver any electrical current to the body, making it a non-invasive and safe procedure.

Why are electrodes placed on the legs if it is a heart test?

The legs serve as grounding points and help create the electrical triangles (Einthoven's Triangle) necessary to calculate the voltage difference across the chest. By using the limbs as reference points, the machine can determine the direction of the electrical flow through the heart.

Can an ECG detect a heart attack that happened weeks ago?

An ECG can sometimes show "old" infarcts through specific patterns called Q-waves or inverted T-waves. However, it is primarily used to detect acute changes. If the heart tissue has scarred over, the electrical signal will simply flow around the dead tissue, which the ECG records as an abnormality.

What is the difference between an ECG and an EKG?

There is no difference. ECG stands for electrocardiogram. EKG comes from the German spelling, Elektrokardiogramm. Both terms refer to the exact same diagnostic test.

Why is the skin cleaned or shaved before the test?

Dead skin cells and hair act as insulators, increasing the electrical resistance (impedance) between the skin and the electrode. Cleaning the skin ensures a low-resistance path for the ions to travel, resulting in a clear, noise-free signal.

In this article
  1. The Bioelectric Basis of the Heartbeat
  2. The Physics of Volume Conduction
  3. Decoding the ECG Waveform
  4. Lead Placement and the Vector Concept
  5. Common Interference and Signal Noise
  6. Frequently Asked Questions