(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

I read that the newton method for finding roots of an equation doesnt always work.

How do I know whether it works or not for a given equation?

2. Relevant equations

3. The attempt at a solution

For an example, consider:

f(x) = 1/(x^{2}-1)+1/(x^{2}-4) - x^{-1}

When I try to solve this using programming, I get 2.9642 for some initial guesses but if I put the initial guess as, say, 5 I get that the root is -inf

I dont understand why.

And also for other examples I either get x=0 after 0 steps (in the newton method) or I get x=inf.

Thank you

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

Dismiss Notice

Join Physics Forums Today!

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

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

# Homework Help: Newton method

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