(adsbygoogle = window.adsbygoogle || []).push({}); 1. Construct a function f (x) so that Newton's method gets 'hanging' in an infinite cycle x_{n}= (-1)^{n}x0 , no matter how the

start value x_{0}is chosen.

2. Relevant Equations:

x_{n+1}= x_{n}- f(x_{n}) / f'(x_{n})

3. The attempt at a solution

x_{n+1}= x_{n}- f(x_{n}) / f'(x_{n}) = (-1)^{n+1}x_{0}= (-1)^{n}x_{0}- f(x_{n}) / f'(x_{n}) [itex]\Rightarrow[/itex] f(x_{n}) / f'(x_{n}) = 2(-1)^{n}x_{0}

But, I don't know if that's what I wanna do or what to do with it.

Any ideas?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Newton's Method for Root Finding - Infinite Loop

**Physics Forums | Science Articles, Homework Help, Discussion**