P2.10 Numerical Methods Flashcards
(11 cards)
what is the conclusion for locating roots?
the function f(x) is continuous on the interval [a,b] and f(a) and f(b) have opposite signs, then f(x) has at least one root
how do you show a root is a given value to a given degree of accuracy?
use the upper & lower bounds of the given root –> there is a sign change in the interval
describe how to solve an equation of the form f(x) = 0 by a rearrangement (iterative) method
rearrange f(x) = 0 into the form x = g(x) & use the iterative formula xn+1=g(xn)
depending on the rearrangement & the starting value of x, the iterations will either converge towards a root or diverge away from a root
NB not all rearrangements of x give all the solutions
what makes a good rearrangement?
when the iterations converge towards a root = the increments b/w each value decreases
how is the rearrangement method represented graphically?
staircase or cobweb diagrams
draw staircase diagram
see pg 278 P2 textbook
draw cobweb diagram
see pg 278 P2 textbook
how are different roots found using the rearrangement method?
by using different rearrangements & starting values of x
what is the Newton-Raphson iterative formula?
x (n+1) = xn - f(xn)/f’(xn)
in FB
how does Newton-Raphson work graphically?
using tangent lines to find increasingly accurate approximations of a root
the value of xn+1 is the point at which the tangent to the graph at (xn, f(xn)) intersects the x-axis
what is a problem with the Newton-Raphson method/not suitable value to use as first approximation?
at turning point (p,0) where f’(x) = 0
you cannot divide by 0 in N-R formula
graphically, the tangent line will run parallel to x-axis so never intersects