Results 1 to 3 of 3
Like Tree2Thanks
  • 1 Post By Ant
  • 1 Post By ebaines

Math Help - Find the minimum of a function.

  1. #1
    Ant
    Ant is offline
    Member
    Joined
    Apr 2008
    Posts
    137
    Thanks
    4

    Find the minimum of a function.

    Hi,

    I'm trying to find the minimum of the following function:

     f(x) = \frac{x^2}{2K} - ln(2cosh(x+h))

    My working so far:

     f'(x) = \frac{x}{K} - tanh(x+h) =0

    Where we set the derivative equal to zero as we're trying to find the min.

    However, I'm not sure how to solve this equation, and find an expression for x. Is it best to rewrite the hyperbolic tan in terms of e?

    Thanks!
    Thanks from arwehumbiza
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor ebaines's Avatar
    Joined
    Jun 2008
    From
    Illinois
    Posts
    1,043
    Thanks
    285

    Re: Find the minimum of a function.

    I don't believe there is a closed form solution to the equation  x - C tanh(x) = 0, so instead you should use a numerical technique to find a very good approximation for the value of x.
    Thanks from Ant
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Ant
    Ant is offline
    Member
    Joined
    Apr 2008
    Posts
    137
    Thanks
    4

    Re: Find the minimum of a function.

    hmm, Okay thanks.

    I think I may just be able to define  x* as the min and carry on. (The full task is evaluating an integral using the laplace approx)
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 6
    Last Post: November 2nd 2012, 04:18 PM
  2. Replies: 2
    Last Post: December 12th 2010, 12:11 AM
  3. Replies: 8
    Last Post: November 8th 2010, 06:25 PM
  4. Replies: 4
    Last Post: November 22nd 2009, 08:49 AM
  5. Replies: 4
    Last Post: June 28th 2009, 09:17 PM

Search Tags


/mathhelpforum @mathhelpforum