Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Finding mimum of a function with 2 local mins

  1. Mar 22, 2008 #1
    I have a function that looks like this:
    http://rpi.edu/~doriad/view1.jpg [Broken]

    The function is non analytic, so I have to use something like the steepest descent method with numerical gradients to find the minimum. However, if my starting point is on the left of the tall peak, the min I find is on the left side (clearly) and if I choose the starting point to be on the right side I find the low point on the right. Clearly in this case I could just do both and take the smaller one, but if I'm not sure about the location of the tall peak to start with, I can't simply choose a starting point on either side. Is there a way to find the actual lowest point consistently?


    Last edited by a moderator: May 3, 2017
  2. jcsd
  3. Mar 22, 2008 #2
    Hi David,

    I think it would be a lot better if you could provide an image of the function to make it all much more clear.
  4. Mar 24, 2008 #3
    The image has been posted.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook