ArticleslgStudy

mathematics

CC system

CC system is a mathematics 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 CC system rather than just read about it. In short: In computational geometry, a CC system or counterclockwise system is a ternary relation pqr introduced by Donald Knuth to model the clockwise ordering of triples of points in general position in the Euclidean plane. Axioms A CC system is required to satisfy the following axioms, for all distinct points p, q, r, s, and t: Cyclic symmetry: If pqr then qrp.

Key takeaways

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

Reference excerpt

In computational geometry, a CC system or counterclockwise system is a ternary relation pqr introduced by Donald Knuth to model the clockwise ordering of triples of points in general position in the Euclidean plane.

Axioms A CC system is required to satisfy the following axioms, for all distinct points p, q, r, s, and t:

Cyclic symmetry: If pqr then qrp. Antisymmetry: If pqr then not prq. Nondegeneracy: Either pqr or prq. Interiority: If tqr and ptr and pqt, then pqr. Transitivity: If tsp and tsq and tsr, and tpq and tqr, then tpr. Triples of points that are not distinct are not considered as part of the relation.

Construction from planar point sets A CC system may be defined from any set of points in the Euclidean plane, with no three of the points collinear, by including in the relation a triple pqr of distinct points whenever the triple lists these three points in counterclockwise order around the triangle that they form. Using the Cartesian coordinates of the points, the triple pqr is included in the relation exactly when

det⁡(xpyp1xqyq1xryr1)>0. The condition that the points are in general position is equivalent to the requirement that this matrix determinant is never zero for distinct points p, q, and r. However, not every CC system comes from a Euclidean point set in this way.

Equivalent notions CC systems can also be defined from pseudoline arrangements, or from sorting networks in which the compare-exchange operations only compare adjacent pairs of elements (as in for instance bubble sort), and every CC system can be defined in this way. This relation is not one-to-one, but the numbers of nonisomorphic CC systems on n points, of pseudoline arrangements with n lines, and of sorting networks on n values, are within polynomial factors of each other. There exists a two-to-one correspondence between CC systems and uniform acyclic oriented matroids of rank 3. These matroids in turn have a 1-1 correspondence to topological equivalence classes of pseudoline arrangements with one marked cell.

Algorithmic applications The information given by a CC system is sufficient to define a notion of a convex hull within a CC system. The convex hull is the set of ordered pairs pq of distinct points with the property that, for every third distinct point r, pqr belongs to the system. It forms a cycle, with the property that every three points of the cycle, in the same cyclic order, belong to the system. By adding points one at a time to a CC system, and maintaining the convex hull of the points added so far in its cyclic order using a binary search tree, it is possible to construct the convex hull in time O(n log n), matching the known time bounds for convex hull algorithms for Euclidean points. It is also possible to find a single convex hull vertex, as well as the combinatorial equivalent of a bisecting line through a system of points, from a CC system in linear time. The construction of an extreme vertex allows the Graham scan algorithm for convex hulls to be generalized from point sets to CC systems, with a number of queries to the CC system that matches (to within lower-order terms) the number of comparisons needed in comparison sorting.

Combinatorial enumeration The number of non-isomorphic CC systems on n points is

1, 1, 1, 2, 3, 20, 242, 6405, 316835, 28627261 ... (sequence A006246 in the OEIS) These numbers grow exponentially in n2; in contrast, the number of realizable CC systems grows exponentially only in Θ(n log n). More precisely, the number Cn of non-isomorphic CC systems on n points is at most

3(n2). Knuth conjectures more strongly that these numbers obey the recursive inequality

Cn≤n2n−2Cn−1.

Notes

References Aichholzer, Oswin; Miltzow, Tillmann; Pilz, Alexander (2013), "Extreme point and halving edge search in abstract order types", Computational Geometry, 46 (8): 970–978, doi:10.1016/j.comgeo.2013.05.001, MR 3061458, PMC 3688538, PMID 24092953. Beygelzimer, Alina; Radziszowski, Stanisław (2002), "On halving line arrangements", Discrete Mathematics, 257 (2–3): 267–283, doi:10.1016/S0012-365X(02)00430-2, MR 1935728. Knuth, Donald E. (1992), Axioms and hulls, Lecture Notes in Computer Science, vol. 606, Heidelberg: Springer-Verlag, pp. ix+109, doi:10.1007/3-540-55611-7, ISBN 3-540-55611-7, MR 1226891, S2CID 5452191, archived from the original on 20 June 2017, retrieved 5 May 2011.

Worked examples

Example 1 — a first encounter with CC system

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

In research
CC system appears in mathematics 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 CC system 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
CC system is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational geometry, Euclidean plane geometry, Oriented matroids, so understanding it makes those chapters shorter.
In everyday life
Look for CC system 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 “CC system” →

How to study CC system in 20 minutes

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

Frequently asked questions

What is CC system in simple terms?

In computational geometry, a CC system or counterclockwise system is a ternary relation pqr introduced by Donald Knuth to model the clockwise ordering of triples of points in general position in the Euclidean plane. Axioms A CC system is required to satisfy the following axioms, for all distinct po…

Why does CC system matter?

Because it connects several mathematics 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 CC system?

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 CC system.

Tags

  • Computational geometry
  • Euclidean plane geometry
  • Oriented matroids

Keep exploring