Roots of equations Class IX.

Slides:



Advertisements
Similar presentations
Ch 2.7: Numerical Approximations: Euler’s Method
Advertisements

Lecture 5 Newton-Raphson Method
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Derivative and the Tangent Line Problem
Find the slope of the tangent line to the graph of f at the point ( - 1, 10 ). f ( x ) = 6 - 4x
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
THE DERIVATIVE AND THE TANGENT LINE PROBLEM
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
The Derivative. Objectives Students will be able to Use the “Newton’s Quotient and limits” process to calculate the derivative of a function. Determine.
Open Methods Chapter 6 The Islamic University of Gaza
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods.
Chapter 3 Root Finding.
MATH 175: NUMERICAL ANALYSIS II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Semester AY
CHAPTER Continuity Derivatives Definition The derivative of a function f at a number a denoted by f’(a), is f’(a) = lim h  0 ( f(a + h) – f(a))
Math 3120 Differential Equations with Boundary Value Problems Chapter 2: First-Order Differential Equations Section 2-6: A Numerical Method.
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Newton’s Method Other Recursive Methods Modified Fixed Point Method.
Assignment 4 Section 3.1 The Derivative and Tangent Line Problem.
GOAL: USE DEFINITION OF DERIVATIVE TO FIND SLOPE, RATE OF CHANGE, INSTANTANEOUS VELOCITY AT A POINT. 3.1 Definition of Derivative.
Velocity and Other Rates of Change Notes: DERIVATIVES.
Numerical Methods.
Newton’s Method, Root Finding with MATLAB and Excel
Applied Numerical Methods
Today’s class Roots of equation Finish up incremental search
ROOTS OF EQUATIONS. Bracketing Methods The Bisection Method The False-Position Method Open Methods Simple Fixed-Point Iteration The Secant Method.
Numerical Methods Solution of Equation.
Chapter 3.2 The Derivative as a Function. If f ’ exists at a particular x then f is differentiable (has a derivative) at x Differentiation is the process.
4 Numerical Methods Root Finding Secant Method Modified Secant
Graphing Polar Graphs Calc AB- Section10.6A. Symmetry Tests for Polar Graphs 1.Symmetry about the x -axis: If the point lies on the graph, the point ________.
Linearization, Newton’s Method
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
More with Rules for Differentiation Warm-Up: Find the derivative of f(x) = 3x 2 – 4x 4 +1.
2.1 The Derivative and The Tangent Line Problem Slope of a Tangent Line.
Iteration The solution lies between 0 and 1. e.g. To find integer bounds for we can sketch and  0 and 1 are the integer bounds. We often start by finding.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Answers for Review Questions for Lectures 1-4. Review Lectures 1-4 Problems Question 2. Derive a closed form for the estimate of the solution of the equation.
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
§ 4.2 The Exponential Function e x.
Newton-Raphson Method
Newton-Raphson Method
Q1 Write a code to implement bisection method so that, given any continuous function f(x), it can (i) Count the number of roots in a domain [a,b]. (ii)
Newton’s Method for Systems of Non Linear Equations
CS B553: Algorithms for Optimization and Learning
The Derivative and the Tangent Line Problem (2.1)
Read Chapters 5 and 6 of the textbook
The Derivative and the Tangent Line Problems
THE DERIVATIVE AND THE TANGENT LINE PROBLEM
Roots of equations Class VII.
Newton-Raphson Method
Computers in Civil Engineering 53:081 Spring 2003
NEWTON’S METHOD Section 3.8.
Newton-Raphson Method
2.1 The Derivative & the Tangent Line Problem
SOLUTION OF NONLINEAR EQUATIONS
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.
3.8: Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
NEWTON’S METHOD Section 3.8.
Sec:5.2 The Bisection Method.
Newton-Raphson Method
If {image} choose the graph of f'(x).
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
The Derivative and the Tangent Line Problem (2.1)
2-1: The Derivative Objectives: Explore the tangent line problem
1 Newton’s Method.
Solutions for Nonlinear Equations
Presentation transcript:

Roots of equations Class IX

Review of Class VI Bisection Method finding roots of function Function f(x) on the interval [a,b] and f(a)*f(b) < 0 . f(x) has a root(s) on [a,b] The method produces a sequence of the intervals [𝑎 𝑛 , 𝑏 𝑛 ] with each containing the desired root of the function estimated as 𝑟=( 𝑎 𝑛 + 𝑏 𝑛 )/2 Error (accuracy) of root estimate after n steps 𝜀≤ (𝑏 𝑛 − 𝑎 𝑛 )/2 or 𝜀≤(𝑏−𝑎)/ 2 𝑛+1 If one requires that error 𝜀<𝛿 (tolerance of an error) , the number of steps required in the bisection method is n > [ log(b-a) - log (2𝛿) ] / log 2

Review of Class VII Newton’s Method finding roots of function Newton’s method requires that function f(x) is differentiable implying that the graph of f(x) has a definite slope at each point. 𝑥 𝑛+1 = 𝑥 𝑛 − 𝑓( 𝑥 𝑛 ) 𝑓 ′ ( 𝑥 𝑛 ) The method evaluates (numerically or analytically) f(x) and f’(x) at each step If 𝑓 ′ 𝑥 𝑛 ≈0 or 𝑓 ′ 𝑥 𝑛 =0, the method diverges It requires an initial value 𝑥 0 The method converges quadratically to the desired root r if 𝑥 0 is sufficiently close to r : | 𝑟−𝑥 𝑛+1 | ≤𝑐 | 𝑟−𝑥 𝑛 | 2

Pitfalls of Newton’s method a) Runaway Each successive point 𝑥 𝑛 in Newton’s iteration recedes from r instead of converging to r. Pure choice of the initial point 𝑥 0 .

Pitfalls of Newton’s method b) Flat spot The tangent to the curve is parallel to the x-axis resulting in 𝑥 1 =±∞.

Mathematica functions for finding roots