Magnetic Generalized Residue Designs

Year: 2025 Authors: Hooman Hamedani; Camelia Karimianpour; Sarvenaz Karimianpour

Core claim

Magnetic field visualizations of generalized residue designs can reveal subgroup and coset structure in (\mathbb{Z}_N).

Topics

modular multiplication, subgroup cosets, magnetic field visualization, string art

Domains

abstract algebra, number theory, finite groups, string art, generative design, scientific visualization

Methods

residue design construction, coset decomposition, wire-array modeling, quiver and contour plots

Media

strings, wires, magnetic field plots, supplementary videos

Paper text

The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.

Bridges 2025 Conference Proceedings

Magnetic Generalized Residue Designs

Hooman Hamedani, Camelia Karimianpour and Sarvenaz Karimianpour

University of Pennsilvania, Philadelphia, USA; hooman@upenn.edu University of Toronto, Toronto, Canada; camelia.karimian@utoronto.ca Independent Artist, Philadelphia, USA; sarvenaz.karimian@gmail.com

Abstract

In this article, we explore the multiplicative structure of the set of integers modulo via string design. Furthermore, we introduce novel visualizations of these structures using induced magnetic fields corresponding to string designs.

Introduction

String art has a long history as both an artistic medium and a tool for exploring mathematical concepts. One such concept is the structure of integers modulo . Let N > 0 be an integer. Consider a circle whose circumference is divided into equal arcs. We refer to the points that separate adjacent arcs as vertices. Label the vertices by . Fix a positive integer in . An residue design [2, 3] is obtained by drawing a straight edge between each vertex and its multiple , modulo . This construction — also known as modular multiplication table — is well-known due to the interesting designs it creates including the “cardioid” and more generally “the n-cusp epicycloid”.

We used the idea behind residue designs to give a visual exploration of multiplicative structure in via string art. We also introduce the technique of replacing strings with wires and explore the imagery generated by the induced magnetic field when current passes through wires. This idea initially was an attempt towards fully reflecting the multiplicative structure of by assigning weights on the strings. We achieved imposing a binary weight by controlling the direction of the current passing through the wires. The imagery resulting from visualizing the magnetic filed induced by the string designs is fascinating from visual point of view and, in some instance, informative about the underlying mathematics. One of our original motivations for this work was to explore the possibility of physical realizations of these fields using iron filings suspended above custom-built wire arrays. That goal is not fully realized yet and the current paper showcases the magnetic residue designs through modeling the magnetic field.

Generalized Residue Designs

In this section, we assume the reader is familiar with undergraduate abstract algebra and number theory at the level found in [1]. Let denote the group of multiplicatively invertible elements or units in . These are precisely those integers in co-prime to . Let’s pick in such that . This will guarantee that is a unit modulo and hence is in . There are elements in , where is the Euler’s totient function. Hence, there are possible to choose. Construct the following sequence

All the computations are modulo . This way each term corresponds to a vertex on the circle . We continue the process until we get . Connect the vertices labeled by consequent terms of the above sequence via a straight edge. The result will be a design to which we refer as a Generalized Residue Design (see Figure 1). Note that the order of is a divisor of the order of and hence finite. This guarantees that the sequence

Hamedani, Karimianpour, and Karimianpour

ends and we come back where we started. The terms in the sequence (1) comprise the subgroup generated by in . Hence the Generalized Residue Design depicts a subgroup in . If is cyclic and the order of is , then the sequence (1) will cover all the vertices in . By the Primitive Root Theorem, this can happen only if , or , for an odd prime and a positive integer . The significance of this special case becomes more apparent when one attempts to create the design with a string. If generates , the design can be generated with a single string that passes through all the vertices labelled with elements of . All the other vertices are zero divisors. Figure 1a shows this design for and with . Here is constructed by the red string. The green shows the sequence generated by the zero divisor 5.

img-0.jpeg (a) , and with .

img-1.jpeg

img-2.jpeg Figure 1: Generalized residue designs.

img-3.jpeg (b) , , , and .

img-4.jpeg

img-5.jpeg

A rather special case of cyclic is the design obtained when is a prime number and is a primitive root mod . In this case, our generalized residue design overlaps with the residue design discussed in [2, 3]. In general, once we have a generator for a cyclic group of order , we can find other generators. Indeed, also generates if and only if . Interestingly, the designs induced by different generators are different. That is, the residue design picks up information about the pair as opposed to just . For example, 5, 7 and 10 are all generators for generating different designs as showed in Figure 1b.

Even if generates a proper subgroup of , the designs are aesthetically rich, especially when in has a small index. That means is small, where is the order of . Let us further explore the case where generates a small index subgroup. Let’s think about and . The order of 5 in is 29. Note that and hence in has index 2. Figure 2a illustrates . The rest of the vertices not covered in are in the only other coset. We can generate a design that covers the other coset by picking any vertex , and construct the sequence

In our example, we can take , and generate a design via sequence (2). Figure 2b illustrates the coset . By Lagrange’s theorem, the cosets of partition . So superimposing them, we get a design that covers all the vertices as shown in Figure 2c. To generate this coset decomposition with strings, we will need two strings, one for each coset as shown in Figure 2d.

img-6.jpeg (a)

img-7.jpeg (b)

img-8.jpeg (c)

img-9.jpeg (d) Figure 2: Coset partition of in for and , (a) the subgroup , (b) the coset , (c) cosets partition (d) string art based on the coset partition.

The design in Figure 2c and 2d can also be obtained through the multiplication table (59, 5). However, that method does not reveal much about the number of cosets of in . Unless we use an external

548

Magnetic Generalized Residue Designs

identifier to keep track of the coset structure, the coset information flows in the process only and not in the final design. For instance, the identifier could be the color of the strings chosen in Figure 2. In the next section, we replace the strings with wires and use the direction of electric current passing through wires to identify the cosets.

Electromagnetic Field Analysis

The Biot-Savart Law, by Jean-Baptiste Biot and Félix Savart, quantitatively calculates the magnetic field that an electric current flowing through a wire generates at the position in the 3D space, linking the electric current’s geometry and magnitude to the magnetic field’s characteristics .

The Biot-Savart Law, crucial for deriving the magnetic field around a conductor with steady current , employs a line integral over the conductor’s path. Considering the differential element and its position relative to the observation point, this law integrates the contributions from each segment, using the magnetic constant , to relate electric current geometry to the magnetic field’s distribution, emphasizing the impact of current flow on field creation. To apply the Biot-Savart Law, we utilize line integration across the configurations of wires in our generalized residue design. This method involves integrating over the current-carrying wire segments to compute the magnetic field at various points in space by producing a 3D mesh around the wires. Through this method, we observe the electromagnetic patterns emerging from different residue design scenarios. Aesthetically speaking, this methods gives a novel way of visualizing multiplicative group . To showcase this, we generated the field induced by the design depicted in Figure 1b, where we generated with three different generators 5, 7, and 10. This is shown in Figure 3. Each row represents the quiver (left) and the contour (right) of the induced field at a distances from the design.

img-10.jpeg Figure 3: Quiver and contour induced by as generated by 5, 7, and 10 at two distances and .

We would like to explore whether this new visualization holds visual information connected to the patterns generated by the number of cosets inside . To explore, we simulated the magnetic field induced by the design obtained from in , and its coset partitioning of and plotted the quiver and contour of the field generated on a plane parallel to the planar design located at distance from it in Figure 4. The first column in quiver and contour shows in . We explored the effect of the direction of the current in identifying the different cosets. First, we tried to run a current with the same direction through both and (the second column in the quiver and contour in Figure 4), and then we switched the direction of the current between the two cosets (the third column in the quiver and contour in Figure 4). We were able to generate a variety of patterns as the distance from the design changes. Rows in Figure 4 correspond to a reasonably close distance and a farther distance . We noticed that when using the opposite direction for the current, the resulting pattern creates a duality that seems to be connected to the index of in .

Motivated by the promising patterns for , we decided to explore another design that admits three distinct cosets: cosets of in . To make the trivial coset, we generated the sequence (1) with . Then to generate the second coset, we chose to be the smallest label on the circle that is not in

Hamedani, Karimianpour, and Karimianpour

img-11.jpeg Figure 4: Quiver (left) and contour (right) induced by the design in at and .

, and generate sequence (2) with . Note that we are making a specific choice here that affects the design. We repeat the process by choosing the next value for to be the smallest label not covered in . A current is labeled with if it follows the direction of sequence (1) or (2), and if it is the opposite direction. We tried the following labeling of the cosets from left to right: , and . This is shown in Figure 5, the left most column is followed by the aforementioned labeling of the coset decomposition. Rows correspond to a reasonably close distance and a further distance . The index seems most apparent in labeling. To complement the static plots presented in this work, we include a series of supplementary videos that show the magnetic field evolving in a plane parallel to the wire configuration at increasing distances .

img-12.jpeg Figure 5: Quiver (left) and contour (right) induced by the design in at and .

Conclusion

The electromagnetic field analysis gives a novel method of visualizing the multiplicative structure of . In the examples we explored, the index of the subgroup generated by our choice of the generator seem to be visible in the pasterns. Beyond the mathematical significance, these visual construction carry a spatial rhythm, resembling the layered symmetry and curvature found in physical string art. Moreover, the construction offers a natural three dimensional extension of the designs via the magnetic fields they generate.

References

[1] Joseph A. Gallian. Contemporary abstract algebra, Ninth edition ed. Boston, MA: Cengage Learning. [2] P. Locke. Residue Designs. 1972. The Mathematics Teacher, vol. 65, no. 3, 1972, pp. 260-63. [3] D. Richeson. Residue Designs, String Art, and Number Theory, Bridges 2023 Conference Proceedings, Halifax, Nova Scotia, Aug. 9–13, 2023, pp. 365–368.

0 items under this folder.