CS B553: Algorithms for Optimization and Learning

Slides:



Advertisements
Similar presentations
Numerical Computation Lecture 4: Root Finding Methods - II United International College.
Advertisements

Lecture 5 Newton-Raphson Method
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
The derivative and the tangent line problem (2.1) October 8th, 2012.
Newton’s Method finds Zeros Efficiently finds Zeros of an equation: –Solves f(x)=0 Why do we care?
Numeriska beräkningar i Naturvetenskap och Teknik 1.Solving equations.
CSE 541 – Numerical Methods
CS B553: A LGORITHMS FOR O PTIMIZATION AND L EARNING Univariate optimization.
Roots of Equations Open Methods (Part 2).
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
Open Methods (Part 1) Fixed Point Iteration & Newton-Raphson Methods
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods.
Roots of Equations Open Methods Second Term 05/06.
Chapter 3 Root Finding.
Newton Fractals. Newton’s method Need initial guess and derivative Quadratic convergence – Proof via taylor’s theorem x_n+1 = x_n – f(x_n)/f(x_n) Derivation.
Secant Method Another Recursive Method. Secant Method The secant method is a recursive method used to find the solution to an equation like Newton’s Method.
Roots of Equations Chapter 3. Roots of Equations Also called “zeroes” of the equation –A value x such that f(x) = 0 Extremely important in applications.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.
Local Linearity The idea is that as you zoom in on a graph at a specific point, the graph should eventually look linear. This linear portion approximates.
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
1 Nonlinear Equations Jyun-Ming Chen. 2 Contents Bisection False Position Newton Quasi-Newton Inverse Interpolation Method Comparison.
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Newton’s Method Other Recursive Methods Modified Fixed Point Method.
4.5: Linear Approximations, Differentials and Newton’s Method.
Numerical Methods.
Numerical Methods Root Finding 4. Fixed-Point Iteration---- Successive Approximation Many problems also take on the specialized form: g(x)=x, where we.
Newton’s Method, Root Finding with MATLAB and Excel
Applied Numerical Methods
Today’s class Roots of equation Finish up incremental search
linear  2.3 Newton’s Method ( Newton-Raphson Method ) 1/12 Chapter 2 Solutions of Equations in One Variable – Newton’s Method Idea: Linearize a nonlinear.
LINEARIZATION AND NEWTON’S METHOD Section 4.5. Linearization Algebraically, the principle of local linearity means that the equation of the tangent.
ROOTS OF EQUATIONS. Bracketing Methods The Bisection Method The False-Position Method Open Methods Simple Fixed-Point Iteration The Secant Method.
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
Solving Non-Linear Equations (Root Finding)
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
4 Numerical Methods Root Finding.
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Yasser F. O. Mohammad Assiut University Egypt. Previously in NM Bracketing Methods Bisection False Position Fixed Point Iteration Local Convergence Methods.
4.5: Linear Approximations, Differentials and Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
MATH 175: Numerical Analysis II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Sem AY
 The equation with one variable. At P(atm) equals 0.5 atm, What is T ? ? ?
1 4.8 – Newton’s Method. 2 The Situation Let’s find the x-intercept of function graphed using derivatives and tangent lines. |x1|x1 |x2|x2 |x3|x3 Continuing,
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Linear Approximations. In this section we’re going to take a look at an application not of derivatives but of the tangent line to a function. Of course,
Newton-Raphson Method
4.5: Linear Approximations, Differentials and Newton’s Method
4.5: Linear Approximations, Differentials and Newton’s Method
Newton’s Method for Systems of Non Linear Equations
Lecture 25 – Power Series Def: The power series centered at x = a:
Multiplicity of a Root First Modified Newton’s Method
Applications of the Derivative
Applications of Derivatives
Solution of Equations by Iteration
Numerical Analysis Lecture 7.
Roots of equations Class VII.
Computers in Civil Engineering 53:081 Spring 2003
Roots of equations Class IX.
MATH 175: Numerical Analysis II
NEWTON’S METHOD Section 3.8.
ROOTS OF EQUATIONS.
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
3.8: Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
4.5: Linear Approximations, Differentials and Newton’s Method
3.8: Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
NEWTON’S METHOD Section 3.8.
Copyright © Cengage Learning. All rights reserved.
Applications of the Derivative
MATH 1910 Chapter 3 Section 8 Newton’s Method.
1 Newton’s Method.
EE, NCKU Tien-Hao Chang (Darby Chang)
Presentation transcript:

CS B553: Algorithms for Optimization and Learning Root finding

g(x) x Roots of g

Key Ideas Newton’s method Secant method Superlinear convergence rates Initialization and termination Approximate differentiation Numerical considerations

Newton’s method Figure 10 g(x) x0 x In a neighborhood of a root, the line tangent to the graph crosses the x axis near the root

Newton’s method Figure 10 g(x) x1 x In a neighborhood of a root, the line tangent to the graph crosses the x axis near the root… iterate!

Newton’s method Figure 10 g(x) x2 x In a neighborhood of a root, the line tangent to the graph crosses the x axis near the root… iterate!

Figure 11 Divergence x1 x g(x)

Figure 11 Divergence x1 x2 x g(x)

Figure 11 Divergence x3 x1 x2 x g(x)

Figure 11 Divergence x3 x1 x2 x4 x g(x)

Figure 11 Divergence x5 x3 x1 x2 x4 x g(x)

Figure 12 Oscillation x

Figure 12 Oscillation x

Figure 12 Oscillation x

Figure 12 Oscillation x

Secant method Figure 13 g(x) x0 x1 x Idea: Use line through two points on graph as approximation of the derivative

Secant method Figure 13 g(x) x0 x1 x2 x Idea: Use line through two points on graph as approximation of the derivative

Secant method Figure 13 g(x) x3 x0 x1 x2 x Idea: Use line through two points on graph as approximation of the derivative

Secant method Figure 13 g(x) x3 x0 x1 x2 x Idea: Use line through two points on graph as approximation of the derivative

Orders of convergence Bisection: linear Newton’s method: quadratic Secant method: order   1.6 Only bisection has guaranteed convergence (given appropriate initial interval) Newton’s method needs derivatives Most “out of the box” subroutines take a hybrid approach

Basins of attraction in complex plane: x5-1=0 Figure 14 Basins of attraction in complex plane: x5-1=0