Exercise 6.1.12

Answers

Suppose we start with a point x0, let’s expand around this point using Taylor expansion: f(x) = f(x0) + df dx(x x0) + O((x x0)2), we are looking for x such that f(x) = 0, so if we let f(x) = 0, we have x = x0 f(x0) df dx , this point will be closer to the root than x0, so we have an update formula here xk+1 = xk f(xk) df dx

If we run Newton’s method on f(x) = x2 + 1, we see the algorithm doesn’t converge, it oscillates from left to right of x = 0.

User profile picture
2020-03-20 00:00
Comments