We create rays in a square in the following way. Make a big square with a square grid inside. Now draw lines from the center of the big square to the intersection points of the square grid and your big square.
For such rays in a square we have stated that the resulting moiré pattern by superimposing a horizontally shifted second version are parabolas and horizontal lines and illustrated it in a GeoGebra animation: (.html). For the description of the lines there are two cases, the first for lines below and the second above.
The moiré pattern of two groups of concurrent lines is derived using the indicial equation method. The lines of the first group all intersect at the origin, while the second group is horizontally shifted by a distance .
Let’s consider the two groups of concurrent lines:
Here, and are integer indices. They change the height in the slope triangle by one unit each. As you can see in my GeoGebra simulation, and would typically be divided by a fixed number that I call there. However, for the derivation, it has no significance, and I leave it away for simplicity here.
The indicial equation, relating the parametrisation of the two line bundles is
where is an integer that indexes the resulting moiré pattern.
Step 1: Solve for the indices and from the line equations:
Step 2: Substitute these expressions into the indicial equation:
Step 3: Factor out and solve for the final equation:
To simplify the expression in the parentheses, find a common denominator, which is .
Substitute this simplified term back into the equation:
Now, isolate to get the final equation for the moiré pattern:
The final equation is a quadratic function, which is the standard form of a parabola. This confirms that the moiré pattern formed by superimposing our two groups of concurrent lines leads to a family of parabolas.
We begin with the two sets of concurrent lines:
The integers and now change the width in the slope triangle by one unit each. As you can see in my GeoGebra simulation (.html), and would typically divide a fixed number that I call there. For simplicity, we leave it out again.
Now, we substitute these expressions into the indicial equation :
Since the terms have a common denominator , we can simplify the expression:
Finally, we isolate to get the equation for the moiré pattern:
The final equation, , is the equation of a horizontal line. This confirms that with these starting conditions, the moiré pattern formed is a family of parallel lines.
Family of Lines under Square Inversion: (.pdf)
Some other derivations with the “Indicial Equation Method”: (.pdf)