High order parametric polynomial approximation of conic sections Ga - - PowerPoint PPT Presentation

high order parametric polynomial approximation of conic
SMART_READER_LITE
LIVE PREVIEW

High order parametric polynomial approximation of conic sections Ga - - PowerPoint PPT Presentation

High order parametric polynomial approximation of conic sections Ga sper Jakli c (joint work with J. Kozak, M. Krajnc, V. Vitrih and E. Zagar) FMF and IMFM, University of Ljubljana PINT, University of Primorska DWCAA09, Alba di


slide-1
SLIDE 1

High order parametric polynomial approximation of conic sections

Gaˇ sper Jakliˇ c (joint work with J. Kozak, M. Krajnc, V. Vitrih and E. ˇ Zagar)

FMF and IMFM, University of Ljubljana PINT, University of Primorska DWCAA09, Alba di Canazei

September 9th 2009 1 / 28

slide-2
SLIDE 2

Outline

1 Parametric approximation of implicit curves 2 Conic sections 3 Best solution 4 Examples 5 H¨

  • llig-Koch conjecture

6 Sphere approximation

2 / 28

slide-3
SLIDE 3

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle (blue dashed), quintic polynomial approximation given by Lyche and Mørken in 1995 (brown) and the new quintic approximant (red).

3 / 28

slide-4
SLIDE 4

Parametric approximation

  • Let

f (x, y) = 0, (x, y) ∈ D ⊂ R2, be a segment of a regular smooth planar curve f f f f f f f f f .

  • Suppose

r r r r r r r r r : I ⊂ R → R2 : t → xr(t) yr(t)

  • is a parametric approximation of the curve segment f

f f f f f f f f and f (xr(t), yr(t)) = ε(t), t ∈ [a, b].

4 / 28

slide-5
SLIDE 5
  • Consider the regular parameterization of r

r r r r r r r r with respect to the normal of f f f f f f f f f , i.e., every point (x, y) on a curve f defines a unique parameter t := t(x, y) on a curve r r r r r r r r r: f r r r r r r r r r (x, y) r r r r r r r r r(t)

  • This provides an upper bound on Hausdorff and

parametric distance.

5 / 28

slide-6
SLIDE 6

Theorem

If the curve r r r r r r r r r can be regularly reparameterized by the normal to f , and ε is small enough, the distance between curves is bounded by max

(x,y)∈D

|ε(t(x, y))|

  • f 2

x (x, y) + f 2 y (x, y)

+ O(ε (t (x, y))2).

6 / 28

slide-7
SLIDE 7

Conic sections

  • Only ellipse and hyperbola are interesting to consider (no

polynomial parameterization).

  • A particular conic section is given as

f (x, y) := x2 ± y 2 − 1 = 0.

  • The main problem: find two nonconstant polynomials xn

and yn of degree at most n, such that x2

n(t) ± y 2 n(t) = 1 + ε(t),

where ε is a polynomial of degree at most 2 n.

7 / 28

slide-8
SLIDE 8
  • Assume that at least one point is interpolated, i.e.,

ε(0) = 0. In order to get ε as small as possible, it is natural to choose ε(t) := t2n.

  • If also a tangent direction is prescribed at the

interpolation point, we have (xn(0), yn(0)) = (1, 0), (x′

n(0), y ′ n(0)) = (0, 1).

  • Thus

xn(t) = 1 +

n

  • ℓ=1

aℓ tℓ, yn(t) = t +

n

  • ℓ=2

bℓ tℓ, and

8 / 28

slide-9
SLIDE 9
  • x2

n(t) ± y 2 n(t) = 1 +

  • a2

n ± b2 n

  • t2n.
  • A reparameterization t →

2n

  • |a2

n ± b2 n| t gives

xn(t) := 1 +

n

  • ℓ=1

αℓ tℓ, yn(t) :=

n

  • ℓ=1

βℓ tℓ, β1 > 0, where x2

n(t) ± y 2 n(t) = 1 + sign(a2 n ± b2 n) t2n.

Many acceptable solutions exist.

9 / 28

slide-10
SLIDE 10

Table: The number of appropriate solutions in all three cases for n = 1, 2, . . . , 10.

n 1 2 3 4 5 6 7 8 9 10 elliptic 1 1 3 6 15 27 63 120 246 495

  • hyp. a2

n < b2 n

1 1 2 5 8 19 32 68 120

  • hyp. a2

n > b2 n

1 2 9 32 125

10 / 28

slide-11
SLIDE 11

Solutions

  • Solving the equation

x2

n(t) ± y 2 n(t) = 1 ± t2n

is equivalent to solving x2

n(t) ± y 2 n(t) = 1

in the factorial ring R[t]/t2n.

  • There are additional restrictions, classic algebraic tools

can not be applied.

11 / 28

slide-12
SLIDE 12

Idea

  • Rewrite

(xn(t) + i i i i i i i i i yn(t)) (xn(t) − i i i i i i i i i yn(t)) =

2n−1

  • k=0
  • t − ei

i i i i i i i i 2k+1

2n π

, where the right-hand side is the factorization of 1 + t2n

  • ver C.
  • Thus

xn(t) + i i i i i i i i i yn(t) = γ

n−1

  • k=0
  • t − ei

i i i i i i i i σk 2k+1

2n π

, γ ∈ C, |γ| = 1, where σk = ±1.

12 / 28

slide-13
SLIDE 13

Best solution

  • The best solution should have the minimum error term ε.
  • It turns out that this happens if

β1 = 1 sin π

2n

.

  • Surprisingly, any solution for the elliptic case, for which xn

is even and yn is odd, can be transformed to the hyperbolic solution by the map xn(t) → xn(i i i i i i i i i t), yn(t) → −i i i i i i i i i yn(i i i i i i i i i t).

  • In particular, this is true for the best solution too, thus it

is enough to consider the elliptic case only.

13 / 28

slide-14
SLIDE 14

Theorem

Coefficients of the best solution for the elliptic case are αk =     

k(n−k)

  • j=0

P(j, k, n − k) cos k2π 2n + π n j

  • ;

k is even, 0; k is odd, βk =      0; k is even,

k(n−k)

  • j=0

P(j, k, n − k) sin k2π 2n + π n j

  • ;

k is odd, where P(j, k, r) denotes the number of integer partitions of j ∈ N with ≤ k parts, all between 1 and r, where k, r ∈ N, and P(0, k, r) := 1.

14 / 28

slide-15
SLIDE 15

Examples

Table: Polynomial approximation of the unit circle and maximal normal (radial) error.

n xn and yn error 3

x3(t)=1−2t2 y3(t)=2t−t3

2 4

x4(t)=1+(−2− √ 2)t2+t4 y4(t)=(√ 2+ √ 2+√ 2− √ 2)(t−t3)

0.414213 5

x5(t)=1+(−3− √ 5)t2+(1+ √ 5)t4 y5(t)=(1+ √ 5)t+(−3− √ 5)t3+t5

0.089987 6

x6(t)=1−2(2+ √ 3)t2+2(2+ √ 3)t4−t6 y6(t)=( √ 2+ √ 6)t− √ 2(3+2 √ 3)t3+( √ 2+ √ 6)t5

0.013886 . . . . . . . . . 15 . . . 1.07280 · 10−15 It can be shown that the error is O(n−2n).

15 / 28

slide-16
SLIDE 16

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle.

16 / 28

slide-17
SLIDE 17

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 2.

17 / 28

slide-18
SLIDE 18

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 3.

18 / 28

slide-19
SLIDE 19

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 4.

19 / 28

slide-20
SLIDE 20

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 5.

20 / 28

slide-21
SLIDE 21

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 6.

21 / 28

slide-22
SLIDE 22

1.5 1.0 0.5 0.5 1.0 1.5 1.0 0.5 0.5 1.0 1.5

Figure: The unit circle and its polynomial approximant for n = 7.

22 / 28

slide-23
SLIDE 23

Approximants and curvatures

1.0 0.5 0.0 0.5 1.0 0.2 0.4 0.6 0.8 1.0

23 / 28

slide-24
SLIDE 24

Cycling

Figure: Unit circle together with the cycles of the approximant for n = 20 and t ∈ [−1, 1].

24 / 28

slide-25
SLIDE 25

  • llig-Koch conjecture

Conjecture

A polynomial planar parametric curve of degree n can interpolate 2n given points with an approximation order 2n.

Theorem

  • llig-Koch conjecture holds true for conic sections.

Idea of a proof:

  • asymptotic approach,
  • a particular nonlinear system has to be studied,
  • an existence of a solution guarantees the optimal

approximation order,

  • solution is obtained by canonical form and optimal

solutions for ellipse and hyperbola.

25 / 28

slide-26
SLIDE 26

Ellipse

0.5 1.0 1.5 0.8 0.6 0.4 0.2 0.5 0.5 1.0 0.8 0.6 0.4 0.2

Figure: Approximation of the ellipse 1

2x2 + xy + 5 3y2 + y = 0 with

the best approximant of degree n = 5, 7.

26 / 28

slide-27
SLIDE 27

Hyperbola

2 4 6 8 10 12 3 2 1 1 2 4 6 8 10 12 3 2 1 1

Figure: Approximation of the hyperbola 1

5x2 + xy + 1 8y2 + y = 0

with the best approximant of degree n = 3, 4.

27 / 28

slide-28
SLIDE 28

Sphere approximation

Particular polynomials of degree 5 in u and v yield:

x(u, v) = (1 + (−3 − √ 5)u2 + (1 + √ 5)u4)(1 + (−3 − √ 5)v2 + (1 + √ 5)v4) y(u, v) = ((1 + √ 5)u + (−3 − √ 5)u3 + u5)(1 + (−3 − √ 5)v2 + (1 + √ 5)v4) z(u, v) = (1 + √ 5)v + (−3 − √ 5)v3 + v5 28 / 28