ArticleslgStudy

computer science

Dynamic convex hull

Dynamic convex hull 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 Dynamic convex hull rather than just read about it. In short: The dynamic convex hull problem is a class of dynamic problems in computational geometry. The problem consists in the maintenance, i.e., keeping track, of the convex hull for input data undergoing a sequence of discrete changes, i.e., when input data elements may be inserted, deleted, or modified.

Key takeaways

  • Dynamic convex hull 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 Dynamic convex hull to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dynamic convex hull from memory before moving on to harder problems.

Reference excerpt

The dynamic convex hull problem is a class of dynamic problems in computational geometry. The problem consists in the maintenance, i.e., keeping track, of the convex hull for input data undergoing a sequence of discrete changes, i.e., when input data elements may be inserted, deleted, or modified. It should be distinguished from the kinetic convex hull, which studies similar problems for continuously moving points. Dynamic convex hull problems may be distinguished by the types of the input data and the allowed types of modification of the input data.

Planar point set It is easy to construct an example for which the convex hull contains all input points, but after the insertion of a single point the convex hull becomes a triangle. And conversely, the deletion of a single point may produce the opposite drastic change of the size of the output. Therefore, if the convex hull is required to be reported in traditional way as a polygon, the lower bound for the worst-case computational complexity of the recomputation of the convex hull is Ω(N), since this time is required for a mere reporting of the output. This lower bound is attainable, because several general-purpose convex hull algorithms run in linear time when input points are ordered in some way and logarithmic-time methods for dynamic maintenance of ordered data are well-known. This problem may be overcome by eliminating the restriction on the output representation. There are data structures that can maintain representations of the convex hull in an amount of time per update that is much smaller than linear. For many years the best algorithm of this type was that of Overmars and van Leeuwen (1981), which took time O(log2 n) per update, but it has since been improved by Timothy M. Chan and others. In a number of applications finding the convex hull is a step in an algorithm for the solution of the overall problem. The selected representation of the convex hull may influence on the computational complexity of further operations of the overall algorithm. For example, the point in polygon query for a convex polygon represented by the ordered set of its vertices may be answered in logarithmic time, which would be impossible for convex hulls reported by the set of it vertices without any additional information. Therefore, some research of dynamic convex hull algorithms involves the computational complexity of various geometric search problems with convex hulls stored in specific kinds of data structures. The mentioned approach of Overmars and van Leeuwen allows for logarithmic complexity of various common queries.

References Alexandron, Giora; Kaplan, Haim; Sharir, Micha (2005), "Kinetic and dynamic data structures for convex hulls and upper envelopes", Algorithms and Data Structures (WADS 2005), Lecture Notes in Computer Science, vol. 3608, Berlin: Springer, pp. 269–281, doi:10.1007/11534273_24, ISBN 978-3-540-28101-6, MR 2200329 Brodal, Gerth Stølting; Jacob, Riko (2000), "Dynamic planar convex hull with optimal query time and O(log⁡n⋅log⁡log⁡n) update time", Algorithm Theory (SWAT 2000, Bergen), Lecture Notes in Computer Science, vol. 1851, Berlin: Springer, pp. 57–70, doi:10.1007/3-540-44985-X_7, ISBN 978-3-540-67690-4, MR 1792585 Chan, Timothy M. (2001), "Dynamic planar convex hull operations in near-logarithmic amortized time", Journal of the ACM, 48 (1): 1–12, doi:10.1145/363647.363652, MR 1867273 Chan, Timothy M. (2010), "A dynamic data structure for 3-D convex hulls and 2-D nearest neighbor queries", Journal of the ACM, 57 (3): A16:1–A16:15, doi:10.1145/1706591.1706596, MR 2665885 Chan, Timothy M. (2012), "Three problems about dynamic convex hulls", International Journal of Computational Geometry & Applications, 22 (4): 341–364, doi:10.1142/S0218195912600096, MR 2994585 Demaine, Erik D.; Pǎtraşcu, Mihai (2007), "Tight bounds for dynamic convex hull queries (again)", Proc. Symp. Computational Geometry (SoCG 2007), New York: ACM, pp. 354–363, doi:10.1145/1247069.1247131, ISBN 978-1-59593-705-6, MR 2469185 Hershberger, John; Suri, Subhash (1992), "Applications of a semi-dynamic convex hull algorithm", BIT, 32 (2): 249–267, doi:10.1007/BF01994880, MR 1172189 Oh, Eunjin; Ahn, Hee-Kap (2017), "Dynamic geodesic convex hulls in dynamic simple polygons", 33rd International Symposium on Computational Geometry (SoCG 2017), LIPIcs, vol. 77, Schloss Dagstuhl, pp. 51:1–51:15, doi:10.4230/LIPIcs.SoCG.2017.51, MR 3685723 Overmars, M. H.; van Leeuwen, J. (1981), "Maintenance of configurations in the plane", Journal of Computer and System Sciences, 23 (2): 166–204, doi:10.1016/0022-0000(81)90012-X.

Worked examples

Example 1 — a first encounter with Dynamic convex hull

Start with the simplest possible case. Write down what Dynamic convex hull 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 Dynamic convex hull 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 Dynamic convex hull 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 Dynamic convex hull

In research
Dynamic convex hull 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 Dynamic convex hull 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
Dynamic convex hull is common in secondary-school and first-year university syllabi. It links to neighbouring topics Convex hull algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Dynamic convex hull 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 “Dynamic convex hull” →

How to study Dynamic convex hull in 20 minutes

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

Frequently asked questions

What is Dynamic convex hull in simple terms?

The dynamic convex hull problem is a class of dynamic problems in computational geometry. The problem consists in the maintenance, i.e., keeping track, of the convex hull for input data undergoing a sequence of discrete changes, i.e., when input data elements may be inserted, deleted, or modified.

Why does Dynamic convex hull 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 Dynamic convex hull?

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 Dynamic convex hull.

Tags

  • Convex hull algorithms

Keep exploring