Harmonic Index Calculator

harmonic mean connectivity

CalculatorsFreeNo Signup
4.7(368 reviews)
All Tools

Loading tool...

About Harmonic Index Calculator

A harmonic index calculator computing H(G) = Σ_{(i,j)∈E} 2/(d(i)+d(j)). Fajtlowicz (1987). Harmonic mean of degrees along edges. H ≥ n/2·1/(δ+Δ). Strong correlations with Randić index. Used in QSAR predictions. Client-side.

Harmonic Index Calculator Features

  • H(G)
  • 2/(dᵢ+dⱼ)
  • Fajtlowicz
  • QSAR
  • Common graphs
Harmonic index H(G) = Σ 2/(d(i)+d(j)) over edges. Uses harmonic mean of endpoint degrees. Fajtlowicz (1987). H ≥ n/2·1/(δ+1). Correlates strongly with Randić index but sometimes outperforms it for QSAR predictions.

How to Use

Select graph:

  • H: Harmonic index
  • 2/(d+d): Per edge
  • vs R: Compare Randić

Properties

Regular d-regular: H = m/d = nd/2d = n/2. Trees: H maximized by path (most uniform), minimized by star. H + Randić often bracket the true chemical property value.

Conjectures

Fajtlowicz conjecture: H ≥ r(G) (radius). Partially solved. Many open problems. H connects to independence number, chromatic number via degree-based arguments.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2For each edge: 2/(dᵢ+dⱼ).
  3. 3Sum all terms.
  4. 4Compare with Randić.
  5. 5Apply to QSAR.

Harmonic Index Calculator — Frequently Asked Questions

How does H differ from Randić?+

Randić: 1/√(dᵢdⱼ) (geometric mean). Harmonic: 2/(dᵢ+dⱼ) (harmonic mean). By AM-GM-HM: H ≤ R. But H sometimes gives better chemical predictions for specific property classes.

What's special about regular graphs?+

For d-regular: H = n/2 regardless of d. All edges contribute equally. This makes H 'size-proportional' for regular graphs — a useful normalization property.

Why harmonic mean?+

Harmonic mean penalizes imbalanced degree pairs more than geometric mean. Edge between degree-1 and degree-100: H term ≈ 2/101, R term ≈ 1/10. Harmonic is more severe on asymmetry.

Share this tool: