SYSTEMS OF NONLINEAR EQUATIONS

Similar documents
(a) Write down the value of q and of r. (2) Write down the equation of the axis of symmetry. (1) (c) Find the value of p. (3) (Total 6 marks)

CHAPTER 2 POLYNOMIALS KEY POINTS

Approximation, Taylor Polynomials, and Derivatives

Downloaded from

CS 323: Numerical Analysis and Computing

Exam 1. (2x + 1) 2 9. lim. (rearranging) (x 1 implies x 1, thus x 1 0

Section 1.4 Tangents and Velocity

ROOT FINDING REVIEW MICHELLE FENG

FIXED POINT ITERATION

ECE 680 Modern Automatic Control. Gradient and Newton s Methods A Review

MAT137 Calculus! Lecture 45

Math 115 Spring 11 Written Homework 10 Solutions

Numerical solutions of nonlinear systems of equations

CHAPTER-II ROOTS OF EQUATIONS

MATH 4211/6211 Optimization Basics of Optimization Problems

Functions and Equations

THE SECANT METHOD. q(x) = a 0 + a 1 x. with

AIMS Exercise Set # 1

Review all the activities leading to Midterm 3. Review all the problems in the previous online homework sets (8+9+10).

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

Slopes and Rates of Change

15 Nonlinear Equations and Zero-Finders

Section Properties of Rational Expressions

Computational Methods CMSC/AMSC/MAPL 460. Solving nonlinear equations and zero finding. Finding zeroes of functions

Core Mathematics 1 Quadratics

CLASS NOTES Models, Algorithms and Data: Introduction to computing 2018

Systems of Equations and Inequalities. College Algebra

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Ch 5.4: Regular Singular Points

Interpolation and Approximation

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

Families of Functions, Taylor Polynomials, l Hopital s

Series Solutions of Differential Equations

Newton s Method and Linear Approximations

Christmas Calculated Colouring - C1

Higher Portfolio Quadratics and Polynomials

Chapter 3: Root Finding. September 26, 2005

CHAPTER 4 ROOTS OF EQUATIONS

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N.

Order of convergence

3 Polynomial and Rational Functions

Numerical Optimization

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

Notes on Linear Algebra I. # 1

Tenth Maths Polynomials

CS 323: Numerical Analysis and Computing

Question 1: The graphs of y = p(x) are given in following figure, for some Polynomials p(x). Find the number of zeroes of p(x), in each case.

Taylor polynomials. 1. Introduction. 2. Linear approximation.

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

Review for Final. The final will be about 20% from chapter 2, 30% from chapter 3, and 50% from chapter 4. Below are the topics to study:

, a 1. , a 2. ,..., a n

MATH 1902: Mathematics for the Physical Sciences I

Comparative Analysis of Convergence of Various Numerical Methods

Tropical Polynomials

is the intuition: the derivative tells us the change in output y (from f(b)) in response to a change of input x at x = b.

Second Order Linear Equations

MATLAB Laboratory 10/14/10 Lecture. Taylor Polynomials

Newton s Method and Linear Approximations

1. Which one of the following points is a singular point of. f(x) = (x 1) 2/3? f(x) = 3x 3 4x 2 5x + 6? (C)

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Bisection Method. and compute f (p 1 ). repeat with p 2 = a 2+b 2

Curve Fitting. Objectives

Math 4329: Numerical Analysis Chapter 03: Newton s Method. Natasha S. Sharma, PhD

Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method

Key Concepts: Economic Computation, Part III

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

Pure Mathematics P1

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2)

1.1 : (The Slope of a straight Line)

Lecture 9 4.1: Derivative Rules MTH 124

Taylor and Maclaurin Series. Approximating functions using Polynomials.

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

Algebra Performance Level Descriptors

Scientific Computing. Roots of Equations

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

Newton s Method and Linear Approximations 10/19/2011

The absolute value (modulus) of a number

5.5 Special Rights. A Solidify Understanding Task

Optimization. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30

Quadratics. SPTA Mathematics Higher Notes

Solutions of Equations in One Variable. Newton s Method

1. Algebra and Functions

Lecture2 The implicit function theorem. Bifurcations.

ALGEBRAIC GEOMETRY HOMEWORK 3

Unit 3: HW3.5 Sum and Product

OBJECTIVE Find limits of functions, if they exist, using numerical or graphical methods.

AP Calculus AB. Limits & Continuity. Table of Contents

S56 (5.1) Polynomials.notebook August 25, 2016

Calculus I. 1. Limits and Continuity

COURSE Iterative methods for solving linear systems

Solutionbank Edexcel AS and A Level Modular Mathematics

Simple Iteration, cont d

Study Guide and Review - Chapter 12

1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0

UNC Charlotte Super Competition Level 3 Test March 4, 2019 Test with Solutions for Sponsors

6.252 NONLINEAR PROGRAMMING LECTURE 10 ALTERNATIVES TO GRADIENT PROJECTION LECTURE OUTLINE. Three Alternatives/Remedies for Gradient Projection

Mathematical Focus 1 Complex numbers adhere to certain arithmetic properties for which they and their complex conjugates are defined.

Spring 2015, Math 111 Lab 8: Newton s Method

Transcription:

SYSTEMS OF NONLINEAR EQUATIONS Widely used in the mathematical modeling of real world phenomena. We introduce some numerical methods for their solution. For better intuition, we examine systems of two nonlinear equations and numerical methods for their solution. We then generalize to systems of an arbitrary order. The Problem: Consider solving a system of two nonlinear equations f(x; y) = 0 g(x; y) = 0 (1)

Example: Consider solving the system f(x; y) x 2 + 4y 2 9 = 0 g(x; y) 18y 14x 2 + 45 = 0 (2) A graph of z = f(x; y) is given in Figure 1, along with the curve for f(x; y) = 0. Figure 1: Graph of z = x 2 + 4y 2 9, along with z = 0 on that surface

To visualize the points (x; y) that satisfy simultaneously both equations in (1), look at the intersection of the zero curves of the functions f and g. Figure 2 illustrates this. The zero curves intersect at four points, each of which corresponds to a solution of the system (2). For example, there is a solution near the point (1; 1). Figure 2: The graphs of f(x; y) = 0 and g(x; y) = 0

TANGENT PLANE APPROXIMATION The graph of z = f(x; y) is a surface in xyz-space. For (x; y) (x 0 ; y 0 ), we approximate f(x; y) by a plane that is tangent to the surface at the point (x 0 ; y 0 ; f (x 0 ; y 0 )). The equation of this plane is z = p(x; y) with p(x; y) f(x 0 ; y 0 ) (3) f x (x; y) = +(x x 0 )f x (x 0 ; y 0 ) + (y y 0 )f y (x 0 ; y 0 ); @f(x; y) ; f y (x; y) = @x @f(x; y) ; @y the partial derivatives of f with respect to x and y, respectively. If (x; y) (x 0 ; y 0 ), then f(x; y) p(x; y) For functions of two variables, p(x; y) is the linear Taylor polynomial approximation to f(x; y).

NEWTON S METHOD Let = (; ) denote a solution of the system f(x; y) = 0 g(x; y) = 0 Let (x 0 ; y 0 ) (; ) be an initial guess at the solution. Approximate the surface z = f(x; y) with the tangent plane at (x 0 ; y 0 ; f(x 0 ; y 0 )). If f(x 0 ; y 0 ) is su ciently close to zero, then the zero curve of p(x; y) will be an approximation of the zero curve of f(x; y) for those points (x; y) near (x 0 ; y 0 ). Because the graph of z = p(x; y) is a plane, its zero curve is simply a straight line.

Example. Consider f(x; y) x 2 + 4y 2 9. Then f x (x; y) = 2x; f y (x; y) = 8y At (x 0 ; y 0 ) = (1; 1), f(x 0 ; y 0 ) = 4; f x (x 0 ; y 0 ) = 2; f y (x 0 ; y 0 ) = 8 At (1; 1; 4) the tangent plane to the surface z = f(x; y) has the equation z = p(x; y) 4 + 2(x 1) 8(y + 1) The graphs of the zero curves of f(x; y) and p(x; y) for (x; y) near (x 0 ; y 0 ) are given in Figure 3. Figure 3: f(x; y) = 0 and p(x; y) = 0

The tangent plane to the surface z = g(x; y) at (x 0 ; y 0 ; g(x 0 ; y 0 )) has the equation z = q(x; y) with q(x; y) g(x 0 ; y 0 )+(x x 0 )g x (x 0 ; y 0 )+(y y 0 )g y (x 0 ; y 0 ) Recall that the solution = (; ) to f(x; y) = 0 g(x; y) = 0 is the intersection of the zero curves of z = f(x; y) and z = g(x; y). Approximate these zero curves by those of the tangent planes z = p(x; y) and z = q(x; y). The intersection of these latter zero curves gives an approximate solution to the above nonlinear system. Denote the solution to p(x; y) = 0 q(x; y) = 0 by (x 1 ; y 1 ).

Example. Return to the equations f(x; y) x 2 + 4y 2 9 = 0 g(x; y) 18y 14x 2 + 45 = 0 with (x 0 ; y 0 ) = (1; 1). The use of the zero curves of the tangent plane approximations is illustrated in Figure 4. Figure 4: f = g = 0 and p = q = 0

Calculating (x 1 ; y 1 ). To nd the intersection of the zero curves of the tangent planes, we must solve the linear system f(x 0 ; y 0 ) + (x x 0 )f x (x 0 ; y 0 ) + (y y 0 )f y (x 0 ; y 0 ) = 0 g(x 0 ; y 0 ) + (x x 0 )g x (x 0 ; y 0 ) + (y y 0 )g y (x 0 ; y 0 ) = 0 The solution is denoted by (x 1 ; y 1 ). fx (x 0 ; y 0 ) f y (x 0 ; y 0 ) x x0 g x (x 0 ; y 0 ) g y (x 0 ; y 0 ) y y 0 In matrix form, f(x0 ; y = 0 ) g(x 0 ; y 0 ) It is actually computed as follows. De ne x and y to be the solution of the linear system fx (x 0 ; y 0 ) f y (x 0 ; y 0 ) x f(x0 ; y = 0 ) g x (x 0 ; y 0 ) g y (x 0 ; y 0 ) g(x 0 ; y 0 ) x1 y 1 = x0 y 0 y + x Usually the point (x 1 ; y 1 ) is closer to the solution than is the original point (x 0 ; y 0 ). y

Continue this process, using (x 1 ; y 1 ) as a new initial guess. Obtain an improved estimate (x 2 ; y 2 ). This iteration process is continued until a solution with su cient accuracy is obtained. The general iteration is given by fx (x k ; y k ) f y (x k ; y k ) g x (x k ; y k ) g y (x k ; y k ) xk+1 y k+1 = xk y k + x;k y;k x;k y;k This is Newton s method for solving f(x; y) = 0 g(x; y) = 0 = f(xk ; y k ) g(x k ; y k ) ; k = 0; 1; : : : (4) Many numerical methods for solving nonlinear systems are variations on Newton s method.

Example. Consider again the system f(x; y) x 2 + 4y 2 9 = 0 g(x; y) 18y 14x 2 + 45 = 0 Newton s method (4) becomes 2x k 8y k 28x k 18 x;k y k+1 = = y;k xk+1 xk y k + x 2 k + 4y2 k 9 18y k 14x 2 k + 45 x;k y;k (5) Choose (x 0 ; y 0 ) = (1; 1). The resulting Newton iterates are given in Table 1, along with Error = k (x k ; y k )k maxfj x k j ; j y k jg

Table 1: Newton iterates for the system (5) k x k y k 0 1:0 1:0 1 1:170212765957447 1:457446808510638 2 1:202158829506705 1:376760321923060 3 1:203165807091535 1:374083486949713 4 1:203166963346410 1:374080534243534 5 1:203166963347774 1:374080534239942 k Error 0 3:74E 1 1 8:34E 2 2 2:68E 3 3 2:95E 6 4 3:59E 12 5 2:22E 16 The nal iterate is accurate to the precision of the computer arithmetic.

AN ALTERNATIVE NOTATION. We introduce a more general notation for the preceding work. The problem to be solved is Introduce x = x1 x 2 F 1 (x 1 ; x 2 ) = 0 F 2 (x 1 ; x 2 ) = 0 ; F (x) = F 0 (x) = 2 6 4 @F 1 @F 1 @x 1 @x 2 @F 2 @F 2 @x 1 @x 2 F1 (x 1 ; x 2 ) F 2 (x 1 ; x 2 ) 3 7 5 (6) F 0 (x) is called the Frechet derivative of F (x). It is a generalization to higher dimensions of the ordinary derivative of a function of one variable. The system (6) can now be written as F (x) = 0 (7) A solution of this equation will be denoted by.

Newton s method becomes for k = 0; 1; : : :. F 0 (x (k) ) (k) = F (x (k) ) x (k+1) = x (k) + (k) (8) A shorter and mathematically equivalent form: x (k+1) = x (k) h F 0 (x (k) ) i 1 F (x (k) ) (9) for k = 0; 1; : : :. This last formula is often used in discussing and analyzing Newton s method for nonlinear systems. But (8) is used for practical computations, since it is usually less expensive to solve a linear system than to nd the inverse of the coe cient matrix. Note the analogy of (9) with Newton s method for a single equation.

THE GENERAL NEWTON METHOD Consider the system of n nonlinear equations De ne x = 2 6 4 x 1. x n 3 F 1 (x 1 ; : : : ; x n ) = 0. F n (x 1 ; : : : ; x n ) = 0 7 5 ; F (x) = 2 2 6 4 F 1 (x 1 ; : : : ; x n ). F n (x 1 ; : : : ; x n ) @F 1 @F 1 F 0 @x 1 @x n (x) =.. 6 7 4 @F n @F n 5 @x 1 @x n The nonlinear system (10) can be written as 3 3 7 5 (10) F (x) = 0 Its solution is denoted by 2 R n.

Newton s method is F 0 (x (k) ) (k) = F (x (k) ) x (k+1) = x (k) + (k) ; k = 0; 1; : : : Alternatively, as before, (11) x (k+1) = x (k) h F 0 (x (k) ) i 1 F (x (k) ); k = 0; 1; : : : (12) This formula is often used in theoretical discussions of Newton s method for nonlinear systems. But (11) is used for practical computations, since it is usually less expensive to solve a linear system than to nd the inverse of the coe cient matrix. CONVERGENCE. Under suitable hypotheses, it can be shown that there is a c > 0 for which x (k+1) c x (k) 2 ; k = 0; 1; : : : x (k) max 1in i x (k) i Newton s method is quadratically convergent.