Alpha Theory to Certify Roots

Similar documents
JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

Factoring Cubic Polynomials

MCS 563 Spring 2014 Analytic Symbolic Computation Wednesday 9 April. Hilbert Polynomials

Roots of Equations (Chapters 5 and 6)

Mathematics Course 111: Algebra I Part IV: Vector Spaces

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Roots of Polynomials

Similarity and Diagonalization. Similar Matrices

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2)

SOLVING POLYNOMIAL EQUATIONS

Equations, Inequalities & Partial Fractions

Nonlinear Algebraic Equations Example

α = u v. In other words, Orthogonal Projection

We shall turn our attention to solving linear systems of equations. Ax = b

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

Quotient Rings and Field Extensions

5.3 SOLVING TRIGONOMETRIC EQUATIONS. Copyright Cengage Learning. All rights reserved.

The Characteristic Polynomial

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

Continued Fractions and the Euclidean Algorithm

2.3. Finding polynomial functions. An Introduction:

1 Formulating The Low Degree Testing Problem

Numerical Analysis Lecture Notes

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

How To Prove The Dirichlet Unit Theorem

by the matrix A results in a vector which is a reflection of the given

1 Review of Newton Polynomials

4.3 Lagrange Approximation

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

3.2 The Factor Theorem and The Remainder Theorem

ALGEBRA 2 CRA 2 REVIEW - Chapters 1-6 Answer Section

Zeros of Polynomial Functions

Lecture 14: Section 3.3

Ideal Class Group and Units

Section 4.4 Inner Product Spaces

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Lecture 2: Homogeneous Coordinates, Lines and Conics

Vector and Matrix Norms

Notes on Factoring. MA 206 Kurt Bryan

Math Common Core Sampler Test

Zeros of Polynomial Functions

Notes from February 11

Zeros of a Polynomial Function

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

A FAST AND STABLE ALGORITHM FOR SPLITTING POLYNOMIALS

MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets.

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

Integer roots of quadratic and cubic polynomials with integer coefficients

The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method

Introduction to Finite Fields (cont.)

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

ATheoryofComplexity,Conditionand Roundoff

Section 13.5 Equations of Lines and Planes

Rolle s Theorem. q( x) = 1

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

Examples of Tasks from CCSS Edition Course 3, Unit 5

A linear algebraic method for pricing temporary life annuities

INTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y).

March 29, S4.4 Theorems about Zeros of Polynomial Functions

Fourth-Order Compact Schemes of a Heat Conduction Problem with Neumann Boundary Conditions

H/wk 13, Solutions to selected problems

1 Lecture: Integration of rational functions by decomposition

Math 4310 Handout - Quotient Vector Spaces

Section 1.1. Introduction to R n

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88

Lecture 7: Finding Lyapunov Functions 1

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao

General Framework for an Iterative Solution of Ax b. Jacobi s Method

1 Sets and Set Notation.

1 Local Brouwer degree

Zeros of Polynomial Functions

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

Chapter 6. Orthogonality

Approximating functions by Taylor Polynomials.

Factorization in Polynomial Rings

SOLVING EQUATIONS WITH EXCEL

0.4 FACTORING POLYNOMIALS

Mathematical Methods of Engineering Analysis

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

Chapter 6. Cuboids. and. vol(conv(p ))

Inner Product Spaces

Orthogonal Projections

A characterization of trace zero symmetric nonnegative 5x5 matrices

Metric Spaces. Chapter Metrics

Lecture Notes on Polynomials

FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES

4.5 Linear Dependence and Linear Independence

2.5 ZEROS OF POLYNOMIAL FUNCTIONS. Copyright Cengage Learning. All rights reserved.

Factorization Algorithms for Polynomials over Finite Fields

3 1. Note that all cubes solve it; therefore, there are no more

Chapter 17. Orthogonal Matrices and Symmetries of Space

26 Integers: Multiplication, Division, and Order

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

1 Review of Least Squares Solutions to Overdetermined Systems

Unique Factorization

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Lecture 13 Linear quadratic Lyapunov theory

1 VECTOR SPACES AND SUBSPACES

Transcription:

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space MCS 563 Lecture 5 Analytic Symbolic Computation Jan Verschelde, 24 January 2014 Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 1 / 26

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 2 / 26

approximate zeroes For a function f in one variable x, Newton s method defines x k+1 = N f (x k ), k = 0, 1,... and N f (x) =x f (x) f (x), provided the derivative f (x k ) 0 for all k. z is an approximate zero for a root ζ of f (f (ζ) =0) if 1 x k+1 = N f (x k ) is defined for all k = 0, 1,... starting with x 0 = z; and 2 the convergence is quadratic: x k ζ ( ) 1 2 k 1 z ζ. 2 Needed: a criterion to determine if z is an approximate zero. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 3 / 26

the gamma function For a criterion to determine if a given number is an approximate zero, we need an auxiliary function γ : C[x] C R (f, x) γ(f, x) = deg(f max ) f (k) (x) k=2 k! f (x) where f (k) is the kth derivative of f. Note: γ(f, x) is undefined for f (x) =0. ( ) Example: γ(x 3 6x 1, x) =max 2! 3x, 6 1/2 2 3! 3x 2 is defined for all x 0. 1/(k 1) Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 4 / 26

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 5 / 26

a first criterion If we know the exact root ζ, then a criterion is below. Theorem 1 Assume f (ζ) =0 and f (ζ) 0. If x ζ 3 7, then x is an approximate zero for ζ. 2γ(f,ζ) The number 3 7 defines the radius of a disk 2γ(f,ζ) in the complex plane, centered at ζ for which Newton s method converges quadratically. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 6 / 26

more auxiliary functions For a criterion computation at a point x itself, we need two more auxiliary functions: and β : C[x] C R (f, x) β(f, x) = x N f (x) = f (x) f (x) α : C[x] C R (f, x) α(f, x) =β(f, x)γ(f, x). Once more, we assume f (x) 0. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 7 / 26

the criterion at a point To determine whether x is an approximate zero for f : Theorem 2 There is a universal constant α 0 : if α(f, x) <α 0 then x is an approximate zero for a root ζ of f and x ζ 2β(f, x). In [Blum, Cucker, Shub, Smale 1998], the best value for α 0 = 1 4 (13 3 17) 0.157671. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 8 / 26

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 9 / 26

the telescope system Consider f (x) = x 1 α = 0 x 2 x1 2 = 0 x 3 x2 2 = 0 x 4 x3 2 = 0 where α is a parameter, with (α, α 2,α 4,α 8 ) as solution. Although f (x) =0 consists only of quadrics, for α<1orα>1, the solution decreases or increases. The telescoping poses challenges for numerical methods. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 10 / 26

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 11 / 26

the first lemma Lemma 1 For a polynomial f in x, deg(f )=d, f(ζ) =0, f (ζ) 0, we have: N f (x) ζ f [ (ζ) d ] f (x) (k 1)(γ(f,ζ) x ζ ) k 1 x ζ. k=2 Proof. Taylor series of f about ζ, usingf (ζ) =0: f (x) = d k=1 As 1 (k 1)! 1 k! = k 1 k! : f (k) (ζ) (x ζ) k and f (x) = k! (x ζ)f (x) f (x) = d k=1 f (k) (ζ) (k 1)! (x ζ)k 1. d (k 1) f (k) (ζ) (x ζ) k. k! k=1 Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 12 / 26

proof continued Recall N f (x) =x f (x) f (x),sowehave: [ d ] 1 N f (x) ζ = f (k 1) f (k) (ζ) (x ζ) k 1 (x ζ) (x) k! k=2 [ = f d ] (ζ) f (k 1) f (k) (ζ) (x) k!f (x ζ)k 1 (x ζ). (ζ) k=2 By repeated application of a + b a + b : N f (x) ζ f (ζ) d f (x) (k 1) f (k) (ζ) k!f (ζ) k=2 1/(k 1) The lemma follows from the definition of γ(f, x), forx = ζ. k 1 x ζ x ζ. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 13 / 26

the second lemma Lemma 2 For a polynomial f in x, deg(f )=d, f(ζ) =0, f (ζ) 0, we have: N f (x) ζ f (ζ) u f (x) x ζ, for u = γ(f,ζ) x ζ < 1. (1 u) 2 Proof. r k = 1 1 r and kr k 1 1 =,0 r < 1. (1 r) 2 k=0 For u < 1 : = k=1 k=1 d (k 1)(γ(f,ζ) x ζ ) k 1 k=2 ku k 1 u k 1 = k=1 (k 1)u k 1 k=1 1 (1 u) 2 1 1 u = u (1 u) 2. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 14 / 26

the third lemma Lemma 3 For a polynomial f in x, deg(f )=d, f(ζ) =0, f (ζ) 0, we have: ( ) u N f (x) ζ 1 4u + 2u 2 x ζ, for 2 u = γ(f,ζ) x ζ < 1 2. Proof. We need to show f (ζ) f (x) (1 u)2. 1 4u+2u 2 Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 15 / 26

rewriting f (x)/f (ζ) f (x) f (ζ) = = [ d ] 1 f (k) (ζ) f (x ζ)k 1 (ζ) (k 1)! k=1 [ 1 f (ζ) f (ζ)+ d k=2 f (k) (ζ) (x ζ)k 1 (k 1)! d f (k) (ζ) = 1 + (k 1)!f (x ζ)k 1 (ζ) k=2 ( ) 1/(k 1) d = 1 + k f (k) k 1 (ζ) k!f (x ζ) (ζ) k=2 }{{} =B = 1 + B. ] Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 16 / 26

estimating f (ζ)/f (x) f (ζ) f (x) = 1 1 + B B k = k=0 provided B < 1. Therefore we estimate B : B d ku k 1 = k=2 d ku k 1 1 k=1 1 1 B, ku k 1 1 = k=1 1 To verify whether B < 1wesolve 1 = 1. (1 u) 2 The smallest positive root of 1 4u + 2u 2 is 1 so u < 1 2 2 B < 1. Thus: f (ζ) f (x) 1 ( ) = 1 1 1 (1 u) 2 2 2, (1 u)2 1 4u + 2u 2 1 (1 u) 2 1. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 17 / 26

Proof of Theorem 1 Theorem 1 Assume f (ζ) =0 and f (ζ) 0. If x ζ 3 7, then x is an approximate zero for ζ. 2γ(f,ζ) Proof. For x to be an approximate zero of f for the root ζ we must have N f (x) ζ 1 2 x ζ. u Applying Lemma 3, we consider 1 4u + 2u 2 = 1 2. This equation has two positive solutions: (3 ± 7)/2. We take the smallest solution as a bound for u = γ(f,ζ) x ζ 3 7, 2 which leads to the criterion x ζ (3 7)/(2γ(f,ζ)). Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 18 / 26

Alpha Theory to Certify Roots 1 Approximate Zeroes what is an approximate zero? a criterion for an approximate zero 2 The Telescope System some numerical difficulties 3 Rewriting Taylor Series Expansions three lemmas prove the first criterion 4 Approximate Zeroes of Systems Newton s method in projective space Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 19 / 26

Newton s method in P n Consider f (x) =0 with x =[x 0 : x 1 : x 2 : : x n ] P n. We have n equations in n + 1 variables. For uniqueness, restrict Newton s method to the tangent space T x at x: T x = { y P n+1 x 0 y 0 + x 1 y 1 + x 2 y 2 + + x n y n = 0 }. Denote the inverse of the Jacobian matrix J f of f restricted to T x by J f (x) 1 T x. The Newton operator in P n is N f (x) =x J f (x) 1 T x f (x). Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 20 / 26

an example Consider { f (x 1, x 2 )= x 1 x 2 1 = 0 x 2 1 0.002 = 0 where smaller values for 0.002 lead to larger values for x 2. In P 2 :wehaveh 1 (z) =z 1 z 2 z0 2 and h 2(z) =z1 2 0.002z2 0. The linear system we solve to compute the update z is 2z 0 z 2 z 1 h 1 (z) 0.004z 0 2z 1 0 z = h 2 (z). z 0 z 1 z 2 0 For this small example, compute coordinates for z as x 1 = sqrt(0.002) and x 2 = 1/sqrt(0.002); take for z 0 = 1/ max(x 1, x 2 ). With higher working precision, z + z will be more accurate. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 21 / 26

generalizing γ(f, x) For systems, we define γ : P[x] P n R d (f, x) γ(f, x) = x max J f (x) 1 T x k=2 D k f (x) k! where d is the largest degree of the polynomials in f, and D k f is the kth derivative of f, considered as a k-linear map, D 1 f = J f.with we denote vector and matrix norms. 1/(k 1) Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 22 / 26

a criterion Theorem 3 Let f (x) =0 be a polynomial system with coordinates in projective space and ζ P n a root. If z ζ ζ γ(f,ζ) 3 7, 2 then z is an approximate zero of f for ζ. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 23 / 26

Summary + Exercises We looked at the region of convergence of Newton s method which led to the notion of approximate roots. Exercises: 1 Consider formula x k ζ ( 1 2) 2 k 1 z ζ for an approximate zero z close enough to a zero ζ of f. Assuming z ζ 0.1 and given some ɛ>0, derive a bound on k, the number of iterations so that x k ζ ɛ. Illustrate your bound with numerical examples. 2 Define a Maple function to evaluate γ for any polynomial f at any point x. Instead of Maple you may also use another computer algebra system. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 24 / 26

more exercises 3 Consider the polynomial f (x) =x(x r), where r is a parameter for the second root of f. 1 For r = 1, compute the radius 3 7 2γ(f,ζ) for all roots ζ. 2 Let r go to zero (take r = 1/10 k,fork = 1, 2,...) and recompute 3 7 2γ(f,ζ) for all the roots. What do you observe as the second root gets closer to zero? 3 Let r grow larger (take r = 10 k,fork = 1, 2,...) and recompute 3 7 2γ(f,ζ) for all the roots. What do you observe as the second root moves farther away? Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 25 / 26

and more exercises 4 Suppose that ζ 1 and ζ 2 are two regular roots of f, i.e.: f (ζ 1 )=0 = f (ζ 2 ) and f (ζ 1 ) 0 f (ζ 2 ). Show that ζ 1 and ζ 2 are separated as follows: ζ 1 ζ 2 5 17 4γ(f,ζ 2 ). 5 Use a computer algebra package to write a procedure to perform one step of the projective Newton method. On input are the polynomials in the system f (x) =0 with an approximate solution in the original affine coordinates. The procedure performs the transformation to projective coordinates z, computes the extended Jacobian matrix and solves a linear system for z. On return is the updated solution in projective and affine coordinates. Analytic Symbolic Computation (MCS 563) Alpha Theory to certify roots L-5 24 January 2014 26 / 26