Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.

Slides:



Advertisements
Similar presentations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Advertisements

Copyright © Cengage Learning. All rights reserved.
Boyce/DiPrima 9th ed, Ch 2.8: The Existence and Uniqueness Theorem Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Lecture 5 Newton-Raphson Method
Applied Informatics Štefan BEREŽNÝ
Section Differentials Tangent Line Approximations A tangent line approximation is a process that involves using the tangent line to approximate a.
Section 7.2: Direction Fields and Euler’s Methods Practice HW from Stewart Textbook (not to hand in) p. 511 # 1-13, odd.
CSE 330: Numerical Methods
Copyright © Cengage Learning. All rights reserved.
The Derivative Chapter 3:. What is a derivative? A mathematical tool for studying the rate at which one quantity changes relative to another.
Numeriska beräkningar i Naturvetenskap och Teknik 1.Solving equations.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Universidad de La Habana Lectures 5 & 6 : Difference Equations Kurt Helmes 22 nd September - 2nd October, 2008.
Ch 5.1: Review of Power Series Finding the general solution of a linear differential equation depends on determining a fundamental set of solutions of.
Notes, part 5. L’Hospital Another useful technique for computing limits is L'Hospital's rule: Basic version: If, then provided the latter exists. This.
NUMERICAL METHODS WITH C++ PROGRAMMING
Notes, part 4 Arclength, sequences, and improper integrals.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
MATHEMATICS 3 Operational Analysis Štefan Berežný Applied informatics Košice
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Applied Discrete Mathematics Week 9: Relations
Instructor: Prof.Dr.Sahand Daneshvar Presented by: Seyed Iman Taheri Student number: Non linear Optimization Spring EASTERN MEDITERRANEAN.
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Differential Equations MTH 242 Lecture # 13 Dr. Manshoor Ahmed.
Numerical Methods for Engineering MECN 3500
Numerical Methods.
CHAPTER 3 NUMERICAL METHODS
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
Example Ex. Find Sol. So. Example Ex. Find (1) (2) (3) Sol. (1) (2) (3)
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)
AUGUST 2. MATH 104 Calculus I Review of previous material…. …methods and applications of integration, differential equations ………..
Iteration Methods “Mini-Lecture” on a method to solve problems by iteration Ch. 4: (Nonlinear Oscillations & Chaos). Some nonlinear problems are solved.
4.1 Extreme Values of Functions
Chapter Three SEQUENCES
Newton’s Method Problem: need to solve an equation of the form f(x)=0. Graphically, the solutions correspond to the points of intersection of the.
Finite Element Method. History Application Consider the two point boundary value problem.
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.
CMSC Discrete Structures
CHAPTER 3 NUMERICAL METHODS
Chapter 2: Equations of Order One
Numerical Analysis Lecture 5.
Modeling with Recurrence Relations
Ch 2.2: Separable Equations
Numerical Methods and Analysis
CS B553: Algorithms for Optimization and Learning
Multiplicity of a Root First Modified Newton’s Method
Question Find the derivative of Sol..
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.
Numerical Analysis Lecture 26.
CMSC Discrete Structures
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.
CMSC Discrete Structures
Recurrence Relations Discrete Structures.
Fixed- Point Iteration
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
1 Newton’s Method.
Presentation transcript:

Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ

3 rd lecture

MATHEMATICS 1 Applied Informatics 3 Štefan BEREŽNÝ Contents Approximate Solution of a Nonlinear Equation Separation of a Root Darboux Theorem Bisection’s method Newton’s method

MATHEMATICS 1 Applied Informatics 4 Štefan BEREŽNÝ Approximate Solution of a Nonlinear Equation Definition: Let f ( x ) be a function. Every point c  D( f ) such that f ( c ) = 0 is called the root of the equation f ( x ) = 0. initial approximation c 0 iterative sequence c 1, c 2, c 3, … etc Methods based on the construction of an iterative sequence are called iterative methods

MATHEMATICS 1 Applied Informatics 5 Štefan BEREŽNÝ Approximate Solution of a Nonlinear Equation If iterative sequence converges to the root c of the equation f ( x ) = 0 then Error estimates:  c n – c   n, where  n  0 for n  

MATHEMATICS 1 Applied Informatics 6 Štefan BEREŽNÝ Separation of a Root By the separation of a root we understand the specification of an interval  a, b  such that the equation f ( x ) = 0 has a unique root c in  a, b . Intervals (– , b 0    a 1, b 1    a 2, b 2  ...    a n–1, b n–1    a n, b n    a n+1,  ) = D( f ) separate the roots of the equation f ( x ) = 0, if each of the intervals includes at most one root.

MATHEMATICS 1 Applied Informatics 7 Štefan BEREŽNÝ Darboux theorem If function f is continuous on an interval I =  a, b  and x 1, x 2 are any two points from interval I then to any given number  between f ( x 1 ) and f ( x 2 ) there exists a point  between x 1 and x 2 such that f (  ) = .

MATHEMATICS 1 Applied Informatics 8 Štefan BEREŽNÝ Darboux theorem Corollary: If function f is continuous on an interval I =  a, b  and f ( a )  f ( b )  0 then exists a point c in ( a, b ) such that f ( c ) = 0 (the root of the equation f ( x ) = 0).

MATHEMATICS 1 Applied Informatics 9 Štefan BEREŽNÝ Bisection’s method Suppose that function f is continuous and strictly monotonic in the interval I =  a, b  and f ( a )  f ( b )  0. These assumptions guarantee the existence of a unique root c of the equation f ( x ) = 0 in interval I =  a, b .

MATHEMATICS 1 Applied Informatics 10 Štefan BEREŽNÝ Bisection’s method Choice of the initial approximation: Put c 0 = ( a + b )/2. Calculation of the further approximations: If f ( c 0 )  f ( b )  0 then c  ( c 0, b . Therefore we change a and we put a = c 0. If f ( c 0 )  f ( b )  0 then c   a, c 0 . We change b and we put b = c 0. Further, we put c 1 = ( a + b )/2. Similarly, we obtain c 2, c 3, … etc.

MATHEMATICS 1 Applied Informatics 11 Štefan BEREŽNÝ Bisection’s method The error estimate: Denote by d the length of the interval I =  a, b  at the beginning of the calculation. Since c   a, b ,  c 0 – c  d/2. The length of the “variable” interval I =  a, b  (where the root c is separated) decreases by one half at each step. Hence  c 0 – c  d/2 n+1.

MATHEMATICS 1 Applied Informatics 12 Štefan BEREŽNÝ Newton’s method Suppose that: - function f has a second derivative f ′′( x ) at each point x   a, b  and f ′′( x ) does not change its sign in I =  a, b . - f ′( x ) ≠ 0 for all x   a, b , - f ( a )  f ( b )  0.

MATHEMATICS 1 Applied Informatics 13 Štefan BEREŽNÝ Newton’s method Choice of the initial approximation: The initial approximation c 0 can be chosen to be equal an arbitrary point of the interval  a, b  such that f ( c 0 )  f ′′( c 0 )  0. (Among others, this inequality is satisfied by one of the points a and b.)

MATHEMATICS 1 Applied Informatics 14 Štefan BEREŽNÝ Newton’s method Calculation of the further approximations: To approximate the curve y = f ( x ) in the neighborhood of the point [ c 0, f ( c 0 )], we use a tangent line to the graph of f at this point. The point where this line crosses the x -axis is called c 1. Similarly, the point where the tangent line to the graph of f at point [ c 1, f ( c 1 )] crosses the x -axis is the next approximation c 2, etc.

MATHEMATICS 1 Applied Informatics 15 Štefan BEREŽNÝ Newton’s method This procedure can easily be expressed computatively. Suppose that you already know the approximation c n and you wish to find the next approximation c n+1. The equation for the tangent line to the graph of f at the point [ c n, f ( c n )] is:

MATHEMATICS 1 Applied Informatics 16 Štefan BEREŽNÝ Newton’s method y = 0 corresponds to x = x n+1. So we get the equation, which yields:

MATHEMATICS 1 Applied Informatics 17 Štefan BEREŽNÝ Newton’s method The error estimate: It follows from the Mean Value Theorem, applied on the interval with end points c n and c, that exists  between c n and c such that:

MATHEMATICS 1 Applied Informatics 18 Štefan BEREŽNÝ Newton’s method

MATHEMATICS 1 Applied Informatics 19 Štefan BEREŽNÝ Thank you for your attention.