ArticleslgStudy

science

Ptolemaic graph

Ptolemaic graph is a 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 Ptolemaic graph rather than just read about it. In short: In graph theory, a Ptolemaic graph is an undirected graph whose shortest path distances obey Ptolemy's inequality, which in turn was named after the Greek astronomer and mathematician Ptolemy. The Ptolemaic graphs are exactly the graphs that are both chordal and distance-hereditary; they include the block graphs and are a subclass of the perfect graphs.

Ptolemaic graph — main illustration
Ptolemaic graph — illustration

Key takeaways

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

Reference excerpt

In graph theory, a Ptolemaic graph is an undirected graph whose shortest path distances obey Ptolemy's inequality, which in turn was named after the Greek astronomer and mathematician Ptolemy. The Ptolemaic graphs are exactly the graphs that are both chordal and distance-hereditary; they include the block graphs and are a subclass of the perfect graphs.

Characterization A graph is Ptolemaic if and only if it obeys any of the following equivalent conditions:

The shortest path distances obey Ptolemy's inequality: for every four vertices u, v, w, and x, the inequality d(u,v)d(w,x) + d(u,x)d(v,w) ≥ d(u,w)d(v,x) holds. For instance, the gem graph (3-fan) in the illustration is not Ptolemaic, because in this graph d(u,w)d(v,x) = 4, greater than d(u,v)d(w,x) + d(u,x)d(v,w) = 3. For every two overlapping maximal cliques, the intersection of the two cliques is a separator that splits the differences of the two cliques. In the illustration of the gem graph, this is not true: cliques uvy and wxy are not separated by their intersection, y, because there is an edge vw that connects the cliques but avoids the intersection. Every k-vertex cycle has at least 3(k − 3)/2 diagonals. The graph is both chordal (every cycle of length greater than three has a diagonal) and distance-hereditary (every connected induced subgraph has the same distances as the whole graph). The gem shown is chordal but not distance-hereditary: in the subgraph induced by uvwx, the distance from u to x is 3, greater than the distance between the same vertices in the whole graph. Because both chordal and distance-hereditary graphs are perfect graphs, so are the Ptolemaic graphs. The graph is chordal and does not contain an induced gem, a graph formed by adding two non-crossing diagonals to a pentagon. The graph is distance-hereditary and does not contain an induced 4-cycle. The graph can be constructed from a single vertex by a sequence of operations that add a new degree-one (pendant) vertex, or duplicate (twin) an existing vertex, with the exception that a twin operation in which the new duplicate vertex is not adjacent to its twin (false twins) can only be applied when the neighbors of the twins form a clique. These three operations without the exception form all distance-hereditary graph. To form all Ptolemaic graphs, it is not enough to use pendant vertices and true twins; the exceptional case of false twins is sometimes also required. The Hasse diagram of the subset relation on nonempty intersections of maximal cliques forms an oriented tree. The convex subsets of vertices (subsets that contain every shortest path between two vertices in the subset) form a convex geometry. That is, every convex set can be reached from the whole vertex set by repeatedly removing an extreme vertex, one that does not belong to any shortest path between the remaining vertices. In the gem, the convex set uxy cannot be reached in this way, because neither v nor w is extreme.

Computational complexity Based on the characterization by oriented trees, Ptolemaic graphs can be recognized in linear time.

Enumeration The generating function for Ptolemaic graphs can be described symbolically, allowing the fast calculation of the numbers of these graphs. Based on this method, the number of Ptolemaic graphs with n labeled vertices, for n = 1 , 2 , 3 , … {\displaystyle n=1,2,3,\dots } , has been found to be

1, 1, 4, 35, 481, 9042, 216077, 6271057, 214248958, 8424002973, 374708368981, 18604033129948, 1019915376831963, ... (sequence A287886 in the OEIS)

References

Illustrations

Ptolemaic graph: A Ptolemaic graph
A Ptolemaic graph
Ptolemaic graph: The gem graph or 3-fan is not Ptolemaic.
The gem graph or 3-fan is not Ptolemaic.
Ptolemaic graph: A block graph, a special case of a Ptolemaic graph
A block graph, a special case of a Ptolemaic graph
Ptolemaic graph: Three operations by which any distance-hereditary graph can be constructed. For Ptolemaic graphs, the neighbors of false twins are restricted to form a clique, preventing the construction of the 4-cycle shown here.
Three operations by which any distance-hereditary graph can be constructed. For Ptolemaic graphs, the neighbors of false twins are restricted to form a clique, preventing the construction of the 4-cycle shown here.

Worked examples

Example 1 — a first encounter with Ptolemaic graph

Start with the simplest possible case. Write down what Ptolemaic graph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Ptolemaic graph 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 Ptolemaic graph 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 Ptolemaic graph

In research
Ptolemaic graph appears in 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 Ptolemaic graph 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
Ptolemaic graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph families, Intersection classes of graphs, Perfect graphs, so understanding it makes those chapters shorter.
In everyday life
Look for Ptolemaic graph 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 “Ptolemaic graph” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Ptolemaic graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ptolemaic graph 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 Ptolemaic graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ptolemaic graph in simple terms?

In graph theory, a Ptolemaic graph is an undirected graph whose shortest path distances obey Ptolemy's inequality, which in turn was named after the Greek astronomer and mathematician Ptolemy. The Ptolemaic graphs are exactly the graphs that are both chordal and distance-hereditary; they include th…

Why does Ptolemaic graph matter?

Because it connects several 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 Ptolemaic graph?

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 Ptolemaic graph.

Tags

  • Graph families
  • Intersection classes of graphs
  • Perfect graphs
  • Ptolemy

Keep exploring