1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I have a question about Newton's Method

  1. Nov 25, 2011 #1
    Hi, guys, I have a questions to ask you about Newton's Method.
    I knew that Newton's Method was used to estimate the true value of the root of the real number by analysis the graph of that particular function, but I just wonder that do I have to plot the graph of the function everytime I want to use newton's method, my understanding was 'yes', I think that ploting the graph help me to know "what value" will be used to be x1 or the approximate answer I was looking for, I'm I right or wrong ????

    suppose the problem wants me to find x intersect of f(x) = x^7-1000 by using Newton's Method

    Do I have to plot this graph first in order to approximate the value of x1
    Thank you so much, sir !!!!!
     
  2. jcsd
  3. Nov 25, 2011 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    No, usually plotting is out of the question. For example, some optimization codes may apply Newton's Method as subroutines, but cannot look at plots because they are inanimate computer programs. For certain classes of functions, we know that Newton will always work, starting from any point; for other types of functions, we know that Newton can fail spectacularly if the wrong initial point is chosen. Usually, computer codes do not apply "pure" Newton, but rather, a form of "safeguarded Newton", that tries to guard against failure. These are safer, but slower than pure Newton methods.

    However, when solving problems one-by-one manually (although using software to assist you) a plot is usually advisable.

    Your example function f(x) = x^7-1000 is "strictly convex", at least in the interval x >= 0, so as long as roundoff errors do not give you negative x values, you should get rapid convergence from *any* positive starting point (try it and see).

    RGV
     
  4. Nov 25, 2011 #3
    Thank you very very much Mr.Ray, your post helps me a lot...^_^
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: I have a question about Newton's Method
Loading...