Download presentation
Presentation is loading. Please wait.
1
Roots of equations Class IX
2
Review of Class VI Bisection Method finding roots of function
Function f(x) on the interval [a,b] and f(a)*f(b) < 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
3
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
4
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 .
5
Pitfalls of Newtonβs method
b) Flat spot The tangent to the curve is parallel to the x-axis resulting in π₯ 1 =Β±β.
6
Mathematica functions for finding roots
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.