Total Irregularity Calculator

all-pairs degree difference sum

CalculatorsFreeNo Signup
4.7(232 reviews)
All Tools

Loading tool...

About Total Irregularity Calculator

A total irregularity calculator computing irr_t(G) = Σ_{i<j} |d(i)-d(j)| over ALL vertex pairs. Abdo-Brandt-Dimitrov (2014). Unlike Albertson A (over edges only), irr_t sums over all C(n,2) pairs. irr_t = 0 iff regular. More global than A. Client-side.

Total Irregularity Calculator Features

  • irr_t(G)
  • Σ|d-d| all
  • All pairs
  • Abdo '14
  • Common graphs
Total irregularity irr_t(G) = Σ_{i

How to Use

Select graph:

  • irr_t: Total irreg.
  • vs A: Edge-only
  • irr_t/A: Ratio

irr_t vs A

A = Σ_{edges} |d-d|. irr_t = Σ_{all pairs} |d-d|. irr_t ≥ A always. The difference irr_t - A measures irregularity contribution from NON-adjacent pairs. Global view vs local view.

Bounds

For n vertices with degree sequence d₁ ≥ d₂ ≥ ... ≥ dₙ: irr_t = Σ (2i-1-n)·dᵢ (rearrangement). Maximum for split-like graphs. irr_t ≤ n²(n-2)/4.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2For ALL pairs (i,j): |dᵢ-dⱼ|.
  3. 3Sum all terms.
  4. 4Compare with A.
  5. 5Check irr_t/C(n,2).

Total Irregularity Calculator — Frequently Asked Questions

Why all pairs?+

Albertson only considers edge-adjacent mismatches. But non-adjacent vertices can also have very different degrees! irr_t captures this global information. Two hubs far apart contribute to irr_t but not to A.

irr_t from degree sequence?+

Yes! Sort degrees d₁ ≥ d₂ ≥ ... ≥ dₙ. Then irr_t = Σ_{i=1}^n (2i-1-n)·dᵢ. Only depends on sorted degrees! Graph structure beyond degrees doesn't affect irr_t.

irr_t always ≥ A?+

Yes! A sums over edges (a subset of all pairs). irr_t sums over all pairs (a superset). Every term in A appears in irr_t plus additional non-edge terms. irr_t ≥ A.

Share this tool: