PH Curves Farouki
PH Curves Farouki
PH Curves Farouki
with respect to
the parameter t is given by
s
tangent (r(«),
are t= dr/ds and K d0/ds, where 6 is the angle that t makesand
=
wit curvatture
direction. However, this "natural parameterization of a
in general.admit closed-form plane
pl. curve doe fixed
expression in terms of elementary functiono
algebraic geometer's notion of an "ideal" parameterization is rather
In algebraic
geometry, curves that can be parameterized in terms of di6e
.e.. rational functions enjoy special distinction. Since "simlple"
can be evaluated any
through a finite sequence of arithmetic operations function that
(see Chap. 3) such is rational
functions' are, in fact, the most general that
evaluate eractly (modulo round off error-see Chap. 12). computers can
For
computer descriptions of geometrical loci, a
perspectives (i.e., curves parameterized by rational reconciliation of these two
would be extremely useful. A trivial functions of the arc length
example is the straight line
(s) to + As
=
y(s) ,
Y0 + uS =
a(s) =
r " (s) + y2(s) (16.2)
cannot be
identically equal to unity, since the
a 1on constant
polynomial of degree
argument of the square root
however, that the case 2(n 1) > 2 in s. It is not so odvIO
-
Trigonometric, exponential, e in
prograiming languages logarithmic, and other "ibrary"
functio fu
approrimations of thos nctios
are
actually rational
16.1 In Search of an Elusi ve Jdeal 371
X(s) Yx)
r(s) W(:) u) (16.3)
W()
ed by polynomialk als W(s), X(s), Y(») with ged(W, X, Y) Constant (since
detin would cancel thcir comuon factors). We aHS1 the curve degrer
otherwise
max(deg(W), deg(A ), deg(Y)) > I s0 ns t excude straight lines
satistics
rentiating
(16.3) we see that, for the speed (16.2) to he identically e1al
nifferen
to 1, the polynomials U= WX' - W'X, V =WY' - W'Y, W mst satisty
U +V2= w. (16.4)
olv U,
U, V,
V, W must
W2 m u s t comprise a Pylhagorcan triple of polynomials. As with
Clearly
les of integers (see Chap. 2), such an equation has only
the Pythagorean triples
tions: we cannot freely choose two of the three polynomials and
pecial" soluti
spe
expect to find a polynomnial solution for the third. Specifically, any polynomial
lution to 16.4) must have the form [292):
for three
if the curve is not a straight line.
a and b cannot both be constants
To define a "unit speed" curve, with arc-length parameterization,
w e must
Crs (16.7)
the denominator,
er
Zk are the distinct (real and complex) roots of
wie 1. . .
,
ters the right in
The integrals of the
on
length
372 16 A
ineur
Iranseelental (i.e., logarithlnie hmic or are
-1
while
enpesios
thos with
|199)
s
Thus if the
inlegral ol (16.7)
I8 to be rational
nngent)
we ust. Inve
lor r 1,...,k.
0
C
i(16.7) are calloet.
of the inverse iiear
terms
thhe residh
Theoefficionts C, 1
p(?)/4(t) at
ils poles 2, (sec h3.5).
funetion
of the rational the ucJinale integral of uln.
The esidues also arise in conputing
"caleulus of resiclies" |235 we ku (t) over
from the that
the entire real line
p )dt - 27i C1
q) Im(z,)>0 (16.8)
-deg{P) 22 (so the integrarnel
when qt) has no real roots and deg(g)
(16.8) is taken over all ti deca
suficiently rapidly
as ||o). The sum im poles
plane.
in the upper half of the complex
of p(t)/q(t) polynomials a(t), b{t) we can
ways choose
Now for two relatively prime
both zero, so that
numbers A and u, not
ail
positive value tor
but this is clearly impossible, since the integrand has a
WX'-W'X,
I,
gd( lvnomials WX
nd
WY"- W'Y, iWZ'- w'z, W mst furti
h e l o u
WN'-W'N = u+ --
wY'- WY = 2(uq + vp)
WZ' - W'Z = 2(vg- up).
w2 = u+ + +
We assurme
Pythagorean quartuples of polynomials. see 22.1).
ou
(tor polynomials are relatively prime, since if
these
that
W'Y, WZ' -
W'Z. W) # constant
defined
each ot them by fnote that a curve uniquely
is
simply divide under such
by its hodograph, which remains unchanged
dulo translations) since
that (u(t), v{t)) £ (0,0) and (p(t),g(t)) # (0.0)
Ve also assume
division. Wea
and the curve
components y, z vanish identically
hodograph
herwise the
other
to the r-axis.
straight line parallel
to a
degenerates rational functions of the
existence of curves in ° parameterized by
The transtormed into the problem of finding
four polynomials
arc length is then of the integrals
such that all three
ult), vt), p(t),
g(t)
P(t) +v'(t)-P0)_F dt =
r(s) -
ro
Ls) t)+(t)+p*(0) +g*0)
2[u(tg(t) +v(t)p(t)] dt = y(s) - Jo
yS) 2(t)+v2t) +p?(t) +#(t)
2[v(t)g(t) - u(t)pU)dt = :(s) - 0 (16.9)
s) t)+v(0)+P0) +¢0)
exist. with
are rational. Suppose that such polynomials
deg(q))> 1
m = max (deg(u), deg(v), deg(p),
straight line). Now
integrals would be
a
the defined by these
(oTherwise curve
the polynomials
choose three numbers A, p, v such that
We can
always
Ar(t) + vp{t)
-
ug(t)
Au() up(0) + vg{t) bt) =
at) = +
- *- ) 1 ) Avl,() Aul-(s)
+ -
+ }(a+ +u
must also be rational, and hence the residues at its poles must vanish. Rvs.
residue theorem, this implies that
the
ctoo
a(t) +b() dt=0,
u-(t) + v2(t) +p2(t)+g?(t)
a contradiction, since the integrand is positive for all t. Hence, the supposition
that polynomials u(t), v(t), p(t), q(t) can be found to make all three of the
integrals (16.9) rational is false, and we conclude that no curve in R3 (except
a straight line) can be parameterized by rational functions of its arc length.
curve
ectifications.
re ct Left: the a r c length of the logarithmie spiral
Early the a r c length
6.1. to the length PQ on the tangent line. Right:
Fi < 0is equal dianeter of the rolling circle.
(16.11) equals four times the
(16.10h ooff tthe cycloid
one
arch
of
parameterization
with the trigonometric
a ndd the cycloid,
y(0) a(1 cos 0). (16.11)
(0)= a(4 sin6),
=
-
rectified the
Torricelli (1608-1647), a student of Galileo,
Evangelista
Tn 1645 of exhaustion" [56]: he
spiral (16.10) by the Archimedean "method
logarithmic
S 0, the a r c length equals the length of the
tangent
showed that, for - o <
defined by 6 =
0 extended to the point Q =
(0, -a/k)
at the point
P =
(a, 0) result
where it meets
the y-axis namely, a V1+ k-2 (see Fig. 16.1). This
executes a n infinite number
remarkable, since the logarithmic spiral
was quite
before (asymptotically) reaching it!
of gyrations about the origin
is dropped into a hole drilled through
Galileo (207] obserrved that, if a body
execute linear simple harmonic motion
across
the center of the Earth, it will
Torricelli and Newton had
the Earth diameter under the influence of gravity.
due to the earth's rotation
conjectured that, if the initial tangential velocity
into account, the path will be a logarithmic spiral
[21,466-assuming
istaken
the earth's mass exerts gravitational attraction but does not otherwise impede
the motion. This conjecture was argued by Robert
wrong: the correct path, as
Hooke, is an ellipse. The locus (16.10) is also known as the equi-angular spiral,
Since its tangent makes a fixed angle c o t k with the radius vector.
Personne de Roberval
Another curve w a s subsequently rectified by Gilles
602-1675) and Christopher Wren (1632-1723) namely, the cycloicd traced
straight
a fixed point o n a circle of radius a that rolls without slipping
on a
Fig. 16.2. The cubic (16.12) for various k values, with arc length givo t
r(t) =
2, y(t) = kts
also known as the "semicubical parabola" (see Fig. 16.2). Its are
(16.12)
measured from t ==0, is an algebraic function of the parameter: length
(9k242+4)3/2 8
s(t) = -
27k2 (16.13)
Ironically, van Heuraet a n associate of Huygens published his results in
an appendix to van Schooten's 1659 Latin version of Descartes, Geometri
Renato Des Cartes. Neil's results also appeared in 1659, in the Tractatus duo.
prior de cycloide, posterior de cissoide published by John Wallis, and Fermat's
work followed in 1660 in De linearum curvarum cum lineis rectis comparatione
dissertatio geometrica- an appendix to a treatise by de Lalouvère (this was
the only publication by Fermat to appear during his lifetime).
Christiaan Huygens (1629-1695), in his Horologium oscillatorium of 1673.
gave a historical account 254) of these rectifications that provoked arguments
over the priority he attributed to van Heuraet and Wren for their discoveries
see Chap. 8 of [242|. This dispute reflects the philosophical importance of the
problem of rectification, which had been considered impossible through long
tradition that originated with Aristotle, was reinforced in the 11th century by'
Ibn Rushd (Averroes), and culminated in Descartes' assertion quoted above.
Huygens' theory of evolutes and involutes, used in the design of his isochronous
pendulum clock (see 8.3.3), offered profound new insights into this age
problem. The cubic (16.12) was recognized as the evolute of a parabold,
the cycloid (8.44) has an identical (displaced) cycloid as its evolute.
All these results preceded the formal development of calculus. Athough
by
the theory of integration resolved the existential issue of curve arc Ieug
defining itfor a (sufficiently smooth) parametric curve («(t),9{t))
(16.14)
st) = V r ( 7 ) +yP(7) dr,
6.3
act
remained Polynomial P'arametric
w
kWaduction,theeven
eosed tormi reducti
that this
for eurves integral
with
loes not, in
Specd 377
patameter1zation. As
general, adnit
"simple" (polynomial
new field of
stomary in theo diflerential
theoretical argumets to gometry rational) or
t However, assune matured, it
as that. l,ie., the beCame
demonstrated in Gl6.1, s
raight lines)
this
is
arc
length or
with
funetions.
16.3
Polynomial
Parametric Speed
Athough it
itis
is impossible for
the
polynomial or
rational
lines) t o make
integra
curves
(16.14) identically equal in
(other than straight
can nevertheless be achieved for to unity,
polynomial eurves bysignificant
a
i m p r o v e m e
the perfect
nd will then be just square of
the polynomial.
polynomial- rather than the square Sinceofa a
higher.
the
is characteristic property of
nce hodograph components r' (t), "' (t)Pythagorean-hodograph (PH) curves.
satisty the Pythagorean equation
(0) + () *(0) =
This is clearly true of PH curves, since they have the property that s is inucd
a
t. Curves for which s is a more general algebraic function
polynomial in t
were investigated in |385]. Although algebraic functions cannot, in general, ho
specified by simple closed-form expressions, it was shown in |385] that (16.141
is algebraic for a polynomial curve r(t) = (T{t), y{t)) if and only if there exists
a polynomial h(t) such that
s(t) =
2h(t) + constant.
to
Note that PH curves are subsumed as the special instance corresponding
2
h(t) =
u(r)+(7)dr|
In fact, the cuspidal cubic (16.12) studied by Fermat, Neil, and van Helrat
with
is the sinmplest (non PH) case of such an algebraically-rectifiable curvt
f other polynon
they are exptxpressible
in terms ofot
f(0) and g(t) in the form
s()-29(0)Vr).
details on
on the nature of the
For
further solutions to (16.15), and example of
raically-rectifiable
ulgebrai quartics quinties, see
and
|385
I =(()-1)? dr (16.17)
as a measure of "closeness" to arc-length parameterization (for which I = 0).
the value of a that minimizes (16.17) can be found [151] as the unique root of
a quadratic equation on (0, 1)-see also [263. Figure 16.3 shows the result of
applying this method to a quadratic Bézier curve (i.e., a parabola segment).
With the original parameterization, the parametric speed varies by a factor of
2 below and above the desired unit speed, o =1. For the optimal rational
parameterization, on the other hand, a remains within 20% of unity over
the entire curve. In general, however, this "optimal parameterization" scheme
ofers rather limited scope for improvement, since fixing the curve degree n
allows only one degree of freedom for the optimization process.
Another approach [154], based on the polynomial are-length function s(t)
0 PH curves, employs the Legendre series to compute a convergent sequence
o(constrained) polynomial approximations t(s),t2(s).... to the inverse of
this function [154|, such that
lim te(s(1)) = 1 for te [0,1],
ko0
380 16 Arc length Parameterization
2.5
2.0
optimurn
tational
1.5
1.0
***'
polynomial
parametenization
....... . . . . .
*****
*
*
*****
*
0.5
polynomial
optimum rational
parametenization 0.0
0.0 0.2 0.4 0.6
0.8
Fig. 16.3. Left: the parameter flow along a quadratic Bezier curve generata
ated by the
original polynomial parameterization and optimal rational parameterizatic
same degree, minimizing (16.17). Right: comparison of parametric speed vo the
translatedto start as
vector of a particle is s0
If the velocity vectors trace out the
center of jorce, then the heads of the
from the considerable antiquity in the history of
a locus of
narticle 's hodograph,
mechanics.
H. Goldstein, Classical Mechanics [213
(0)4(0)= a(0)
for some polynonmial a(1). This property 1s chievecl by invokino . (17A
he following
characterization for Pythagorean tripes ol poly1nomials.
conditi0n
Theorem 17.1 7hc Pythagorra1n
a()+b(0)=*(0)
c(1) if and only if they
(17:2
is satisfied by polynomials a(/), b(1),v(1), w(0) in the form be crprCs
can
if a(t). b(t), c(t) are a Pythagorean triple satisfying (17.2). Re-writing this as
Pt) = (0) - ä*(t) = [(t) +ä(t)][E0) - (t)],
since the
we note that (t) +a(t) and t) at) c a n have no c o m m o n roots,
-
Hence.
existence of such roots would imply c o m m o n roots of at), b(t), (t).
a(t), of eren
every root of b(t) must be a root of either (t) + a(t) or c(t) -
alt) =
u"(1) - "(0), b(0)= 2u(t)u(t), (t) =
u*() + v°().
and multiplying through by w(t) yields the stated form (17.3).
Pythagorean
in
curve r{1)(r(1), y(1)) is lfind by substitnting
three
rhus.
olanar PH
a planar
(174)
) = tu() -v*(1)]w(0). '(1)2n(1)n(!)m(1)
with
otevrating. There
generality in iclentifying r'(t) and /(1)
18 i o loSS of
to
as notei in ,2.2. alternatives
and
b(t), resjpectively. in Theorem 17.1
a(t)and to sati«fy the conveTe
t h e p
als u(t) and v(1) can always be obtained
o l y n o m i a l s
i.e.. ged(u
be absorbed in w(t). We must also discount certain choices
(t) and v(t) c a n
v(t) that yield "degenerate" PH curves
for w(t). u(t),
lif se(t) = 0 or u(t) =
v{t) =
0, the resulting hodograph r(t) =y/(t) = 0
(d)non-uniformly
if w(t) # 0 and one of u(t) and v(t) is zero.
Henceforth we shall consider only cases where w(t), u(t), v{t) are all non-zero.
the PH
Remark 17.2 If A =
deg(w(t)) and =max(deg(u(t). deg(r(t)).
A-+24-1.
curveobtained by integrating the hodograph (17.4) of degree
is n =
only \ coetticients
Dat most u +1 coefficients. If A deg(w(t)) assume its leadinng coeticient
we =
satisfying uov -u1Uo #0 and (u1 -u0)+(1-vo) # 0, so that u(t), v{t) are
relatively prime and not both constants, into (17.4) to obtain the hodograph
Integrating this hodograph using (11.7) then yields a PH cubic with Bézier
control points of the form
Pot(u-v,2u02uoto)
P2 P1 +; (uoU1-UoU1,uoV1 + u1Uo)
3
desire shape
free
we
apability, we must appeal to quintic PH curves.
true inflectional cap.
If
H curves,
define quintic PH we choose quadratic polynomials
)
u(t)= uo bo + u1 bi(t) + uabg(t), »(t) = vob(t) + vy b ) + vab)
Po + (u6 2u0to),
,
pi
p2 P1 +(u0u1-V0t1,u0U1 +u1to)
p3 P2 + 2 Vi,2u1v1) + Uo2 - vot2,uov2 +u2vo)
1
P4 P3 t u1u2 v1V2, U1 V2 +u2v1) ,
1
PsP4 +(u-v,
5
2u2v2), (17.6)
where po is again arbitrary. In this case, the condition for u(t) and v(t) to be
relatively prime may be phrased as
o(t) |r'(t)| =
Va'2(t) +y2() =
u*(t) + v(t).
(17.9)
=
1) may
k=0 k=0
n-1
a(t) = o b ( t ) , (17.10)
k=0
m m
Ok
min(m,k)
G - k-j+UjUk-j),
(n -1 (4
k =
0,..., n-1.
j=max(0,k-m)
k
For the PH cubics, for example, o(t) is quadratic and has Bernstein coefticiens
(0) a(T) dr
dhe intcgration rule (1.7) lor the Bernstein basis functions. This gives
) a- (17.13)
where k-1
S0=0 and S
j k=1,...,n.
Ta coupute the arc length of any PH curve segment t e [a, b] we need only
b. The
take the difference s(b)-s(a) ofthe polynomial (17.13) evaluated at a,
for t.. Consider, for example, the task of uniform rendering of a parametric
curve. Typically, r(t) is rendered by evaluating at parameter values t o .
..N.
correspondingto a uniform parameter increment At =t-tk-1, k 1,..
However, this yields an uneven spacing (by arc length) of the points r(tk) on
=
the curve, since the parametric speed o (t) is not, in general, constant.
Although the parametric speed of a PH curve is also non-constant, the
simple form (17.13) of s(t) allows us to easily compensate for its variation.
Let to,..., ty be the parameter values of the points uniformly spaced by an
arc-length increment As = S/N, so that
As
= tk-1 o(tk-)
Curves
388 17 Pythagorean hodograjph
As= constant
M = constant
eeoeoeoed
Fig. 17.1. Uniform increments in PH curve parameter (left) and arc
arc llength (right).
K = 2 UU-u'v
(2 v2, 2uv) n =
(2uv,v u) (17.16)
g2
while
**
The fact that the unit normal n(t) is a rational vector functio u r v e s
The
ianal curvature uncton i8 another advantage of PH curves over
rational
ordinaryn o
polynomial
l y o m i a l cu
curves, Slnce ntegrals of powers of the curvature: with
a the arc length ds = o dt, defined by
respect to
nalyzed in 325.3, with |k| substituted for *, defining the total ahsolute
analyzed
is
ofI
tangent rotatio
rotation - this requires a subdivision of the parameter domain [0. 1]
t values
that entify inflection points of the PH curve.
at the
Finally, the integral h is the bending energy of the curve i.e., the strain
roy stored in a thin, initially straight, elastic beam that is bent into the
shape o fthe
t curve (see $l4.2). Chapter 26 addresses the evaluation of I2 for
DH CUrves in detail. Note that evaluation of the integrals (17.17) by means of
nartial fraction decomposition requires a factorization of the parametric speed
polynomial. Since, by construction, o(t) has no real roots, this factorization
ipvolves only terms that correspond to complex-conjugate root pairs (which
into real quadratic factors).
may be combined
P =
(Wk, Xk, Ye) (1,Tk.yk),
= k =
0,.. n.
The offset at distance d from the PH curve r(t) is defined by (17.18), where
1Ormal to r(t) is given by (17.16). The offset can be expressed as
(X(1) Y(t) N
ralt)=w' WO)
Curves
390 17 Pythagorean hodograph
1, whos
polynomials of degree 2n -1, whOse coefficient
where W(0), X(0), Y() are
O= (1V, Xa,Y).
k= 0,.. , 2n 1
min(n-1,k)
Ok (o,Pk-j+dnAP;), k =
0,. . , 2n-1
2n
J=max(0,k-n)
k )
Thus, for PH cubics, the control points of the rational quintic offsets
are
Oo = ooPo + 3d AP,
3aoP1 +
3d (34P +24P)],
O1 =
2a, Po +
O2 =[o2Po + 6a,Pi + 3doP2 + 3d(34P6 +64Pi +AP)].
10
O
O 302P2 +201P3 +3d (24P +34P;)],
Os = o2Ps +3d AP
For PH quintics, the rational offsets are of degree 9 with control points
Oo = OoPo + 5d AP% ,
O=
OP's + 5d AP
Fig, 17.2. Left: Bézier control polygons for degree 9 interior and exterior offsets to a
PH quintic (note that each control point has a different weight). Right: the rational
offsets are exact for every d- even when they develop cusps and self-intersections.
ig.17.3. Control polygons for ofsets at two different distances d from P'tHquint ie:
a
a5 d increases, the offset control points move uniformly along certain straiglt lines.
18
Tschirnhausen's Cubic
Tschirnhaus
18.1 Ehrenfried Walther von
endship with Leibniz and maintained regular correspondence with him after
eaving Paris to visit Italy, where he became engaged in studying the use of
nrrors to achieve very high temperatures by focusing sunlight. Iu this context,
Fig. 18.1. Left: portrait of Ehrenfried Walther von Tschirnhaus (1651-1708) frr
a small engraving. (Elke Estel, Kupferstich-Kabinett, Staatliche
Kunstsammlunger
Dresden). Right: example of a mirror used by Tschirnhaus to achieve
temperatures
up to 1500 C by focusing sunlight (Jürgen Karpinski, Mathematisch-Physikalisther
Salon. Staatliche Kunstsammlungen Dresden). Reproduced with permission.
of
1683. Elimination ofthe t -
M a y1 6 8 3 ,
torm from a given degree n polyrnomial
n t ) = ao + + an-1" +a,1" - 0 is cnsily accomplished by the
equa ariables t = T - dn- 1/nan. This was nlrealy kuown to Descartes,
change o f
Tschirnhaus sou ought to remove successive lower order terms.
consider
cubic equatious of the form
He
qt +T, (18.1)
hich the quadratic term has been removed, and he sought to elininate
from wh
term. He achieved this by a transformation t T Cquivalent to
linear
the
t=
2ga 3r +3ar (18.2)
-3a2 - 3T
3 q a - 9ra + q = 0. (18.3)
T =
(272-4q)(2q2-9ra) (18.4)
27q2
studies of the
possible for the quintic equation. Nevertheless, subsequent
Jerrard "reduced" o r
the Bing
C byy Hermite, Klein, and others often use
normal" form,
t+at + b = 0,
traustorinatios.
e d from general quintic by means of Tschirnhaus
a
reflection of parallel r a y s by
a
the
he of reflection by
case
16 72 108y+81r =0.
398 18 Tschirnhausen's Cubic
Fig. 18.3. Completions of the envelopes in Fig. 18.2 defining caustics for refloc
by a circle and a parabola tion
left: an epicycloid, and riglht: Tschirnhausen'scuhi
r()= ) = 3(-1)
4 (18.5)
This curve can be found (in slightly different variants) listed in most catalos
of special plane curves [300, 308] as Tschirnhausen's cubici -although it is
also known as l'Hôpital's cubic and the trisectrir of Catalan. The Marquis de
THôpital (1661-1704) discussed it in his book Analyse des infinime
pour l'intelligence des lignes courbes of 1696, commonly regarded as the first
text on the calculus (see Chap. 8), and the Belgian mathematician Eugène
Catalan (1814-1894) showed that it can be used to trisect angles.
To understand the latter use, we need to introduce pedal curves. Given a
smooth curve C and a fixed point o, the pedal curve C of C with respect to o
is the locus of points where perpendiculars drawn from o to the tangent lines
of C meet those tangents. Conversely, given C' and p, one may ask- which
curve C has C' as its pedal curve with respect to o? We call C the negative
pedal of C" with respect to o, and we can construct C as follows. Through
each point p e C', we draw a line orthogonal to the line from o to p: these
lines are the tangents to C, and we can recover C as their envelope.
Tschirnhausen's cubic can also be interpreted as the negative pedal of a
parabola with respect to its focusi.e., if f is the focus and we construet lines
through each point p of the parabola that are orthogonal to the lines between
f and p, the envelope of this family of lines is
precisely the Tschirnhaus cuDIc
Figure 18.4 illustrates this for the parabola y2 = r, with focus f = (i.0)
The trisectrix property of Tschirnhausen's cubie arises from its negative
pedal relation to the parabola (with respect to the focus), as illustrateu
Fig. 18.5. To verify this property, it is convenient to use the polar form
r(0) = secs(}0)
tan(0) -V3t.
r(0)sin 0 and setting =
in r =-r(0) cos 6, y =
Lo
P3
Po
= = -
= = -
Lo =
1ApPol =(u +),
3
L =
|4pl=V(u+)(u? +u?),
La |Apal
= =
(ui +vi),
and they clearly satisfy the condition Li LzLo. Again using expresSIo =
(17.5), the sines and cosines of the angles 61, 02 are defined by
18.3 Unique Pytlhagorean hodograph Cubic 101
(Api X
Apo) z
sin= LLo Vu ) ( + v)
(Apz x Ap1)
sin 2
Lal V( )u+v)
c o s 61 = Api ApPo
LLo V(u +(uf ") +
Ap2 APi
cos 62 L2Li
since their
sines and cOSInes are identical, we clearly have 02 =
01
d
Lo(1,0), AP1 =
VL2Lo(-cos6, sin 0), Ap2 =
L2(cos 20,-sin 20)
Apo
=0 k=0
P2
P1
po
Fig.
1 8 , 7 . The conditions (18.6) for a cubic Bézier curve to possess a P'ythagorean
Odograph are equivalent tosimilarity ofthe two triangles ApopiPa and Apip:Pa
402 18 Tschirnhausen's Cubic
One can casily verify that the Bézier control polygon constraints (10
are equivalent [355] to the requirement that the triangles with the co
poimts Po, Pi, P2 and p1, P2, P3 as vertices are similar see
18.7. Fig.
an alternative characterization of the PH cubics, see [340. For
Lemma 18.1 PH cubics defined by the control points (17.5) erhibit a crUnod
(self-intersection) corresponding to the distinct parameter values de
(u6
-
t =
(uo U1) + (vo =- U 1 )
to have a common root 7 for some value of t (the division by 7 eliminates the
solution r = 0). Now the condition for the two polynomials p(t, T) and q(t, 7)
to have a common root r is that their resultant with respect to T,
a"t)"(t) rt) 0
0 "()r"(t) r(t)|
r(t)=
") u'(t) (t) 0
0
) "0) V'|
Expanding the determinant reveals that, by a cancellation of leading terin
o), where
r(t) is quadratic in t. We can write it as r(t) = k (czt2 + 2c1t +
k =
(u0V1-u1vo)
c2= [(u1 - uo) + (v1 - vu)*1,
c1= |(u - uo) + (v1 - vo)] [ugu1 + voU - u - vg)
to (ut u -
bysupposition uo®i
liis is positive and r(t)-l1 o #0 and (u1- u
a d
+
$I7.2) has two
distinct, real roots.(v1-vo #0 (sece
Definition 18.1 The standard form of
ade
(real
a crunode (real self
intersection) plane cubic r(0)= (r(t). u{1)
a
parameter
corresponds to choice of coordinates witn
erization in which its conmponents and
a
are of the
form
r(t)= p(t -1). u(0) =
q(t-o)- 1).
(18.7)
The property r(tl) yEl) 0 of the standard form
=
=
de is situated at the
crunode origin, and corresponds to the two implies that the
+1. This fixes the position and parameter values
parameterization
fy the orientation by requiring r(t) to be of the curve, and we then
quadratic rather than cubic: this
means that the curve tangent is asymptotically
plane cubic in standard form has vertical as |t| *. A crunodal
three remaining
freedoms- the r andy
cCales p and q, and the parameter value a of the z-axis
intercept.
Theorem 18.2 In standard form, the
Pythagorean-hodograph cubics
instances of the Tschirnhaus cubic defined are all
by
z(t) =
p(t -1), u(t) =(-1). (18.8)
Proof From the hodograph '(t)
standard-form crunodal cubic (18.7),
=
2pt, y' t) =
q(3t2 -
2at - 1) of the
we obtain
(t) +/(t) =
#[9- 12at+(4 +4a2-6)12+ 4at+11
where f =
p/4. If this is to be the square of a
by comparing like terms we must have
quadratic o(t) q(at2 +bt +c). =
SInce it
changes only the sense in which the parameter t inereases along the
Vand for a PH cubic expressions (18.7) reduce to (18.8). a
Figure 18.8 shows Tschirnhausen's cubic in standard form, together with
e
Bézier control polvgons for several finite segments, which all
satisty the
c a l constraints (18.6). As a consequence of these conditions we note
, Unlike "ordinary" cubics, the PH cubies cannot intlect. By the variation
dim
shing property of the Bézier form (see §13.2), a convex control polygon
404 18 Tsehirnhausen's Cubic
Fig. 18.8. Left: Tschirnhausen's cubic (18.8), expressed in standard form. Rick.
The Bézier control polygons for various finite segments of Tschirnhausen's cubie
the control polygon for any segment satisfies the two geometrical constraints (18.6
implies a convex curve- i.e., the curvature cannot change sign. Evidently, the
freedoms available for designing PH cubic segments amount to just sealing
rotating, and translating different portions of the curve defined by (18.8) for
-<i<+oo. The elegant characterization (18.6) of PH cubics is mitigated
by their inadequate shape freecdoms for most practical design applications.
Pottmann [369) has noted that many of the properties of Tschirnhausen's
cubic (including its interpretation as the caustic for reflection of parallel rays
by a parabola) werediscussed by W. Wunderlich [474] in a study of curves of
constant slope in R$. If we "lift" Tschirnhausen's cubic to R3 by taking its
(polynomial) arc length function s(t) as the z component, the tangent to the
curve r(t) = (r(0), »(4), s(1)) makes the fixed angle T with the (r,y) plane.
While philosophers may argue over the ezistence of scientific facts or theories
outside the minds of their discoverers and contemplators, it is
incontrovertlD
that such facts and theories are ereated and interpreted by humans operating
under specific social, cultural, and economic circumstances see, for example.
the discussion of the "meaning" of Plimpton 322 in §2.1.
Nevertheless, the accepted norm in scientific writing is to describe proo
theories, discoveries, and inventions in the form of isolated and "imperso
narratives that make little or no reference to the notivations, and
influence S1s
circumstances that may have directly or indirectly contributed to the ge
of an idea or its subsequent interpretation by others. However, one ot the nost
rning t h e ident
n
direct relevance
difficult to discern the in the Manufacturing
commercial interests. The author resided
the Company's as to whether
it
which labored under persistent doubts
Research Department,
with the study of
with "manufacturing" research than
was more
preoccupied solace in the fact
But Manufacturing Research took
manufacturing processes. those of its sister departments:
seemed no less relevant than
that its activities Semiconductor
Sciences, Computer Science,
Mathematical Sciences, Physical enjoyed virtually free
etc. The members of all these departments
Technology, research interests.
of their individual
pursuit
rein in the w a s beset
c o m e to a n end.
After s o m e years, the Company
All good things c a m e under great
and the Research Division
with dire financial circumstances, to
existence. But it is not s o easy
to its relevance and justify its
prove
As part of the endeavor to revamp
pressure
alter a deeply-ingrained culture overnight.
Director w a s appointed. The
new
Research, a n e w Department
Manufacturing had little
environment and, lacking a PhD,
Director hailed from a "shop floor"
And it w a s my fate to
experience with (or tolerance for)
high-falutin' research.
Director.
seminars before the n e w
present one of the first weekly departmental curves
Pythagorean-hodograph
subject of this seminar was, of course,
The including the proof that
Tschirnhausen's
t
contained some theoretical results, discussion
connections, and some
s o m e historical
cuDic the unique PH cubic,
is
Although I w a s
confident of the seminar's
Oapplications to CNC machining.
received at a number
of conferences) I w a s approached
uccess (it had been well
he *really admired iny courage."
who quipped that
Wards by a colleague, surprise that I had not notice
enquired what this meant, he expressed
enI at m e througiout
the seminar.
the in which the Director had glared out of his seat,
at any moment, jump
he were about to lose control
Oh
dexclaim-You mean we pay you to do tinat:
Ancient
Mathematical Thought Jrom
Morris Kline's
mathematical sciences, for this purpose.
excellent r e s o u r c e
tTT
imes 281 is a n
T
406 18 Tschirnhausen's Culbic
meeting," at which the Vice President for Research would propound his
for the complete overhaul and restructuring of the Research Division, tovision
al
its activities with the HAL Corporation's business interests, and thus hel
o
extricate the Company from its pecuniary woes. On the day of the moment.
presentation, a great throng of the entire HAL Research
entous
Staff assembled wit
much anticipation and apprehension in the main lecture hall, to discover their
fate. True to the promise for sweeping reforms, the Vice President announced
that the current "traditional" departments-based on core disciplines such as
Mathematical Sciences, Physical Sciences, Computer Science, Semiconductor
Technology, etc. did not adequately serve the Company's business interests
He proposed, instead, a simplified, streamlined, and modernized departmental
structure, motivated by four "core business principles"- namely,
Department of Efficacy
Department of Responsivity
Department of Timeliness
Department of...
(I forget the fourth, but it was very much in the same vein as the others). By
way of elaboration, the Vice President explained that Efficacy was the science
of minimizing wasted energy or materials, optimizing all operations, reducing
manpower requirements, etc.; that Responsivity was the practice of sincerely
listening to one's customers, and acting on their feedback in the inmprovement
of existing products or the introduction of new product lines; that Timeliness
was the ability to reduce
product design and development cycles, in order
beat the Company's competitors to the marketplace, . . . etc., etc.
Needless to say, this New Vision of Rescarch spawned much
bewilderment
consternation. and incredulity among the assembled Research Staff, burdened
as they were by "traditional" training as mathematicians, computer scientists.
physicists, semiconductor technologists, etc. Nevertheless, it was greeted w
dutiful silence and concealed skepticism- in the prevailing
atmosphere o ind
HAL Corporation, there was an inverse relation between
speaking one s nvery
and one's future career prospects. For my own
part, I recall experiencing a
New Vision of Research nlike
unusual seusation as the
had experienced before. It was only later, on
unfolded, anything
1ow
introspection, that I realized n im
narrowly I had managed to
suppresS a powerful urge to jump up
to the Vice President of Research: "You mean we
and
pay you to do that
19
Complex Representation
The shortest path between two truths in the real domain passes through
the compler domnain.
Jacques Hadamard (1865-1963)
urce, though not directly concerned with the complex representation of plane
arves, is Schwerdtfeger's Geometry of Conpler Nummbers |397|
408 19 Complex Representation
define an ellipse and a hyperbola, respectively. See [480] for a wealth of furthor
ther
details on complex representations of plane curves and their properties.
For our purposes, the most interest ing aspect of such representations is the
ability to create new curves from any given curve by "distorting" the complex
plane in which it resides using a conformal map defined by an analytic function
of z (see §4.5 for the definition and basic properties of such maps). Our concern
here is more subtle than the direct deformation of planar curves by means of
conformal maps. Instead, we introduce a mapping of the hodograph plane-
the plane in which the derivative r'(t) of a
parametric curve r(t) resides. By
this scheme, we establish a one-to-one correspondence between the sets of
regular PH curves and of regular "ordinary" polynomial curves, which offers
a framework for
comparing and contrasting their properties.
Consider a polynomial curve in the complex plane specified in Bézier form
n
r()
P)(1-1k*, te[o,1].
k=0
(19.1)
w(t) =
w:
k=0
(1 1 1 , te
[0,1]. (19.2)
w i t h
trol points given by
c o n t r
Wk=1Apk =
7 (Pk+1 -
Pk), k=0,.. . , n
The forward
differences Apk = Pk41 - Pk define the lirecteel "legs" of the
or clarity, we regard curves and their hodogr
control polygon. For graphs as residing
O Separate complex planes, z = t + i y and w = u + i , respectively.
O r g i n , we must have
v"(0) + i2u()e(0)
w(1) =
w (1) = u"() -
is of Pythagorean form with u ancl
the transfored hodograph, which
modulo a translation, a unique
Clatively prime. Integrating w(t) then gives,
410 19 Complex Representation
2(t)-u()+i2 u(tyu(t),
into
wt) = /w{1) = + | u(1) + i v(t) ],
a hodograph that does not traverse the origi1. Integrating w(t) gives
(19.3)
translation, a unique regular poly11o1mial curve r(t) corresponding d u l ,
the sense of the paranetrie flow along r(1) is arbilrary, corresponding to
taking the comnplex square root.
Sign ambiguity on
Note that, in general, the iuverse map W*vw n (19.3) does rnot vicl
a
polynonmial hodograph when applied to a general polynomial hodourarn
fact, it will give a polynomial hodograph only when applied to a Putha
hodograph. Thus, regarding P and its inverse P a s mappings between sek
of polynomial curves, we have P(I1) = lI and P-i(17) = II.
We call a regular polynomial curve r(t) and a regular PH curve f(t) a pair
of corresponding curves if they are mapped into each other under the action
of P and P-. Such pairs can be expressed explicitly as
Remark 19.2 The correspondence between the curves (19.4) refers not oy
to their geometrical loci, but also to the variation of the parameter t along
those loci. Any polynomial curve r(t) may be re-parameterized by a hne
transformation t - a + bt (b 4 0) without altering its geometrical locs,1s
regularity, or its degree. However, if r(t) and f(t) are corresponding curves
re parameterizing the former does not simply yiekd a new parameterzat
of the latter as the corresponding PH curve. Fixing translational freecio
not
by always placing the point of zero parameter value at the origin, it
difficult to verify that the sequence of PH curves corresponding to all
f a
re- parameterizatios of a given curve r(t) are actually uniform scaltngs
unique curve r{1) by the factor b (see Fig. 19.1).
T9.2 (One to one Correspidenee
hiruhaus cubic (right) under the one to one correspondence of Proposition 19.1.
1under the map P consists of polynomial curves with mutually distinct loci
Lemma 19.1 7The deqrces n and n of corresponding cures r(t) tni r{t) ar
related by n = 2n - 1.
roof: Let u(t) and v(t) be two relatively prime polyuonmials, and lot n =
nax(deg(u), deg(v). Integrating the hodograph w(t) = u(t) + i v(t) then gives
412 19 Complex Representation
(t) == u easily
a curve . .
and 2uv= ú
in the w plane, with asymptotes u = tv and u = 0, v = 0. On the other hand.
the lines
grid u constant and v = constant of the w plane are
=
W W
9.3. The
Fig. 19.3. T1 map w w= w of the hodograph plane suares the lengt.hs of
locity vectors and doubles their inclination angles. Left: grid lines in thee w plane
abped to families of confocal parabolac in the w plane. Right: the pre images
a i d lines in the w plane are families of rectangular hyperholae in the w plane
min(k,n-1)
Pk T w,Wk- (19.5)
Pk+1
2n-1 j=max(0,k-n+1) (2n-2
k
such that
for k 0, 1, . , 2n-2, where po is arbitrary and wo, ., Wn-1
= ..
the hodograph w(t) defined by (19.2) does not traverse the origin.
.. are
2n-2
where, making use of the product rule (11.20) for Bernstein-form polynomials
the coefficients wk are given in terms of Wo,..., Wn-1 by
min(k,n-1)
(n- 1)
W 2n
WWk-j k =
0,... .2n -
2.
j=max(0,k-n+1)
k
of Hodographs
19.3 Rotation Invariace
offers a e rotatio
simple proof for the rotaton variance
The complex representation
form
of the sufficient-and-necessary
'(t) = u(1) - v(t), /(t) = 2u(t)v(t), a(1) = u"(t) + u(
t)
for primitive planar Pythagorean hodographs r ( t ) = (r"(1), y ' ( t ) s t : . e
ült) = cos 0 u(t) - sin 0 v(t). (t) = sin 0 u(t) + cos 0 v(t). (19.8)
Using the complex representation r'(t) = w*(t) where w(t) = u(t) +iv(l), the
rotation yields f'(t) = exp(i0) w*(t) = Y(t) = w2(t), the real and imnaginary
parts of w(t) = exp(i50) w{t) = k(t) + iõ(t) being defined by (19.8).
In the first non-trivial instance, that of the PH cubics, expression (19.5) yelas
control points of the form
1
P1PotWo P2 P+WoW1, P3 =
P2 + Wi
(19.9)
3
=
=
U1+iv1, this a rii
ugU1 # u1 Voi.e., the line from wo
to w should not pass through t
19.5 Characterization of the PH 115
Quintics
complex forn offers a succinct expression of t.he suflicient and necessary
C o n d i
ns (18.6) characteriziig PH culbics by the control polygon geometry.
Writing aations (19.9) in ters of the control polygon legs as
2
3Apo Wo 3Api WoW 1
3Ap2w
2ay eliminate wo and wi to obtain thc single conmplex constraint
The PH quintics are of great practical interest, since they are the simplest PH
curves that may inflect, and match first-order Hermite data (see Chap. 25).
For regular curves, there is a unique correspondence between PH quintics and
ordinary cubics, so we may expect similar "shape flexibility" anmong these two
Sets of curves. The control points (19.5) for PH quintics are of the tor
Pi Po+ Wo
P P3 t WI W2,
P5 P t W2 (19.12)
he possilbility of such a derivation was first noted by Professor Wendelin Degen.
416 19 Complex Representation
w WoW
Apo Api 5
5
2w+wWoW2
Ap2 15
WIW2 W2
Ap3 5
Api = (19.15)
Apo # 0 and Ap4 # 0.
It is understood that, for a regular curve,
be defined
Proposition 19.3 Let the conlrol polygon legs of regular quintic
a
0,
3Apo4pi 4p2- (4po)-Ap; -2(4p1)"
=
0,
Ap 4psApz (AP)*Api- 2 (Ap:)"
=
3 -
0,
3 ApoAp,Ap2 Api4po4pi - 2(4pi)*Ap:
=
-
0,
3 ApAp, Ap2 Apo4p,4ps-2 (Ap:)"Api
=
-
0,
9 Apo(AP2)" -6 (Ap:)"Ap2-24poAp Aps- (4p»)"4pa
=
Concering
icieney of the stated conditions, wr nee to show that
the suflic
a (Apa)* = c* (Ap1)",
be 3 Ap2 -
ac -
2b] = 0.
a b c | 3 Ap2 - ac - 2b = 0,
abc 3 Ap2 a c - -
2b|= 0.
a 9(4pa)2 -
6b?Ap2 2 ab'c - -
a?c2] =
0.
2 [9 (Ap2)2 - 6b°Ap2 - 2 ab?c - atc°] = 0
2b a c
Ap2 Or (19.18)
3 3
but the second solution must be discardel, since if b # 0 it is inconsistent
with the first four equations. Thus, equations (19.16) and (19.17) inply that
4po , Api can be expressecd as
-
information
ac2 =
0, giving solutions simplify
ac
Ap2=
to expressions (19.18)
with b = 0. Hence we have
that correspond
which is also of the form (19.15), with (Wo, W1, wa) = V5 (ta, 0, tc).
symmetric with respect to the labelling of its legs. The quartic condition
Ap2 = +t 2b2+ac
3
of which only the positive sign choice yields a Pythagorean hodograph.
Regarding quintics as residing in a 12-dimensional space defined by their
19.14
control-point coordinates, the real and imaginary parts of equation
this
and of any one of the equations (19.17) define four cubic hypersurfaces p H
space, on whose intersectiona locus of apparent dimension eight-
ape freedoms).
quintics lie (1ot all these dimensions correspond to initinsic shape freeda