Definitionadvanced
Pythagorean hodograph curve
Also called PH curve.
A polynomial curve whose speed is a polynomial, x'^2 + y'^2 = s^2, so its arc length is a polynomial and its offsets are rational, after Farouki and Sakkalis.
A Pythagorean hodograph (PH) curve is a polynomial plane curve whose derivative, the hodograph, satisfies for a polynomial . So the speed is a polynomial in , not the square root of one. As a result the arc length of a PH curve is a polynomial, its unit tangent and normal are rational, and its offset curves are exactly rational, which makes PH curves useful for tool paths and for motion at constant speed. Farouki and Sakkalis introduced them in 1990 and showed that all of them come from two polynomials by , , up to a common factor.
Definition
A polynomial curve with is a Pythagorean hodograph curve if there is with
Then . This page uses the left unit normal , which is turned by when , and the signed curvature , positive where the curve turns toward . The mean curvature of surfaces does not appear on this page.
The characterization
Theorem (Farouki and Sakkalis 1990, from Kubota 1972). Let . Then if and only if there are with and
So is a PH curve if and only if and for such , and then .
Proof. "If": , and multiply by .
"Only if". If , then ; take , , . Otherwise let in (see polynomial GCD), and write , with . Then , so divides , and since is a unique factorization domain, divides . Write , so that .
Work in , also a unique factorization domain, and put and . Then .
- and are coprime. A common factor of and divides and . Since in , there are with , so divides and is a unit.
- is a constant times a square. Each linear factor of has even multiplicity. Since and are coprime, each such factor divides only one of them, with its full even multiplicity. So with and .
- Take a complex square root. Write with , and let be the real and imaginary parts of . Then , so and .
A common factor of and in would divide and , so . Finally , so , and because has no zero divisors. Multiply by .
No exchange of and is needed: the complex square root absorbs the rotation that an exchange would give. In complex form the theorem says that the hodograph of a PH curve is with (Farouki 2008, Chapter 19).
Degree. If and , then has degree , which is odd. The PH cubics come from linear , and the PH quintics from quadratic . A quintic has enough free parameters to match end points and end tangents, which is the PH quintic Hermite interpolation problem.
What the property gives
- Polynomial arc length. The arc length from to is . If has no sign change on , this is , a polynomial in of degree . When , , so is a polynomial on every interval. Then the inverse problem of arc length parametrization, finding with , is the root of a monotone polynomial, which a parametric CNC interpolator solves in real time by a few Newton steps.
- Rational normal and offsets. Where , is rational, so the offset is a rational curve for every distance . If has degree , the numerator has degree at most and the denominator degree . For a general polynomial curve the offset is not rational (see offset curve).
- Rational curvature. With and , and , so , and
- Bézier form of PH cubics. A cubic Bézier curve with control polygon legs is a PH curve if and only if and the angle between and equals the angle between and (Farouki and Sakkalis 1990).
Examples and non-examples
The PH cubic
, give with ; its exact offset and its cusps are on the offset curve page. Its arc length from to is . On its Bézier control points are , , , , with legs , , of lengths , , . So , and both angles are .
A PH quintic
Take , that is and , with . Then
- The arc length from to is .
- , so , and the curve has no inflection.
- At , , and , so , and the offset point at distance is , exactly.
Non-example: the parabola
has . This polynomial has the simple complex roots , and a square of a polynomial has only roots of even multiplicity, so it is not a square. The arc length is not a polynomial value, and the offsets of the parabola are not rational.
Degenerate cases
- Lines. Every polynomial parametrization of a line is a PH curve: , has . In the theorem, and is a constant.
- Cusps. If has a real root in the interval, then there and the curve can have a cusp. There changes sign, the arc length is only piecewise polynomial, and the normal flips. Designs usually take .
Related definitions
- Spatial PH curves. Polynomial space curves with . They are described by a quaternion polynomial with , the analogue of in the plane (Farouki 2008, Chapter 22), related to unit quaternion rotation.
- PH quintic Hermite interpolation. The construction of a planar PH quintic with given end points and end derivatives; see PH quintic Hermite interpolation.
- Offset curve. The curve at constant normal distance; see offset curve and curve offsetting.
- Rational curves. The exact offset of a PH curve is a rational Bézier curve on each interval where .
References
- Rida T. Farouki and Takis Sakkalis, Pythagorean hodographs, IBM Journal of Research and Development 34(5), 1990, pp. 736 to 752 (the definition, the characterization x' = w(u^2 - v^2), y' = 2wuv, polynomial arc length, rational offsets, and the Bézier form of PH cubics)
- K. K. Kubota, Pythagorean triples in unique factorization domains, American Mathematical Monthly 79(5), 1972, pp. 503 to 505 (the form of all solutions of a^2 + b^2 = c^2 in a unique factorization domain)
- Rida T. Farouki, Pythagorean-Hodograph Curves, Algebra and Geometry Inseparable, Springer, 2008, Chapter 17, Pythagorean-hodograph curves; Chapter 19, Complex representation; Chapter 22, Quaternion representation (spatial PH curves)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag PW764Q Edit this page History Report an error Markdown