compute roots of polynomial via clipping method

47
Compute Roots of Polynomial via Clipping Method Reporter: Lei Zhang Date: 2007/3/21

Upload: wiley

Post on 12-Feb-2016

36 views

Category:

Documents


0 download

DESCRIPTION

Compute Roots of Polynomial via Clipping Method. Reporter: Lei Zhang Date: 2007/3/21. Outline. History Review B é zier Clipping Quadratic Clipping Cubic Clipping Summary. Stuff. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Compute Roots of Polynomial via Clipping Method

Compute Roots of Polynomial via Clipping

Method

Reporter: Lei ZhangDate: 2007/3/21

Page 2: Compute Roots of Polynomial via Clipping Method

Outline

History Review Bézier Clipping Quadratic Clipping Cubic Clipping Summary

Page 3: Compute Roots of Polynomial via Clipping Method

Stuff

Nishita, T., T. W. Sederberg, and M. Kakimoto. Ray tracing trimmed rational surface patches. Siggraph, 1990, 337-345.

Nishita, T., and T. W. Sederberg. Curve intersection using Bézier clipping. CAD, 1990, 22.9, 538-549.

Michael Barton, and Bert Juttler. Computing roots of polynomials by quadratic clipping. CAGD, in press.

Lei Zhang, Ligang Liu, Bert Juttler, and Guojin Wang. Computing roots of polynomials by cubic clipping. To be submitted.

Page 4: Compute Roots of Polynomial via Clipping Method

History Review

Quadratic Equation

2 0ax bx c

祖冲之 (429~500)、祖日桓花拉子米 (780~850)

Page 5: Compute Roots of Polynomial via Clipping Method

Cubic Equation (Cardan formula)3 2 0x ax bx c

Tartaglia (1499~1557)

Cardano (1501~1576)

Page 6: Compute Roots of Polynomial via Clipping Method

Quartic Equation (Ferrari formula)4 3 2 0x ax bx cx d

Ferrari (1522~1565)

Page 7: Compute Roots of Polynomial via Clipping Method

Equation 5n

Lagrange (1736~1813)

Abel (1802~1829)

Galois (1811~1832)

Page 8: Compute Roots of Polynomial via Clipping Method

Bezier Clipping

Nishita, T., and T. W. Sederberg. Curve intersection using Bézier clipping. CAD, 1990, 22.9, 538-549.

Convex hull of control points of Bézier curve

Page 9: Compute Roots of Polynomial via Clipping Method

Find the root of polynomial on the interval 0 0[ , ] ( )p t

Page 10: Compute Roots of Polynomial via Clipping Method

Polynomial in Bézier form( )p t

Page 11: Compute Roots of Polynomial via Clipping Method

Convex hull construction

Page 12: Compute Roots of Polynomial via Clipping Method

Convex hull construction

Page 13: Compute Roots of Polynomial via Clipping Method

The new interval 1 1[ , ]

Page 14: Compute Roots of Polynomial via Clipping Method

Algorithm

Page 15: Compute Roots of Polynomial via Clipping Method

Convergence Rate

Single root: 2Double root, etc: 1

Page 16: Compute Roots of Polynomial via Clipping Method

Quadratic Clipping

Michael Barton, and Bert Juttler. Computing roots of polynomials by quadratic clipping. CAGD, in press.

Degree reduction of Bézier curve

Page 17: Compute Roots of Polynomial via Clipping Method
Page 18: Compute Roots of Polynomial via Clipping Method
Page 19: Compute Roots of Polynomial via Clipping Method
Page 20: Compute Roots of Polynomial via Clipping Method
Page 21: Compute Roots of Polynomial via Clipping Method
Page 22: Compute Roots of Polynomial via Clipping Method
Page 23: Compute Roots of Polynomial via Clipping Method
Page 24: Compute Roots of Polynomial via Clipping Method
Page 25: Compute Roots of Polynomial via Clipping Method

The best quadratic approximant (n+1) dimensional linear space of polynomials

of degree n on [0, 1] Bernstein-Bezier basis : inner product:

is given, find quadratic polynomial such that is minimal

n

0

( )nn

i iB t

0( ) ( )n n

i iip t b B t

2L

1

0( ), ( ) ( ) ( )f t g t f t g t dt

p q2

p q

Page 26: Compute Roots of Polynomial via Clipping Method

Degree reduction Dual basis to the BB basis

Subspace , ,

0

( )nn

i iD t

0( )

nni iB t

2 22

0( )i i

B t

22

0( )i i

D t

22 2

0

( ) ( ), ( ) ( )j jj

q t p t D t B t

1 2

00

( ) ( )n

ni i j

i

b B t D t dt

22 2

0 0

( ) ( ), ( ) ( )n

ni i j j

j i

q t b B t D t B t

,2,ni j

( ), ( )n ni j ijB t D t

Bert Juttler. The dual basis functions of the Bernstein polynomials. Advanced in Comoputational Mathematics. 1998, 8, 345-352.

Page 27: Compute Roots of Polynomial via Clipping Method

Degree reduction matrix n=5, k=2

Page 28: Compute Roots of Polynomial via Clipping Method

Error bound Raising best quadratic function to degree n

Bound estimation

q

0

( ) ( )n

ni i

i

q t c B t

0...max i ii n

b c

0

0

( ) ( ) ( )

( )

nn

i i ii

nni

i

p t q t b c B t

B t

Page 29: Compute Roots of Polynomial via Clipping Method

Bound Strip

( ) ( )M t q t

( ) ( )m t q t

Page 30: Compute Roots of Polynomial via Clipping Method

Algorithm Convergence Rate

Quadratic clipping 3 1Bezier clipping 2 1 1

Single root Double root Triple root

32

Page 31: Compute Roots of Polynomial via Clipping Method

Proof of Convergence Rate

3

1 For any given polynomial , there exists a constant

depending solely on , such that for all interval [ , ] [01] the

bound generated in line 3 of quadclip satisfies , where

.

p

p

p C

p

C h

h

Lemma

Page 32: Compute Roots of Polynomial via Clipping Method

[ , ] [3

2 For any given polynomial there exist constant , and

depending solely on , such that for all intervals [ , ] [0,1] the quadraticpolynomial obtained by applying degree reduction to satisfies

, ' '

p p p

p

p V D A

pq p

p q V h p q

Lemma

, ] [ , ]2 , and '' '' .p pD h p q A h

Page 33: Compute Roots of Polynomial via Clipping Method

*1 If the polynomial has a root in [ , ] and provided that thisroot has multiplicity1, then the sequence of the lengths of the intervals gene--rated by quadclip which contain that root has the convergence rate 3.

p t

d

Theorem

*2 If the polynomial has a root in [ , ] and provided that thisroot has multiplicity 2, then the sequence of the lengths of the intervals gene-

3-rated by quadclip which contain that root has the convergence rate .2

p t

d

Theorem

Page 34: Compute Roots of Polynomial via Clipping Method

Computation effort comparison

Page 35: Compute Roots of Polynomial via Clipping Method

Time cost per iteration (μs)

Page 36: Compute Roots of Polynomial via Clipping Method

Numerical examples Single roots

Page 37: Compute Roots of Polynomial via Clipping Method

Double roots

Page 38: Compute Roots of Polynomial via Clipping Method

Near double root

Page 39: Compute Roots of Polynomial via Clipping Method

Future work System of polynomials Quadratic polynomial Cubic polynomial

Cubic clipping 4 2Quadratic clipping 3 1Bezier clipping 2 1 1

Single root Double root Triple root

32

43

Page 40: Compute Roots of Polynomial via Clipping Method

Cubic Clipping3 9 31 11( ) ( )*(2 ) *( 5) *( )

3 10p t t t t t

Page 41: Compute Roots of Polynomial via Clipping Method

Cardano Formula Given a cubic equation 3 2 0x ax bx c

3 31

23 32

2 3 32

2 2 3

2 2 3

2 2 3

q q ax

q q ax

q q ax

2 31 2 1,3 27 3

p a b q a ab c 22 33,

4 27iq p e

Page 42: Compute Roots of Polynomial via Clipping Method

4

1 For any given polynomial , there exists a constant

depending solely on , such that for all interval [ , ] [0 1] the

bound generated in line 3 of cubicclip satisfies , where

.

p

p

p C

p

hC

h

Lemma

[ , ] 4

2 For any given polynomial there exist constant , and

depending solely on , such that for all intervals [ , ] [0,1] the quadraticpolynomial obtained by applying degree reduction to satisfies

, ' '

p p p p

p

p V D A B

pq p

p q V h p q

Lemma

[ , ] 3

[ , ] [ , ]2

,

'' '' , ''' ''' .

p

p p

D h

p q A h p q B h

Page 43: Compute Roots of Polynomial via Clipping Method

Single Roots

*1 If the polynomial has a root in [ , ] and provided that thisroot has multiplicity1, then the sequence of the lengths of the intervals gene--rated by cubicclip which contain that root has the convergence rate 4.

p t

d

Theorem

Clone from quadratic clipping

Proof

Page 44: Compute Roots of Polynomial via Clipping Method

Double roots

*2 If the polynomial has a root in [ , ] and provided that thisroot has multiplicity 2, then the sequence of the lengths of the intervals gene--rated by cubicclip which contain that root has the convergence rate 2.

p t

d

Theorem

Proof

Page 45: Compute Roots of Polynomial via Clipping Method

Triple roots

*3 If the polynomial has a root in [ , ] and provided that thisroot has multiplicity 3, then the sequence of the lengths of the intervals gene-

4-rated by cubicclip which contain that root has the convergence rate .3

p t

d

Theorem

Proof

Page 46: Compute Roots of Polynomial via Clipping Method

Summary

Furture Work Quartic clipping (conjecture): cubic ->quartic polynomial

single double triple quadruple

quartic 5 5/2 5/3 5/4

cubic 4 2 4/3 1

quadratic 3 3/2 1 1

bezier 2 1 1 1

Page 47: Compute Roots of Polynomial via Clipping Method

Thanks for your attention!