Processing math: 100%

Monday, July 15, 2019

cardioid, deltoid, folium

The cardioid and the deltoid are two of my favorite curves. They arise in similar ways: one is an epicycloid, and the other is a hypocycloid. In a sense, each is the simplest non-trivial example of their respective type. They make excellent examples for calculus problems. But as I learned this week, they are actually the same curve.

This post is about the claim made in italics in the previous paragraph. Obviously I don’t mean that the classical constructions mentioned above (and described below) produce the same curves in the Euclidean plane. Rather, they are the same from the perspective of complex projective geometry. When I searched for this fact on Google after uncovering it for myself, I only found one mention of it, in a textbook from 1923 entitled An Introduction to Projective Geometry. I assume it was well-known at the time, and today is probably known to certain algebraic geometers, but it seems worth explicating for a larger audience.

First, the curves. Epicycloids and hypocycloids are both examples of roulettes, curves traced out by a point marked on one curve, which is free to move, as it rolls along another curve, which is fixed, without slipping. To generate an epicycloid or hypocycloid, both the fixed curve and the moving curve are circles; the difference is that for an epicycloid, the rolling circle is outside the fixed circle, and for a hypocycloid the rolling circle is on the inside. The shape of the epicycloid or hypocycloid is determined by the ratio of the circles’ radii. For an epicycloid, we can choose a 1:1 ratio, which means the marked point on the rolling circle makes contact with the fixed circle once as the outer circle completes a circuit. A hypocycloid cannot be constructed from circles whose radii have a 1:1 ratio, and a 2:1 ratio simply produces a line segment, so the simplest hypocycloid arises from a 3:1 ratio. The construction of these simplest examples is illustrated below. (These animations were created using a Desmos graph with the help of GIFsmos.) The first is called the cardioid (“heart-like”) and the second is the deltoid (“triangle-like”).

In both cases, the rolling circle is given a radius of 1, and in both cases the centers of the two circles remain at a distance of 2. By watching carefully, one can see that in both cases the marked point makes two revolutions around the center of the rolling circle. For the cardioid, these revolutions are counterclockwise, and so the cardioid can be parameterized by (2cosθ+cos2θ,2sinθ+sin2θ).

In the case of the deltoid, the marked point’s revolutions are made clockwise, and so the deltoid can be parameterized by (2cosθ+cos2θ,2sinθsin2θ).
These formulas are very similar, but certainly not the same, and the pictures they produce are quite different. So how can I claim that the curves are the same?

Our first step toward understanding the claim involves switching to complex numbers. If we collect the x- and y-coordinates of the plane R2 into a single complex coordinate, then the parameterizations above become

2eiθ+e2iθ and 2eiθ+e2iθ.
Now we want to extend to the complex plane C2 (note: I think of C as the complex line because it is one-dimensional as a complex vector space). A standard trick is to add a second coordinate that is conjugate to the first, which makes the parameterizations
(2eiθ+e2iθ,2eiθ+e2iθ) and (2eiθ+e2iθ,2eiθ+e2iθ).
Now let’s set t=eiθ and allow t to take on all complex values (except 0, but we’ll take care of that later) instead of just values on the unit circle. At the same time, let’s label the parameterizations γC and γD, with C standing for cardioid and D for deltoid. This gives us
γC(t)=(2t+t2,2t+1t2) and γD(t)=(2t+1t2,2t+t2).
We still can see superficial similarities in these formulas, but not enough to conclude that they define equivalent curves. In order to see their equivalence, we need to see what’s happening at infinity, which means introducing some projective geometry.

The complex projective line P1, also known as the Riemann sphere, is obtained by adding a single point, labeled , to the ordinary complex line C. The points of P1 may be thought of as the “slopes” of lines through the origin in C2. Indeed, it is often useful to assign coordinates to P1 using non-zero vectors (s,t) in C2, where two vectors correspond to the same point of P1 if they are scalar multiples of each other, (s,t)(λs,λt) if λC{0}. We write the equivalence class of (s,t) as [s:t]; these are called homogeneous coordinates on P1. We can recover P1 as C{} by sending [s:t] to the slope t/s if s0; then [0:1] is sent to .

In a similar way, we can extend C2 to the complex projective plane P2 by adding points at infinity, and the most convenient way to do so is by homogenous coordinates. We start with non-zero vectors (u,v,w) in C3 and consider (λu,λv,λw) to define the same point of P2 as (u,v,w) if λC{0}. Then [u:v:w] are homogeneous coordinates on P2. The points with u0 correspond to points of the original complex plane C2, by sending [u:v:w] to (v/u,w/u). The points with u=0 constitute the new line at infinity, which is just a copy of P1 with coordinates [0:v:w].

Now we can extend the cardioid and the deltoid to curves in P2, not just C2. We start with the parameterizations γC and γD, append an initial coordinate of 1, then clear denominators (we can do this because of the equivalence that defines homogeneous coordinates). Then we get

γC(t)=[t2:2t3+t4:2t+1] and γD(t)=[t2:2t3+1:2t+t4].
These allow for the possibility of t=0, but apparently leave out the point at infinity , so we make one more modification, replacing t with t/s and again clearing denominators to obtain
γC([s:t])=[s2t2:2st3+t4:2s3t+s4] and
γD([s:t])=[s2t2:2st3+s4:2s3t+t4].
Here we see a feature characteristic of maps from one projective space to another, when homogeneous coordinates are used: each component of the map must be homogeneous of the same degree (in this case, four). By expressing the parameterizations of the cardioid and the deltoid in this way, we see that both curves touch the line at infinity at the two points [0:1:0] and [0:0:1], corresponding to [0:1] and [1:0], respectively, for the cardioid, and in the reverse order for the deltoid. Still this isn’t enough to show that the curves are the same! We need one more ingredient.

A projective transformation of P1 or P2 is induced by a linear transformation of the homogeneous coordinates. Readers who are already familiar with the Riemann sphere will recognize projective transformations of P1 as Möbius transformations (also known as fractional linear transformations): given a,b,c,dC, we can convert [s:t][as+bt:cs+dt] to a Möbius transformation in the coordinate z=s/t, where it becomes zaz+bcz+d. The condition for this function to be invertible is adbc0, which is the same as the condition for the matrix [abcd] to be invertible. In the same way, projective transformations of P2 arise from invertible linear transformations of C2. Two objects in P1 or P2 are called projectively equivalent if there is a projective transformation that carries one to the other. And now we can state precisely what was meant in the opening paragraph:

The cardioid and the deltoid are projectively equivalent in P2.

But how do we find the projective equivalence? A clue may be found in one clear difference between the original curves drawn in the Euclidean plane, which niggled at me while I was trying to figure out their relationship. The deltoid clearly has three cusps, while the cardioid apparently only has one. If the curves are equivalent, where are the other cusps of the cardioid? The answer: on the line at infinity!

How can we tell? It’s time to apply some differential geometry and look at the tangent lines of these two curves. Returning to the parameterizations in terms of t, we find

γC(t)=(2+2t,2t22t3) and γD(t)=(22t3,2t2+2t).
Now a line in C2, with coordinates (v,w), passing through (a,b) in the direction (s,t) has the equation |svatwb|=0. Thus the tangent line to the cardioid at γC(t) has the equation |2+2tv(2t+t2)2t22t3w(2t+1t2)|=0
which, after some simplification, becomes wt33t23t+v=0.
This is the line equation of the cardioid. In a similar fashion, we can find the line equation of the deltoid, which is t3vt2+wt1=0.

Having the line equation of a curve, in terms of a parameter t, can be useful in several ways. As t varies over P1, it produces all the tangent lines of the curve. (We’ll clarify what happens when t= in a moment.) But we can also let (v,w) vary over C2 and find, for each point, which tangent lines of the curve pass through that point. Because the line equations of the cardioid and the deltoid are cubic polynomials in t, most points of C2 will lie on three tangent lines. Those points that lie on fewer than three tangent lines play a special role.

Let’s illustrate first with the deltoid. We’ll be looking at lots of cube roots, so let ω=ei2π/3; this means that ω3=1 and 1+ω+ω2=0. When (v,w)=(0,0), the line equation becomes t31=0, so the tangent lines of the deltoid that pass through the origin correspond to the parameters 1, ω, and ω2. Indeed, the three points γD(0)=(3,3), γD(ω)=(3ω,3ω2), and γD(ω2)=(3ω2,3ω) are the three cusps of the deltoid. On the other hand, a point that belongs to the deltoid lies on tangent lines corresponding to at most two parameters (two of the points of tangency have “coalesced”). For example, when (v,w)=(1,1), the line equation becomes t3+t2t1=0, or (t+1)2(t1)=0. At a cusp, all three tangent lines coincide: for example, when (v,w)=(3,3), the line equation is 3t33t2+3t3=3(t1)3=0. See the pictures below.

We can homogenize the line equation of the deltoid by replacing t with t/s and (v,w) with (v/u,w/u) and clearing denominators to obtain: ut3vst2+ws2tus3=0.

When [s:t]=[1:0] or [0:1] (remember, this second point in homogeneous coordinates corresponds to t=), we get the same equation of the tangent line, u=0. This is the equation of the line at infinity, so the line at infinity is tangent to the deltoid at both [0:0:1] and [0:1:0]! A line that is tangent to a curve at two points is called a bitangent.

The cardioid also has a bitangent, which is easier to see: when t=ω or t=ω2, respectively, the line equation of the cardioid becomes w3ω23ω+v=0 or w3ω3ω2+v=0, both of which are equivalent to v+w=3. The visible cusp occurs at (1,1), where the line equation becomes (t+1)3=0. For an example of more generic behavior, look at (3,3), where the line equation becomes 3t3+3t2+3t+3=0, or 3(t+1)(t+i)(ti)=0. See pictures below.

The homogeneous version of the cardioid’s line equation is wt33ust23us2t+vs3=0.

When [s:t]=[1:0], this becomes the w-axis v=0, and when [s:t]=[0:1], we get w=0. In each of these cases, we see that only one tangent line passes through the point, just as we saw for the cusps of the deltoid. So we have identified the three cusps of the cardioid—[1:1:1], [0:0:1], and [0:1:0]. The tangent lines through all three of these cusps pass through the origin in C2, with homogeneous coordinates [1:0:0].

We now have enough information to show the equivalence of the cardioid and the deltoid. To define a projective transformation from P1 to itself, we need to specify where three points go; to define a projective transformation from P2 to itself, we need to specify the images of four points, no three of which are collinear. We’ll show how to transform the line equation of the deltoid into the line equation of the cardioid via pullback.

We’re looking for projective transformations f:P1P1 and g:P2P2 such that γDf=gγC. Starting with f, we require

f([1:0])=[1:ω],   f([0:1])=[ω:1],   and   f([1:1])=[1:1],
so that the parameters of the cardioid’s cusps are sent to those of the deltoid’s cusps. This can be accomplished by defining f([s:t])=[sωt:ωst].
Meanwhile, g needs to satisfy
g([0:0:1])=[1:3ω:3ω2],  g([0:1:0])=[1:3ω2:3ω],
g([1:1:1])=[1:3:3],   and   g([1:0:0])=[1:0:0],
which is accomplished by g([u:v:w])=[3u+v+w:3ω2v+3ωw:3ωv+3ω2w].
Now substitute the components of f and g into the variables of the deltoid’s line equation, expand, and simplify. The result is the line equation of the cardioid. You can calculate this by hand, or just let SageMath do it for you:

One of the curves mentioned in the title of this post has been conspicuously absent so far: the folium of Descartes. This is another favorite curve of mine, invariably given in my calculus classes as an exercise in implicit differentiation. Its equation is x3+y3=xy.

So what’s the connection between this curve and the others? Well, if we extract the coefficients from the deltoid’s line equation and use them to define a new curve γF, we get γF([s:t])=[s3t3:st2:s2t],
which parameterizes v3+w3=uvw,
the homogeneous version of the folium’s equation. This means that the folium is dual to the deltoid (and thus also to the cardioid)! The tangent lines of the cardioid/deltoid have been converted into points of the folium, and likewise points of the cardioid/deltoid become tangent lines of the folium. Just as each point of C2 lies on three tangent lines of the cardioid/deltoid, counted with multiplicity, each line of C2 intersects the folium at three points, counted with multiplicity. The bitangent of the deltoid and cardioid has been converted into a point of self-intersection. If we look at points of the form [1:v:ˉv], then the threefold symmetry of the folium is revealed (the three asymptotic directions correspond to the three tangent lines that pass through the origin, which as we saw are the tangent lines at the cusps).

2 comments:

garyadolphson said...

Dear Joshua, you have certainly convinced me of the projective equivalence of the cardoid and the deltoid, who would have thought, brilliant work. Although I cannot comprehend much of the math, I can appreciate the logic. Thank you G.Adolphson.

Ufa88kh said...

Very helpful suggestions that help in the optimizing website.
I really like you post.Thanks for sharing.
wordpress
blogspot
youtube
Thai Boxing