Finding the stationary point of the following function

Discussion in 'Math' started by u-will-neva-no, Mar 27, 2012.

  1. u-will-neva-no

    Thread Starter Member

    Mar 22, 2011
    230
    2
    Hey everyone, my problem is finding the stationary point of the function:

    f(x,y) = (x+y)exp(x^2-y)

    By differentiating f WRT x i obtained the answer:
    \frac{df}{dx} = exp(x^2-y)[2x^2+2xy+1] = 0 (1)

    and differentiating f WRT y I got:

    \frac{df}{dy} = exp(x^2-y)[1-x-y] (2)

    I could be wrong with my answer because I am now stuck because I always have one equation that is a function of two variables (x and y). However, I have tried three times and arrive at the same solution for both. Please help!

    Thanks!!
     
  2. steveb

    Senior Member

    Jul 3, 2008
    2,433
    469
    You have two equations and two unknowns. So, can't you just solve these simultaneous equations to find any stationary points?
     
    u-will-neva-no likes this.
  3. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    Yes except the equations are non-linear. Techniques for solving simultaneous non-linear equations not that straight forward. I would try a 3-D graph to see if the surfaces intersect. One equation is a plane and the other is a conic solid, so i'm guessing the intersection is a conic section. A unique single point solution would be a surprise.
     
    u-will-neva-no likes this.
  4. steveb

    Senior Member

    Jul 3, 2008
    2,433
    469
    Prepare to be surprised. ;)

    The exponential parts can be divided out of the equations because they do not cause the equations to equal zero, since exponential is always a positive nonzero number (assuming real arguments). Only the polynomials in x and y are left, once that is done, and those can be solved very easily in this case.
     
    Last edited: Mar 27, 2012
    u-will-neva-no likes this.
  5. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    I knew the exponential parts could not be zero, but I did expect the intersection of a plane and a conic section to be more than a single point.
     
    u-will-neva-no likes this.
  6. steveb

    Senior Member

    Jul 3, 2008
    2,433
    469
    Ah, but that is not quite what it is that gives the answer. The answer is not just the intersection, but only points on the intersection that allow both independent equations to equal zero in the following sense.

    One equation can be written as f(x,y)=0 and the other can be written as g(x,y)=0 and they must both be zero at the stationary point. The intersection is more general and amounts to the equation f(x,y)=g(x,y) which is not the same thing.

    One also has to consider the context of the original question, which is to find the stationary point. So, the question is telling you that there is a stationary point. Perhaps there will be more than one point in general, but typically sufaces are stationary (minimum, maximum or saddle) at a single point locally. There are exceptions of course, but these are exceptions to the rule.
     
    Last edited: Mar 27, 2012
    u-will-neva-no likes this.
  7. u-will-neva-no

    Thread Starter Member

    Mar 22, 2011
    230
    2
    Thank you to both of you!
     
Loading...