ArticleslgStudy

computer science

Graph bandwidth

Graph bandwidth is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Graph bandwidth rather than just read about it. In short: In graph theory, the graph bandwidth problem may be visualized as placing the vertices of a given graph at distinct integer positions along the number line so that the length of the longest edge is minimized. Such placement is called linear graph arrangement, linear graph layout or linear graph placement.

Key takeaways

  • Graph bandwidth belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Graph bandwidth to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Graph bandwidth from memory before moving on to harder problems.

Reference excerpt

In graph theory, the graph bandwidth problem may be visualized as placing the vertices of a given graph at distinct integer positions along the number line so that the length of the longest edge is minimized. Such placement is called linear graph arrangement, linear graph layout or linear graph placement. It may be formalized as labeling the n vertices vi of a graph G with distinct integers f(vi) so that the quantity max⁡{|f(vi)−f(vj)|:vivj∈E} is minimized, where E is the edge set of G. The weighted graph bandwidth problem is a generalization wherein the edges are assigned weights wij and the cost function to be minimized is the product of weight with length, max⁡{wij|f(vi)−f(vj)|:vivj∈E}. In terms of matrices, the (unweighted) graph bandwidth is the minimal bandwidth of a symmetric matrix which is an adjacency matrix of the graph. The bandwidth may also be defined as one less than the maximum clique size in a proper interval supergraph of the given graph, chosen to minimize its clique size.

Bandwidth formulas for some graphs For several families of graphs, the bandwidth φ(G) is given by an explicit formula. The bandwidth of a path graph Pn on n vertices is 1, and the bandwidth of a complete graph Km is φ(Kn)=n−1. For the complete bipartite graph Km,n, φ(Km,n)=⌊(m−1)/2⌋+n, assuming m≥n≥1. As a special case of this formula, the star graph Sk=Kk,1 on k+1 vertices has bandwidth φ(Sk)=⌊(k−1)/2⌋+1. For the hypercube graph Qn on 2n vertices the bandwidth is φ(Qn)=∑m=0n−1(m⌊m/2⌋). The bandwidth of the m×n square grid graph Pm×Pn, that is, the Cartesian product of two path graphs on m and n vertices, is equal to min⁡{m,n}.

Bounds The bandwidth of a graph can be bounded in terms of various other graph parameters. For instance, letting χ(G) denote the chromatic number of G,

φ(G)≥χ(G)−1; letting diam(G) denote the diameter of G, the following inequalities hold:

⌈(n−1)/diam⁡(G)⌉≤φ(G)≤n−diam⁡(G), where n is the number of vertices in G. If a graph G has bandwidth k, then its pathwidth is at most k, and its tree-depth is at most k log(n/k). In contrast, as noted in the previous section, the star graph Sk, a structurally very simple example of a tree, has comparatively large bandwidth. Observe that the pathwidth of Sk is 1, and its tree-depth is 2. Some graph families of bounded degree have sublinear bandwidth: if T is a tree of maximum degree at most ∆, then

φ(T)≤5nlogΔn. More generally, for planar graphs of bounded maximum degree at most ∆, a similar bound holds:

φ(G)≤20nlogΔn.

Computing the bandwidth Both the unweighted and weighted versions are special cases of the quadratic bottleneck assignment problem. The bandwidth problem is NP-hard, even for some special cases. Regarding the existence of efficient approximation algorithms, it is known that the bandwidth is NP-hard to approximate within any constant, and this even holds when the input graphs are restricted to caterpillar trees with maximum hair length 2. For arbitrary graphs with n vertices, the best approximation ratio known is O(log3nlog⁡log⁡n), using semidefinite programming. For the case of dense graphs, a 3-approximation algorithm is known. On the other hand, a number of polynomially-solvable special cases are known. A heuristic algorithm for obtaining linear graph layouts of low bandwidth is the Cuthill–McKee algorithm. Fast multilevel algorithm for graph bandwidth computation was proposed in.

Applications The interest in this problem comes from some application areas. One area is sparse matrix/band matrix handling, and general algorithms from this area, such as Cuthill–McKee algorithm, may be applied to find approximate solutions for the graph bandwidth problem. Another application domain is in electronic design automation. In standard cell design methodology, typically standard cells have the same height, and their placement is arranged in a number of rows. In this context, graph bandwidth problem models the problem of placement of a set of standard cells in a single row with the goal of minimizing the maximal propagation delay (which is assumed to be proportional to wire length).

See also Cutwidth and pathwidth, different NP-complete optimization problems involving linear layouts of graphs.

References

External links Minimum bandwidth problem, in: Pierluigi Crescenzi and Viggo Kann (eds.), A compendium of NP optimization problems. Accessed May 26, 2010.

Worked examples

Example 1 — a first encounter with Graph bandwidth

Start with the simplest possible case. Write down what Graph bandwidth claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Graph bandwidth before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Graph bandwidth ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Graph bandwidth

In research
Graph bandwidth appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Graph bandwidth in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Graph bandwidth is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorial optimization, Graph algorithms, Graph invariants, so understanding it makes those chapters shorter.
In everyday life
Look for Graph bandwidth outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Graph bandwidth” →

How to study Graph bandwidth in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Graph bandwidth means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Graph bandwidth out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Graph bandwidth in simple terms?

In graph theory, the graph bandwidth problem may be visualized as placing the vertices of a given graph at distinct integer positions along the number line so that the length of the longest edge is minimized. Such placement is called linear graph arrangement, linear graph layout or linear graph pla…

Why does Graph bandwidth matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Graph bandwidth?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Graph bandwidth.

Tags

  • Combinatorial optimization
  • Graph algorithms
  • Graph invariants
  • NP-hard problems

Keep exploring