Intersection properties of finite disk collections
Abstract.
In this work we study the intersection properties of a finite disk system in the euclidean space. We accomplish this by utilizing subsets of spheres with varying dimensions and analyze specific points within them, referred to as poles. Additionally, we introduce two applications: estimating the common scale factor for the radii that makes the re-scaled disks intersects in a single point, this is the Čech scale, and constructing the minimal Axis-Aligned Bounding Box (AABB) that encloses the intersection of all disks in the system.
1. Introduction
One of the new techniques developed for the analysis of large clusters of information, known as Big Data, is Topological Data Analysis (TDA). In TDA, simplicial complexes associated with the data are constructed. These structures include the Vietoris-Rips complex, the Čech complex, and the piecewise linear lower star complex, among others. Of special interest to us is the generalized Čech complex structure. Although the standard Čech complex is formed by intersecting a collection of disks with a fixed radius, the generalized version allows varying radii. This flexibility enables us to highlight specific data points by assigning or weighting them with larger and/or more rapidly expanding balls to them, while de-emphasizing others by using smaller and/or slower growing balls. This approach proves valuable for handling noisy data sets, offering an alternative to discarding data that may not meet a specific significance threshold [1].
Understanding the patterns of intersections and the timing of intersections among a set of disks in , each with potentially different radii, is a fundamental problem. This leads to the exploration of the generalized Čech complex structure, which captures the intersection information of these disks, regardless of their radii. Rescaling the radii by the same factor, we obtain a filtered generalized Čech complex, where the associated simplicial complexes evolve as the scale parameter varies. In particular, in [4], algorithms are provided to calculate the generalized Čech complex in , and [3] presents an algorithm to determine the Čech scale for a collection of disks in the plane.
To establish the necessary foundation for our study, Section 2 introduces crucial concepts and notation that will be used throughout the article and we focus on analyzing the intersection of a disk system in . We start by investigating the intersection of two disks in Subsection 2.1 and then expand our analysis to a system of disks in Subsection 2.2. By applying Helly’s Theorem, we prove that it is sufficient to examine the intersection of all subsystems consisting of disks in order to determine if the system has a nonempty intersection.
In Section 3, we define Vietoris-Rips systems and Čech systems, together with presenting results regarding the Rips scale and the Čech scale, as well as their connections. In Subsection 3.1, we present an algorithm that can determine whether the intersection of the system is empty or non-empty. This is achieved by exclusively computing the poles of subsystems of disks (or spheres). Finally, in Subsection 3.2, we introduce the algorithm that computes an approximation to the Čech scale using the numerical bisection method.
Additionally, in Section 4 we incorporate the concept of an minimal axis-aligned bounding box (AABB) into our methodology. An AABB is a rectangular parallelepiped whose faces are perpendicular to the basis vectors. These bounding boxes frequently arise in spatial subdivision problems, such as ray tracing [5] and collision detection [2]. In this paper, we study AABBs to enclose the intersection of a finite collection of disks. This approach proves valuable for discerning whether the collection intersects at a singular point or not. In this section, we also provide an algorithm for constructing the AABB of a disk system.
2. Intersection properties of sphere systems
Throughout this work, we will refer to a -disk system , or simply a disk system, as a finite collection of closed disks in with positive and not necessarily equal radii, i.e.,
Moreover, in order to study the intersection properties of a disk system with the approach addressed in Sections 4 and 3 of this work, we will conduct a study in this section of the intersection properties of the spheres corresponding to the boundaries of each disk in , which we call a sphere system and denote by ,
where denotes the topological boundary operator.
Following the notation in [6], we introduce the following generalization of the sphere.
Definition 1.
An -sphere in is the intersection of a sphere with an affine subspace of dimension .
Of course, the notions of a sphere (as a -dimensional surface) and a -sphere in agree. However, an -sphere in can also be viewed as the intersection of -spheres. For instance, the intersection of two spheres typically occurs in a hyperplane, forming a -sphere in . When another -sphere intersects this configuration, the result may be a -sphere, a -sphere, a -sphere (a single point), or it might even be empty, all within the same hyperplane. For a disk system composed of disks, where is a set in general position in , the maximum dimension of the affine subspace associated with the -sphere, obtained from the intersection of all the spheres in , is at most , or equivalently, . This conclusion is drawn from [6, Theorem 2.1] and the fact that the affine hull of is of dimension . Consequently, the following result is proven.
Lemma 2.
Let be disk system such that is a set in general position in . Then, the possibilities for the set are:
-
(1)
the empty set;
-
(2)
a single point;
-
(3)
a -sphere.
Remarkable points in -spheres that will play a key role in the rest of the article are the poles. Let be the canonical projection on the -th factor for , and let be the standard basis of .
Definition 3.
Let be the -th vector of the canonical base of . An -north (south) pole of an -sphere in is a point on whose projection on the -th coordinate is maximum (minimum). In other words, is the -north pole if for all , where represents the projection onto the -th coordinate.
We denote the -north pole of by and the -south pole by .
An -sphere can have a single -pole (north or south) or an infinite number of them, which occurs when a normal vector to the affine space containing the -sphere is aligned with the vector . We are interested in finding the -poles of -spheres originating from disk systems , by taking the intersection . Such -spheres will be denoted by , to emphasize the disk system , as well as its center and radius.
Lemma 4.
Let be a -disk system such that , and let be a point in such that (resp. ) for every in . Then, there exists an -sphere such that is in and is the -south pole (resp. -north pole) of .
Proof.
Since , then , due to the closedness of the sets , for , and .
On the other hand, since , there exist indices such that for any ; let be a maximal subset of indices such that if and only if . We claim that is the -south pole of .
In effect, let be an open neighborhood of sufficiently small such that:
-
(1)
Every has as maximal set of indices a proper subset of ,
-
(2)
.
The first condition can be guaranteed by the finiteness of the disk system , and the second condition is a consequence of the maximality of the set . Therefore, for every , which is equivalent to the fact that for every , in the case of -spheres.
∎
2.1. Sphere systems with two spheres
In the following two lemmas we provide the computations to determine the center, radius and poles for a -sphere given by the intersection of two disks in .
Lemma 5.
Let be a disk system with two -disks such that is a -sphere with center and radius . Then,
and
where .
Proof.
Let be the hyperplane containing the -sphere , which is defined by the equation:
(1) |
where and . Then the normal vector of the hyperplane is given by , and the center of is determined by the intersection point of the hyperplane with the perpendicular line that passes through the center of . This line can be parameterized as , such that and . We can compute the intersection point of and , for any , by substituting it in (1),
And solving for , we obtain that . Hence, the center of is given by:
Next, we will compute the radius of . This radius can be determined as the height of the triangle with base formed by the points , , and a point on . Thus, by the Heron’s formula we have that
where correspond to the semi-perimeter. ∎
We can proceed now to compute the poles of the -sphere .
Lemma 6.
Let and be two -disks such that is a -sphere with center and radius . Then, the -poles of are , where
Proof.
For simplicity, we translate the hyperplane , which contains the -sphere , as well as the sphere itself, to the origin; in such case, the corresponding equations are given by,
where and for . In the case that , the normal vector of the hyperplane is orthogonal to the basis vector . Therefore, the -poles of are , which agree with the formulae of the lemma.
On the other hand, suppose that . To find the -poles of , we will use the Lagrange multiplier method. Consider the following function:
(2) |
subject to the restriction:
Let be the Lagrange multiplier, we define
For any , consider the following system of equations:
Then
Solving this system of equations for , we obtain that,
Comparing the last expression for two indices , we have that,
Finally, for , we can use the last expression to substitute it in (2) and obtain the desired result. ∎
2.2. Sphere systems with more than two spheres
Now, let us proceed with the explicit calculation of the coefficients for the center of the -sphere . We can achieve this by considering the disk system translated to , denoted as , and by defining the -sphere . This sphere is positioned at the intersection of hyperplanes (for more details, refer to [6]).
(3) |
for all . Utilizing the information that the center of can be expressed as a combination of the centers and substituting it into (3), we obtain a linear system of equations with dimensions :
for . Solving the system of equations for , we find the center of as follows:
The radius of the sphere can be computed using the equation:
for any .
Now that we have determined the center and radius of , as well as the affine space that contains it, we can proceed to compute its -poles for each . These poles reside in the affine space that contains and within a set that we define below.
Let be an -sphere in , and let be orthogonal vectors to the affine space that contains . Consider the space generated by these vectors together with the vector from the canonical basis of . Let us denote for each . Then, we can define , the set translated to the origin, as follows:
The set is defined as:
Refer to Figure 1 for a visual representation of the subspaces and .

As mentioned above, the -poles of lie at the intersection of and , where is the center of . To simplify the calculations, we will utilize and , and then translate them into . The intersection of and can be expressed as follows:
Let us consider a disk system in , denoted , where . The intersection of their boundaries forms a -sphere . In this case, the subspace has dimension , or if . We choose the normal vectors for the affine space containing as , where . Then
By rewriting, we have
If is the -sphere with center in and radius , then the -poles of are the -poles of but translated by . The poles of are located in . If is an -pole of , then it can be expressed as
for some , and the following conditions holds:
for each and
Thus, if is an -pole of , the following equations are satisfied for :
(4) |
Let us denote as the matrix and as the vector . Then, we have , where . Solving for , we obtain for each (where denotes the entry of the vector ). By substituting the value of into (5), we obtain the quadratic equation:
Let us define
for all . Solving this equation, we find:
for . Therefore, the -poles of , for , are:
3. Vietoris-Rips and Čech systems
Our goal in this section is to provide a comprehensive understanding of the disk system, the Vietoris-Rips system, and the Čech system. Additionally, we introduce some results that establish a certain connection between both disk systems. Investigating the features and qualities of data and spaces can provide us with useful knowledge about their geometric and topological characteristics.
Before we look into the definitions of Vietoris-Rips and Čech systems, let us give a brief overview. These systems are essential in the field of topological data analysis for recognizing and comprehending the geometric structure of point cloud data. Vietoris-Rips complex and Čech complex share the goal of capturing the topology of the underlying metric space, both provide different ways of recognizing connections and associations among data points. The Vietoris-Rips complex tends to be more efficient and scalable for large datasets, while the Čech complex can be more accurate but computationally more expensive. The choice between the two depends on the nature of the dataset and the specific goals of the topological analysis. Now, let us move on to defining these fundamental concepts.
Definition 7.
Let be a -disk system. We say is a Vietoris-Rips system if for each pair . Furthermore, if the -disk system has the nonempty intersection property , then is called a Čech system.
For each , we define a collection of -disks with the same centers as those in the -disk system , but with radii rescaled by . When , is a -disk system again. is equal to , and is the set of the centers of the -disks in .
In the field of topological data analysis, the Rips scale and the Čech scale are essential parameters for determining the closeness and connectivity between data points. These two scales offer different perspectives on how we measure and comprehend geometric relationships within point-cloud data. To understand their importance in capturing the underlying topological structure, let us look at their definitions. The Vietoris-Rips scale , of a -disk system is the smallest such that is a Vietoris-Rips system. Similarly, the Čech scale , of is the smallest such that is a Čech system. This is
Next, we present some easily observable properties for both scales. It can be easily seen that is a Vietoris-Rips system if and only if (in particular ); similarly, is a Čech system if and only if .
Note that for a given -disk system the Vietoris-Rips scale is
where and are the center and radii of . An additional observation is that, in cases where the disk system consists of either one or two disks, the Vietoris-Rips scale coincides with the Čech scale. It is evident that every Čech system is also a Vietoris-Rips system; however, the reverse assertion, in general, is not true.
Conversely, if the -disk system contains at least three disks, determining the Čech scale becomes more complex. In the context of Čech scale, the following remark is important and play a key role in implementation (see [3] for details).
Remark 8.
If is the Čech scale for , then the -rescaled system , has only one point in the intersection .
As we have mentioned, a Čech system is also a Vietoris-Rips system, but the converse is not true. What we can affirm is that if a system is a Vietoris-Rips system, then the system rescaled by the factor is also a Čech system. This is established by the following lemma, the proof of which can be found in [3].
Lemma 9.
Let be a -disk system in euclidean space . If for every pair of disks in , then
One of the implications of the previous result is that, for any given disk system , we can bound the Čech scale using the Vietoris-Rips scale . This is stated by the following corollary.
Corollary 10.
If is an arbitrary -disk system and is its Vietoris-Rips scale, then its Čech scale satisfies . Therefore, for every -disk system , the rescaled disk system is always a Čech system. In particular, if then is a Čech system.
3.1. Algorithm for determining Čech system.
In the previous section, we have determined the -poles for the intersection of any number of disks in . If any of these poles is in all disks of the disk system, it indicates that the system conforms to the criteria of a Čech system. It is important to recognize that this result streamlines our calculation process, focusing on specific points to establish whether the system exhibits a non-empty intersection.
Given a system of disks in where , it is enough to verify if every subsystem of disks qualifies as a Čech system to conclude that the entire system of disks has a non-empty intersection. This assertion is supported by the Helly’s Theorem.
Now, we introduce an algorithm that determines whether a disk system qualifies as a Čech system. In simpler terms, if the disk system exhibits a non-empty intersection, the algorithm outputs ”TRUE”; otherwise, it outputs ”FALSE”. The algorithm operates by seeking poles within the intersections of the disk boundaries, which, as we have observed, correspond to -spheres. It initiates the search for poles within individual disks and then progresses to the pairwise intersections of the disk boundaries (), continuing the process iteratively. If a pole is found within the remaining disks, the system is classified as a Čech system.
Theorem 11.
Let be a -disk system. Then, is a Čech system if and only if Cech.system TRUE.
Proof.
If Cech.system TRUE, then the Cech.system algorithm (Algorithm 1) found a pole contained in the intersection , therefore and it follows that is a Čech system.
3.2. Algorithm to compute the Čech scale.
Finding the minimum parameter for which the rescaled system of disks has a non-empty intersection is significant because it helps identify a critical threshold at which the disks come into contact. This parameter, known as the Čech scale, provides valuable information about the proximity or overlap of the disks, which can be crucial in various applications such as collision detection in computer graphics, spatial packing problems, and modeling physical phenomena. In this section, we introduce an algorithm to compute an approximation of the Čech scale for a system of disks in .
The given code presents an algorithm to compute an approximation of the Čech scale of a disk system in Euclidean space using Algorithm 1 and a precision parameter . It initializes the scale factor to the Rips scale . If this scale satisfies Cech.system TRUE, it indicates that the Čech scale has been found. Otherwise, we initiate a cycle in which we compute Cech.system of the system rescaled by a factor . The Čech scale is known to fall between the Rips scale and the value (Generalized Vietoris-Rips, Corollary 10). To approximate the Čech scale, we employ the bisection method as long as the interval enclosing the Čech scale has a length greater than . Finally, the algorithm returns an approximation of the Čech scale.
Utilizing the previously described algorithm, we can construct the filtered generalized Čech complex for a disk system . Let denote the set of Čech subsystems, and the set of Čech subsystems for the rescaled disk system . The Čech filtration of the system forms a maximal chain of Čech complexes
where each represents the Čech scale of the system . Since the Čech scale of a disk system indicates the factor by which we must rescale the system to make it Čech, defining a level of the filtration, , simply requires determining the Čech scale of the system .
4. Minimal Axis-Aligned Bounding Box.
In this section, we introduce the concept of the minimal axis-aligned bounding box (AABB) for the intersection of -disks and present methods for its computation. The AABB provides a simplified representation of the disk intersection, making it easier to obtain valuable information about the disks. This information could be useful for computing the Čech scale of a disk system.
Definition 12.
Let be a disk system in . The minimal axis-aligned bounding box of , denoted as , is defined as the smallest axis-aligned bounding box that contains the intersection , given by
where ranges over all axis-aligned bounding boxes that contain .
Note that the AABB can be expressed as
where is the canonical projection onto the -th factor, and denotes the boundary of . In other words, the AABB of a disk system is given by the Cartesian product of intervals, where each interval is determined by the minimum and maximum values of the corresponding projection of the disk boundaries.
4.1. Minimal axis-aligned bounding box for two disks
Let’s consider the situation when the disk system is composed of two disks and in . If and , the subset can take one of three forms: an empty set, a single common point (when the disks are tangent), or a -dimensional sphere. In the last case, we denote the -dimensional sphere or the -sphere by . To calculate and for each , we can use:
(6) |
Indeed, by Lemma 4, the extremes of the AABB are the projections of certain poles, either from the -sphere or some -sphere. The -spheres represent the boundaries of each disk, with poles given by , and the -sphere is , whose poles are computed using Lemma 6. It is worth noting that there are no further options for -spheres in the case of a two-disk system.
To simplify the notation, we will use to denote the AABB of the intersection of disks and . Figure 2 illustrates the AABB of the intersection of two disks in the plane.

According to (6) and Lemma 5, we have a method to calculate the axis-aligned boundary box (AABB) for systems of two disks.
Knowing how to compute the AABB of two disks is not sufficient to determine the AABB for a disk system with more than two disks in . In the following examples, we demonstrate that the AABB of a disk system is not simply the intersection of all AABBs of two disks in .
Example 13.
Let
be a Vietoris-Rips system in with the following projection onto the -plane:

By computing the boxes for all , we obtain:
Therefore, . However, the disk system intersects at the point , which means . In other words, is not equal to .
We know that if , then . However, the converse is not always true. The following example illustrates this fact.
Example 14.
Let be a Vietoris-Rips system. The projection of disks and onto the -plane is illustrated in Figure 4.

We will now compute the intersections for different pairs of disks:
The intersection of all pairwise intersections, , is given by . However, the intersection of disks and is a single point , which is not contained in (by construction). Therefore, is an empty set, but is not.
These examples clearly illustrate that when dealing with the AABB of three disks or more, knowing the AABB for pairs of disks is insufficient. In Example 13, we observe that the intersection of is not equal to the AABB of the disk system . Similarly, in Example 14, we find that the intersection of three disks is empty, yet the intersection of contains points.
Therefore, the next crucial step is to determine how to calculate the AABB of a disk system consisting of more than two disks in .
4.2. Minimal axis-aligned bounding box for more than two disks
Given a system consisting of disks in , we can compute the -poles for any subcollection of disks. Using these -poles, we can determine the axis-aligned bounding box (AABB) of .
If , we calculate the -poles of the -sphere , and with these poles, we define the AABB of by taking , where is the -south pole of the -sphere (similarly for ).
In the case where , we consider as a collection of minimal axis-aligned boxes for the disk system in . If the intersection of any of these sets is nonempty, then the intersection of the entire collection gives us the minimal axis-aligned box of the disk system . This can be expressed as . The next theorem confirms this finding.
Theorem 15 (Helly’s theorem for minimal axis-aligned boxes).
Let be a Rips system with disks in . Then, the minimal axis-aligned bounding box for the intersection set satisfies:
where .
Proof.
We know that . Now, our objective is to establish the reverse inclusion, that is, . In order to derive a contradiction, suppose that the reverse inclusion is not true. By definition, we have:
and
Without loss of generality, let’s assume that:
where satisfies .
Let be the point in such that for each . Note that because is not in . Now, let be the line segment that connects and .
Choose small enough such that the hyperplane does not contain any , and for all (such hyperplane exists because for all ). Since is in , the hyperplane intersects every disk in for each , and intersects at a point that is in (see Figure 5). Furthermore, is a -dimensional disk. Therefore, we have a collection of disks, each of dimension , such that every subset of consisting of disks has the non-empty intersection property. By Helly’s Theorem, the intersection of all -disks in is not empty. Therefore, there exists a point with . However, this contradicts the fact that is such that .
Therefore, we conclude that .

∎
Lemma 16.
Let be a Vietoris-Rips system of disks in . If and for each , then consists only of intervals of the form with (inverted intervals).
Proof.
Suppose that contains an interval. Without loss of generality, let’s assume it is the interval
for some where . By definition of , we have for all and for all . Now, consider a hyperplane with . The hyperplane intersects for every (since cuts through all the boxes ). We also know that is a -dimensional disk for each .
Therefore, we have a collection of disks in a dimensional space, and by Helly’s Theorem, this collection must have a non-empty intersection. This implies that , which contradicts our assumption that is empty. Hence, all intervals in must be inverted intervals of the form with . ∎
As an example, we provide the lower bounds of the AABB for a system of three disks in , this is, we compute for each (analogous ) with . Let be a Rips system in , then, for each , the computation of the AABB for the disk system is given by:
where (*) denotes the case where with such that
The preceding calculations are a result of Lemma 4. It is known that the extremes of the AABB lie in the projections of specific poles, either from a -sphere, -sphere, or the -sphere.
Given a disk system in , we can compute the minimal axis-aligned bounding box (AABB) for the intersection of all disks in . If the AABB is a point, then it represents the intersection of the disks. This property allows us to identify when the AABB is a point. If the AABB of is not a point, we can rescale by a scale factor such that the AABB of becomes a point. The value of is referred to as the Čech scale of the system .
4.3. Minimal axis-aligned bounding box Algorithm.
Now, we present an algorithm to calculate the minimal axis-aligned bounding box (AABB) of a system of disks in . As previously explained, the AABB’s extremes are defined by projecting the poles of specific -spheres. Thus, in computing the AABB, we will determine the poles for each -sphere within the disk system.
The algorithm starts by initializing the set of poles, , as an empty set. In each iteration of the first loop, we determine the spheres formed by the intersection of the boundaries of the disk subcollections in the system (for this, we require the center and radius, which are computed in Subsection 2.2). Next, we identify the poles of each sphere and if any of them are present in all the disks of , we add them to the set . If is not empty, we proceed to calculate the extremes for each dimension of the AABB using the set of north poles for the upper bounds and the set of south poles for the lower bounds. In this case, the output is the product of the intervals defined by the computed extremes. If is empty, it indicates that there is no intersection in the disk system.
5. Acknowledgements
C.G.E.P acknowledges CONACYT for the financial support provided through a National Fellowship (CVU-638165).
References
- [1] G. Bell, A. Lawson, J. Martin, J. Rudzinski, and C. Smyth, Weighted persistent homology, Involve, a Journal of Mathematics, 12 (2019), pp. 823–837.
- [2] P. Cai, Y. Cai, I. Chandrasekaran, and J. Zheng, Collision detection using axis aligned bounding boxes, Simulation, Serious Games and Their Applications, (2013), pp. 1–14.
- [3] J. F. Espinoza, R. Hernández-Amador, H. A. Hernández-Hernández, and B. Ramonetti-Valencia, A numerical approach for the filtered generalized čech complex, Algorithms, 13 (2019), p. 11.
- [4] N. K. Le, P. Martins, L. Decreusefond, and A. Vergne, Construction of the generalized cech complex, 2015.
- [5] J. Mahovsky and B. Wyvill, Fast ray-axis aligned bounding box overlap tests with plucker coordinates, Journal of Graphics Tools, 9 (2004), pp. 35–46.
- [6] D. S. Maioli, C. Lavor, and D. S. Gonçalves, A note on computing the intersection of spheres in , The ANZIAM Journal, 59 (2017), p. 271–279.